/* ═══════════════════════════════════════════════════
   Orchids The International School — Pallikaranai
   Brand palette: FED500 / CC902D / 9A262F / C4202D / 231F20
   ═══════════════════════════════════════════════════ */

/* ── Root ── */
:root {
    --primary:      #FED500;   /* brand yellow */
    --primary-dark: #CC902D;   /* brand gold */
    --maroon:       #9A262F;   /* brand maroon */
    --red:          #C4202D;   /* brand red */
    --black:        #231F20;   /* brand black */
    --dark:         #1d2939;
    --g700: #344054;
    --g500: #667085;
    --g400: #98a2b3;
    --g300: #d0d5dd;
    --g200: #eaecf0;
    --g100: #f2f4f7;
    --g50:  #f9fafb;
}
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Inter', sans-serif; color: var(--dark); overflow-x: hidden; margin: 0; }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; }

/* ── NAVBAR ── */
.site-nav {
    position: sticky; top: 0; z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 16px rgba(0,0,0,.07);
    padding: 0 6%;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 68px;
    border-bottom: 3px solid var(--maroon);
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links {
    display: flex; align-items: center; list-style: none;
    margin: 0; padding: 0; gap: 2px;
}
.nav-links a {
    display: block; padding: 8px 13px;
    font-size: 13.5px; font-weight: 500; color: var(--g700);
    border-radius: 8px; transition: background .18s, color .18s; white-space: nowrap;
}
.nav-links a:hover { background: #fdf1e0; color: var(--maroon); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    font-size: 22px; color: var(--g700); padding: 6px 8px;
    border-radius: 8px; transition: background .18s, color .18s; line-height: 1;
}
.nav-toggle:hover { background: #fdf1e0; color: var(--maroon); }

/* ── HERO — framed photo card ── */
.hero { background: linear-gradient(160deg,#231F20 0%,#3a2326 55%,#231F20 100%); position: relative; overflow: hidden; }
.hero::before {
    content:""; position:absolute; width:520px; height:520px; border-radius:50%;
    background: radial-gradient(circle, rgba(154,38,47,.35) 0%, transparent 70%);
    top:-160px; right:-140px; pointer-events:none;
}
.hero-grid {
    max-width: 1260px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap:36px;
    align-items: center; min-height: 84vh; padding: 64px 6%;
    position: relative; z-index: 2;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(254,213,0,.16); border: 1px solid rgba(254,213,0,.45);
    color: var(--primary); padding: 5px 16px; border-radius: 22px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .3px; margin-bottom: 22px;
}
.hero-title {
    font-size: clamp(1.9rem, 3.6vw, 2.95rem); font-weight: 800;
    color: #fff; line-height: 1.18; margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }
.hero-sub {
    font-size: 1.02rem; color: rgba(255,255,255,.78);
    line-height: 1.75; margin-bottom: 32px; max-width: 500px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo-frame { position: relative; padding: 18px 18px 34px 0; }
.hero-photo-frame::before {
    content:""; position:absolute; inset:34px -18px -34px 18px;
    border: 2px solid rgba(254,213,0,.55); border-radius: 22px; z-index:1;
}
.hero-photo-card {
    position: relative; z-index: 2; border-radius: 22px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.hero-photo-card img { width: 100%; height: 460px; object-fit: cover; display: block; }
.hero-float-badge {
    position: absolute; z-index: 3; left: -14px; bottom: 4px;
    background: #fff; border-radius: 16px; padding: 16px 20px;
    box-shadow: 0 10px 32px rgba(0,0,0,.22);
    display:flex; align-items:center; gap:12px;
}
.hero-float-badge .hf-icon {
    width:42px;height:42px;border-radius:12px;background:var(--maroon);
    display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;flex-shrink:0;
}
.hero-float-badge .hf-num { font-size:1.15rem; font-weight:800; color:var(--black); line-height:1; }
.hero-float-badge .hf-txt { font-size:11.5px; color:var(--g500); margin-top:2px; }

/* ── BUTTONS ── */
.btn-yellow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: var(--black);
    border: none; border-radius: 26px; padding: 13px 28px;
    font-size: 14.5px; font-weight: 700; cursor: pointer;
    transition: background .2s, transform .18s;
}
.btn-yellow:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,.55); border-radius: 26px;
    padding: 12px 28px; font-size: 14.5px; font-weight: 500; cursor: pointer;
    transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ── SHARED SECTION ── */
.sec       { padding: 56px 6%; }
.sec-white { background: #fff; }
.sec-gray  { background: var(--g50); }
.inner { max-width: 1160px; margin: 0 auto; }
.center { text-align: center; }
.center .sec-line { margin-left: auto; margin-right: auto; }
.center .sec-sub  { margin-left: auto; margin-right: auto; }

.sec-tag {
    display: inline-block; background: #fdf1e0; color: var(--maroon);
    padding: 4px 14px; border-radius: 20px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
    margin-bottom: 10px; text-transform: uppercase;
}
.sec-title {
    font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 800;
    color: var(--black); line-height: 1.22;
    margin-top: 0; margin-bottom: 12px;
}
.sec-line { width: 44px; height: 4px; background: var(--maroon); border-radius: 2px; margin-bottom: 24px; }
.sec-sub  { font-size: 1rem; color: var(--g500); line-height: 1.75; max-width: 600px; }

/* ── ABOUT (YouTube video kept) ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { font-size: 15px; color: var(--g700); line-height: 1.82; margin-bottom: 16px; }
.video-wrap { border-radius: 18px; overflow: hidden; box-shadow: 0 10px 48px rgba(0,0,0,.13); border: 4px solid #fff; outline: 1px solid var(--g200); }
.video-wrap iframe { width: 100%; height: 340px; display: block; border: none; }

/* ── WHY ORCHIDS — left-icon list rows, 2 columns ── */
.why-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-tile {
    background: #fff; border-radius: 16px; padding: 24px 24px; text-align: left;
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
    display: flex; gap: 16px; align-items: flex-start;
    transition: transform .25s, box-shadow .25s;
}
.why-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(154,38,47,.16); }
.why-tile .why-icon {
    width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
    background: linear-gradient(135deg, #9A262F, #6e1b21);
    display: flex; align-items: center; justify-content: center; font-size: 21px; color:#fff;
}
.why-tile h4 { font-size: .96rem; font-weight: 700; color: var(--black); margin: 0 0 6px; }
.why-tile p  { font-size: 12.8px; color: var(--g500); line-height: 1.6; margin: 0; }

/* ── PRINCIPAL ── */
.principal-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.principal-photo {
    border-radius: 26px 26px 26px 4px; overflow: hidden; height: 400px;
    box-shadow: 0 12px 48px rgba(0,0,0,.16); border: 5px solid #fff;
    outline: 2px solid var(--g200);
}
.principal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.blockquote-card {
    background: #fdf1e0; border-left: 4px solid var(--maroon); border-radius: 14px;
    padding: 26px 30px; font-size: 15px; font-style: italic;
    color: var(--g700); line-height: 1.82; margin-bottom: 24px;
}
.p-name { font-size: 1.1rem; font-weight: 800; color: var(--black); }
.p-role { font-size: 13.5px; color: var(--g500); margin-top: 4px; }
.p-bio  { font-size: 14px; color: var(--g700); line-height: 1.82; margin-top: 18px; }

/* ── FEE STRUCTURE ── */
.fee-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.fee-table-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--g200); box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.fee-table-card table { width: 100%; border-collapse: collapse; }
.fee-table-card thead th {
    background: var(--maroon) !important; color: #fff !important;
    padding: 14px 20px; font-size: 13.5px; font-weight: 700;
    text-align: left; border: 1px solid rgba(255,255,255,.12) !important;
}
.fee-table-card tbody td {
    padding: 12px 20px; font-size: 14px;
    border: 1px solid var(--g200) !important;
    color: var(--dark);
}
.fee-table-card tbody tr:nth-child(even) { background: #fdf1e0; }
.fee-amount { font-weight: 700; color: var(--maroon); }
.fee-info {
    background: linear-gradient(140deg, #fffdf0 0%, #fdf1cf 100%);
    border: 1px solid rgba(204,144,45,.35); border-radius: 20px; padding: 32px;
}
.fee-info h4 { font-size: 1.1rem; font-weight: 800; color: var(--black); margin-bottom: 22px; }
.fi-row {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 16px; font-size: 14px; color: var(--g700); line-height: 1.65;
}
.fi-row i   { color: var(--maroon); margin-top: 2px; flex-shrink: 0; }
.fi-row a   { color: var(--black); font-weight: 600; }

/* ── ADMISSION JOURNEY — horizontal timeline ── */
.adm-timeline { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.adm-timeline::before {
    content:""; position:absolute; top:26px; left:8%; right:8%; height:2px;
    background: repeating-linear-gradient(90deg, var(--g300) 0 10px, transparent 10px 18px);
    z-index:0;
}
.adm-card { position: relative; z-index:1; text-align:center; padding: 0 10px; }
.adm-num {
    width:52px; height:52px; border-radius:50%; margin:0 auto 20px;
    background: var(--maroon); color:#fff; display:flex; align-items:center; justify-content:center;
    font-size:1.15rem; font-weight:800; box-shadow: 0 8px 20px rgba(154,38,47,.35);
}
.adm-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--black); margin: 0 0 10px; }
.adm-card p  { font-size: 13.5px; color: var(--g700); line-height: 1.65; margin-bottom: 18px; }
.adm-btn {
    display: inline-block; padding: 9px 20px;
    background: var(--black); color: #fff; border-radius: 26px;
    font-size: 13px; font-weight: 600; transition: background .2s;
}
.adm-btn:hover { background: var(--maroon); color: #fff; }

/* ── TRUST BANNER (unchanged stats) ── */
.trust-wrap { max-width: 1100px; margin: 0 auto; }
.trust-card {
    background: radial-gradient(ellipse at 30% 40%, rgba(154,38,47,.45) 0%, transparent 70%), #231F20;
    border-radius: 26px; padding: 52px 56px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: center; position: relative; overflow: hidden;
}
.trust-glow {
    position: absolute; top: -60px; right: -60px;
    width: 320px; height: 220px;
    background: rgba(254,213,0,.22); border-radius: 50%;
    filter: blur(90px); pointer-events: none;
}
.trust-heading { font-size: 1.85rem; font-weight: 800; color: var(--g200); margin-bottom: 14px; line-height: 1.22; }
.trust-para   { color: var(--g400); font-size: 14.5px; line-height: 1.75; }
.trust-stats  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ts-card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px; padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ts-num  { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.ts-name { font-size: 12.5px; color: var(--g400); margin-top: 3px; }
.ts-icon {
    width: 48px; height: 52px; flex-shrink: 0;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* ── MANDATORY DISCLOSURE ── */
.disc-title {
    font-size: 1.6rem; font-weight: 800; color: var(--red);
    text-transform: uppercase; text-align: center; letter-spacing: .5px; margin-bottom: 40px;
}
.disc-label {
    font-size: 1rem; font-weight: 700; color: var(--black);
    text-transform: uppercase; letter-spacing: .5px;
    padding-bottom: 10px; border-bottom: 3px solid var(--primary); margin: 36px 0 18px;
}
.disc-scroll { overflow-x: auto; border-radius: 14px; margin-bottom: 6px; }
.disc-table {
    width: 100%; border-collapse: collapse; background: #fff;
    font-size: 13.5px; min-width: 500px;
    border: 1px solid var(--g300);
}
.disc-table thead th {
    background: var(--maroon) !important; color: #fff !important;
    padding: 13px 18px; text-align: left; font-weight: 700;
    border: 1px solid rgba(255,255,255,.12) !important;
}
.disc-table tbody td {
    padding: 12px 18px; color: var(--dark);
    border: 1px solid var(--g200) !important;
    vertical-align: top; line-height: 1.6;
}
.disc-table thead th:first-child,
.disc-table tbody td:first-child { text-align: center; }
.disc-table tbody tr:hover { background: #fdf1e0; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.ci-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.ci-icon {
    width: 46px; height: 46px; background: #fdf1e0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--maroon); font-size: 18px; flex-shrink: 0;
}
.ci-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.ci-text p, .ci-text a { font-size: 14px; color: var(--g700); line-height: 1.72; }
.map-card { border-radius: 18px; overflow: hidden; box-shadow: 0 6px 28px rgba(0,0,0,.1); }
.map-card iframe { width: 100%; height: 390px; border: none; display: block; }

/* ── FOOTER ── */
.footer { background: var(--black); padding: 28px 6%; }
.footer-inner {
    max-width: 1160px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: 12.5px; color: var(--g400); }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { font-size: 12.5px; color: var(--g400); transition: color .2s; }
.footer-nav a:hover { color: var(--primary); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-grid        { grid-template-columns: 1fr; min-height: auto; padding: 56px 6% 40px; }
    .hero-photo-frame { padding: 12px 12px 24px 0; order: 2; }
    .hero-photo-card img { height: 320px; }
    .about-grid       { grid-template-columns: 1fr; gap: 36px; }
    .why-tiles        { grid-template-columns: 1fr; }
    .principal-grid   { grid-template-columns: 1fr; gap: 36px; }
    .principal-photo  { height: 300px; }
    .fee-layout       { grid-template-columns: 1fr; }
    .trust-card       { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
    .adm-timeline     { grid-template-columns: 1fr; }
    .adm-timeline::before { display:none; }
    .contact-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; flex-direction: column; align-items: stretch; gap: 2px;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 10px 20px 18px;
        box-shadow: 0 8px 24px rgba(0,0,0,.10);
        border-top: 1px solid var(--g200);
    }
    .site-nav { position: relative; }
    .site-nav.nav-open .nav-links { display: flex; }
    .nav-links a { padding: 11px 14px; font-size: 14.5px; }
}
@media (max-width: 640px) {
    .hero-title  { font-size: 1.75rem; }
    .trust-stats { grid-template-columns: 1fr 1fr; }
    .sec { padding: 48px 4%; }
    .trust-card { padding: 24px 20px; }
    .ts-card { padding: 12px 14px; }
    .ts-num  { font-size: 1.2rem; }
    .ts-icon { width: 36px; height: 40px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .hero-float-badge { padding: 12px 14px; gap:10px; }
}
@media (max-width: 400px) {
    .trust-card { padding: 20px 14px; gap: 20px; }
    .trust-heading { font-size: 1.4rem; }
    .trust-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ts-card { padding: 10px 10px; gap: 6px; }
    .ts-num  { font-size: 1rem; }
    .ts-name { font-size: 11px; }
    .ts-icon { display: none; }
}
