/* ================================================================
   TAKSHASHILA SCHOOL — Global Stylesheet
================================================================ */

@font-face {
  font-family: "Glacial Indifference";
  src: url("../GlacialIndifference-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Glacial Indifference";
  src: url("../GlacialIndifference-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #192850;
  --navy-dark: #111b3a;
  --navy-light: #1f3366;
  --gold: #a39161;
  --orange: #a39161;
  --white: #ffffff;
  --off-white: #f5f4ef;
  --text-muted: rgba(255, 255, 255, 0.82);
  --border-subtle: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
  /* Increase base font-size site-wide by 20% */
  font-size: 120%;
}

body {
  font-family: "Glacial Indifference", sans-serif;
  font-weight: 400;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-align: justify;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================================================
   NAVBAR
================================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* — Top row — */
.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  gap: 20px;
}

.navbar-top-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.site-title {
  font-size: calc(1.2rem * 1.08); /* Increased size */
  font-weight: 800; /* Bolder weight */
  color: var(--navy);
  margin-left: 8px;
  letter-spacing: 0.5px;
}

.navbar-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 64px; /* Slightly larger logo for better presence */
  width: auto;
  object-fit: contain;
}

/* fallback when assets/logo.jpg is missing */
.navbar-logo .logo-fallback {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: calc(1rem * 1.08);
  letter-spacing: 0.5px;
}

/* — Nav links — */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px; /* Increased gap for better spacing */
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px; /* Slightly wider padding */
  color: var(--navy);
  font-size: calc(0.85rem * 1.08); /* Slightly larger font */
  font-weight: 500; /* Medium weight for better legibility */
  letter-spacing: 0.25px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li.active > a {
  color: var(--orange);
}

.nav-admissions-link {
  color: var(--navy);
  font-weight: 700 !important;
}

.nav-icon {
  font-size: calc(0.875rem * 1.08);
}

.nav-links > li > a .arrow {
  font-size: calc(0.5625rem * 1.08);
  transition: transform 0.22s;
  opacity: 0.7;
}

.nav-links > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* — Dropdown — */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 190px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-top: 2px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 200;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: var(--navy);
  font-size: calc(0.8125rem * 1.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    background 0.15s,
    color 0.15s;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background: var(--off-white);
  color: var(--orange);
}

/* — Hamburger — */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  border-radius: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* — Mobile nav drawer — */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav.open {
  max-height: 700px;
}

.mobile-nav a {
  display: block;
  padding: 13px 24px;
  color: var(--navy);
  font-size: calc(0.875rem * 1.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    color 0.15s,
    background 0.15s;
}

.mobile-nav a:hover {
  color: var(--orange);
  background: #f8f8f5;
}

.mobile-nav .mobile-sub {
  padding-left: 40px;
  font-size: calc(0.8125rem * 1.08);
  color: #555;
}

.mobile-nav .mobile-cta-group {
  border-top: 2px solid var(--gold);
  margin-top: 4px;
}

.mobile-nav .mobile-cta-group a {
  color: var(--navy);
}

/* ================================================================
   PAGE OFFSET (accounts for fixed navbar)
================================================================ */

.page-content {
  padding-top: 108px; /* updated dynamically by JS */
}

/* ================================================================
   COMMON SECTION UTILITIES
================================================================ */

.section {
  padding: 80px 40px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(24px, 4vw, 42px); /* Larger scale */
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-subtext {
  text-align: center;
  color: var(--text-muted);
  font-size: calc(0.9375rem * 1.08);
  max-width: 820px;
  margin: 0 auto 52px;
  line-height: 1.8;
}

.label {
  color: var(--orange);
  font-size: calc(1.175rem * 1.08);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
  text-align: left;
}

.info-block {
  margin-bottom: 28px;
}

.info-block p,
.info-block li {
  color: var(--text-muted);
  font-size: calc(0.9375rem * 1.08);
  line-height: 1.75;
}

.info-block ul {
  padding-left: 0;
}

.info-block ul li {
  margin-bottom: 4px;
}

/* ================================================================
   HERO — Video
================================================================ */

.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 320px;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.mute-button {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Temporarily hide the mute/unmute button as requested */
.mute-button {
  display: none !important;
}

.mute-svg {
  width: 20px;
  height: 20px;
}

.mute-button:hover {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.mute-button:active {
  transform: scale(0.95);
}

/* Admissions Top Banner styling */
.admissions-top-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: calc(0.85rem * 1.08);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  z-index: 1001;
}

.admissions-top-banner:hover {
  background: var(--navy-light);
}

.hero-logo {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 2;
}

.hero-logo img {
  height: 90px;
  width: auto;
}

/* ================================================================
   ADMISSIONS BANNER
================================================================ */

.admissions-banner {
  background: var(--navy);
  padding: 36px 40px;
  position: relative;
  text-align: center;
}

.school-name-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.admissions-banner h2 {
  font-size: clamp(17px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--gold); /* Switched to gold for better prominence */
  line-height: 1.45;
  margin-bottom: 18px;
}

.admissions-banner .enroll-link {
  display: inline-block;
  color: var(--gold);
  font-size: calc(0.9375rem * 1.08);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.admissions-banner .enroll-link:hover {
  opacity: 0.75;
}

/* Admissions heading ornaments */
.admit-heading-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.admit-heading-wrap .admit-star-left,
.admit-heading-wrap .admit-sun-right {
  width: 56px;
  height: auto;
  pointer-events: none;
  opacity: 0.95;
}

.admit-heading-wrap .admit-star-left {
  position: absolute;
  left: calc(50% - 200px);
  top: 50%;
  transform: translateY(-60%);
  z-index: 2;
}

.admit-heading-wrap .admit-sun-right {
  position: absolute;
  right: calc(50% - 200px);
  top: 50%;
  transform: translateY(-60%);
  z-index: 2;
}

.admit-heading {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 3px;
}

@media (max-width: 768px) {
  .admit-heading-wrap .admit-star-left,
  .admit-heading-wrap .admit-sun-right {
    width: 40px;
  }
  .admit-heading-wrap .admit-star-left {
    left: calc(50% - 160px);
  }
  .admit-heading-wrap .admit-sun-right {
    right: calc(50% - 160px);
  }
}

/* Contact heading ornaments */
.contact-heading-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-heading-ornaments {
  position: absolute;
  right: calc(50% - 160px);
  top: 80%;
  transform: translateY(-55%);
  display: flex;
  gap: 8px;
  align-items: center;
}

.contact-heading-ornaments img {
  width: 94px;
  height: auto;
  pointer-events: none;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .contact-heading-ornaments img {
    width: 54px;
  }
  .contact-heading-ornaments {
    right: calc(50% - 90px);
    transform: translateY(-50%);
  }
  .admit-heading-wrap .admit-star-left {
    left: calc(50% - 120px);
    transform: translateY(-60%);
  }
  .admit-heading-wrap .admit-sun-right {
    right: calc(50% - 120px);
    transform: translateY(-60%);
  }
}

/* ================================================================
   ADMISSIONS PAGE - hide decorative icons and small dotted markers
   These rules only apply when the body has `page-admissions` class.
================================================================ */

body.page-admissions .admit-heading-wrap .admit-star-left,
body.page-admissions .admit-heading-wrap .admit-sun-right,
body.page-admissions .contact-heading-ornaments img {
  display: none !important;
}

/* Remove small bullet-like decorations for lists on admissions page */
body.page-admissions .why-list li::before {
  content: none;
}

/* Hide footer inline icon elements on admissions page */
body.page-admissions .site-footer .contact-item i {
  display: none;
}

/* ================================================================
   WELCOME SECTION
================================================================ */

.welcome-section {
  padding: 72px 40px;
  background: var(--navy);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.welcome-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem); /* Bolder, larger */
  font-weight: 700; /* Switched from 400 */
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 24px;
  text-align: left;
}

.welcome-text p {
  color: var(--text-muted);
  font-size: calc(0.9375rem * 1.08);
  line-height: 1.85;
}
@media (max-width: 768px) {
  .welcome-text h2 {
    text-align: center;
  }
  .welcome-text p {
    text-align: center;
  }
}
.photo-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.photo-grid-2x2 img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 2px;
}

/* ================================================================
   WHY CHOOSE
================================================================ */

.why-choose {
  padding: 72px 40px;
  background: var(--navy);
  border-top: 1px solid var(--border-subtle);
}

.why-choose .container {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 60px;
  align-items: start;
}

.why-choose h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: calc(0.9375rem * 1.08);
  margin-bottom: 14px;
  line-height: 1.55;
}

.why-list li::before {
  content: "•";
  color: var(--white);
  font-size: calc(1.25rem * 1.08);
  flex-shrink: 0;
  line-height: 1.3;
}

.why-decoration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.why-decoration img {
  height: auto;
  max-width: 200px;
  width: 200px;
  opacity: 0.9;
  margin-right: 400px;
}

/* ================================================================
   NEWSLETTER
================================================================ */

.newsletter {
  padding: 36px 40px;
  background: var(--navy);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.newsletter .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
}

.newsletter-cta {
  justify-content: center;
}

.newsletter-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--gold);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-family: "Glacial Indifference", sans-serif;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.newsletter-btn:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  color: white;
}

