:root {
  --primary: 212 100% 12%; /* Deeper Navy */
  --primary-light: 212 80% 22%;
  --secondary: 47 100% 50%; /* #FFD700 - Gold */
  --secondary-elegant: 45 60% 40%; /* Richer Gold */
  --accent: 210 100% 30%;
  --bg-main: 210 33% 98%; /* Pearl White */
  --surface: 0 0% 100%;
  --text-main: 212 40% 10%; /* Even deeper text */
  --text-muted: 212 20% 40%; /* Richer muted text */
  
  --primary-color: hsl(var(--primary));
  --secondary-color: hsl(var(--secondary));
  --accent-color: hsl(var(--accent));
  --text-dark: hsl(var(--text-main));
  --text-light: #ffffff;
  --bg-light: hsl(var(--bg-main));
  --bg-white: hsl(var(--surface));
  
  --font-heading: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-sm: 0 2px 8px rgba(0,33,71,0.04);
  --shadow-md: 0 12px 36px -10px rgba(0,33,71,0.12);
  --shadow-lg: 0 24px 60px -15px rgba(0,33,71,0.18);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 33, 71, 0.05);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.serif {
  font-family: var(--font-serif);
}

a {
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Header */
#header {
  height: 90px;
  transition: var(--transition-smooth);
  z-index: 997;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

#header.header-scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#header .logo h1 a, #header .logo h1 a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

#header .logo img {
  max-height: 40px;
}

/* Desktop Navigation */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--accent-color);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 500;
  color: var(--primary-color);
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: var(--accent-color);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: var(--primary-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 33, 71, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a, .navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--primary-color);
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: var(--accent-color);
}

.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: var(--accent-color);
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* Hero Section */
#hero {
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.5)), 
              url('../img/hero-bg.png') center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

#hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

#hero h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out forwards;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  font-style: italic;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.btn-get-started {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 18px 44px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  color: #000000;
  background: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

.btn-get-started:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

#hero .btn-outline-light {
  border-width: 2px;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: var(--transition-smooth);
}

#hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  transform: translateY(-5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-bg {
  background-color: var(--bg-light);
  background-image: 
    linear-gradient(rgba(0, 33, 71, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 33, 71, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-attachment: fixed;
}

.dark-section {
  background-color: var(--primary-color);
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  color: #ffffff;
  padding: 100px 0;
}

.dark-section h2, .dark-section h3, .dark-section h4 {
  color: #ffffff;
}

.dark-section p {
  color: rgba(255, 255, 255, 0.85);
}

.dark-section .section-title h2::after {
  background: var(--secondary-color);
}

.section-title {
  text-align: center;
  padding-bottom: 70px;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 24px;
  position: relative;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  bottom: 0;
  left: calc(50% - 30px);
  border-radius: 2px;
}

.section-title p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0;
}

/* About Us */
.about .content {
  padding: 40px;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.about .content h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.about ul i {
  font-size: 24px;
  margin-right: 12px;
  color: var(--secondary-color);
}

.btn-learn-more {
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  border-width: 2px;
  margin-top: 20px;
}

/* Services */
.services .icon-box {
  padding: 40px 30px;
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border-radius: 20px;
  text-align: center;
  height: 100%;
  position: relative;
  z-index: 1;
}

.services .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  border-radius: 20px;
  z-index: -1;
  transform: scale(0.9);
  opacity: 0;
  transition: var(--transition-smooth);
}

.services .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.services .icon-box:hover h4 a,
.services .icon-box:hover p,
.services .icon-box:hover .icon i {
  color: #fff;
}

.services .icon-box:hover::before {
  transform: scale(1);
  opacity: 1;
}

.services .icon {
  margin-bottom: 24px;
  display: inline-flex;
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.services h4 {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 20px;
}

.services h4 a {
  color: var(--primary-color);
}

.services p {
  font-size: 15px;
  line-height: 26px;
  color: var(--text-muted);
}

/* Why Choose Us */
.why-us {
  padding: 0;
}

.why-us .content {
  padding: 60px 100px 40px 100px;
}

.why-us .content h3 {
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--primary-color);
  margin-bottom: 20px;
}

