/* =============================================
   SSPGHSS v2 – Complete Design System
   Theme: Navy Indigo + Saffron Gold
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  padding: 0 20px;
  background: linear-gradient(rgba(13, 27, 62, 0.85), rgba(13, 27, 62, 0.85)), url('../images/roomtype1.jpg') center/cover no-repeat;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}
.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.splash-logo {
  max-width: 180px;
  animation: pulseLogo 2s infinite ease-in-out;
}
@keyframes pulseLogo {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}
.typing-container {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gold-light);
  min-height: 2em;
  display: block;
  text-align: center;
  letter-spacing: 0.5px;
}
.type-cursor {
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background-color: var(--gold-light);
  margin-left: 4px;
  vertical-align: middle;
  animation: blinkCursor 0.8s infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d1b3e;
  --navy-mid:  #152555;
  --navy-light:#1e3570;
  --gold:      #e8a020;
  --gold-light:#f5c154;
  --gold-pale: #fef3d7;
  --saffron:   #f07c1c;
  --white:     #ffffff;
  --off-white: #f8f9fc;
  --gray-100:  #f0f2f7;
  --gray-300:  #ccd0de;
  --gray-500:  #8892a8;
  --gray-700:  #3d4660;
  --text:      #1a2340;
  --text-light:#5a6480;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 12px rgba(13,27,62,.08);
  --shadow-md: 0 8px 32px rgba(13,27,62,.14);
  --shadow-lg: 0 20px 60px rgba(13,27,62,.20);

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --header-h:  72px;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-light); line-height: 1.8; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--wide { max-width: 1400px; }

/* ── Section Utilities ── */
section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid #f5d78a;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-title {
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
}
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
#topbar {
  background: var(--navy);
  padding: 8px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}
#topbar .topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}
.topbar-contact a:hover { color: var(--gold-light); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  transition: var(--transition);
}
.topbar-social a:hover { background: var(--gold); color: var(--navy); }

/* ══════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; text-decoration: none; }
.logo img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  white-space: normal;
}
.logo-sub {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .04em;
  white-space: normal;
}

/* Desktop Nav */
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop > li { position: relative; }
.nav-desktop > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: var(--transition);
}
.nav-desktop > li > a:hover,
.nav-desktop > li > a.active { color: var(--gold); background: var(--gold-pale); }
.nav-desktop > li > a .chevron {
  font-size: .65rem;
  transition: transform var(--transition);
}
.nav-desktop > li:hover > a .chevron { transform: rotate(180deg); }

/* Top-level nav icon */
.nav-desktop > li > a > i:not(.chevron) {
  font-size: .8rem;
  color: var(--gray-400);
  transition: color var(--transition);
  width: 15px;
  text-align: center;
}
.nav-desktop > li > a:hover > i:not(.chevron),
.nav-desktop > li > a.active > i:not(.chevron) { color: var(--gold); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 200;
  border: 1px solid var(--gray-100);
}
.nav-desktop > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--text);
  transition: var(--transition);
}
.dropdown-menu li a:hover { background: var(--gold-pale); color: var(--gold); }
.dropdown-menu li a i {
  width: 16px;
  text-align: center;
  font-size: .78rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .2s;
}
.dropdown-menu li a:hover i { transform: scale(1.15); }

