/* ============================================================
   A.N.K ENGLISH MEDIUM HIGH SCHOOL — Public Index Page
   Theme palette
     --cream   #FFFDF1  (page background)
     --peach   #FFCE99  (soft secondary)
     --orange  #FF9644  (primary accent)
     --brown   #562F00  (dark text / footer)
   ============================================================ */

:root {
    --cream:  #FFFDF1;
    --peach:  #FFCE99;
    --orange: #FF9644;
    --brown:  #562F00;
    --orange-rgb: 255, 150, 68;
    --brown-rgb: 86, 47, 0;
    --peach-rgb: 255, 206, 153;
    --shadow-sm: 0 4px 14px rgba(86, 47, 0, .08);
    --shadow-md: 0 10px 30px rgba(86, 47, 0, .14);
    --shadow-lg: 0 22px 60px rgba(86, 47, 0, .22);
    --radius:  18px;
    --ease:    cubic-bezier(.22, 1, .36, 1);
    --font:    'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--brown);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
}

a { color: var(--orange); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brown); }

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

section { position: relative; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Reusable section heading ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(var(--orange-rgb), .12);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 12px;
    color: var(--brown);
    font-weight: 700;
    line-height: 1.2;
}
.section-head p { color: rgba(var(--brown-rgb), .72); margin: 0; font-size: 1.02rem; }
.section-head .accent-bar {
    width: 70px; height: 5px; border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--peach));
    margin: 18px auto 0;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
    background: var(--brown);
    color: var(--cream);
    font-size: .85rem;
    padding: 8px 0;
}
.topbar a { color: var(--cream); opacity: .9; }
.topbar a:hover { color: var(--orange); opacity: 1; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar-contact span, .topbar-contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
    width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .12); transition: all .25s var(--ease);
}
.topbar-social a:hover { background: var(--orange); transform: translateY(-2px); }
.topbar-quick { display: flex; gap: 10px; }
.topbar-quick a {
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 4px 12px; border-radius: 999px; font-size: .78rem;
    transition: all .25s var(--ease);
}
.topbar-quick a:hover { background: var(--orange); border-color: var(--orange); }

/* ============================================================
   SCROLLING TICKER
   ============================================================ */
.ticker {
    background: linear-gradient(90deg, var(--orange), #ffae6b);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 9px 0;
    font-weight: 500;
    font-size: .92rem;
}
.ticker-track {
    display: inline-flex;
    gap: 50px;
    padding-left: 100%;
    animation: ticker-scroll 28s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; }
.ticker-track i { color: var(--cream); }
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 253, 241, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--peach-rgb), .5);
    transition: all .35s var(--ease);
}
.navbar.scrolled {
    background: rgba(255, 253, 241, .98);
    box-shadow: var(--shadow-sm);
    padding-top: 4px; padding-bottom: 4px;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; transition: padding .35s var(--ease); }
.navbar.scrolled .container { padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: 48px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--brown); font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; }
.brand-text small { color: var(--orange); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    color: var(--brown);
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 14px;
    border-radius: 10px;
    position: relative;
    transition: all .25s var(--ease);
}
.nav-links a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
    height: 2px; background: var(--orange); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); background: rgba(var(--orange-rgb), .08); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: .92rem;
    padding: 10px 20px; border-radius: 999px;
    border: 2px solid transparent; cursor: pointer;
    transition: all .3s var(--ease);
    text-decoration: none;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(var(--orange-rgb), .35); }
