/* Custom color definitions - Bennett University inspired */
:root {
  --bennett-navy: #1a427e;
  --bennett-green: #006600;
  --bennett-light-blue: #e6f2ff;
  --bennett-dark-blue: #001f3f;
  --bennett-gold: #d4af37;
}

/* Base styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation specific styles */
.nav-link {
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--bennett-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}


.dropdown-column:not(:last-child) {
  border-right: 1px solid #e5e7eb;
}

.dropdown-item {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  color: var(--bennett-green);
  padding-left: 5px;
  border-bottom-color: var(--bennett-green);
}

/* Button styles */
.apply-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.apply-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.apply-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Slider styles */
.hero-slider {
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 1s ease-in-out;
}

.hero-content {
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* School cards animation */
.school-card {
  transition: all 0.3s ease;
}

.school-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section title underline animation */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--bennett-green);
  transition: width 0.3s ease;
}

.section-title:hover::after {
  width: 100px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .mega-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 10px 0;
  }
  
  .dropdown-column {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
  }
  
  .dropdown-column:last-child {
    border-bottom: none;
  }
  
  .hero-slider {
    height: 400px;
  }
  
  .hero-content {
    bottom: 50px;
    left: 20px;
    right: 20px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
}

/* Hover effects for footer links */
.footer-link {
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
}

.footer-link::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  padding-left: 15px;
  color: white;
}

.footer-link:hover::before {
  opacity: 1;
  left: 0;
}

/* Social media icons animation */
.footer a i {
  transition: all 0.3s ease;
}

.footer a:hover i {
  transform: scale(1.2) translateY(-2px);
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img.loading {
  opacity: 0.5;
}

/* Sticky header styles */
.sticky-header.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--bennett-navy);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bennett-green);
}

/* Print styles */
@media print {
  .mega-dropdown,
  .apply-btn,
  .slider-nav {
    display: none !important;
  }
}



/* Minimal CSS Protection */
/* Only disable image dragging and printing */

img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
}

/* Disable printing */
@media print {
    * {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    body {
        background: white !important;
    }
    body::after {
        content: "Printing is not available for this page.";
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        color: black;
    }
}

/* Random CSS noise to confuse source viewers (optional) */
._x1y2z3 { opacity: 0.9999; }
._a2b3c4 { transform: scale(1.00001); }
._d5e6f7 { background: linear-gradient(0deg, #fff0 0%, #fff0 100%); }
