/* ==========================================================================
   Forsure International Secondary School - Stylesheet
   Theme: Excellence in Learning and Character
   Colors: Midnight Navy, Royal Gold, Soft Off-White
   ========================================================================== */

/* --- Typography & Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Root Variables --- */
:root {
  --primary: #001a35;       /* deep classy navy */
  --primary-light: #0a2a4c; /* rich midnight navy-blue */
  --accent: #c5a059;        /* gleaming school gold */
  --accent-dark: #ab8743;   /* deep rich gold */
  --neutral-dark: #ffffff;  /* high contrast titles */
  --neutral-light: #001124; /* background dense tone */
  --card-bg: rgba(255, 255, 255, 0.03); /* dark frosted card */
  --text-main: #cbd5e1;     /* legible light-slate body text */
  --text-muted: #94a3b8;    /* sophisticated slate gray */
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 4px;   /* matches the 4px rounded buttons in design */
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --max-width: 1400px;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Georgia', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--neutral-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* --- Helper Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: clamp(3.5rem, 8vw, 7.5rem) 0;
}

.text-center { text-align: center; }

.gold-text {
  color: var(--accent);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.25rem;
}

.section-title {
  font-family: var(--font-serif);
  color: var(--neutral-dark);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.btn-primary:hover {
  background-color: #dfc18d; /* gold-light */
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.25);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.btn-secondary:hover {
  background-color: #dfc18d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.2);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background-color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background-color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.btn-white-outline:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

/* --- Top Pre-Header --- */
.topbar {
  background-color: #000c1a;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item i {
  color: var(--accent);
  width: 14px;
  height: 14px;
}

.topbar-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.topbar-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  width: 32px; /* Slightly larger for better tap targets and readability */
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-socials a:hover {
  transform: translateY(-2px);
}

.topbar-socials a.social-whatsapp:hover {
  color: #FFFFFF !important;
  background-color: #25D366 !important;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.6);
}

.topbar-socials a.social-facebook:hover {
  color: #FFFFFF !important;
  background-color: #1877F2 !important;
  box-shadow: 0 0 12px rgba(24, 119, 242, 0.6);
}

.topbar-socials a.social-youtube:hover {
  color: #FFFFFF !important;
  background-color: #FF0000 !important;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}

/* --- Header / Navigation --- */
.header-main {
  background-color: rgba(0, 26, 53, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  transition: var(--transition-fast);
}

.header-main.scrolled {
  background-color: var(--primary);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-circle {
  width: 62px;
  height: 62px;
  background: radial-gradient(circle, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.logo-letter {
  display: block;
}

.header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  object-position: center;
}

.logo-text {
  color: #FFFFFF;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: #FFFFFF;
}

.logo-tagline {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-top: 0.2rem;
}

.nav-list {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  align-items: center;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  width: 100%;
}

/* --- Mobile Menu Trigger --- */
.mobile-trigger {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: clamp(550px, 85vh, 800px);
  background: linear-gradient(rgba(0, 26, 53, 0.6), rgba(0, 26, 53, 0.9)), 
              repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 0, transparent 50%),
              url('images/hero.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
}

/* Subtle graphic slide-in overlay effect */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(197, 160, 89, 0.1) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 5;
  padding: 2rem 0;
}

.hero-intro {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease;
}

.hero-intro i {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

.hero-taglines {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  animation: fadeInUp 1s ease;
}

.tagline-item {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: #E2E8F0;
}

.tagline-item span {
  color: var(--accent);
  font-weight: 700;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 680px;
  animation: fadeInUp 1.1s ease;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

/* --- Hero Floater: Key Stats Strip --- */
.stats-strip {
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(197, 160, 89, 0.25);
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}

.stat-box {
  padding: 2.22rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: var(--transition-fast);
}

.stat-box:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #E2E8F0;
  letter-spacing: 0.08em;
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- Section: Proprietors & Principal Welcome --- */
.welcome-sec {
  background-color: #FFFFFF !important;
}

.welcome-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.welcome-text {
  text-align: left;
}

.welcome-sec .section-tag {
  color: var(--accent-dark) !important;
  border-bottom: 2px solid var(--accent) !important;
}

.welcome-sec .section-title {
  color: var(--primary) !important;
}

.welcome-msg {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary-light) !important;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.welcome-p {
  margin-bottom: 1.2rem;
  color: #1e293b !important;
  font-size: 1rem;
}

.welcome-signature {
  margin-top: 2rem;
  border-top: 1px solid #cbd5e1;
  padding-top: 1rem;
}

.signature-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.signature-title {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.welcome-gallery {
  position: relative;
  display: flex;
  justify-content: center;
}

.gallery-large-frame {
  width: 100%;
  max-width: 440px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 37, 63, 0.15);
  border: 8px solid #FFFFFF;
}

.gallery-large-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-large-frame:hover img {
  transform: scale(1.05);
}

.gallery-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1rem;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-left: 5px solid var(--accent);
  text-align: center;
  max-width: 220px;
}

.badge-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.badge-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* --- Section: Management Team --- */
.mgt-sec {
  background-color: var(--primary);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.mgt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 1rem;
}

.mgt-card {
  background-color: var(--neutral-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
  transition: var(--transition-slow);
  border: 1px solid rgba(197, 160, 89, 0.15);
  display: flex;
  flex-direction: column;
}

.mgt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--accent);
}

.mgt-img-container {
  position: relative;
  height: 380px;
  overflow: hidden;
  background-color: var(--primary-light);
}

.mgt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-slow);
}

.mgt-card:hover .mgt-img {
  transform: scale(1.04);
}

.mgt-role-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: var(--accent);
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.mgt-info {
  padding: 1.750rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.mgt-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--neutral-dark);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.mgt-sub {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.mgt-bio-summary {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.mgt-bio-full {
  display: none;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.mgt-bio-full p {
  margin-bottom: 0.8rem;
}

.mgt-bio-full p:last-child {
  margin-bottom: 0;
}

.btn-toggle-bio {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
  transition: var(--transition-fast);
  align-self: flex-start;
}

.btn-toggle-bio:hover {
  color: var(--accent-dark);
}

.btn-toggle-bio i {
  width: 14px;
  height: 14px;
  transition: var(--transition-fast);
}

.btn-toggle-bio.active i {
  transform: rotate(180deg);
}

/* --- Section: Why Choose Forsure --- */
.why-sec {
  background-color: var(--neutral-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background-color: var(--card-bg);
  padding: 1.5rem 1.75rem;
  border-radius: var(--border-radius-md);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
  transition: var(--transition-slow);
  border: 1.5px solid var(--accent);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  transform: translate(30px, 30px);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--accent);
}

.why-card:hover::before {
  height: 6px;
  background-color: var(--accent);
}

.why-icon {
  width: 65px;
  height: 65px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-fast);
}

.why-icon i {
  color: var(--accent);
  width: 32px;
  height: 32px;
}

.why-card:hover .why-icon {
  background-color: var(--accent);
  transform: scale(1.05);
}

.why-card:hover .why-icon i {
  color: var(--primary);
}

.why-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 1rem;
}

.why-card-text {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Section: Academics Block --- */
.academics-sec {
  background-color: #00162e;
}

.academics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.ac-card {
  height: 420px;
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.ac-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.ac-card:hover .ac-img-bg {
  transform: scale(1.1);
}

.ac-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 26, 53, 0.98) 10%, rgba(0, 26, 53, 0.4) 60%, transparent 100%);
  z-index: 2;
  transition: var(--transition-fast);
}

.ac-card:hover .ac-gradient {
  background: linear-gradient(to top, rgba(0, 12, 26, 0.99) 20%, rgba(0, 26, 53, 0.6) 70%, rgba(0, 26, 53, 0.1) 100%);
}

.ac-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.250rem;
  z-index: 3;
}

.ac-short {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.ac-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.ac-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  line-height: 1.5;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: var(--transition-slow);
}

.ac-card:hover .ac-desc {
  height: 80px;
  opacity: 1;
  margin-bottom: 0.5rem;
}

.ac-arrow {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.ac-arrow i {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.ac-card:hover .ac-arrow i {
  transform: translateX(5px);
}

/* --- Section: Facilities & Environment --- */
.fac-sec {
  background-color: var(--neutral-light);
}

.fac-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.fac-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.fac-img-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 240px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 160, 89, 0.15);
}

.fac-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.fac-img-item:hover img {
  transform: scale(1.08);
}

.fac-img-item:nth-child(even) {
  transform: translateY(1.5rem);
}

.fac-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 26, 53, 0.95));
  padding: 1.5rem 1rem 0.75rem 1rem;
  color: #FFFFFF;
  text-align: center;
}