.btn-primary:hover { background: var(--brown); color: var(--cream); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(var(--brown-rgb), .35); }
.btn-outline { border-color: var(--orange); color: var(--orange); background: transparent; }
.btn-outline:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--brown); }
.btn-light:hover { background: var(--peach); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--brown); cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 80px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(var(--orange-rgb), .25), transparent 60%),
        radial-gradient(900px 480px at -10% 110%, rgba(var(--peach-rgb), .55), transparent 60%),
        var(--cream);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(var(--brown-rgb), .05) 1.4px, transparent 1.4px);
    background-size: 26px 26px;
    opacity: .6; pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid rgba(var(--orange-rgb), .25);
    color: var(--brown); font-weight: 600; font-size: .82rem;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    animation: fadeUp .8s var(--ease) both;
}
.hero-badge i { color: var(--orange); }
.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.1; margin: 0 0 16px; font-weight: 800;
    color: var(--brown);
    animation: fadeUp .9s .05s var(--ease) both;
}
.hero h1 .grad {
    background: linear-gradient(90deg, var(--orange), #c2621a);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .lead {
    font-size: 1.12rem; color: rgba(var(--brown-rgb), .78); margin: 0 0 14px;
    animation: fadeUp 1s .12s var(--ease) both;
}
.hero .sublead {
    font-size: 1rem; color: rgba(var(--brown-rgb), .65); margin: 0 0 28px;
    animation: fadeUp 1s .18s var(--ease) both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp 1s .24s var(--ease) both; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; animation: fadeUp 1s .3s var(--ease) both; }
.hero-stat .num { font-size: 1.7rem; font-weight: 800; color: var(--orange); line-height: 1; }
.hero-stat .lbl { font-size: .8rem; color: rgba(var(--brown-rgb), .65); text-transform: uppercase; letter-spacing: .08em; }

/* Hero slideshow */
.hero-visual { position: relative; }
.slideshow {
    position: relative; border-radius: 26px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background: var(--peach);
}
.slideshow .slide {
    position: absolute; inset: 0; opacity: 0; transform: scale(1.08);
    transition: opacity 1.1s var(--ease), transform 6s ease;
    background-size: cover; background-position: center;
}
.slideshow .slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.slideshow .slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(var(--brown-rgb), .35));
}
.slideshow .slide-caption {
    position: absolute; left: 18px; bottom: 16px; z-index: 2;
    color: #fff; font-weight: 600; font-size: .95rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
    opacity: 0; transform: translateY(10px); transition: all .6s .3s var(--ease);
}
.slideshow .slide.active .slide-caption { opacity: 1; transform: translateY(0); }
.slideshow-dots {
    position: absolute; right: 16px; bottom: 14px; z-index: 3;
    display: flex; gap: 7px;
}
.slideshow-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.55); cursor: pointer; padding: 0;
    transition: all .3s var(--ease);
}
.slideshow-dots button.active { background: var(--orange); width: 24px; border-radius: 999px; }

/* floating accent cards on hero */
.hero-float {
    position: absolute; background: #fff; border-radius: 14px;
    padding: 12px 16px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600;
    color: var(--brown); z-index: 4;
    animation: floaty 5s ease-in-out infinite;
}
.hero-float i { color: var(--orange); font-size: 1.1rem; }
.hero-float.f1 { top: 18px; left: -22px; animation-delay: 0s; }
.hero-float.f2 { bottom: 26px; right: -18px; animation-delay: 1.5s; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 90px 0; }
.about .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; }
.about-visual .slideshow { aspect-ratio: 5 / 4; border-radius: 22px; }
.about-visual .badge-card {
    position: absolute; bottom: -26px; right: -16px; z-index: 5;
    background: var(--orange); color: #fff; border-radius: 16px;
    padding: 16px 22px; box-shadow: var(--shadow-md); text-align: center;
    animation: floaty 6s ease-in-out infinite;
}
.about-visual .badge-card .n { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-visual .badge-card .l { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 6px 0 16px; color: var(--brown); font-weight: 700; }
.about-text p { color: rgba(var(--brown-rgb), .78); margin: 0 0 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 28px; }
.about-feature { display: flex; gap: 12px; align-items: flex-start; }
.about-feature .ic {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
    background: rgba(var(--orange-rgb), .14); color: var(--orange);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    transition: all .3s var(--ease);
}
.about-feature:hover .ic { background: var(--orange); color: #fff; transform: rotate(-8deg) scale(1.08); }
.about-feature strong { display: block; font-size: .96rem; color: var(--brown); }
.about-feature span { font-size: .85rem; color: rgba(var(--brown-rgb), .65); }

/* ============================================================
   ACHIEVEMENTS / STATS
   ============================================================ */
.achievements {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--brown), #3a1f00);
    color: var(--cream);
    position: relative; overflow: hidden;
}
.achievements::before {
    content: ''; position: absolute; inset: 0; opacity: .12;
    background-image: radial-gradient(rgba(255,255,255,.5) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
}
.achievements .container { position: relative; }
.achievements .section-head h2, .achievements .section-head p { color: var(--cream); }
.achievements .section-head p { color: rgba(255,253,241,.7); }
.achievements .section-head .eyebrow { background: rgba(var(--orange-rgb), .25); color: var(--peach); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius); padding: 30px 20px; text-align: center;
    backdrop-filter: blur(6px);
    transition: all .35s var(--ease);
}
.stat-card:hover { transform: translateY(-8px); background: rgba(var(--orange-rgb), .18); border-color: var(--orange); }
.stat-card .ic {
    width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
    background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; box-shadow: 0 8px 20px rgba(var(--orange-rgb), .4);
}
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: var(--peach); line-height: 1; }
.stat-card .lbl { font-size: .9rem; color: rgba(255,253,241,.78); margin-top: 6px; }

/* ============================================================
   MANAGEMENT
   ============================================================ */
