/* ==========================================================================
   Orchids The International School — Pallavaram, Chennai
   Same proven icon-card system with a maroon accent (matching the brand's
   own #9D0022 theme colour) and moderate hero padding.
   Locked to brand tokens: yellow #FED500 · maroon #9A262F · red #C4202D ·
   ink #231F20 · gold #CC902D
   ========================================================================== */

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

:root{
  --yellow:#FED500;
  --maroon:#9A262F;
  --red:#C4202D;
  --ink:#231F20;
  --gold:#CC902D;
  --paper:#FFFFFF;
  --cream:#FBF6EC;
  --line: rgba(35,31,32,0.10);
  --font: "Inter", sans-serif;
  --max: 1180px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--font); color:var(--ink); background:var(--paper);
  line-height:1.65; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }
h1,h2,h3,h4{ font-family:var(--font); margin:0; color:var(--ink); }
p{ margin:0; }
ul{ margin:0; padding:0; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}
a:focus-visible, button:focus-visible{ outline:2px solid var(--maroon); outline-offset:3px; }

/* ---------- header ---------- */
.site-header{ position:sticky; top:0; z-index:40; background:var(--paper); border-bottom:1px solid var(--line); }
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; padding:14px 28px; gap:20px; position:relative; }
.brand{ display:flex; align-items:center; text-decoration:none; }
.brand img{ height:36px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:8px; }
.main-nav a{
  font-weight:600; font-size:14px; text-decoration:none; color:var(--ink);
  padding:9px 16px; border-radius:100px; transition:background .15s ease;
}
.main-nav a:hover{ background:var(--cream); }
.nav-cta{ background:var(--maroon) !important; color:#fff !important; font-weight:700 !important; }
.nav-cta:hover{ background:#7d1f27 !important; }
.nav-toggle{
  display:none; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%; background:var(--cream); border:none; cursor:pointer;
  font-size:18px; color:var(--ink); flex-shrink:0;
}

/* ---------- hero (dark brand theme) ---------- */
.hero{ background: linear-gradient(135deg, #231F20 0%, var(--maroon) 100%); }
.hero .wrap{ display:grid; grid-template-columns:1fr 0.95fr; gap:52px; align-items:center; padding-top:0; padding-bottom:0; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.12); color:#fff;
  font-size:12.5px; font-weight:700; padding:8px 16px; border-radius:100px; margin-bottom:20px;
  border:1px solid rgba(255,255,255,0.22);
}
.hero-badge i{ color:var(--yellow); }
.hero h1{ font-size:clamp(2rem,3.4vw,2.8rem); font-weight:800; line-height:1.16; margin-bottom:18px; color:#fff; }
.hero h1 span{ color:var(--yellow); }
.hero p.lede{ font-size:1.08rem; color:rgba(255,255,255,0.78); max-width:44ch; margin-bottom:30px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{ display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:14.5px; text-decoration:none;
  padding:13px 24px; border-radius:100px; border:1.5px solid transparent; cursor:pointer; }
.btn-primary{ background:var(--yellow); color:var(--ink); }
.btn-primary:hover{ background:#f0c700; }
.btn-ghost{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-ghost:hover{ background:var(--ink); color:#fff; }
.hero .btn-ghost{ border-color:rgba(255,255,255,0.6); color:#fff; }
.hero .btn-ghost:hover{ background:rgba(255,255,255,0.12); border-color:#fff; color:#fff; }

.hero-photo-card{ border-radius:var(--r-lg); overflow:hidden; box-shadow:0 24px 48px rgba(35,31,32,.16); border:1px solid var(--line); }
.hero-photo-card img{ width:100%; height:auto; display:block; }

/* ---------- section shell ---------- */
section{ padding:80px 0; }
.sec-cream{ background:var(--cream); }
.sec-mint{ background:#EFF7F4; }
.center{ text-align:center; }
.sec-tag{
  display:inline-block; background:var(--cream); color:var(--maroon); font-size:12.5px; font-weight:700;
  padding:7px 16px; border-radius:100px; margin-bottom:14px; border:1px solid rgba(196,32,45,.18);
}
.sec-white .sec-tag{ background:#fff; }
.sec-title{ font-size:clamp(1.6rem,2.6vw,2.15rem); font-weight:800; margin-bottom:4px; }
.sec-line{ width:56px; height:3px; background:var(--gold); border-radius:2px; margin:18px auto 0; }
.sec-line.left{ margin-left:0; }

/* ---------- about + video ---------- */
.about-text{ max-width:760px; margin:0 auto 40px; }
.about-split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.about-split .about-text{ max-width:none; margin:0; text-align:left; }
.about-split .video-wrap{ margin:0; max-width:none; }
@media (min-width:961px){
  .about-extra{ display:none; }
}
@media (max-width:960px){
  .about-split{ grid-template-columns:1fr; gap:32px; }
  .about-split .about-text{ text-align:center; }
}
.about-eyebrow{ font-weight:700; color:var(--maroon); font-size:14px; margin:6px 0 0; }
.about-text p{ color:#403C3C; margin-top:18px; }
.video-wrap{
  max-width:900px; margin:0 auto; border-radius:var(--r-lg); overflow:hidden;
  box-shadow:0 20px 40px rgba(35,31,32,.14); border:1px solid var(--line); position:relative;
}
.video-wrap .tag{
  position:absolute; top:16px; left:16px; background:var(--yellow); color:var(--ink); z-index:2;
  font-size:11.5px; font-weight:700; padding:6px 14px; border-radius:100px;
}
.video-wrap iframe{ width:100%; aspect-ratio:16/9; height:auto; display:block; border:0; }

/* ---------- principal ---------- */
.principal-grid{ display:grid; grid-template-columns:0.75fr 1.25fr; gap:56px; align-items:center; }
.principal-photo{ border-radius:var(--r-lg); overflow:hidden; box-shadow:0 20px 40px rgba(35,31,32,.14); max-width:320px; }
.principal-photo img{ width:100%; height:auto; }
.principal-name{ font-size:1.5rem; font-weight:800; margin-bottom:4px; }
.principal-role{ font-size:14px; color:#615C5A; font-weight:600; margin-bottom:20px; }
.principal-quote{
  background:var(--paper); border-radius:var(--r-md); padding:20px 24px; margin-bottom:20px;
  border-left:4px solid var(--gold);
}
.principal-quote p{ font-style:italic; color:var(--maroon); font-size:1.05rem; }
.principal-bio{ color:#403C3C; font-size:15px; }

/* ---------- mandatory disclosure ---------- */
.disc-title{ font-size:clamp(1.6rem,2.6vw,2.15rem); font-weight:800; text-align:center; margin-bottom:44px; }
.disc-label{
  display:inline-flex; align-items:center; gap:10px; font-size:1rem; font-weight:800; color:var(--maroon);
  background:var(--paper); padding:8px 18px; border-radius:100px; margin:0 0 14px; border:1px solid rgba(196,32,45,.18);
}
.disc-scroll{ overflow-x:auto; background:var(--paper); border-radius:var(--r-md); border:1px solid var(--line); margin-bottom:36px; }
.disc-table{ width:100%; border-collapse:collapse; font-size:13.5px; }
.disc-table th{
  text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:#fff;
  background:var(--maroon); padding:12px 16px; font-weight:700;
}
.disc-table th:first-child{ border-top-left-radius:var(--r-md); }
.disc-table th:last-child{ border-top-right-radius:var(--r-md); }
.disc-table td{ padding:12px 16px; border-bottom:1px solid var(--line); vertical-align:top; }
.disc-table tbody tr:last-child td{ border-bottom:none; }
.disc-table tbody tr:nth-child(even){ background:var(--cream); }
.disc-table td:first-child{ color:var(--red); font-weight:700; width:40px; }
.disc-table a{ color:var(--red); font-weight:700; text-decoration:none; }

/* ---------- fee structure ---------- */
.fee-layout{ display:grid; grid-template-columns:1.2fr 0.8fr; gap:32px; align-items:start; }
.fee-table-card{
  background:var(--paper); border-radius:var(--r-lg); overflow:hidden; box-shadow:0 16px 32px rgba(35,31,32,.1);
  border:1px solid var(--line);
}
.fee-table-card table{ width:100%; border-collapse:collapse; }
.fee-table-card thead th{
  background:var(--maroon); color:#fff; text-align:left; padding:16px 22px; font-size:13px;
  text-transform:uppercase; letter-spacing:.05em; font-weight:700;
}
.fee-table-card thead th:last-child{ text-align:right; }
.fee-table-card tbody td{ padding:13px 22px; border-bottom:1px solid var(--line); font-size:14.5px; }
.fee-table-card tbody tr:nth-child(even){ background:var(--cream); }
.fee-amount{ text-align:right; font-weight:700; color:var(--ink); }

.fee-info{ background:var(--cream); border-radius:var(--r-lg); padding:32px; }
.fee-info h4{ font-size:1.1rem; font-weight:800; margin-bottom:18px; }
.fi-row{ display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; font-size:14px; color:#403C3C; }
.fi-row i{ color:var(--gold); margin-top:3px; flex-shrink:0; }

/* ---------- admission journey (icon cards) ---------- */
.adm-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.adm-card{
  background:var(--paper); border-radius:var(--r-lg); padding:36px 28px; text-align:center;
  box-shadow:0 12px 28px rgba(35,31,32,.08); border:1px solid var(--line);
  display:flex; flex-direction:column; align-items:center;
}
.adm-icon{
  width:60px; height:60px; border-radius:50%; background:var(--cream); color:var(--maroon);
  display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:18px;
}
.adm-card h3{ font-size:1.15rem; font-weight:800; margin-bottom:12px; }
.adm-card p{ color:#4A4544; font-size:14.5px; margin-bottom:20px; flex-grow:1; }
.adm-btn{
  display:inline-block; font-weight:700; font-size:13.5px; text-decoration:none; color:#fff;
  background:var(--red); padding:10px 22px; border-radius:100px;
}
.adm-btn:hover{ background:#a91a24; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.2fr; gap:48px; align-items:stretch; }
.ci-item{ display:flex; align-items:flex-start; gap:16px; margin-bottom:26px; }
.ci-icon{
  width:46px; height:46px; border-radius:50%; background:var(--cream); color:var(--maroon);
  display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0;
}
.ci-text strong{ display:block; font-size:14px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:6px; }
.ci-text p{ color:#403C3C; }
.ci-text a{ color:var(--red); font-weight:700; text-decoration:none; }
.map-card{ border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line); min-height:300px; box-shadow:0 16px 32px rgba(35,31,32,.1); }
.map-card iframe{ width:100%; height:100%; min-height:300px; border:0; display:block; }

/* ---------- footer ---------- */
.footer{ background:var(--ink); padding:32px 0; }
.footer-inner{
  max-width:var(--max); margin:0 auto; padding:0 28px; display:flex; align-items:center;
  justify-content:space-between; gap:18px; flex-wrap:wrap;
}
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-brand img{ height:34px; width:auto; filter:brightness(0) invert(1); }
.footer-copy{ color:#B9B2A2; font-size:12.5px; margin:0; }
.footer-nav{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-nav a{ color:#D8D2C6; font-size:13.5px; text-decoration:none; font-weight:600; }
.footer-nav a:hover{ color:#fff; }

/* ---------- responsive ---------- */
@media (max-width:960px){
  .hero .wrap{ grid-template-columns:1fr; padding-top:0; padding-bottom:0; }
  .hero-photo-card{ order:-1; }
  .principal-grid{ grid-template-columns:1fr; }
  .principal-photo{ max-width:260px; margin:0 auto; }
  .fee-layout{ grid-template-columns:1fr; }
  .adm-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width:780px){
  .nav-toggle{ display:flex; }
  .main-nav{
    display:flex; flex-direction:column; align-items:stretch; gap:2px;
    position:absolute; top:100%; left:0; right:0; padding:12px;
    background:var(--paper); border-bottom:1px solid var(--line);
    box-shadow:0 12px 24px rgba(0,0,0,.08);
    max-height:0; overflow:hidden; opacity:0; transition:max-height .25s ease, opacity .2s ease;
  }
  .main-nav.open{ max-height:420px; opacity:1; }
  .main-nav a{ text-align:center; padding:14px 16px; }
}
@media (max-width:640px){
  .wrap{ padding:0 18px; }
  section{ padding:56px 0; }
  .disc-table{ font-size:12px; }
  .footer-inner{ padding:0 18px; flex-direction:column; text-align:center; }
}