/* Sub-dropdown */
.has-sub { position: relative; }
.has-sub > a { justify-content: flex-start; }
.has-sub > a::after { content: '›'; margin-left: auto; font-size: 1rem; color: var(--gray-400); }
.sub-dropdown {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: var(--transition);
  z-index: 201;
  border: 1px solid var(--gray-100);
}
.has-sub:hover .sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.sub-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
}
.sub-dropdown li a i {
  width: 15px;
  text-align: center;
  font-size: .72rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;            /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 42px; height: 42px;
  background: var(--gold-pale);
  border: 2px solid #f5d78a;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;           /* explicit width so bars are visible */
  height: 2.5px;
  background: var(--navy);
  border-radius: 3px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile Nav overlay — use visibility+pointer-events so transform slide works */
.nav-mobile {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--navy);
  z-index: 999;
  overflow-y: auto;
  padding: 80px 24px 40px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
  pointer-events: none;
}
.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
}
.nav-mobile-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 40px; height: 40px;
  border: none;
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-mobile ul li a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  font-weight: 500;
}
.nav-mobile ul li a > i {
  width: 22px;
  text-align: center;
  font-size: .9rem;
  color: var(--gold-light);
  flex-shrink: 0;
}
.nav-mobile ul li a:hover { color: var(--gold-light); }
.nav-mobile .mob-submenu {
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  margin-top: 4px;
}
.nav-mobile .mob-submenu a {
  font-size: .9rem;
  padding: 9px 0;
  color: rgba(255,255,255,.65);
}
.nav-mobile .mob-submenu a:hover { color: var(--gold-light); }
.mob-acc-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  width: 100%;
  text-align: left;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 11px;
}
/* Chevron pushed to the right */
.mob-acc-btn .chevron {
  margin-left: auto;
  transition: transform var(--transition);
  font-size: .8rem;
  color: var(--gold-light);
}
.mob-acc-btn > i:not(.chevron) {
  width: 22px;
  text-align: center;
  font-size: .9rem;
  color: var(--gold-light);
  flex-shrink: 0;
}
.mob-acc-btn.active .chevron { transform: rotate(180deg); }
.mob-acc-content { display: none; }
.mob-acc-content.open { display: block; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2a4a9e 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 50%, rgba(232,160,32,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(240,124,28,.1) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.015) 40px,
      rgba(255,255,255,.015) 41px
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero-text h1 .highlight {
  color: var(--gold-light);
  display: block;
}
.hero-text p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(232,160,32,.3);
}
.hero-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-family: var(--font-head);
  text-align: center;
  min-width: 120px;
}
.hero-img-badge .num { font-size: 1.8rem; display: block; line-height: 1; }
.hero-img-badge .lbl { font-size: .75rem; margin-top: 2px; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-indicator .arrow { font-size: 1.2rem; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════
   NEWS TICKER
══════════════════════════════════════ */
.news-ticker {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 100px;
  margin-right: 20px;
  white-space: nowrap;
}
.ticker-track {
  overflow: hidden;
  flex: 1;
}
.ticker-content {
  display: flex;
  gap: 60px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-content span {
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  flex-shrink: 0;
}
.ticker-content span::before {
  content: '★';
  margin-right: 10px;
  opacity: .6;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   FEATURES / INFO CARDS
══════════════════════════════════════ */
.features-section { background: var(--off-white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.feature-card-body {
  padding: 24px;
}
.feature-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.feature-card-body p {
  font-size: .9rem;
  margin-bottom: 16px;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  transition: gap var(--transition);
}
.read-more:hover { gap: 10px; }

/* ══════════════════════════════════════
   STATS / FACTS
══════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.stat-item {
  background: transparent;
  padding: 48px 32px;
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.stat-item:hover { background: rgba(255,255,255,.05); }
.stat-icon {
  width: 60px; height: 60px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  font-weight: 500;
}

/* ══════════════════════════════════════
   INFRASTRUCTURE
══════════════════════════════════════ */
.infra-section { background: var(--white); }
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.infra-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
  cursor: default;
}
.infra-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.infra-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-pale), #fff8e7);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid #f5d78a;
  transition: var(--transition);
}
.infra-card:hover .infra-icon {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  border-color: var(--saffron);
}
.infra-info h4 { margin-bottom: 6px; font-size: 1rem; }
.infra-info p { font-size: .85rem; line-height: 1.6; }
.infra-center-img {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.infra-center-img img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ══════════════════════════════════════
   EVENTS
══════════════════════════════════════ */
.events-section { background: var(--off-white); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.event-card-img-wrap { position: relative; overflow: hidden; }
.event-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .4s ease;
}
.event-card:hover .event-card-img { transform: scale(1.05); }
.event-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 700;
}
.event-card-body { padding: 22px; }
.event-card-body h4 { margin-bottom: 8px; font-size: 1rem; color: var(--navy); }
.event-card-body p { font-size: .85rem; }
.event-meta {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  font-size: .8rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon {
  color: var(--white);
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gallery-overlay span {
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
}

/* ══════════════════════════════════════
   ACHIEVEMENTS / TABS
══════════════════════════════════════ */
.achievements-section { background: var(--off-white); }
.tabs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 0;
}
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover { color: var(--gold); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); background: rgba(232,160,32,.06); }
.tab-pane { display: none; }
.tab-pane.active { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tab-content-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 300px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.tab-content-body h3 { margin-bottom: 14px; }
.tab-content-body p { margin-bottom: 18px; }
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-light);
}
.check-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: var(--gold-pale);
  color: var(--gold);
  font-weight: 700;
  font-size: .75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   ACADEMICS ACCORDION
══════════════════════════════════════ */
.academics-section { background: var(--white); }
.academics-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.accordion-item:hover { box-shadow: var(--shadow-sm); }
.accordion-item.open { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
  user-select: none;
}
.accordion-icon {
  width: 24px; height: 24px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.accordion-body {
  display: none;
  padding: 0 22px 20px;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.8;
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body img {
  float: left;
  margin: 0 16px 8px 0;
  border-radius: var(--radius-sm);
  max-width: 130px;
}

/* OSA Grid */
.osa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.osa-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.osa-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.osa-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

/* ══════════════════════════════════════
   CTA / SUBSCRIBE
══════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(232,160,32,.08);
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.cta-text h3 { color: var(--white); font-size: 1.5rem; }
.cta-text p { color: rgba(255,255,255,.65); margin-top: 4px; }
.cta-phone { color: var(--gold-light); font-size: 1.8rem; font-family: var(--font-head); font-weight: 700; }
.newsletter-wrap {
  display: flex;
  gap: 0;
  max-width: 440px;
  flex: 1;
}
.newsletter-wrap input {
  flex: 1;
  padding: 13px 20px;
  border: none;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  border-right: none;
}
.newsletter-wrap input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-wrap button {
  padding: 13px 24px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-wrap button:hover { background: var(--saffron); }

/* ══════════════════════════════════════
   PAGE BANNER (inner pages)
══════════════════════════════════════ */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,.02) 40px, rgba(255,255,255,.02) 41px);
}
.page-banner-content { position: relative; text-align: center; }
.page-banner h1 { color: var(--white); margin-bottom: 16px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .88rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,.5); }
.breadcrumb .current { color: rgba(255,255,255,.75); }

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 52px;
  align-items: start;
}
.contact-info-panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: var(--white);
}
.contact-info-panel h3 { color: var(--white); margin-bottom: 28px; font-size: 1.3rem; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold-light);
}
.contact-item-text h4 { color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.contact-item-text p { color: rgba(255,255,255,.65); font-size: .88rem; }
.contact-form-panel h3 { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,160,32,.12); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit { margin-top: 20px; }
.map-section { padding: 0; }
.map-section iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
  filter: hue-rotate(200deg) saturate(.8);
}