.fac-caption span {
  font-weight: 600;
  font-size: 0.9rem;
}

.fac-gallery-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.fac-gallery-full .fac-img-item:nth-child(even) {
  transform: none;
}

@media (max-width: 991px) {
  .fac-gallery-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .fac-gallery-full {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.fac-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.fac-list-item {
  display: flex;
  gap: 0.75rem;
}

.fac-list-item i {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.fac-list-item h4 {
  font-family: var(--font-sans);
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.fac-list-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Section: Student Life --- */
.life-sec {
  background-color: #E0F2FE; /* Beautiful baby blue background */
}

.life-sec .section-title {
  color: #001a35; /* Navy title for high contrast */
}

.life-sec .section-tag {
  color: #001a35;
  background-color: rgba(0, 26, 53, 0.08);
}

.life-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.life-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.life-tab-item {
  background-color: #ffffff; /* pure white contrast card on baby blue background */
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border-left: 4px solid rgba(0, 26, 53, 0.15);
  border-right: 1px solid rgba(0, 26, 53, 0.06);
  border-top: 1px solid rgba(0, 26, 53, 0.06);
  border-bottom: 1px solid rgba(0, 26, 53, 0.06);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 6px rgba(0, 26, 53, 0.02);
}

.life-tab-item:hover {
  border-left-color: var(--accent-dark);
  box-shadow: 0 8px 20px rgba(0, 26, 53, 0.06);
}

.life-tab-item.active {
  background-color: #ffffff;
  border-left-color: var(--accent-dark);
  box-shadow: 0 10px 25px rgba(0, 26, 53, 0.1);
}

.life-tab-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.life-tab-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 26, 53, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.life-tab-nav-icon i {
  color: #001a35;
  width: 18px;
  height: 18px;
}

.life-tab-item.active .life-tab-nav-icon {
  background-color: #001a35;
}

.life-tab-item.active .life-tab-nav-icon i {
  color: #ffffff;
}

.life-tab-title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: #001a35;
}

.life-tab-body {
  font-size: 0.95rem;
  color: #334155; /* Slate-700 for soft contrast and readability */
  padding-left: 3.2rem;
  display: none;
}

.life-tab-item.active .life-tab-body {
  display: block;
  margin-top: 0.75rem;
}

.life-tab-item .life-tab-toggle-icon {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.life-tab-item.active .life-tab-toggle-icon {
  transform: rotate(180deg);
}

.life-showcase {
  position: relative;
  height: 480px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 26, 53, 0.15);
  border: 1px solid rgba(0, 26, 53, 0.1);
}

.life-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.life-slide-img.active {
  opacity: 1;
  z-index: 2;
}

.life-showcase-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 2rem 2rem 2rem;
  background: linear-gradient(transparent, rgba(0, 26, 53, 0.95));
  color: #FFFFFF;
  z-index: 3;
}

.life-showcase-title h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.life-showcase-title p {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

/* --- Section: Admissions Banner --- */
.admissions-banner {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(10, 25, 47, 0.95) 100%), 
              url('images/admissions-banner.jpg') no-repeat center center/cover;
  background-blend-mode: overlay;
  color: #FFFFFF;
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
}

.banner-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  background-color: #FFFFFF !important;
  padding: 4rem 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(197, 160, 89, 0.25);
  color: #1a202c !important;
}

.banner-logo {
  width: 70px;
  height: 70px;
  background-color: #FFFFFF;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.banner-logo img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.banner-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--primary) !important;
  margin-bottom: 1rem;
}

.banner-content p {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem) !important;
  color: #334155 !important;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.banner-brief {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.banner-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid #cbd5e1 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.banner-badge i {
  color: var(--accent-dark) !important;
  width: 16px;
  height: 16px;
}

.banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.banner-actions .btn-white-outline {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.banner-actions .btn-white-outline:hover {
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
}

/* --- Section: Parent Testimonials --- */
/* --- Section: Parent Testimonials --- */
.testi-sec {
  background-color: #FFFFFF !important; /* Beautiful pure white background */
}

/* Ensure headings on testimonials section are distinct and high contrast on white */
.testi-sec .section-title {
  color: #001a35 !important; /* Deep classy navy */
}

.testi-sec .section-subtitle {
  color: #334155 !important; /* Elegant slate gray */
}

.testi-sec .section-tag {
  color: #001a35 !important;
  background-color: rgba(0, 26, 53, 0.05);
}

.testi-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.testi-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.testi-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 1.5rem;
}

.testi-card {
  background-color: #F8FAFC !important; /* Soft stylish off-white background */
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 26, 53, 0.05); /* Modern card shadow */
  border: 1px solid #E2E8F0;
  position: relative;
  text-align: center;
}

.testi-quote-icon {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
}

.testi-quote-icon i {
  width: 24px;
  height: 24px;
}

.testi-rating {
  margin: 1rem 0 1.5rem 0;
  color: var(--accent);
  display: flex;
  justify-content: center;
  gap: 4px;
}

.testi-rating i {
  fill: var(--accent);
  width: 18px;
  height: 18px;
}