.newsletter-label {
  color: var(--gold);
  font-size: calc(1.0625rem * 1.08);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.newsletter-form {
  display: flex;
  flex: 1;
  min-width: 240px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: "Glacial Indifference", sans-serif;
  font-size: calc(0.875rem * 1.08);
  padding: 4px 8px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-family: "Glacial Indifference", sans-serif;
  font-size: calc(0.8125rem * 1.08);
  padding: 4px 12px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.7;
}

/* ================================================================
   ABOUT US
================================================================ */

.about-section {
  padding: 100px 40px; /* Increased padding */
  background: var(--navy);
}

.about-section .container {
  max-width: 1000px;
}

/* Heading with image: keeps heading centered while image sits slightly to the left */
.heading-with-image {
  position: relative;
  text-align: center;
  margin-bottom: 40px; /* Increased margin */
}

.heading-with-image .section-heading {
  margin: 0;
  font-size: clamp(32px, 6vw, 54px); /* Even more prominent */
  font-weight: 800;
  letter-spacing: 4px;
}

.heading-with-image .chalk-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-180%, -50%);
  width: 124px;
  height: auto;
  opacity: 0.95;
  pointer-events: none;
}

@media (max-width: 700px) {
  .heading-with-image .chalk-img {
    width: 56px;
    transform: translate(-200%, -50%);
  }
}

