/* ============================================================
   ELARIS — MAIN DESIGN SYSTEM (main.css)
   ============================================================ */

:root {
  /* Brand Colors */
  --navy:        #00296b;
  --navy-light:  #003a99;
  --gold:        #fdc500;
  --gold-hover:  #d97706; /* Slightly deeper orange-gold for hover */
  --white:       #ffffff;
  
  /* Extra Premium Colors from Screenshots */
  --navy-card:   #1E293B; /* Dark card surface */
  --navy-deep:   #0F172A; /* Deepest background */
  --slate-100:   #F8FAFC; /* Very light background */
  --slate-200:   #E2E8F0; /* Subtle light borders */
  --slate-400:   #94A3B8; /* Muted text on dark */
  --slate-600:   #475569; /* Muted text on light */
  --success:     #10B981; /* Active/Live indicators */

  /* The "Lumina" Soft Tints for Icon Badges */
  --tint-blue:    rgba(56, 189, 248, 0.12);
  --text-blue:    #0284c7;
  --tint-rose:    rgba(244, 63, 94, 0.12);
  --text-rose:    #e11d48;
  --tint-violet:  rgba(139, 92, 246, 0.12);
  --text-violet:  #7c3aed;
  --tint-emerald: rgba(16, 185, 129, 0.12);
  --text-emerald:#047857;
  --tint-indigo:  rgba(79, 70, 229, 0.1);
  --text-indigo:  #4F46E5; /* The cool info accent */
  
  /* Text Colors */
  --text-dark:   #1a1a1a;
  --text-muted:  #475569;
  --text-light:  rgba(255, 255, 255, 0.8);

  /* Fonts */
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Softness Tokens */
  --radius-btn:  9999px; /* Pill shape */
  --radius-card: 20px;
  --radius-sm:   12px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  max-width: 100vw;
  overflow-x: hidden; /* Using hidden instead of clip for older browser support */
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text-dark);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  position: relative; /* Helps contain absolute elements */
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================================
   DARK SECTION HEADING OVERRIDE
   Guarantees white headings on dark backgrounds
   ============================================================ */
.values-section h2, .values-section h3, .values-section h4,
.mvv-section h2, .mvv-section h3,
.commitment-section h2, .commitment-section h3,
.experience-section h2, .experience-section h3,
.cta-strip h2, .cta-strip h3,
.trust-section h2, .trust-section h3,
.footer-brand .logo, footer h3, footer h4,
.school-way h2, .school-way h3 {
  color: var(--white);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Container */
.el-container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* Buttons (Soft & Pill Shaped) */
.el-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; 
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.el-btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.el-btn--gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(253, 197, 0, 0.4); /* Softer shadow */
}
.el-btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.el-btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* FORCE logo size — overrides everything */
.eln__logo img { height: 48px !important; }
.eln__brand { font-size: 28px !important; }
@media (max-width: 1024px) {
  .eln__logo img { height: 48px !important; }
  .eln__brand { font-size: 30px !important; }
}
@media (max-width: 768px) {
  .eln__logo img { height: 44px !important; }
  .eln__brand { font-size: 27px !important; }
}
@media (max-width: 480px) {
  .eln__logo img { height: 40px !important; }
  .eln__brand { font-size: 25px !important; }
}
@media (max-width: 360px) {
  .eln__logo img { height: 36px !important; }
  .eln__brand { font-size: 23px !important; }
}