.management { padding: 90px 0; background: var(--cream); }
.mgmt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mgmt-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(var(--peach-rgb), .5);
    transition: all .4s var(--ease); text-align: center;
}
.mgmt-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.mgmt-photo { height: 240px; background: var(--peach); overflow: hidden; position: relative; }
.mgmt-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mgmt-card:hover .mgmt-photo img { transform: scale(1.08); }
.mgmt-photo .ph-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--brown); font-size: 3rem; opacity: .4;
}
.mgmt-body { padding: 20px 18px 24px; }
.mgmt-body h4 { margin: 0 0 4px; color: var(--brown); font-size: 1.1rem; font-weight: 700; }
.mgmt-body .role { color: var(--orange); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.mgmt-body p { color: rgba(var(--brown-rgb), .7); font-size: .88rem; margin: 0; }
.mgmt-social { margin-top: 14px; display: flex; gap: 8px; justify-content: center; }
.mgmt-social a {
    width: 32px; height: 32px; border-radius: 50%; background: rgba(var(--orange-rgb), .12);
    color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: .85rem;
    transition: all .25s var(--ease);
}
.mgmt-social a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: 90px 0; background: linear-gradient(180deg, #fff8ec, var(--cream)); }
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.gallery-filter button {
    border: 1px solid rgba(var(--orange-rgb), .3); background: #fff; color: var(--brown);
    padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .88rem;
    transition: all .25s var(--ease);
}
.gallery-filter button.active, .gallery-filter button:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item {
    position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
    aspect-ratio: 1 / 1; background: var(--peach); box-shadow: var(--shadow-sm);
}
.g-item.tall { grid-row: span 2; aspect-ratio: 1 / 2.04; }
.g-item.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.12); }
.g-item .overlay {
    position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(180deg, transparent 45%, rgba(var(--brown-rgb), .85));
    color: #fff; opacity: 0; transition: opacity .35s var(--ease);
}
.g-item:hover .overlay { opacity: 1; }
.g-item .overlay h5 { margin: 0; font-size: 1rem; font-weight: 700; }
.g-item .overlay span { font-size: .78rem; opacity: .85; }
.g-item .zoom-ic {
    position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.85); color: var(--orange); display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(.6); transition: all .35s var(--ease);
}
.g-item:hover .zoom-ic { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(var(--brown-rgb), .92);
    display: none; align-items: center; justify-content: center; padding: 30px;
    backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: fadeIn .3s ease; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-nav {
    position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0;
    width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center; transition: background .25s;
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: var(--orange); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   ADMISSION
   ============================================================ */
.admission { padding: 90px 0; background: var(--cream); }
.admission-banner {
    background: linear-gradient(135deg, var(--orange), #ffb47a);
    color: #fff; border-radius: var(--radius); padding: 26px 30px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
    box-shadow: var(--shadow-md); margin-bottom: 50px; overflow: hidden; position: relative;
}
.admission-banner::after {
    content: '\f19d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: -10px; bottom: -30px; font-size: 9rem; opacity: .12;
}
.admission-banner h3 { margin: 0; font-size: 1.5rem; font-weight: 700; }
.admission-banner p { margin: 4px 0 0; opacity: .92; }

.admission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0 0 30px; counter-reset: step; }
.steps li {
    position: relative; padding: 14px 14px 14px 64px; margin-bottom: 12px;
    background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--orange);
    counter-increment: step;
    transition: all .3s var(--ease);
}
.steps li:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.steps li::before {
    content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.steps li strong { display: block; color: var(--brown); }
.steps li span { color: rgba(var(--brown-rgb), .68); font-size: .9rem; }

.docs-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid rgba(var(--peach-rgb), .5); }
.docs-card h4 { margin: 0 0 16px; color: var(--brown); font-size: 1.15rem; }
.docs-card ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.docs-card li { font-size: .9rem; color: rgba(var(--brown-rgb), .8); display: flex; gap: 8px; align-items: flex-start; }
.docs-card li i { color: var(--orange); margin-top: 4px; }

/* Enquiry form */
.enquiry-card {
    background: #fff; border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow-md); border: 1px solid rgba(var(--peach-rgb), .6);
    position: relative; overflow: hidden;
}
.enquiry-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--orange), var(--peach));
}
.enquiry-card h3 { margin: 0 0 6px; color: var(--brown); }
.enquiry-card .sub { color: rgba(var(--brown-rgb), .65); font-size: .9rem; margin: 0 0 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--brown); margin-bottom: 6px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid rgba(var(--brown-rgb), .15);
    background: var(--cream); color: var(--brown); font-family: inherit; font-size: .92rem;
    transition: all .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--orange); background: #fff;
    box-shadow: 0 0 0 4px rgba(var(--orange-rgb), .15);
}
.field textarea { resize: vertical; min-height: 90px; }