.testi-text {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: #1e293b !important; /* Readable dark-charcoal text */
  line-height: 1.7;
  margin-bottom: 2rem;
}

.testi-author-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testi-author-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary) !important; /* Dark navy author name */
  font-weight: 700;
}

.testi-author-sub {
  font-size: 0.82rem;
  color: #64748b !important; /* Medium slate gray sub */
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-top: 0.25rem;
}

/* Slide Navigations */
.testi-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 26, 53, 0.15); /* Sleek light blue-gray dots */
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.testi-dot.active {
  background-color: var(--primary); /* Deep nav for high focus contrast */
  transform: scale(1.3);
}

.testi-arrow {
  background-color: #F8FAFC;
  border: 1px solid #cbd5e1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,26,53,0.04);
}

.testi-arrow:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.testi-arrow i {
  width: 18px;
  height: 18px;
}

/* --- Section: News, Activities & Events --- */
.news-sec {
  background-color: #FFFFFF !important;
}

.news-sec .section-tag {
  color: var(--accent-dark) !important;
  border-bottom: 2px solid var(--accent) !important;
}

.news-sec .section-title {
  color: var(--primary) !important;
}

.news-sec .section-subtitle {
  color: #475569 !important;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background-color: var(--neutral-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255,255,255,0.05);
  border: 1px solid rgba(197, 160, 89, 0.15);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: var(--accent);
}

.news-img-wrap {
  position: relative;
  height: 230px;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--border-radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  line-height: 1.2;
}

.news-date-badge span {
  display: block;
  font-size: 1.1rem;
}

