/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-blue: #0f2a63;
  --brand-blue-2: #143b82;
  --accent-red: #c62828;
  --white: #ffffff;
  --text-dark: #222222;
  --text-muted: #6b7280;
  --bg-light: #f8fafc;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  --shadow-md: 0 4px 16px rgba(15, 42, 99, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 42, 99, 0.16);
  --transition: all 0.3s ease;
}
 /* .brand img.logo {
  width: 30rem;
  object-fit: contain;
  align-self: center;
} */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
/* body {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15,42,99,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
} */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 145px;
}

/* Lightweight consistent inner wrapper used by multiple sections */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  font-size: 18px;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}

ul {
  .gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(15, 42, 99, 0.12);
  }

  /* Large-screen: allow 4 columns */
  @media (min-width: 1400px) {
    .gallery-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  list-style: none;
}

/* ===== CAROUSEL STYLES ===== */
.carousel-container {
  width: 100%;
  height: 650px;
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(198, 40, 40, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 30px;
}
.carousel-btn.next {
  right: 30px;
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.carousel-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.carousel-indicator:hover,
.carousel-indicator.active {
  background: var(--accent-red);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.carousel-caption {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  z-index: 10;
  padding: 0 20px;
}

.carousel-caption h3 {
  font-size: 42px;
  background: rgba(15, 42, 99, 0.85);
  backdrop-filter: blur(8px);
  padding: 16px 48px;
  display: inline-block;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-caption p {
  font-size: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 14px 28px;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 8px;
  font-weight: 400;
  line-height: 1.6;
}

/* ===== FIXED NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar styles from navbar.html */
.navbar .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: transparent;
}

.navbar .utility-bar {
  background: linear-gradient(90deg, #0f2a63, #143b82);
  color: #fff;
  padding: 6px 18px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .utility-bar a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.navbar .main-nav {
  background: #fff;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(16, 42, 109, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar .brand img.logo {
  /* width: 80px; */
  object-fit: contain;
}

.navbar .brand .title {
  color: #0f2a63;
  font-weight: 700;
  font-size: 18px;
}

.navbar .brand .subtitle {
  display: block;
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar .nav-links ul {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar .nav-links a,
.navbar .nav-links button.nav-toggle {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  color: #0f2a63;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.navbar .nav-links a:focus,
.navbar .nav-links button.nav-toggle:focus {
  outline: 3px solid rgba(16, 42, 109, 0.12);
  outline-offset: 2px;
}

/* Dropdowns */
.navbar .has-dropdown {
  position: relative;
}

.navbar .has-dropdown .dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  padding: 8px 6px;
  box-shadow: 0 10px 30px rgba(16, 42, 109, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.22s cubic-bezier(0.2, 0.9, 0.3, 1),
    transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1),
    visibility 0.22s;
  border: 1px solid rgba(16, 42, 109, 0.06);
  z-index: 2000;
}

.navbar .has-dropdown:hover > .dropdown,
.navbar .has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .dropdown a {
  display: block;
  padding: 10px 12px;
  color: #1f2740;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.navbar .dropdown a:hover,
.navbar .dropdown a:focus {
  background: rgba(16, 42, 109, 0.04);
}

.navbar .expand-icon {
  font-size: 12px;
  color: #6b7280;
  margin-left: 4px;
}

.navbar .hamburger {
  display: none;
  background: transparent;
  border: 0;
  font-size: 20px;
  padding: 8px;
  color: #0f2a63;
  cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .navbar .nav-links {
    display: none;
  }

  .navbar .hamburger {
    display: inline-flex;
  }

  .navbar .brand .title {
    font-size: 16px;
  }

  .navbar .main-nav {
    padding: 8px 14px;
  }
}

@media (min-width: 901px) {
  .navbar .mobile-drawer,
  .navbar .backdrop {
    display: none;
  }
}

/* Utility bar social icons */
.navbar .social {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.3s ease;
}

.navbar .social:hover {
  color: #fff;
  transform: scale(1.2);
}

.navbar .cta {
  background: #c62828;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* Mobile drawer styles */
.navbar .mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  transform: translateX(110%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  background: #fff;
  box-shadow: -10px 0 30px rgba(16, 42, 109, 0.12);
  z-index: 2100;
  padding: 18px;
  overflow: auto;
}

.navbar .mobile-drawer.open {
  transform: translateX(0);
}

.navbar .drawer-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.navbar .mobile-links {
  list-style: none;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.navbar .mobile-links a,
.navbar .mobile-links button.accordion {
  text-align: left;
  padding: 12px;
  background: transparent;
  border: 0;
  width: 100%;
  font-size: 16px;
  color: #0f2a63;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.navbar .accordion + .sublist {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.navbar .accordion[aria-expanded="true"] + .sublist {
  max-height: 480px;
}

.navbar .sublist a {
  padding: 10px 14px;
  display: block;
  font-size: 14px;
  color: #1f2740;
  text-decoration: none;
}

.navbar .backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 26, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 2000;
}

.navbar .backdrop.show {
  opacity: 1;
  visibility: visible;
}

.navbar .utility-left,
.navbar .utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar .utility .muted {
  opacity: 0.9;
  font-weight: 400;
}

.navbar nav.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 85vh;
  background: url("https://images.unsplash.com/photo-1588072432836-e10032774350?w=1600")
    center/cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 42, 99, 0.9) 0%,
    rgba(15, 42, 99, 0.65) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left {
  align-self: center;
}

.hero-left h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 700;
  max-width: 550px;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.welcome-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-right {
  align-self: center;
  max-width: 520px;
}

.hero-right p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Larger, more prominent hero buttons */
.hero-actions .btn {
  padding: 18px 36px;
  font-size: 16px;
  border-radius: 10px;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 18px 34px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.btn-light {
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--brand-blue);
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent-red);
  color: var(--white);
}

.btn-primary:hover {
  background: #a51616;
  transform: translateY(-3px);
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  background: var(--accent-red);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.section-label-small {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #0f3556;
  background: rgba(15, 42, 99, 0.08);
  padding: 8px 18px;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ===== FOUNDATION SECTION ===== */
.foundation-section {
  background: var(--white);
  padding: 80px 24px;
  overflow: hidden;
}

.foundation-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.foundation-text h2 {
  font-size: 42px;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
}

.foundation-text p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.foundation-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.learn-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.learn-link i {
  font-size: 14px;
  transition: var(--transition);
}

.learn-link:hover {
  color: var(--accent-red);
}

.learn-link:hover i {
  transform: translateX(5px);
}

.foundation-media {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.foundation-media img {
  max-width: 100%;
  height: auto;
  width: 100%;
  border-radius: 12px;
  transition: var(--transition);
}

.foundation-media:hover img {
  transform: scale(1.03);
}

/* ===== PRINCIPAL SECTION ===== */
.principal-section {
  padding: 80px 24px;
  background: var(--bg-light);
}

.principal-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}

.principal-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.principal-image:hover img {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(15, 42, 99, 0.2);
}

.principal-text {
  padding: 20px 0;
}

.principal-text h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 24px;
  line-height: 1.2;
}

.principal-text blockquote {
  font-size: 19px;
  font-style: italic;
  color: var(--text-dark);
  border-left: 4px solid var(--accent-red);
  padding-left: 24px;
  margin: 0 0 28px;
  line-height: 1.75;
}

.principal-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
}

.principal-signature strong {
  display: block;
  font-size: 20px;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.principal-signature span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 60px 24px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2));
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  align-items: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  display: block;
  font-size: 64px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1;
  transition: var(--transition);
  min-height: 1em;
}

.stat-label {
  font-size: 14px;
  letter-spacing: 1.6px;
}

.stat-item:hover .stat-number {
  transform: scale(1.05);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: var(--white);
  padding: 80px 24px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.features-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 48px 36px;
  background: var(--bg-light);
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 42, 99, 0.1);
  background: var(--white);
}

.feature-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(15, 42, 99, 0.3);
}

.feature-icon i {
  font-size: 36px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 24px;
}

.feature-card p {
  font-size: 16px;
}

.feature-card h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2));
  padding: 80px 24px;
  color: var(--white);
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header h2 {
  font-size: 38px;
  font-weight: 700;
  padding-bottom: 65px;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 0 20px;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 50px 45px;
  border-radius: 20px;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-quote {
  font-size: 20px;
  line-height: 1.85;
  margin-bottom: 30px;
  font-style: italic;
  opacity: 0.95;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-info h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-info span {
  font-size: 14px;
  opacity: 0.8;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--white);
  color: var(--brand-blue);
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 12px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg-light);
  padding: 80px 24px;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-content h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 18px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline-primary {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-primary:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: translateY(-3px);
}

.cta-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-image img {
  width: 100%;
  border-radius: 16px;
  transition: var(--transition);
}

.cta-image:hover img {
  transform: scale(1.03);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--white);
  padding: 100px 40px;
}

.faq-section .container {
  max-width: 900px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--brand-blue);
}