/* ══════════════════════════════════════
   ABOUT / INFRASTRUCTURE / etc.
══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-stack { position: relative; }
.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 45%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-years-badge {
  position: absolute;
  top: 24px;
  left: -16px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.about-years-badge .yr { font-size: 2rem; display: block; line-height: 1; }
.about-years-badge .txt { font-size: .78rem; }
.about-text .section-label { margin-bottom: 14px; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
}
.highlight-item::before {
  content: '✦';
  color: var(--gold);
  font-size: .7rem;
}

/* Headmistress card */
.headmistress-card {
  background: var(--gold-pale);
  border: 1px solid #f5d78a;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.headmistress-img {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  flex-shrink: 0;
}
.headmistress-body p { margin-bottom: 12px; }
.headmistress-body .name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
}
.headmistress-body .title { color: var(--gold); font-weight: 600; font-size: .88rem; }

/* Vision Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.vm-card.gold-border { border-top: 4px solid var(--gold); }
.vm-card.navy-border { border-top: 4px solid var(--navy); }
.vm-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.vm-card h3 { margin-bottom: 14px; }
.vm-card ul { display: flex; flex-direction: column; gap: 8px; }
.vm-card ul li {
  display: flex;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.vm-card ul li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Infrastructure pages */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.facility-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.facility-body { padding: 22px; }
.facility-body h4 { color: var(--navy); margin-bottom: 8px; }
.facility-body p { font-size: .88rem; }

/* Achievement tabs full page */
.achi-cats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.achi-cat-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-300);
  background: transparent;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.achi-cat-btn:hover { border-color: var(--gold); color: var(--gold); }
.achi-cat-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.achi-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.achi-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.achi-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.achi-item img { width: 100%; height: 180px; object-fit: cover; }
.achi-item-body { padding: 14px 16px; }
.achi-item-body p { font-size: .85rem; }

/* ══════════════════════════════════════
   QUESTION PAPER SECTION
══════════════════════════════════════ */
.qp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.qp-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.qp-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.qp-card h4 { margin-bottom: 14px; font-size: 1rem; color: var(--navy); }
.qp-links { display: flex; flex-direction: column; gap: 8px; }
.qp-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.qp-link:hover { background: var(--gold-pale); color: var(--gold); }
.qp-link .badge {
  margin-left: auto;
  font-size: .7rem;
  padding: 2px 8px;
  background: var(--navy);
  color: var(--white);
  border-radius: 100px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
}
.footer-main { padding: 70px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.8; margin-bottom: 20px; }
.footer-social-links { display: flex; gap: 10px; }
.footer-social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social-links a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-body);
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gold);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links a::before { content: '›'; color: var(--gold); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-address { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 2; }
.footer-address a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-address a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.copyright { font-size: .83rem; color: rgba(255,255,255,.5); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 900;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--saffron); transform: translateY(-3px); }

/* ══════════════════════════════════════
   ANIMATIONS & UTILITIES
══════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* Divider */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  border-radius: 3px;
  margin: 16px 0;
}
.divider.center { margin: 16px auto; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1250px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

@media (min-width: 1251px) {
  /* On desktop, keep nav-mobile completely out of the way */
  .nav-mobile {
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(100%) !important;
  }
}

@media (max-width: 900px) {
  section { padding: 60px 0; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-visual { display: none; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .tab-pane.active { grid-template-columns: 1fr; }
  .tab-content-img { height: 220px; }
  .academics-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .vm-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  /* nav-mobile no longer needs display:block — visibility handles it */
  .headmistress-card { flex-direction: column; align-items: center; text-align: center; }
  .cta-inner { flex-direction: column; text-align: center; }
  .newsletter-wrap { width: 100%; max-width: 100%; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .osa-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-contact a:last-child { display: none; }
  .about-highlights { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .logo-text { display: none; }
  
  /* Fix minmax grids overflowing on small screens */
  .facility-grid { grid-template-columns: 1fr; }
  .achi-items { grid-template-columns: 1fr; }
  .qp-grid { grid-template-columns: 1fr; }
  
  .typing-container {
    font-size: 0.95rem;
    padding: 0 10px;
    text-align: center;
  }
}