.news-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--neutral-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.news-word {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.news-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

.news-metaItem {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.news-metaItem i {
  width: 14px;
  height: 14px;
}

/* --- Section: Admissions Enquiry Form (Interactive) --- */
.enquiry-sec {
  background-color: var(--neutral-light);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.enquiry-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.enquiry-content {
  text-align: left;
}

.enquiry-steps {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-row {
  display: flex;
  gap: 1rem;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent);
}

.step-info h4 {
  font-family: var(--font-serif);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.step-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-wrapper {
  background-color: rgba(255, 255, 255, 0.03);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(197, 160, 89, 0.2);
  position: relative;
}

.form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--accent);
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
}

.form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #FFFFFF;
  transition: var(--transition-fast);
  background-color: rgba(0, 0, 0, 0.2);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Success View Setup */
.form-success-state {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success-state i {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
}

.form-success-state h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.form-success-state p {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Custom styling for the child-admission inquiry form to be baby blue */
.enquiry-sec .form-wrapper {
  background-color: #E0F2FE; /* Beautiful baby blue color */
  border: 1px solid #bae6fd;
  box-shadow: 0 20px 40px rgba(0, 26, 53, 0.12);
}

.enquiry-sec .form-wrapper::before {
  background-color: var(--primary); /* Deep navy top strip instead of gold */
}

.enquiry-sec .form-header h3 {
  color: var(--primary); /* Deep navy title */
}

.enquiry-sec .form-header p {
  color: #334155; /* Dark gray */
}

.enquiry-sec .form-group label {
  color: var(--primary); /* Deep navy label */
}

.enquiry-sec .form-control {
  background-color: #FFFFFF;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
}

.enquiry-sec .form-control::placeholder {
  color: #94a3b8;
}

.enquiry-sec .form-control:focus {
  border-color: var(--primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(0, 26, 53, 0.08);
}

.enquiry-sec .form-success-state h3 {
  color: var(--primary);
}

.enquiry-sec .form-success-state p {
  color: #334155;
}

.enquiry-sec .form-success-state i {
  background-color: rgba(0, 26, 53, 0.08);
  color: var(--primary);
}

/* --- Section: Footer & Direct Info --- */
.footer-top {
  background-color: #000c1a;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
}

.footer-col h3, .footer-col h4 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after, .footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-links-list a i {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

/* Map Component Block */
.footer-map-container {
  width: 100%;
  height: 180px;
  border-radius: var(--border-radius-sm);
  background-color: #001124;
  border: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  margin-top: 1rem;
  position: relative;
}

.map-placeholder-bg {
  width: 100%;
  height: 100%;
  position: relative;
  background: radial-gradient(circle, rgba(0, 26, 53, 0.95) 0%, rgba(0, 17, 36, 0.98) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  padding: 1rem;
}

.map-placeholder-bg i {
  color: var(--accent);
  width: 30px;
  height: 30px;
  margin-bottom: 0.5rem;
}

.map-placeholder-bg h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
}

.map-placeholder-bg p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-map-link {
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-top: 0.6rem;
  display: inline-block;
  font-weight: 500;
}

.btn-map-link:hover {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- Bottom Copyright bar --- */
.footer-bottom {
  background-color: #000c1a;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

/* --- Floating Utilities --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  font-size: 1.8rem;
  transition: var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp i {
  width: 28px;
  height: 28px;
}

/* --- Custom Admissions Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 17, 36, 0.85);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-content {
  background-color: #001a35;
  width: 100%;
  max-width: 600px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(197, 160, 89, 0.3);
  position: relative;
  overflow: hidden;
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 1.250rem;
  right: 1.250rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent);
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- Media Queries (Fully Responsive Layouts) --- */

/* Lg screens (1024px to 1200px) */
@media (max-width: 1200px) {
  .footer-top .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Md screens (up to 991px) */
@media (max-width: 991px) {
  .welcome-layout, .life-grid, .enquiry-split, .fac-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .fac-gallery {
    margin-bottom: 2rem;
  }
  .fac-img-item:nth-child(even) {
    transform: none;
  }
  
  .why-grid, .mgt-grid, .academics-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .welcome-gallery {
    order: -1;
  }
  
  .gallery-large-frame {
    max-width: 100%;
  }
  
  .gallery-large-frame img {
    height: 420px;
  }
  
  .life-showcase {
    height: 380px;
  }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
  .topbar {
    display: none; /* Hide topbar on small screens to save vertical space */
  }
  
  .logo-title {
    font-size: 1.15rem;
  }
  
  .logo-tagline {
    font-size: 0.65rem;
  }
  
  .mobile-trigger {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 75px; 
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem var(--container-pad, 2rem);
    transition: var(--transition-slow);
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    gap: 2rem;
  }
  
  .nav-list.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .hero {
    min-height: auto;
  }
  
  .hero-content {
    padding: 4rem 0;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .stats-strip {
    margin-top: 0;
    border-radius: 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .stat-box:last-child {
    border-bottom: none;
  }
  
  .why-grid, .mgt-grid, .academics-grid, .news-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .ac-card {
    height: 320px;
  }
  
  .ac-desc {
    height: auto !important;
    opacity: 1 !important;
    margin-bottom: 0.5rem !important;
  }
  
  .fac-list {
    grid-template-columns: 1fr;
  }
  
  .footer-top .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .floating-whatsapp i {
    width: 22px;
    height: 22px;
  }
  
  /* Make social media icons bigger and more centralized for the mobile version */
  .footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-col:first-child .footer-logo-block {
    justify-content: center;
  }

  .topbar-socials {
    justify-content: center;
    width: 100%;
    gap: 1.25rem !important;
    margin-top: 1.5rem !important;
  }

  .topbar-socials a {
    width: 44px !important;
    height: 44px !important;
  }

  .topbar-socials a svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Small Mobiles */
@media (max-width: 480px) {
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .hero-taglines {
    gap: 0.75rem;
    flex-direction: column;
  }
  
  .banner-brief {
    gap: 1rem;
    flex-direction: column;
  }
  
  .banner-badge {
    width: 100%;
    justify-content: center;
  }
  
  .testi-card {
    padding: 2.5rem 1rem;
  }
}

/* --- Hero Admissions & Custom Bubble Badges --- */
.hero-admission-container {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 620px;
}

.admission-in-progress-glow {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  animation: blinkGlow 3s infinite ease-in-out;
}

.blinking-dot {
  color: #39FF14; /* Fluorescent Safety Green */
  font-size: 1.3rem;
  line-height: 1;
  text-shadow: 0 0 8px #39FF14;
  animation: blinkDot 0.8s infinite alternate;
}

.bubble-title-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-top: 0.25rem;
  margin-bottom: -0.25rem;
}

.admission-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bubble-badge {
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transition: all 0.3s ease;
  user-select: none;
}

.bubble-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.bubble-creche {
  background-color: rgba(253, 164, 186, 0.12);
  border-color: rgba(253, 164, 186, 0.35);
  color: #FDA4BA; /* Pastel Soft Pink */
}
.bubble-creche:hover {
  background-color: rgba(253, 164, 186, 0.22);
}

.bubble-kindergarten {
  background-color: rgba(192, 132, 252, 0.12);
  border-color: rgba(192, 132, 252, 0.35);
  color: #C084FC; /* Pastel Lilac */
}
.bubble-kindergarten:hover {
  background-color: rgba(192, 132, 252, 0.22);
}

.bubble-nursery {
  background-color: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.35);
  color: #A78BFA; /* Lavender Purple */
}
.bubble-nursery:hover {
  background-color: rgba(167, 139, 250, 0.22);
}

.bubble-primary {
  background-color: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #FBBF24; /* Warm Gold */
}
.bubble-primary:hover {
  background-color: rgba(251, 191, 36, 0.22);
}

.bubble-secondary {
  background-color: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #F87171; /* Soft Red Coral */
}
.bubble-secondary:hover {
  background-color: rgba(248, 113, 113, 0.22);
}

/* --- Exporter Portal Styling --- */
.exporter-portal-sec {
  background-color: #001224;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding: 3rem 0;
}

.exporter-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(197, 160, 89, 0.2);
  padding: 2.25rem 2.5rem;
  border-radius: 12px;
  gap: 2.5rem;
}

.exporter-info h4 {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-family: var(--font-serif);
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.exporter-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.exporter-action {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .exporter-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .exporter-action {
    width: 100%;
  }
  .exporter-action .btn {
    width: 100%;
  }
  .hero-admission-container {
    max-width: 100%;
    padding: 1.25rem 1rem;
  }
  .admission-in-progress-glow {
    font-size: 1.25rem;
  }
}

/* --- Core Keyframe Animations --- */
@keyframes blinkGlow {
  0%, 100% {
    text-shadow: 0 0 6px rgba(197, 160, 89, 0.2), 0 0 12px rgba(197, 160, 89, 0.1);
    opacity: 0.85;
    color: var(--accent);
  }
  50% {
    text-shadow: 0 0 16px rgba(197, 160, 89, 0.5), 0 0 28px rgba(197, 160, 89, 0.3);
    opacity: 1;
    color: #FFFFFF;
  }
}

@keyframes blinkDot {
  from {
    opacity: 0.25;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1.1);
  }
}