.accordion {
  margin-top: 30px;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: visible;
  background: var(--bg-light);
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: rgba(15, 42, 99, 0.2);
}

.accordion-item.active {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--brand-blue);
  background: rgba(15, 42, 99, 0.02);
}

.accordion-header i {
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--bg-light);
}

.accordion-content p {
  word-break: break-word;
  hyphens: auto;
  margin: 0;
}

.accordion-content p {
  padding: 24px 28px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: var(--bg-light);
  padding: 100px 40px;
}

.gallery-inner {
  /* max-width: 1200px; */
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.gallery-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 42, 99, 0.8) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: var(--white);
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item-overlay h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-item-overlay span {
  font-size: 13px;
  opacity: 0.8;
}

/* ===== NEWS & EVENTS SECTION ===== */
.news-events-section {
  background: var(--white);
  padding: 100px 40px;
}

.news-events-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}

.tab-btn {
  padding: 14px 32px;
  background: var(--bg-light);
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 42, 99, 0.1);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--accent-red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 13px;
  color: var(--accent-red);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-date i {
  font-size: 12px;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-link {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-link:hover {
  color: var(--accent-red);
}

.news-link i {
  font-size: 12px;
  transition: var(--transition);
}

.news-link:hover i {
  transform: translateX(5px);
}

@media (max-width: 1200px) {
  .hero-inner,
  .foundation-inner,
  .cta-inner {
    padding: 60px 30px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-inner,
  .foundation-inner,
  .principal-content,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-left h1 {
    font-size: 44px;
  }

  .hero-right {
    max-width: 100%;
  }

  .principal-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .carousel-container {
    height: 500px;
  }

  /* Hide carousel caption on smaller devices for clearer image */
  .carousel-caption {
    display: none;
  }

  .carousel-caption h3 {
    display: none;
  }

  .carousel-caption p {
    display: none;
  }

  .carousel-btn {
    font-size: 28px;
    padding: 12px 24px;
  }

  .carousel-caption p {
    font-size: 16px;
    padding: 12px 20px;
  }

  .carousel-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .hero-inner {
    padding: 40px 20px;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .welcome-badge {
    font-size: 11px;
    padding: 8px 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .foundation-section,
  .principal-section,
  .features-section,
  .testimonials-section,
  .cta-section,
  .faq-section,
  .gallery-section,
  .news-events-section {
    padding: 70px 20px;
  }

  .foundation-text h2,
  .principal-text h2,
  .features-header h2,
  .testimonials-header h2,
  .cta-content h2,
  .section-header h2,
  .gallery-header h2 {
    font-size: 30px;
  }

  .stats-section {
    padding: 50px 20px;
  }

  .stat-number {
    font-size: 40px;
  }

  .features-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-content {
    padding: 35px 25px;
  }

  .testimonial-quote {
    font-size: 17px;
  }

  .section-tabs {
    flex-wrap: wrap;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 400px;
  }

  /* Hide carousel caption on very small devices */
  .carousel-caption {
    display: none !important;
  }

  .carousel-caption {
    bottom: 60px;
  }

  .carousel-caption h3 {
    font-size: 22px;
    padding: 10px 20px;
  }

  .carousel-caption p {
    font-size: 14px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-btn.prev {
    margin-top: 20%;
    left: 15px;
  }
  .carousel-btn.next {
    margin-top: 20%;
    right: 15px;
  }

  .hero-left h1 {
    font-size: 28px;
  }

  .foundation-text h2,
  .principal-text h2,
  .features-header h2,
  .testimonials-header h2,
  .cta-content h2,
  .section-header h2,
  .gallery-header h2 {
    font-size: 26px;
  }

  .principal-content {
    grid-template-columns: 1fr;
  }

  .principal-image {
    max-width: 280px;
  }

  .feature-card {
    padding: 30px 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid .footer-col:nth-child(3),
  .footer-grid .footer-col:nth-child(4) {
    grid-column: auto;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 32px;
}
.mt-5 {
  margin-top: 40px;
}

.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}
.mb-4 {
  margin-bottom: 32px;
}
.mb-5 {
  margin-bottom: 40px;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-red);
  transform: translateY(-5px);
}
