:root{
  --bg:#FAF8F2;
  --ink:#1B2A20;
  --grove:#1F4A3A;
  --grove-deep:#12301F;
  --leaf:#5C8A6B;
  --gold:#C79A3C;
  --gold-soft:#E9D6A8;
  --paper:#FFFFFF;
  --line: rgba(27,42,32,0.12);
  --max: 1180px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{background:var(--bg); color:var(--ink); font-family:'Work Sans', sans-serif; overflow-x:hidden;}
.tamil{font-family:'Noto Sans Tamil','Work Sans',sans-serif;}
h1,h2,h3,h4{font-family:'Fraunces', serif; font-weight:600; letter-spacing:-0.01em; color:var(--grove-deep);}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{list-style:none;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 28px;}
.eyebrow{font-size:12px; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold); font-weight:600; display:flex; align-items:center; gap:8px;}
.eyebrow::before{content:""; width:20px; height:1px; background:var(--gold); display:inline-block;}

/* ---------- Buttons ---------- */
.btn{display:inline-flex; align-items:center; gap:8px; padding:11px 22px; border-radius:30px; font-size:14px; font-weight:600; cursor:pointer; border:1px solid transparent; transition:transform .3s ease, box-shadow .3s ease, background .3s ease; white-space:nowrap;}
.btn-solid{background:var(--grove); color:#fff;}
.btn-solid:hover{transform:translateY(-2px); box-shadow:0 14px 24px -12px rgba(18,48,31,0.55); background:var(--grove-deep);}
.btn-ghost{border-color:var(--line); color:var(--grove-deep); background:transparent;}
.btn-ghost:hover{border-color:var(--grove); background:rgba(31,74,58,0.06);}
.btn-block{width:100%; justify-content:center;}
.btn[disabled]{opacity:0.6; cursor:not-allowed;}

/* ---------- Header / Nav ---------- */
header#siteHeader{position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(250,248,242,0.75); backdrop-filter:blur(14px) saturate(140%); border-bottom:1px solid transparent; transition:border-color .4s ease, background .4s ease, box-shadow .4s ease;}
header#siteHeader.scrolled{background:rgba(250,248,242,0.94); border-bottom:1px solid var(--line); box-shadow:0 8px 24px -18px rgba(18,48,31,0.35);}
.nav-row{display:flex; align-items:center; justify-content:space-between; height:78px;}
.brand{display:flex; align-items:center; gap:12px;}
.brand-mark{width:40px; height:40px; border-radius:10px; background:linear-gradient(155deg, var(--grove), var(--grove-deep)); display:flex; align-items:center; justify-content:center; color:var(--gold-soft); font-family:'Fraunces',serif; font-weight:700; font-size:18px; flex:none;}
.brand-text{line-height:1.1;}
.brand-text .name{font-family:'Fraunces',serif; font-weight:600; font-size:17px; color:var(--grove-deep);}
.brand-text .tag{font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--leaf);}

nav.primary{display:flex; gap:2px; align-items:center;}
nav.primary > a{position:relative; padding:10px 16px; font-size:14.5px; font-weight:500; color:var(--ink); opacity:0.82;}
nav.primary > a::after{content:""; position:absolute; left:16px; right:16px; bottom:6px; height:2px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .35s cubic-bezier(.22,.61,.36,1);}
nav.primary > a:hover, nav.primary > a.active{opacity:1;}
nav.primary > a:hover::after, nav.primary > a.active::after{transform:scaleX(1);}

.nav-dropdown{position:relative;}
.dropdown-trigger{background:none; border:none; font:inherit; font-size:14.5px; font-weight:500; color:var(--ink); opacity:0.82; padding:10px 16px; cursor:pointer; display:flex; align-items:center; gap:4px;}
.dropdown-trigger:hover{opacity:1;}
.dropdown-panel{position:absolute; top:100%; left:0; background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:8px; min-width:190px; box-shadow:0 24px 44px -20px rgba(18,48,31,0.3); opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .25s ease, transform .25s ease, visibility .25s;}
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel{opacity:1; visibility:visible; transform:translateY(0);}
.dropdown-panel a{display:block; padding:9px 14px; border-radius:9px; font-size:14px; color:var(--ink);}
.dropdown-panel a:hover{background:rgba(31,74,58,0.08); color:var(--grove);}