.captcha-box {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    background: rgba(var(--orange-rgb), .08); border: 1.5px dashed rgba(var(--orange-rgb), .4);
    border-radius: 12px; padding: 12px 14px; margin-bottom: 16px;
}
.captcha-box .q {
    font-weight: 800; font-size: 1.15rem; color: var(--brown); letter-spacing: .05em;
    background: #fff; padding: 6px 14px; border-radius: 8px; min-width: 90px; text-align: center;
}
.captcha-box input { width: 110px; padding: 9px 12px; border-radius: 8px; border: 1.5px solid rgba(var(--brown-rgb), .15); }
.captcha-box .refresh {
    background: var(--orange); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%;
    cursor: pointer; font-size: .9rem; transition: all .25s var(--ease);
}
.captcha-box .refresh:hover { transform: rotate(180deg); background: var(--brown); }
.captcha-box .captcha-label { font-size: .82rem; color: rgba(var(--brown-rgb), .7); width: 100%; margin-bottom: 2px; }

.alert-msg { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: .9rem; }
.alert-success { background: rgba(34, 139, 34, .12); color: #1f6b1f; border: 1px solid rgba(34,139,34,.3); }
.alert-error { background: rgba(192, 57, 43, .12); color: #a52a2a; border: 1px solid rgba(192,57,43,.3); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 90px 0; background: linear-gradient(180deg, var(--cream), #fff8ec); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info { display: grid; gap: 16px; }
.cinfo-card {
    display: flex; gap: 16px; align-items: flex-start; background: #fff; padding: 20px;
    border-radius: 14px; box-shadow: var(--shadow-sm); border: 1px solid rgba(var(--peach-rgb), .5);
    transition: all .3s var(--ease);
}
.cinfo-card:hover { transform: translateX(6px); border-color: var(--orange); }
.cinfo-card .ic {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; background: var(--orange); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.cinfo-card h5 { margin: 0 0 4px; color: var(--brown); font-size: 1rem; }
.cinfo-card p { margin: 0; color: rgba(var(--brown-rgb), .72); font-size: .92rem; }
.cinfo-card a { color: rgba(var(--brown-rgb), .72); }
.cinfo-card a:hover { color: var(--orange); }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; background: var(--peach); }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ============================================================
   FOOTER / BOTTOM
   ============================================================ */
.footer { background: var(--brown); color: rgba(255,253,241,.78); padding: 60px 0 0; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h5 { color: var(--cream); font-size: 1.05rem; margin: 0 0 18px; font-weight: 700; }
.footer p { font-size: .9rem; line-height: 1.7; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,253,241,.72); font-size: .9rem; }
.footer ul a:hover { color: var(--orange); padding-left: 5px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 50px; width: 50px; border-radius: 12px; object-fit: cover; }
.footer-brand strong { color: var(--cream); font-size: 1.1rem; display: block; }
.footer-brand small { color: var(--orange); letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
    color: var(--cream); display: flex; align-items: center; justify-content: center;
    transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--orange); transform: translateY(-4px); }
.footer-newsletter { display: flex; gap: 8px; margin-top: 14px; }
.footer-newsletter input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: var(--cream); }
.footer-newsletter input::placeholder { color: rgba(255,253,241,.5); }
.footer-newsletter button { background: var(--orange); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer; transition: background .25s; }
.footer-newsletter button:hover { background: var(--peach); color: var(--brown); }

.footer-bottom { margin-top: 50px; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.footer-bottom a { color: var(--peach); }

/* Back to top */
.back-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff;
    border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
    transition: all .35s var(--ease);
}
.back-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-top:hover { background: var(--brown); transform: translateY(-4px); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.scale { transform: scale(.9); }
.reveal.scale.in { transform: scale(1); }
.reveal.left { transform: translateX(-50px); }
.reveal.left.in { transform: translateX(0); }
.reveal.right { transform: translateX(50px); }
.reveal.right.in { transform: translateX(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero .container, .about .container, .admission-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { order: -1; max-width: 520px; margin: 0 auto; }
    .stats-grid, .mgmt-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer .container { grid-template-columns: 1fr 1fr; }
    .hero-float.f1 { left: 8px; }
    .hero-float.f2 { right: 8px; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
        padding: 12px 20px; box-shadow: var(--shadow-md); border-top: 1px solid rgba(var(--peach-rgb), .5);
    }
    .nav-links.open a { padding: 12px 14px; border-radius: 10px; }
    .nav-links.open a::after { display: none; }
    .topbar-right .topbar-quick { display: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .g-item.wide { grid-column: span 2; }
    .g-item.tall { grid-row: span 1; aspect-ratio: 1/1; }
    .docs-card ul { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer .container { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
    .stats-grid, .mgmt-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .g-item.wide { grid-column: span 1; }
    .hero { padding: 50px 0 60px; }
    .about, .management, .gallery, .admission, .contact { padding: 60px 0; }
}