.why-us .content h3 strong {
  color: var(--secondary-elegant);
}

.why-us .accordion-list {
  padding: 0 100px 60px 100px;
}

.why-us .accordion-list ul {
  padding: 0;
  list-style: none;
}

.why-us .accordion-list li {
  padding: 0;
  background: var(--bg-white);
  border-radius: 15px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.02);
}

.why-us .accordion-list li:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.why-us .accordion-list a {
  display: block;
  position: relative;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  padding: 24px 30px;
  outline: none;
  cursor: pointer;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.why-us .accordion-list a span {
  display: inline-block;
  padding-right: 15px;
  color: var(--secondary-color);
  font-weight: 800;
}

.why-us .accordion-list p {
  padding: 0 30px 24px 75px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.why-us .img {
  background-image: url("../img/why-choose-us-bg.png");
  background-size: cover;
  background-position: center;
  min-height: 500px;
  position: relative;
}

.why-us .img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--primary-color), transparent);
  opacity: 0.2;
}

/* FAQ Section */
.faq {
  background-color: #f0f4f8; /* Soft subtle blue */
  padding: 100px 0;
}

.faq .accordion-item {
  border: none;
  background: var(--bg-white);
  transition: var(--transition-smooth);
}

.faq .accordion-button {
  font-family: var(--font-heading);
  color: var(--primary-color);
  background: var(--bg-white);
  box-shadow: none;
}

.faq .accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: #ffffff;
}

.faq .accordion-button::after {
  background-size: 1.2rem;
}

.faq .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* Mission & Vision */
.mission-vision .card {
  border: none;
  background: var(--bg-white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.mission-vision .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mission-vision .card-title {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 800;
  margin-top: 10px;
}

.mission-vision .text-primary i {
  background: var(--bg-light);
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: var(--primary-color) !important;
}

/* Admission Process */
.admission-step {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-white);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
}

.admission-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.step-number {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px rgba(0,33,71,0.2);
}

.admission-step h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(rgba(0,33,71,0.02), rgba(0,33,71,0.05));
  padding: 100px 0;
}

.testimonials .testimonial-item {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonials .testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.testimonials h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 5px;
}

.testimonials h4 {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.testimonials .quote-icon-left,
.testimonials .quote-icon-right {
  color: var(--secondary-color);
  font-size: 24px;
  opacity: 0.5;
}

/* Contact */
.contact .info {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  border: none;
  height: 100%;
}

.contact .info i {
  font-size: 24px;
  color: #fff;
  background: var(--primary-color);
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  transition: var(--transition-smooth);
  margin-bottom: 20px;
}

.contact .info h4 {
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.contact .info p {
  padding: 0;
  margin-bottom: 30px;
  font-size: 15px;
  color: var(--text-muted);
}

.contact .php-email-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  border: none;
}

.contact .php-email-form .form-group {
  margin-bottom: 24px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg-light);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  background: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0,33,71,0.05);
}

.contact .php-email-form button[type="submit"] {
  background: var(--primary-color);
  border: 0;
  padding: 16px 48px;
  color: #fff;
  transition: var(--transition-smooth);
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 14px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,33,71,0.2);
}

/* Footer */
#footer {
  background: var(--primary-color);
  padding: 0;
  color: #fff;
  font-size: 15px;
}

#footer .footer-top {
  padding: 100px 0 60px 0;
  background: linear-gradient(to bottom, #001a38, #001229);
}

#footer .footer-top .footer-contact h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 20px 0;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -0.02em;
}

#footer .footer-top .footer-contact p {
  font-size: 16px;
  line-height: 28px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

#footer .footer-top h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
  bottom: -10px;
  left: 0;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: var(--secondary-color);
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #0056b3;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: var(--secondary-color);
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

/* Animations */
.animate-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 32px;
  }
  
  #hero h2 {
    font-size: 18px;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  background: var(--secondary-color);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.back-to-top i {
  font-size: 28px;
  color: var(--primary-color);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.back-to-top:hover i {
  color: #ffffff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 15px 0;
  background: #f8f9fa;
  min-height: 40px;
  margin-top: 80px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 80px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}