.nav-cta{display:flex; align-items:center; gap:16px;}
.burger{display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:1100;}
.burger span{width:24px; height:2px; background:var(--grove-deep); transition:all .35s ease;}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-nav{position:fixed; inset:0; background:var(--grove-deep); z-index:1050; display:flex; flex-direction:column; justify-content:center; padding:90px 40px 40px; gap:4px; transform:translateY(-100%); transition:transform .5s cubic-bezier(.65,0,.35,1); overflow-y:auto;}
.mobile-nav.open{transform:translateY(0);}
.mobile-nav > a{color:var(--gold-soft); font-family:'Fraunces',serif; font-size:26px; padding:10px 0; opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease;}
.mobile-nav .mobile-sub-label{color:#7d9587; font-size:12px; text-transform:uppercase; letter-spacing:0.1em; margin-top:14px; opacity:0; transition:opacity .5s ease;}
.mobile-nav .mobile-sub-link{font-size:18px !important; color:#dce7e0 !important; padding:6px 0 6px 12px !important;}
.mobile-nav.open > a, .mobile-nav.open .mobile-sub-label{opacity:1; transform:translateY(0);}

/* ---------- Hero ---------- */
.hero{position:relative; padding:168px 0 100px; overflow:hidden; background:radial-gradient(60% 60% at 85% 10%, rgba(199,154,60,0.14), transparent 60%), linear-gradient(180deg, var(--bg), #F3EFE3 120%);}
.hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:60px; align-items:center;}
.hero h1{font-size:clamp(36px, 4.4vw, 58px); line-height:1.08; margin:20px 0 22px;}
.hero-sub{font-size:16.5px; line-height:1.7; color:#3A4A40; max-width:520px; margin-bottom:34px;}
.hero-actions{display:flex; gap:16px; align-items:center; flex-wrap:wrap;}
.hero-stats{display:flex; gap:34px; margin-top:46px; flex-wrap:wrap;}
.hero-stats .stat b{font-family:'Fraunces',serif; font-size:26px; color:var(--grove-deep); display:block;}
.hero-stats .stat span{font-size:12.5px; color:#6b7a70;}
.hero-art{position:relative; height:440px;}
.hero-panel{position:absolute; inset:0; border-radius:28px; overflow:hidden; background:linear-gradient(160deg, var(--grove) 0%, #16382A 65%, var(--grove-deep) 100%); box-shadow:0 40px 70px -30px rgba(18,48,31,0.55);}
.academy-dashboard{padding:34px 32px 28px; isolation:isolate; transform:perspective(1000px) rotateX(var(--dashboard-rotate-x, 0deg)) rotateY(var(--dashboard-rotate-y, 0deg)); transition:transform .3s ease;}
.dashboard-glow{position:absolute; width:260px; height:260px; right:-90px; top:-100px; border-radius:50%; background:rgba(199,154,60,0.18); filter:blur(4px); z-index:-1;}
.dashboard-header,.dashboard-heading,.dashboard-footer{display:flex; align-items:center; justify-content:space-between;}
.dashboard-kicker{display:block; color:#9fc0a9; font-size:10px; letter-spacing:.12em; text-transform:uppercase;}
.dashboard-header strong{display:block; margin-top:5px; color:#fff; font-family:'Fraunces',serif; font-size:23px; font-weight:600;}
.dashboard-status{display:flex; align-items:center; gap:7px; color:#d6e5d8; font-size:11px;}
.dashboard-status i,.dashboard-footer i{width:7px; height:7px; border-radius:50%; background:#80c992; box-shadow:0 0 0 4px rgba(128,201,146,.12);}
.dashboard-heading{margin-top:40px; color:#d7e4d8; font-size:12px;}
.dashboard-heading b{color:var(--gold-soft); font-family:'Fraunces',serif; font-size:18px; font-weight:600;}
.dashboard-heading small{font-size:13px; color:#8eb29a;}
.dashboard-tabs{display:flex; gap:22px; margin-top:22px; border-bottom:1px solid rgba(220,240,224,.18);}
.dashboard-tab{position:relative; padding:0 0 12px; border:0; background:none; color:#8eaa98; cursor:pointer; font:500 12px 'Work Sans',sans-serif;}
.dashboard-tab::after{position:absolute; content:""; height:2px; right:0; bottom:-1px; left:0; background:transparent;}
.dashboard-tab.is-active{color:var(--gold-soft);}
.dashboard-tab.is-active::after{background:var(--gold);}
.dashboard-tab:focus-visible{outline:2px solid var(--gold); outline-offset:4px; border-radius:2px;}
.dashboard-panels{min-height:205px; padding-top:25px;}
.dashboard-panel[hidden]{display:none;}
.dashboard-stat-main{display:flex; align-items:end; gap:14px;}
.dashboard-stat-main b{color:#fff; font:600 64px/.8 'Fraunces',serif; letter-spacing:0;}
.dashboard-stat-main span{color:#b7cdbb; font-size:12px; line-height:1.45; padding-bottom:2px;}
.dashboard-stat-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:30px;}
.dashboard-stat-grid div{border-left:1px solid rgba(220,240,224,.25); padding-left:12px;}
.dashboard-stat-grid b{display:block; color:var(--gold-soft); font:600 22px 'Fraunces',serif;}
.dashboard-stat-grid span{display:block; color:#9db5a3; font-size:10px; margin-top:2px;}
.dashboard-sparkline{position:absolute; right:32px; bottom:73px; display:flex; align-items:end; gap:5px; width:92px; height:54px; opacity:.8;}
.dashboard-sparkline span{flex:1; border-radius:3px 3px 0 0; background:linear-gradient(to top,var(--gold),#f1e2b7); animation:dashboard-rise .8s both;}
.dashboard-sparkline span:nth-child(2){animation-delay:80ms}.dashboard-sparkline span:nth-child(3){animation-delay:160ms}.dashboard-sparkline span:nth-child(4){animation-delay:240ms}.dashboard-sparkline span:nth-child(5){animation-delay:320ms}.dashboard-sparkline span:nth-child(6){animation-delay:400ms}.dashboard-sparkline span:nth-child(7){animation-delay:480ms}
@keyframes dashboard-rise{from{transform:scaleY(0); transform-origin:bottom}to{transform:scaleY(1)}}
.dashboard-course-card{display:flex; align-items:center; gap:11px; padding:11px 0; border-bottom:1px solid rgba(220,240,224,.15);}
.course-mark{width:39px; height:39px; border-radius:11px; display:grid; place-items:center; background:var(--gold); color:var(--grove-deep); font:700 11px 'Work Sans',sans-serif; flex:none;}
.course-mark-light{background:#dce9de;}
.dashboard-course-card b{display:block; color:#fff; font:600 13px 'Work Sans',sans-serif;}
.dashboard-course-card small{display:block; color:#9db5a3; font-size:10px; margin-top:3px;}
.course-arrow{margin-left:auto; color:var(--gold-soft); font-size:19px;}
.dashboard-learning-note{display:flex; align-items:start; gap:13px; margin-top:20px; color:#dce9de;}
.dashboard-learning-note span{color:var(--gold); font:600 12px 'Fraunces',serif;}
.dashboard-learning-note b{font:500 16px/1.25 'Fraunces',serif;}
.dashboard-panel h3{max-width:270px; margin:10px 0 10px; color:#fff; font:600 25px/1.1 'Fraunces',serif;}
.dashboard-panel p{max-width:285px; color:#b7cdbb; font-size:12px; line-height:1.5;}
.dashboard-news-link{display:inline-flex; align-items:center; gap:12px; margin-top:19px; color:var(--gold-soft); font-size:12px; font-weight:600;}
.dashboard-news-link span{font-size:17px; transition:transform .2s ease;}.dashboard-news-link:hover span{transform:translateX(4px);}
.dashboard-footer{border-top:1px solid rgba(220,240,224,.16); padding-top:16px; color:#9db5a3; font-size:10px;}
.dashboard-footer span{display:flex; align-items:center; gap:7px;}
.hero-badge{position:absolute; left:-18px; bottom:-18px; background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:18px 22px; box-shadow:0 24px 40px -20px rgba(18,48,31,0.35); display:flex; gap:14px; align-items:center; max-width:260px;}
.hero-badge .ring{width:46px; height:46px; border-radius:50%; border:3px solid var(--gold); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-weight:700; color:var(--grove-deep); flex:none;}
.hero-badge p{font-size:12.5px; color:#5a6a60; line-height:1.4;}
.hero-badge b{display:block; font-family:'Fraunces',serif; color:var(--grove-deep); font-size:14px;}

/* ---------- Page header (course pages) ---------- */
.page-hero{padding:150px 0 60px; background:linear-gradient(160deg,var(--grove),var(--grove-deep)); color:#EFE8D6;}
.page-hero .eyebrow{color:var(--gold);}
.page-hero h1{color:#fff; margin-top:14px; font-size:clamp(30px,4vw,46px);}
.page-hero p{color:#C9D3CB; margin-top:14px; max-width:640px; line-height:1.7;}
.breadcrumb{font-size:13px; color:#9db3a6; margin-bottom:6px;}
.breadcrumb a{color:var(--gold-soft);}

/* ---------- Reveal on scroll ---------- */
.reveal{opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);}
.reveal.in{opacity:1; transform:translateY(0);}
.stagger > *{transition-delay:calc(var(--i,0) * 90ms);}

section{padding:96px 0; position:relative;}
.section-tight{padding:56px 0;}
.section-head{max-width:640px; margin-bottom:56px;}
.section-head h2{font-size:clamp(28px,3vw,40px); margin-top:14px;}
.section-head p{color:#57685D; font-size:15.5px; margin-top:14px; line-height:1.7;}
.center{text-align:center; margin-left:auto; margin-right:auto;}

/* ---------- Grids ---------- */
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:32px;}

.feature-card{background:var(--paper); border:1px solid var(--line); border-radius:20px; padding:30px 26px; transition:transform .4s ease, box-shadow .4s ease, border-color .4s ease;}
.feature-card:hover{transform:translateY(-6px); box-shadow:0 30px 50px -30px rgba(18,48,31,0.4); border-color:rgba(199,154,60,0.5);}
.feature-ico{width:52px; height:52px; border-radius:14px; background:linear-gradient(155deg,#EAF2EC,#DCEAE0); display:flex; align-items:center; justify-content:center; margin-bottom:20px; font-size:22px;}
.feature-card h3{font-size:18px; margin-bottom:10px;}
.feature-card p{font-size:14px; color:#5c6c62; line-height:1.65;}

/* ---------- News block ---------- */
.news-block{background:var(--grove-deep); border-radius:24px; padding:44px; color:#EFE8D6; display:grid; grid-template-columns:1fr 1.4fr; gap:40px;}
.news-block h3{color:var(--gold-soft); font-size:24px; margin-bottom:12px;}
.news-block .hint{font-size:14px; color:#B9C7BE; line-height:1.7;}
.news-list{display:flex; flex-direction:column;}
.news-list li{display:flex; justify-content:space-between; gap:20px; padding:16px 0; border-bottom:1px solid rgba(255,255,255,0.1); font-size:14.5px;}
.news-list li:last-child{border-bottom:none;}
.news-list .date{color:var(--gold); font-weight:600; flex:none; font-size:12.5px; letter-spacing:0.04em; padding-top:2px;}
.news-list a{color:#F4EFE0;}
.news-list a:hover{color:var(--gold);}

/* ---------- Why Us checklist ---------- */
.why-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px 32px;}
.why-item{display:flex; gap:16px; align-items:flex-start; padding:18px 0; border-bottom:1px solid var(--line);}
.why-item .check{width:28px; height:28px; border-radius:50%; background:var(--grove); color:#fff; flex:none; display:flex; align-items:center; justify-content:center; font-size:13px; margin-top:2px;}
.why-item h4{font-size:16px; margin-bottom:4px;}
.why-item p{font-size:13.5px; color:#647468;}

/* ---------- Stats counters ---------- */
.stats-band{background:linear-gradient(160deg,var(--grove),var(--grove-deep)); border-radius:26px; padding:56px 40px; display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.stat-box{text-align:center; color:#EFE8D6; border-right:1px solid rgba(255,255,255,0.12);}
.stat-box:last-child{border-right:none;}
.stat-box .num{font-family:'Fraunces',serif; font-size:44px; color:var(--gold);}
.stat-box .label{font-size:12.5px; letter-spacing:0.06em; text-transform:uppercase; color:#C9D3CB; margin-top:6px;}

/* ---------- Achievers ---------- */
.achiever-scroll{display:flex; gap:20px; overflow-x:auto; padding:6px 4px 26px; scroll-snap-type:x mandatory;}
.achiever-scroll::-webkit-scrollbar{height:6px;}
.achiever-scroll::-webkit-scrollbar-thumb{background:var(--gold-soft); border-radius:10px;}
.achiever-card{flex:none; width:210px; scroll-snap-align:start; background:var(--paper); border-radius:18px; border:1px solid var(--line); overflow:hidden; transition:transform .35s ease, box-shadow .35s ease;}
.achiever-card:hover{transform:translateY(-6px); box-shadow:0 24px 44px -26px rgba(18,48,31,0.4);}
.achiever-photo{height:200px; background:linear-gradient(150deg,#E7EFE9,#D3E2D8); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-size:34px; color:var(--grove); overflow:hidden;}
.achiever-photo img{width:100%; height:100%; object-fit:cover;}
.achiever-info{padding:16px 18px;}
.achiever-info h4{font-size:15px; margin-bottom:4px;}
.achiever-info span{font-size:12px; color:var(--leaf); font-weight:600;}

/* Achiever Marks & Rank */

.achiever-marks {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 9px;
    border-radius: 6px;
    background: #eef6f1;
    color: #245c49;
    font-size: 13px;
    font-weight: 700;
}

.achiever-rank {
    margin-top: 7px;
    color: #a47c22;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

/* ---------- Video / testimonials ---------- */
.video-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.video-card{aspect-ratio:16/10; border-radius:18px; overflow:hidden; position:relative; background:#0C2216;}
.video-card iframe{width:100%; height:100%; border:0;}

.quote-track{display:flex; gap:22px; overflow-x:auto; padding-bottom:10px;}
.quote-card{flex:none; width:320px; background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:26px;}
.quote-card .stars{color:var(--gold); font-size:14px; margin-bottom:12px; letter-spacing:2px;}
.quote-card p{font-size:14px; line-height:1.7; color:#48584D; margin-bottom:16px;}
.quote-card .who{display:flex; align-items:center; gap:10px;}
.quote-card .avatar{width:36px; height:36px; border-radius:50%; background:var(--gold-soft); flex:none;}
.quote-card .who b{font-size:13.5px; display:block;}
.quote-card .who span{font-size:11.5px; color:#8a988e;}

/* ---------- CTA band ---------- */
.cta-band{background:var(--gold-soft); border-radius:28px; padding:60px; display:flex; justify-content:space-between; align-items:center; gap:40px; flex-wrap:wrap;}
.cta-band h2{font-size:30px; max-width:480px;}
.cta-band p{color:#5c5030; margin-top:10px;}

/* ---------- Mobile app promotion ---------- */

.app-promo-section {
    padding-top: 40px;
}

.app-promo {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 60px;
    min-height: 560px;
    padding: 72px 78px;
    overflow: hidden;
    border: 1px solid rgba(31, 74, 58, .1);
    border-radius: 28px;
    background: linear-gradient(118deg, #F4F8F2 0%, #EAF3EC 58%, #DDECE4 100%);
}

.app-promo-copy {
    position: relative;
    z-index: 1;
    max-width: 570px;
}

.app-promo-copy h2 {
    max-width: 480px;
    margin-top: 16px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.05;
}

.app-promo-copy > p {
    max-width: 540px;
    margin-top: 20px;
    color: #4E6357;
    font-size: 15.5px;
    line-height: 1.75;
}

.app-promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
    max-width: 560px;
}

.app-promo-features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--grove-deep);
    font-size: 12.5px;
    font-weight: 600;
}

.app-promo-features i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #D1E6D7;
    color: var(--grove);
    font-size: 11px;
    font-style: normal;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 32px;
    padding: 11px 21px 11px 15px;
    border-radius: 10px;
    background: var(--grove-deep);
    color: #fff;
    box-shadow: 0 14px 24px -16px rgba(18, 48, 31, .7);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.app-store-button:hover {
    transform: translateY(-3px);
    background: var(--grove);
    box-shadow: 0 18px 28px -16px rgba(18, 48, 31, .75);
}

.app-store-icon {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    color: var(--gold-soft);
    font-size: 15px;
}

.app-store-button small {
    display: block;
    font-size: 9px;
    letter-spacing: .08em;
    line-height: 1;
}

.app-store-button b {
    display: block;
    margin-top: 3px;
    font: 600 19px/1 'Work Sans', sans-serif;
}

.app-promo-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 410px;
}

.app-orbit {
    position: absolute;
    border: 1px solid rgba(31, 74, 58, .15);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.app-orbit-one {
    width: 390px;
    height: 255px;
}

.app-orbit-two {
    width: 300px;
    height: 420px;
    transform: rotate(28deg);
    border-color: rgba(199, 154, 60, .28);
}

.app-phone {
    position: relative;
    z-index: 1;
    width: 218px;
    height: 412px;
    padding: 8px;
    border: 1px solid #D3DED4;
    border-radius: 31px;
    background: #173B2C;
    box-shadow: 0 28px 45px -24px rgba(18, 48, 31, .7),
                12px 18px 0 -8px rgba(199, 154, 60, .3);
    transform: rotate(5deg);
}

.app-phone-notch {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 50%;
    width: 72px;
    height: 18px;
    border-radius: 0 0 13px 13px;
    background: #173B2C;
    transform: translateX(-50%);
}

.app-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 31px 17px 14px;
    border-radius: 24px;
    background: linear-gradient(160deg, #F9FBF7, #E5F0E8);
    color: var(--grove-deep);
}

.app-screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--grove);
    font: 600 10px 'Noto Sans Tamil', 'Work Sans', sans-serif;
}

.app-screen-top b {
    color: #789180;
    letter-spacing: 2px;
}

.app-welcome {
    margin-top: 30px;
    color: #718078;
    font-size: 10px;
    line-height: 1.5;
}

.app-welcome strong {
    display: block;
    color: var(--grove-deep);
    font: 600 21px/1.1 'Fraunces', serif;
}

.app-progress {
    margin-top: 22px;
    padding: 14px;
    border-radius: 14px;
    background: var(--grove);
    color: #E8F1E8;
}

.app-progress span {
    font-size: 9px;
}

.app-progress b {
    float: right;
    color: var(--gold-soft);
    font-size: 11px;
}

.app-progress i {
    display: block;
    height: 5px;
    margin-top: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .2);
}

.app-progress em {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: var(--gold);
}

.app-screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.app-screen-grid div {
    padding: 12px 10px;
    border: 1px solid #D3E2D6;
    border-radius: 12px;
    background: #fff;
}

.app-screen-grid b {
    display: block;
    color: var(--grove);
    font: 600 20px 'Fraunces', serif;
}

.app-screen-grid span {
    display: block;
    margin-top: 2px;
    color: #718078;
    font-size: 8px;
}

.app-next-class {
    position: relative;
    margin-top: 10px;
    padding: 13px 12px;
    border-radius: 12px;
    background: #F7EAC9;
}

.app-next-class span {
    display: block;
    color: #9A792F;
    font-size: 8px;
    letter-spacing: .1em;
}

.app-next-class b {
    display: block;
    margin-top: 5px;
    color: var(--grove-deep);
    font-size: 11px;
}

.app-next-class small {
    display: block;
    margin-top: 3px;
    color: #748176;
    font-size: 8px;
}

.app-next-class i {
    position: absolute;
    top: 31px;
    right: 12px;
    color: var(--grove);
    font-style: normal;
    font-size: 17px;
}

.app-home-indicator {
    position: absolute;
    bottom: 7px;
    left: 50%;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: #A9BBAE;
    transform: translateX(-50%);
}

.app-float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border: 1px solid rgba(31, 74, 58, .1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 30px -20px rgba(18, 48, 31, .55);
}

.app-float-card > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #DDEDE1;
    color: var(--grove);
    font-weight: 700;
}

.app-float-card small {
    display: block;
    color: #7A897F;
    font-size: 9px;
}

.app-float-card b {
    display: block;
    margin-top: 2px;
    color: var(--grove-deep);
    font-size: 10px;
    white-space: nowrap;
}

.app-float-attendance {
    top: 50px;
    right: -8px;
}

.app-float-report {
    bottom: 48px;
    left: -18px;
}
/* ---------- Course page specific ---------- */
.course-body{display:grid; grid-template-columns:2fr 1fr; gap:48px; align-items:start;}
.course-main h2{font-size:24px; margin:36px 0 16px;}
.course-main h2:first-child{margin-top:0;}
.course-main p{color:#4d5d53; line-height:1.8; font-size:15px;}
.feature-list{display:flex; flex-direction:column; gap:14px; margin-top:10px;}
.feature-list li{display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color:#3d4d43; line-height:1.6;}
.feature-list li::before{content:"➤"; color:var(--gold); flex:none; margin-top:2px; font-size:12px;}
.sidebar-card{background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:26px; margin-bottom:20px;}
.sidebar-card h4{font-size:15px; margin-bottom:12px;}
.sidebar-card .fact{display:flex; justify-content:space-between; font-size:13.5px; padding:9px 0; border-bottom:1px solid var(--line);}
.sidebar-card .fact:last-child{border-bottom:none;}
.sidebar-card .fact span:first-child{color:#71827a;}
.sidebar-card .fact span:last-child{font-weight:600; color:var(--grove-deep);}

/* ---------- Forms ---------- */
.form-card{background:var(--paper); border:1px solid var(--line); border-radius:22px; padding:38px;}
.form-group{margin-bottom:18px;}
.form-group label{display:block; font-size:13px; font-weight:600; margin-bottom:7px; color:#3d4d43;}
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:12px 14px; border-radius:12px; border:1px solid var(--line);
  font:inherit; font-size:14.5px; background:#fff; color:var(--ink); transition:border-color .25s ease, box-shadow .25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color:var(--grove); box-shadow:0 0 0 3px rgba(31,74,58,0.12);
}
.form-group textarea{min-height:120px; resize:vertical;}
.form-note{font-size:13px; padding:12px 16px; border-radius:12px; margin-bottom:18px;}
.form-note.success{background:#E7F3EB; color:#1F4A3A; border:1px solid #BEE0C9;}
.form-note.error{background:#FBEAEA; color:#8A2C2C; border:1px solid #F1C6C6;}

/* ---------- Footer ---------- */
footer#contact-footer{background:var(--grove-deep); color:#CFD9D2; padding:76px 0 30px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; margin-bottom:56px;}
footer h4{color:#EFE8D6; font-size:15px; margin-bottom:18px; font-family:'Fraunces',serif;}
footer p{font-size:13.5px; line-height:1.75; color:#A9B6AE;}
footer ul{display:flex; flex-direction:column; gap:10px;}
footer ul a{font-size:13.5px; color:#B9C6BE; transition:color .3s ease, padding-left .3s ease;}
footer ul a:hover{color:var(--gold); padding-left:4px;}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1); padding-top:24px; display:flex; justify-content:space-between; font-size:12.5px; color:#8FA098; flex-wrap:wrap; gap:12px;}
.footer-bottom a{color:#a9d9b8;}
.social-row{display:flex; gap:10px; margin-top:16px;}
.social-row a{width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; font-size:13px; transition:background .3s ease, transform .3s ease;}
.social-row a:hover{background:var(--gold); transform:translateY(-3px);}

/* ---------- Announcement modal ---------- */
.modal-backdrop{position:fixed; inset:0; background:rgba(18,48,31,0.55); backdrop-filter:blur(4px); z-index:2000; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity .4s ease;}
.modal-backdrop.show{opacity:1; pointer-events:auto;}
.modal-box{background:var(--paper); border-radius:20px; width:min(420px,100vw); overflow:hidden; transform:scale(0.9) translateY(20px); transition:transform .45s cubic-bezier(.22,.61,.36,1); box-shadow:0 50px 80px -30px rgba(0,0,0,0.5);}
.modal-backdrop.show .modal-box{transform:scale(1) translateY(0);}
.modal-img{width:100%; height:200px; background:linear-gradient(150deg,var(--grove),var(--grove-deep)); display:flex; align-items:center; justify-content:center; color:var(--gold-soft); font-family:'Fraunces',serif; font-size:15px; text-align:center; padding:20px; object-fit:cover;}
.modal-img-image{display:block !important; width:100% !important; height:auto; max-height:min(500px, 82vh); padding:0; object-fit:contain; background:#173f35;}
.modal-body{padding:22px 24px 26px;}
.modal-body h4{font-size:16px; margin-bottom:8px;}
.modal-body p{font-size:13px; color:#5c6c62; margin-bottom:18px;}

@media (max-width: 980px){
  nav.primary, .nav-cta .btn-ghost{display:none;}
  .burger{display:flex;}
  .hero-grid{grid-template-columns:1fr;}
  .hero-art{height:300px; margin-top:20px;}
  .hero-badge{left:0; top:calc(100% + 14px); bottom:auto;}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3, .grid-2{grid-template-columns:1fr;}
  .why-grid{grid-template-columns:1fr;}
  .stats-band{grid-template-columns:repeat(2,1fr);}
  .stat-box{border-right:none; border-bottom:1px solid rgba(255,255,255,0.12); padding-bottom:18px;}
  .video-grid{grid-template-columns:repeat(2,1fr);}
  .news-block{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .cta-band{padding:40px;}
  .course-body{grid-template-columns:1fr;}
  .app-promo{grid-template-columns:1fr; gap:30px; padding:54px 40px 40px;}
  .app-promo-visual{min-height:440px;}
  .app-orbit-one{width:280px; height:190px;}
  .app-orbit-two{width:240px; height:330px;}
}
@media (prefers-reduced-motion: reduce){
  *{transition:none !important; scroll-behavior:auto !important;}
}