.about-intro p {
  color: var(--text-muted);
  font-size: calc(1rem * 1.08); /* Slightly larger */
  line-height: 1.85;
  margin-bottom: 20px; /* Increased margin */
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px; /* Increased margin */
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); /* Stronger shadow */
}

@media (max-width: 768px) {
  .about-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: -1;
  }
}

.about-goals {
  margin: 24px 0 0 20px;
}

.about-goals li {
  color: var(--white); /* Brighter */
  font-size: calc(1rem * 1.08);
  font-weight: 500;
  list-style: none; /* Custom list style */
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  padding-left: 28px;
  text-align: left;
}

.about-goals li::before {
  content: "✦";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.values-section {
  margin-top: 100px; /* Increased margin */
}

.values-intro {
  color: var(--text-muted);
  font-size: calc(1.1rem * 1.08); /* Larger */
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 60px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 40px; /* More spacing */
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-card {
    padding: 30px;
    border-radius: 12px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

.value-card {
  background: var(--navy-light);
  padding: 40px; /* More padding */
  border-radius: 16px; /* Rounder */
  border: 1px solid var(--border-subtle);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.value-card h3 {
  color: var(--gold);
  font-size: calc(1.5rem * 1.08); /* Bolder */
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(212, 168, 67, 0.3); /* Thicker border */
  padding-bottom: 12px;
}

.value-card ul {
  padding-left: 0;
}

.value-card li {
  color: var(--text-muted);
  font-size: 16px; /* Slightly larger */
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ================================================================
   GURUKUL SECTION
================================================================ */

.gurukul-section {
  margin-top: 120px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 60px; /* Added background padding */
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
}

.gurukul-content p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: calc(1.05rem * 1.08);
  margin-bottom: 28px;
}

.gurukul-quote {
  border-left: 6px solid var(--gold);
  background: var(--navy-light);
  padding: 32px;
  margin: 60px 0;
  color: var(--white);
  font-style: italic;
  font-size: 24px; /* Much larger quote */
  font-weight: 500;
  border-radius: 0 12px 12px 0;
  line-height: 1.5;
}

.lotus-img {
  width: 48px; /* Larger lotus */
  height: auto;
  display: block;
}

.value-card li {
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  list-style: none;
}

.value-card li::before {
  content: "•";
  color: var(--orange);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.value-card li:last-child {
  margin-bottom: 0;
}

.about-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 80px;
}

.mv-block .mv-label {
  color: var(--gold); /* Switched to gold */
  font-size: calc(1.6rem * 1.08); /* Bolder label */
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Decorative scroll on Vision heading (does not affect layout) */
.mv-vision {
  position: relative;
}
.mv-vision .mv-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mv-vision .mv-scroll {
  position: absolute;
  right: 16px;
  top: 10%;
  transform: translateY(-50%);
  height: 84px;
  width: auto;
  pointer-events: none;
}

@media (max-width: 768px) {
  .mv-vision .mv-scroll {
    display: none;
  }
}

.mv-block p {
  color: var(--white); /* Brighter */
  font-size: calc(1.1rem * 1.08);
  line-height: 1.8;
  font-weight: 500;
}

/* ================================================================
   CURRICULUM
================================================================ */

.curriculum-section {
  padding: 120px 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.curriculum-section:nth-of-type(even) {
  background: var(--navy-dark);
}

.curriculum-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.curriculum-heading {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.curriculum-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: calc(1rem * 1.08);
  max-width: 780px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.curriculum-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 80px auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

.curriculum-layout.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.curriculum-layout.reverse .curriculum-info {
  order: 2;
}
.curriculum-layout.reverse .curriculum-media {
  order: 1;
}

.curriculum-info {
  /* removed borders and specific padding */
}

@media (max-width: 992px) {
  .curriculum-layout,
  .curriculum-layout.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .curriculum-layout.reverse .curriculum-info {
    order: 1;
  }
  .curriculum-layout.reverse .curriculum-media {
    order: 2;
  }
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.info-block.full-width {
  grid-column: span 2;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.activity-tags li {
  background: var(--gold);
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  list-style: none !important;
  box-shadow: 0 4px 10px rgba(212, 168, 67, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: default;
}

.activity-tags li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(212, 168, 67, 0.3);
}

.activity-tags.secondary li {
  background: var(--navy);
  color: white;
  box-shadow: 0 4px 10px rgba(3, 19, 44, 0.15);
}

.activity-tags.secondary li:hover {
  box-shadow: 0 6px 14px rgba(3, 19, 44, 0.25);
}

/* Center the main nav horizontally in the navbar */
.navbar-top {
  position: relative; /* ensure absolute children align to this container */
}

/* On narrower screens restore normal flow so mobile behavior isn't affected */
@media (max-width: 1024px) {
  .nav-links {
    position: static;
    transform: none;
    justify-content: flex-start;
  }
}

/* Mobile: center the inline nav and remove the navbar bottom border */
@media (max-width: 768px) {
  .nav-links {
    justify-content: center;
    gap: 10px;
  }
  .navbar-top {
    border-bottom: none;
    padding: 10px 20px;
  }
}

/* Center mobile nav options */
.mobile-nav {
  text-align: center;
}
.mobile-nav a,
.mobile-nav .mobile-sub {
  text-align: center;
}

/* Carousel */
.curriculum-media {
  position: relative;
  width: 100%;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 27, 58, 0.9);
  color: var(--gold);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 5;
  text-align: center;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 15px;
  pointer-events: none;
  z-index: 10;
}

.carousel-prev,
.carousel-next {
  background: rgba(25, 40, 80, 0.6);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transition:
    background 0.2s,
    transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(4px);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--orange);
  transform: scale(1.1);
}

.carousel-dots {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

@media (max-width: 992px) {
  .curriculum-layout,
  .curriculum-layout.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .curriculum-layout.reverse .curriculum-info {
    order: 1;
  }
  .curriculum-layout.reverse .curriculum-media {
    order: 2;
  }
}

@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-block.full-width {
    grid-column: span 1;
  }
}

/* ================================================================
   FACILITIES
================================================================ */

.facilities-section {
  padding: 100px 40px;
}

.facility-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 52px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.facility-row:last-child {
  margin-bottom: 0;
}

.facility-info ul li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
}

.facility-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.facility-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
}

/* ================================================================
   LEADERSHIP
================================================================ */

.leadership-page {
  background: var(--off-white);
  color: #1a1a1a;
}

.leadership-page body {
  background: var(--off-white);
}

.leadership-section {
  padding: 80px 40px;
  background: var(--off-white);
}

.leadership-heading {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 60px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.leadership-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold);
}

.leader-block {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 100px;
  align-items: start;
  background: white;
  padding: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.leader-block:nth-child(even) {
  grid-template-columns: 300px 1fr;
  border-left: none;
  border-right: 5px solid var(--gold);
  border-radius: 8px 0 0 8px;
}

.leader-block:nth-child(even) .leader-photo {
  grid-column: 1;
  grid-row: 1;
}

.leader-block:nth-child(even) .leader-text {
  grid-column: 2;
  grid-row: 1;
}

.leader-block:last-child {
  margin-bottom: 0;
}

.leader-role {
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.leader-name {
  color: var(--navy);
  font-size: 34px;
  font-weight: 700;
  margin: 12px 0 20px;
  font-family: serif; /* More authoritative */
}

.leader-text p {
  margin-bottom: 18px;
  color: #444;
  line-height: 1.8;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  filter: grayscale(10%);
  transition: filter 0.3s ease;
  object-fit: cover;
  object-position: top;
}

.leader-photo {
  height: 400px; /* Fixed height to match original layout feel */
  overflow: hidden;
  border-radius: 4px;
}

.leader-photo img:hover {
  filter: grayscale(0%);
}

/* President Message — Home Landing Only */
.president-landing {
  padding: 100px 40px;
  background: var(--off-white);
  color: var(--navy);
}

.president-landing .container {
  max-width: 1200px;
  margin: 0 auto;
}

.leader-photo-landing {
  flex: 0 0 450px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.leader-photo-landing {
  flex: 0 0 300px;
  aspect-ratio: 3 / 4; /* portrait ratio */
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.leader-photo-landing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.leader-role-landing {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #666;
  text-align: left;
}
@media (max-width: 500px) {
  .leader-role-landing {
    text-align: center;
  }
}

.school-highlight {
  color: var(--navy);
  display: inline-block;
}

.leader-name-landing {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 700;
}

.leader-text-landing p {
  color: var(--navy-dark);
  margin-bottom: 24px;
  font-size: 18px;
}

.read-more-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: white;
  font-weight: 700;
  border-radius: 4px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more-btn:hover {
  background: #8e7d52;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .president-landing .welcome-grid {
    flex-direction: column;
    text-align: center;
  }
  .leader-photo-landing {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

.leader-credentials {
  color: #666;
  font-size: 15px;
  margin-bottom: 22px;
  font-style: italic;
  line-height: 1.5;
}

.leader-text p {
  color: #333;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.leader-text p:last-child {
  margin-bottom: 0;
}

.leader-photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ================================================================
   GALLERY
================================================================ */

.gallery-section {
  padding: 80px 40px;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.gallery-icon-img {
  height: 100px;
  width: auto;
  opacity: 0.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.fullscreen-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover img {
  transform: scale(1.025);
  opacity: 0.88;
}

.gallery-item:hover .fullscreen-icon {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 38px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: white;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 42px;
  cursor: pointer;
  padding: 10px 18px;
  transition: color 0.2s;
  user-select: none;
}

.lightbox-prev {
  left: 10px;
}
.lightbox-next {
  right: 10px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  color: white;
}

/* ================================================================
   ADMISSIONS PAGE
================================================================ */

.admissions-section {
  padding: 80px 40px;
  text-align: center;
}

.admissions-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.admissions-icon-img {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.admissions-section .admit-heading {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.start-journey h3 {
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.start-journey p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 36px;
}

.process-heading {
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
}

.process-steps {
  max-width: 480px;
  margin: 0 auto 0;
  text-align: left;
}

.process-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.55;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================================================
   CONTACT
================================================================ */

.contact-section {
  padding: 56px 40px 80px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.contact-icon-img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.9;
}

.contact-section h2 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.contact-info .contact-row {
  margin-bottom: 6px;
}

.contact-info .contact-label {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  margin-top: 24px;
  margin-bottom: 6px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
}

.contact-info a {
  color: var(--gold);
  transition: opacity 0.2s;
}

.contact-info a:hover {
  opacity: 0.75;
}

/* ================================================================
   RESPONSIVE — TABLET (≤1024px)
================================================================ */

@media (max-width: 1024px) {
  .why-choose .container {
    grid-template-columns: 1fr;
  }

  .why-decoration {
    display: none;
  }

  .about-mv {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .curriculum-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .curriculum-bottom-row {
    grid-template-columns: 1fr 1fr;
  }

  .facility-row {
    grid-template-columns: 1fr;
  }

  .leader-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .leader-photo {
    grid-row: 1;
    max-width: 200px;
    margin-bottom: 8px;
    height: auto;
  }

  .leader-text {
    grid-row: 2;
  }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤768px)
================================================================ */

@media (max-width: 768px) {
  .navbar-top {
    padding: 10px 20px;
  }

  .navbar-bottom {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .admissions-badge {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.open {
    display: flex;
  }

  /* Hide submenu items on mobile by default; reveal when expanded */
  .mobile-nav .mobile-sub {
    display: none;
  }

  .mobile-nav .mobile-sub.open {
    display: block;
  }

  .mobile-expand {
    display: inline-block;
    margin-left: 8px;
    background: none;
    border: none;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--navy);
  }

  .mobile-expand {
    transition: transform 0.2s ease;
  }

  .mobile-expand.open {
    transform: rotate(180deg);
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .page-content {
    /* remove top spacing on mobile so hero video sits flush */
    padding-top: 0;
  }

  /* Mobile: reduce site title to prevent overlap with logo */
  .navbar-logo img {
    height: 48px; /* smaller logo on mobile */
  }

  .navbar-top-left .site-title {
    font-size: calc(1rem * 1.08);
    text-overflow: ellipsis;
    word-spacing: -10px;
    line-height: 20px;
    max-width: calc(100% - 110px);
    display: inline-block;
    vertical-align: middle;
  }

  /* hero video */
  .hero {
    height: auto;
    /* allow JS to size the hero to the video's true aspect ratio
       to avoid letterboxing or extra vertical gaps */
    min-height: unset;
  }

  .hero video {
    position: relative;
    object-fit: contain;
  }

  .hero-logo img {
    height: 60px;
  }

  /* sections */
  .section,
  .welcome-section,
  .why-choose,
  .newsletter,
  .about-section,
  .curriculum-section,
  .facilities-section,
  .leadership-section,
  .gallery-section,
  .admissions-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .photo-grid-2x2 img {
    height: 155px;
  }

  .curriculum-bottom-row {
    grid-template-columns: 1fr;
  }

  .photos-2up {
    grid-template-columns: 1fr;
  }

  .photos-2up img {
    height: 200px;
  }

  .photo-2x2 {
    grid-template-columns: 1fr;
  }

  .photo-2x2 img {
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-grid img {
    height: 130px;
  }

  .newsletter .container {
    flex-direction: column;
    gap: 16px;
  }

  .admissions-banner {
    padding: 28px 20px;
  }
  .admissions-banner > img {
    position: static;
    margin: 0 auto 12px;
    transform: none;
    height: 120px;
    width: auto;
    display: block;
  }

  .facility-photos {
    grid-template-columns: 1fr;
  }

  .leader-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .leader-photo {
    order: -1; /* image at top */
    max-width: 100%;
    margin: 0;
  }

  .leader-photo img {
    height: auto;
    max-height: 400px;
  }

  .leader-text {
    display: block;
  }

  .leader-text .leader-role,
  .leader-text p,
  .leader-text .leader-credentials,
  .leader-text .leader-name {
    margin-bottom: 12px;
  }

  .leader-text .leader-name {
    order: unset;
    margin-top: 0;
  }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
================================================================ */

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .gallery-grid img {
    height: 110px;
  }

  .photo-2x2 img,
  .photos-2up img {
    height: 170px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
    padding: 8px 12px;
  }
}

/* ================================================================
   MODAL (ENROLLMENT FORM)
================================================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 40, 80, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  border-radius: 12px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 40px;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-header {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 700;
  text-align: center;
}

/* HubSpot Form Container styling */
.hs-form-frame {
  min-height: 400px;
}

/* ================================================================
   FLOATING ACTION BUTTONS
================================================================ */

.floating-ctas {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 30px;
  right: 30px;
  gap: 12px;
  z-index: 1100;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
  text-align: center;
  text-decoration: none;
  min-width: 160px;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-btn:active {
  transform: scale(0.96);
}

.floating-btn.whatsapp {
  background-color: #25d366;
  color: white;
}

.floating-btn.whatsapp:hover {
  background-color: #20b355;
}

.floating-btn.enroll {
  background-color: var(--orange);
  color: white;
}

.floating-btn.enroll:hover {
  background-color: #d06a3d;
}

.floating-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .floating-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    right: 15px;
    left: 15px;
    bottom: 20px;
  }

  .floating-btn {
    padding: 14px 10px;
    min-width: unset;
  }
}

/* Scrollbar for modal content */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(25, 40, 80, 0.1);
  border-radius: 10px;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
  }

  .modal-header {
    font-size: 24px;
  }
}

/* ================================================================
   FOOTER
================================================================ */

.site-footer {
  background-color: #ffffff;
  color: var(--navy);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10l5 5m5-5l-5 5M50 10l5 5m5-5l-5 5M90 10l5 5m5-5l-5 5M30 30l5 5m5-5l-5 5M70 30l5 5m5-5l-5 5M10 50l5 5m5-5l-5 5M50 50l5 5m5-5l-5 5M90 50l5 5m5-5l-5 5M30 70l5 5m5-5l-5 5M70 70l5 5m5-5l-5 5M10 90l5 5m5-5l-5 5M50 90l5 5m5-5l-5 5M90 90l5 5m5-5l-5 5" stroke="rgba(0,0,0,0.03)" stroke-width="1" stroke-linecap="round"/></svg>');
  background-size: 150px;
  opacity: 0.8;
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.5fr;
  gap: 60px;
}

.footer-column h3 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--navy);
  position: relative;
  font-weight: 700;
}

/* Brand Column */
.footer-logo {
  max-width: 180px;
  margin-bottom: 30px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  color: rgba(25, 40, 80, 0.82);
}

.contact-item i {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px; /* Matches the boxes in screenshot */
}

/* Quick Links Column */
.footer-links ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.footer-links a {
  color: rgba(25, 40, 80, 0.75);
  transition: color 0.3s ease;
  font-size: 16px;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Map Column */
.map-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map-overlay-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ffffff;
  color: #1a73e8; /* Google Maps Blue */
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  border: 1px solid #dadce0;
}

/* Icons (Placeholder fallback - using CSS borders/shapes if actual icons aren't available) */
.icon-home::before {
  content: "⌂";
}
.icon-phone::before {
  content: "📞";
  font-size: 14px;
}
.icon-email::before {
  content: "✉";
  font-size: 14px;
}
.icon-web::before {
  content: "🌐";
  font-size: 14px;
}
.icon-external::before {
  content: "➹";
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  font-size: 14px;
  color: rgba(25, 40, 80, 0.6);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-map {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 60px 0 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 20px;
    gap: 40px;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact-info {
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-item {
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .footer-links ul {
    justify-content: center;
    text-align: center;
  }

  .footer-links ul li {
    margin-bottom: 5px;
  }
}
