:root{--blue:#0b3fb5;--navy:#0a2257;--yellow:#ffc107;--bg:#f4f2ee;--ink:#444;--bd:#dfe6f7;--r:22px}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{font-family:'Noto Sans',sans-serif;color:var(--ink);line-height:1.8;overflow-x:hidden;background:#fff}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.wrap{width:min(1280px,92%);margin:auto}
.center{text-align:center}
.script{font-family:'Noto Sans',sans-serif;font-size:26px;font-weight:700;color:var(--blue);line-height:1.2}
.script.tag{color:var(--yellow)}
.title{font-size:clamp(30px,4vw,48px);font-weight:800;color:var(--blue);line-height:1.2;margin:6px 0 34px}
.title span,h2 span,.hero em{color:var(--yellow)}
.title.left{text-align:left}
.muted{margin-bottom:26px}

/* buttons */
.btn{display:inline-block;padding:15px 36px;border-radius:50px;font-weight:800;font-size:17px;transition:.3s;border:2px solid transparent}
.btn.sm{padding:10px 26px;font-size:15px}
.btn.yellow{background:var(--yellow);color:#111}
.btn.blue{background:var(--blue);color:#fff}
.btn.ghost{background:rgba(255,255,255,.14);color:#fff;backdrop-filter:blur(4px)}

/* top bar + navbar */
.topbar{background:#254fa6;color:#fff;font-size:17px}
.topbar-in{width:min(1280px,92%);margin:auto;display:flex;justify-content:space-between;padding:12px 0}
.topbar-l{display:flex;gap:34px}.topbar-r{display:flex;gap:22px}
.navbar{position:sticky;top:0;z-index:50;background:#fff;display:flex;align-items:center;justify-content:space-between;padding-left:4%;height:114px;transition:.4s;box-shadow:0 2px 14px rgba(0,0,0,.06)}
.navbar.shrink{height:84px;box-shadow:0 8px 24px rgba(11,63,181,.15)}
.brand{display:flex;align-items:center;gap:12px;color:var(--blue);line-height:1.1}
.brand img{height:84px;transition:.4s}.navbar.shrink .brand img{height:62px}
.brand b{display:block;font-size:26px;font-weight:900}.brand small{font-size:17px;font-weight:800;letter-spacing:.3px}
.menu{display:flex;gap:34px;font-weight:600;font-size:18px;color:#222}
.menu a{position:relative;padding:6px 0}
.menu a:after{content:"";position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--yellow);transition:.3s}
.menu a:hover:after,.menu a.on:after{width:100%}
.donate-block{background:var(--yellow);align-self:stretch;display:flex;align-items:center;gap:14px;padding:0 34px;font-weight:900;font-size:19px;color:#111}
.circ-arrow{width:36px;height:36px;border:2px solid #111;border-radius:50%;display:grid;place-items:center;font-size:16px;transition:.3s}
.burger{display:none;background:none;border:0;font-size:30px;color:var(--blue)}

/* hero */
.hero{position:relative;height:min(760px,78vh);min-height:960px;overflow:hidden;background:#12307a;color:#fff}
.slide{position:absolute;inset:0;background:var(--bg) center/cover,linear-gradient(135deg,#1c46b3,#0a2257);opacity:0;transition:opacity 1.2s}
.slide.active{opacity:1;animation:kb 9s ease-out forwards}
@keyframes kb{from{transform:scale(1)}to{transform:scale(1.12)}}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,48,140,.88),rgba(31,72,184,.62) 55%,rgba(31,72,184,.45))}
.brush{position:absolute;background:var(--yellow);opacity:.95;animation:float 5s ease-in-out infinite}
.b-tl{left:-30px;top:0;width:60px;height:170px;clip-path:polygon(0 0,100% 10%,40% 45%,90% 70%,0 100%)}
.b-bl{left:-30px;bottom:0;width:150px;height:110px;clip-path:polygon(0 0,60% 40%,100% 100%,0 100%)}
@keyframes float{50%{transform:translateY(-12px)}}
.hero-in{position:relative;z-index:2;width:min(1280px,92%);margin:auto;padding-top:60px;height:100%;display:flex;flex-direction:column;justify-content:center}
.hero h1{font-size:clamp(46px,7vw,92px);line-height:1.18;font-weight:900;margin:14px 0 40px;letter-spacing:1px}
.hero h1 .ln{display:block;overflow:hidden}
.hero h1 .ln>*,.hero h1 .ln{opacity:0}
.hero em{font-family:'Noto Sans',sans-serif;font-style:italic;position:relative;display:inline-block}
.hero em:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:4px;background:var(--yellow);border-radius:4px}
.hero.go .ln{animation:rise .9s cubic-bezier(.2,.8,.2,1) forwards}
.hero.go .ln:nth-child(2){animation-delay:.2s}.hero.go .ln:nth-child(3){animation-delay:.4s}
.hero.go .tag{animation:rise .8s forwards}
.hero.go .hero-btns{animation:rise .9s .7s both}
@keyframes rise{from{opacity:0;transform:translateY(60px)}to{opacity:1;transform:none}}
.hero-btns{display:flex;gap:30px}
.hero-arrows{position:absolute;right:3.5%;top:50%;display:flex;flex-direction:column;gap:20px;z-index:3}
.hero-arrows.static{position:static;flex-direction:row}
.arr{width:75px;height:75px;border-radius:50%;border:0;font-size:28px;cursor:pointer;transition:.3s}
.hero-arrows.static .arr{width:62px;height:62px}
.arr.blue{background:var(--blue);color:#fff}.arr.yellow{background:var(--yellow);color:#111}

/* ticker */
.ticker{background:#0a3aa8;color:#fff;overflow:hidden;white-space:nowrap;padding:22px 0;font-size:24px}
.ticker-track{display:inline-flex;gap:40px;animation:scroll 32s linear infinite}
.ticker .dot{color:var(--yellow)}
@keyframes scroll{to{transform:translateX(-50%)}}

/* sections */
.sec{padding:100px 0;position:relative}
.sec-white{background:#fff}
.sec-tex{background:var(--bg)}
.about{display:grid;grid-template-columns:1.05fr 1fr;gap:44px;align-items:center}
.about-img{position:relative;display:flex;border-radius:var(--r);overflow:hidden;height:560px;border:3px solid var(--yellow);box-shadow:0 18px 40px rgba(11,63,181,.2)}
.vlabel{background:var(--blue);color:#fff;writing-mode:vertical-rl;transform:rotate(180deg);padding:20px 22px;font-size:28px;font-weight:800;text-align:center;border-right:3px solid var(--yellow)}
.vlabel b{color:var(--yellow)}
.about-img img{flex:1;width:100%;height:100%;object-fit:cover}
img.ph,.ph-bg{background:linear-gradient(135deg,#dbe5ff,#fff1bf)}
.about-txt h2{font-size:clamp(30px,3.6vw,48px);color:var(--blue);line-height:1.25;margin:8px 0 22px;font-weight:800}
.about-txt p{margin-bottom:18px;font-size:18px}
.about-txt .btn{margin-top:18px}

.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.mcard{background:#fafafa;border:2px solid var(--bd);border-radius:var(--r);padding:48px 34px;transition:.4s}
.mic{width:124px;height:124px;border-radius:50%;background:#7a92cc;display:grid;place-items:center;margin:0 auto 26px;font-size:54px;color:#fff;transition:.4s}
.mcard h3{font-size:28px;color:var(--blue);font-weight:800;margin-bottom:12px}

/* services carousel */
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:34px}
.sec-head .title{margin-bottom:0}
.svc-viewport{overflow:hidden;padding:6px}
.svc-track{display:flex;gap:30px;transition:transform .7s cubic-bezier(.3,.7,.2,1)}
.svc{flex:0 0 calc((100% - 60px)/3);background:#fff;border:2px solid var(--bd);border-radius:var(--r);padding:16px 16px 28px;transition:.4s}
.svc-img{height:300px;border-radius:16px;background:var(--img) center/cover,linear-gradient(135deg,#1c46b3,#0a2257);position:relative;overflow:hidden;margin-bottom:22px}
.svc-img span{position:absolute;left:14px;bottom:14px;width:60px;height:60px;border-radius:50%;background:var(--yellow);display:grid;place-items:center;font-size:28px;border:3px solid #fff}
.svc h3{font-size:25px;color:var(--blue);font-weight:800;padding:0 10px;line-height:1.3;margin-bottom:6px}
.svc p{padding:0 10px;margin-bottom:18px;min-height:58px}
.svc .btn{margin-left:10px}
.dots{display:flex;justify-content:center;gap:12px;margin:34px 0}
.dots i{width:14px;height:14px;border-radius:50%;background:#d4d7de;cursor:pointer;transition:.3s}
.dots i.on{background:var(--blue);box-shadow:0 0 0 4px #fff,0 0 0 6px var(--blue)}
.cards4{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.cards4 .svc{flex:auto}

/* updates, gallery, video */
.upd{border:2px solid var(--bd);border-radius:var(--r);overflow:hidden;background:#fff;transition:.4s}
.upd-img{height:230px}.upd-b{padding:22px 24px 28px}
.upd small{color:var(--blue);font-weight:800;letter-spacing:2px}
.upd h3{font-size:23px;color:var(--blue);margin:4px 0 8px;line-height:1.3}.upd p{margin-bottom:16px}
.gal{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:10px}
.gal-i{height:240px;border-radius:18px;border:3px solid #fff;background:var(--img) center/cover,linear-gradient(135deg,#dbe5ff,#fff1bf);box-shadow:0 8px 20px rgba(11,63,181,.12);transition:.4s}
.vgap{margin-top:80px}
.vid{border:3px solid var(--blue);border-radius:var(--r);overflow:hidden;background:#000;aspect-ratio:16/10}
.vid iframe{width:100%;height:100%;border:0}
.sponsor-box{background:#fff;border:2px solid var(--bd);border-radius:30px;padding:48px;box-shadow:0 12px 36px rgba(11,63,181,.1)}
.sp{border:2px solid var(--bd);border-radius:var(--r);padding:30px;text-align:center;font-weight:700;color:var(--blue);transition:.4s}
.sp-logo{height:90px;display:grid;place-items:center;color:#9aa;font-weight:900;letter-spacing:4px}

/* page banner */
.page-banner{position:relative;padding:110px 0;background:linear-gradient(135deg,#1c46b3,#0a2257);color:#fff;text-align:center;overflow:hidden}
.page-banner .wrap{position:relative;z-index:2}.page-banner h1{font-size:64px;font-weight:900}

/* footer */
.footer{background:var(--navy);color:#e6ebff;padding-top:80px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:50px}
.foot-logo{background:#fff;border-radius:20px 50px 20px 20px;padding:14px 22px;display:inline-flex;align-items:center;gap:10px;color:var(--blue);margin-bottom:26px;line-height:1.1}
.foot-logo img{height:60px}.foot-logo b{display:block;font-size:22px}
.footer h4{font-size:27px;color:#fff;margin-bottom:34px;position:relative}
.footer h4:after{content:"";position:absolute;left:0;bottom:-12px;width:90px;height:3px;background:repeating-linear-gradient(90deg,var(--yellow) 0 50px,transparent 50px 60px)}
.footer a{display:block;margin-bottom:14px;transition:.3s}
.soc{display:flex;gap:14px;margin-top:20px}
.soc a{width:56px;height:56px;border:1px solid #2c4585;border-radius:50%;display:grid!important;place-items:center;margin:0!important}
.copy{margin-top:60px;padding:22px;text-align:center;border-top:1px solid #1c3573}

/* floating */
.side-tab{position:fixed;right:0;top:50%;z-index:40;background:var(--blue);color:#fff;writing-mode:vertical-rl;padding:26px 14px;border-radius:12px 0 0 12px;font-weight:700;border:2px solid var(--yellow);border-right:0}
.to-top{position:fixed;right:28px;bottom:28px;width:62px;height:62px;border-radius:50%;background:#fff;border:6px solid #a8d6cf;font-size:26px;color:#115;cursor:pointer;z-index:40;opacity:0;pointer-events:none;transition:.3s}
.to-top.show{opacity:1;pointer-events:auto}

/* reveal */
.rv{opacity:0;transform:translateY(50px);transition:1s cubic-bezier(.2,.8,.2,1)}.rv.in{opacity:1;transform:none}

@media(max-width:1100px){
 .menu{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;gap:0;padding:10px 6%;box-shadow:0 14px 24px rgba(0,0,0,.1)}
 .menu.open{display:flex}.menu a{padding:12px 0;border-bottom:1px solid var(--bd)}
 .burger{display:block}.navbar{height:90px;padding-right:0}
 .about,.cards3,.cards4,.foot-grid{grid-template-columns:1fr}
 .svc{flex-basis:calc((100% - 30px)/2)}.gal{grid-template-columns:repeat(2,1fr)}
 .hero-arrows{display:none}.hero-arrows.static{display:flex}
}
@media(max-width:640px){.svc{flex-basis:100%}.topbar-l{flex-direction:column;gap:2px;font-size:14px}.donate-block{padding:0 16px;font-size:15px}.brand b{font-size:19px}.about-img{height:420px}}

/* ===== v2 changes ===== */
.script{font-family:'Noto Sans',sans-serif;font-style:italic;font-weight:600;font-size:18px;letter-spacing:.3px}
.hero h1{font-weight:700;letter-spacing:0;font-size:clamp(38px,5.4vw,74px);line-height:1.22}
.hero em{font-family:inherit;font-style:normal;font-weight:700}
.brand b{font-weight:800}.title,.about-txt h2{font-weight:700}
.navbar .menu{font-weight:500;font-size:17px}

/* people unite animation */
.unite{position:absolute;right:12%;top:50%;width:min(340px,26vw);transform:translateY(-50%);z-index:2;filter:drop-shadow(0 8px 18px rgba(0,0,0,.3))}
.u-p{transform-box:view-box;transform-origin:150px 150px;opacity:0;animation:unite 7s ease-in-out infinite}
.u-p.p2{animation-delay:.25s}.u-p.p3{animation-delay:.5s}
@keyframes unite{
 0%{transform:rotate(var(--a)) translateY(-150px) scale(.3);opacity:0}
 22%{opacity:1}
 42%,86%{transform:rotate(var(--a)) translateY(0) scale(1);opacity:1}
 100%{transform:rotate(var(--a)) translateY(-150px) scale(.3);opacity:0}}
.u-ring{stroke-dasharray:535;stroke-dashoffset:535;animation:ring 7s ease-in-out infinite}
@keyframes ring{0%,38%{stroke-dashoffset:535;opacity:1}58%,86%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
.u-heart{transform-box:view-box;transform-origin:150px 150px;opacity:0;animation:heart 7s ease-in-out infinite}
@keyframes heart{0%,52%{opacity:0;transform:scale(.2)}62%{opacity:1;transform:scale(1.25)}70%,86%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.2)}}

/* single running message */
.ticker{padding:20px 0;font-size:22px;font-weight:500}
.ticker .msg{display:inline-block;padding-left:100%;animation:marq 16s linear infinite}
@keyframes marq{from{transform:translateX(0)}to{transform:translateX(-100%)}}

/* stats band */
.stats{background:var(--navy);color:#fff;padding:46px 0}
.stats-in{display:grid;grid-template-columns:repeat(4,1fr) 1.2fr;gap:30px;align-items:center}
.stat b{display:block;font-size:46px;font-weight:700;color:#ffb300;line-height:1.1}
.stat span{font-size:16px;opacity:.9}
.stat-tag{font-style:italic;font-size:22px;text-align:right;line-height:1.5}

/* media cards */
.media-sub{max-width:620px;margin:-14px auto 40px}
.media-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;max-width:980px;margin:auto}
.media-card{text-align:left;background:#fff;border:2px solid var(--bd);border-radius:30px;padding:36px 34px;transition:.4s;box-shadow:0 10px 30px rgba(11,63,181,.07)}
.media-ic{width:90px;height:90px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:38px;margin-bottom:22px;border:4px solid #e4ecff}
.media-card h3{font-size:30px;color:var(--blue);font-weight:700;margin-bottom:8px}
.media-card p{margin-bottom:22px}
.explore{letter-spacing:3px;font-weight:600;color:var(--blue);font-size:15px;border-bottom:3px solid var(--yellow);padding-bottom:3px}

/* service detail */
.detail-img{height:540px;border-radius:var(--r);border:3px solid var(--yellow);background:var(--img) center/cover,linear-gradient(135deg,#1c46b3,#0a2257);position:relative;box-shadow:0 18px 40px rgba(11,63,181,.2)}
.detail-img span{position:absolute;left:20px;bottom:20px;width:76px;height:76px;border-radius:50%;background:var(--yellow);display:grid;place-items:center;font-size:36px;border:4px solid #fff}
.ticks{list-style:none;margin:6px 0 10px}
.ticks li{padding:8px 0 8px 40px;position:relative;font-size:17px}
.ticks li:before{content:"✓";position:absolute;left:0;top:8px;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:14px;border:2px solid var(--yellow)}
.other{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.other a{background:#fff;border:2px solid var(--bd);border-radius:18px;padding:18px 20px;display:flex;align-items:center;gap:12px;color:var(--blue);font-weight:600;transition:.3s}
.other span{font-size:26px}

/* lightbox */
.gallery-grid,.gal{grid-template-columns:repeat(4,1fr)}
.lightbox{position:fixed;inset:0;background:rgba(5,15,50,.92);z-index:1000;display:none;place-items:center;padding:30px}
.lightbox.open{display:grid}
.lightbox img{max-width:92vw;max-height:86vh;border:4px solid var(--yellow);border-radius:14px;background:#fff;min-width:260px;min-height:180px}
.lightbox button{position:absolute;top:24px;right:30px;width:54px;height:54px;border-radius:50%;border:0;background:var(--yellow);font-size:22px;cursor:pointer}
.page-banner h1 em{color:var(--yellow);font-style:normal}

@media(max-width:1100px){
 .unite{width:200px;right:5%;top:auto;bottom:30px;transform:none;opacity:.9}
 .stats-in{grid-template-columns:repeat(2,1fr)}.stat-tag{text-align:left;grid-column:1/-1}
 .media-cards,.other{grid-template-columns:1fr 1fr}.detail-img{height:380px}
}
@media(max-width:640px){.media-cards,.other{grid-template-columns:1fr}.gal{grid-template-columns:repeat(2,1fr)}.unite{display:none}}

/* ===== top bar (Hope Chennai style) ===== */
.topbar{background:#1b2063;color:#fff;font-size:17px;position:relative;z-index:60}
.topbar-in{width:min(1280px,94%);margin:auto;display:flex;align-items:center;justify-content:space-between;padding:6px 0;gap:20px}
.topbar-l,.topbar-m,.topbar-r{display:flex;align-items:center;gap:22px}
.topbar-l>a{display:flex;align-items:center;gap:12px;font-weight:500;white-space:nowrap}
.topbar-l>a:not(.loc){padding-right:22px;border-right:1px solid rgba(255,255,255,.2)}
.ci{width:42px;height:42px;border-radius:50%;background:#2a3190;display:grid;place-items:center;font-style:normal;font-size:17px;flex:none}
.qr{width:40px;height:40px;background:#fff;border:2px solid #fff;border-radius:4px;display:block;overflow:hidden;outline:1px solid #000}
.qr img{width:100%;height:100%;object-fit:cover}
.qr.empty{background:repeating-conic-gradient(#111 0 25%,#fff 0 50%) 0 0/10px 10px}
.qr.empty img{display:none}
.urgent{background:var(--yellow);color:#8a3b00;font-weight:600;padding:9px 24px;border-radius:30px;letter-spacing:.5px;transition:.3s;animation:pulse 2.2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,193,7,.6)}70%,100%{box-shadow:0 0 0 12px rgba(255,193,7,0)}}
.act{position:relative;padding:8px 0;border-left:1px solid rgba(255,255,255,.2);padding-left:22px}
.act-btn{font-weight:500;letter-spacing:.5px}
.act-menu{position:absolute;top:100%;left:12px;min-width:300px;background:#fff;border:2px solid var(--yellow);border-radius:14px;padding:8px;opacity:0;visibility:hidden;transform:translateY(10px);transition:.3s;box-shadow:0 16px 30px rgba(0,0,0,.2)}
.act:hover .act-menu{opacity:1;visibility:visible;transform:none}
.act-menu a{display:block;color:var(--blue);padding:9px 14px;border-radius:8px;font-size:15px;font-weight:500}
.act-menu a:hover{background:#eef2ff}
.topbar-r{gap:10px;border-left:1px solid rgba(255,255,255,.2);padding-left:22px}
.so{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:17px;transition:.3s}
.so.fb{background:#1877f2}.so.xx{background:#000}.so.yt{background:#ff0000;font-size:14px}.so.ig{background:linear-gradient(45deg,#f9a825,#e1306c,#833ab4)}
@media(max-width:1100px){.topbar-m,.qr,.topbar-l>a:nth-child(2){display:none}.topbar-r{border:0;padding:0}}
@media(max-width:640px){.topbar-l>a{font-size:14px;padding-right:0!important;border:0!important}.ci{width:34px;height:34px}.so{width:34px;height:34px}}

/* ===== v3 ===== */
/* Tamil brand + logo */
.brand{gap:14px}.brand img{height:76px}.navbar.shrink .brand img{height:58px}
.brand .ta b{font-family:'Noto Sans Tamil','Noto Sans',sans-serif;font-size:25px;font-weight:800;line-height:1.35;color:var(--blue);display:block}
.brand .ta small{font-family:'Noto Sans Tamil','Noto Sans',sans-serif;font-size:19px;font-weight:700;letter-spacing:0;line-height:1.3;color:var(--blue)}
.foot-logo .ta b{font-family:'Noto Sans Tamil','Noto Sans',sans-serif;font-size:21px;line-height:1.35}
.foot-logo .ta small{font-family:'Noto Sans Tamil','Noto Sans',sans-serif;font-size:17px;font-weight:700}

/* smaller top bar */
.topbar{font-size:14px}
.topbar-in{padding:3px 0;gap:14px}
.topbar-l{gap:12px}.topbar-l>a:not(.loc){padding-right:14px;gap:8px}
.ci{width:28px;height:28px;font-size:12px}
.qr{width:28px;height:28px}
.urgent{padding:5px 16px;font-size:13px}
.act{padding:3px 0 3px 16px}.act-btn{font-size:13px}
.topbar-r{gap:7px;padding-left:16px}.so{width:28px;height:28px;font-size:12px}

/* three people unite – banner left corner */
.unite{position:absolute;left:2.5%;right:auto;top:22px;bottom:auto;width:165px;transform:none;overflow:visible;z-index:2;filter:drop-shadow(0 6px 14px rgba(0,0,0,.3))}
.u-p{fill:var(--c);--c:#ffc107;transform-box:view-box;transform-origin:150px 150px;opacity:0;animation:uniteIn 6s ease-in-out infinite}
.u-p .arm{fill:none;stroke:var(--c);stroke-width:9;stroke-linecap:round}
.u-p.p2{--c:#fff;animation-delay:.2s}.u-p.p3{--c:#6aa6ff;animation-delay:.4s}
@keyframes uniteIn{
 0%{transform:rotate(calc(var(--a) - 100deg)) translateY(-130px) scale(.2);opacity:0}
 20%{opacity:1}
 45%,85%{transform:rotate(var(--a)) translateY(0) scale(1);opacity:1}
 100%{transform:rotate(calc(var(--a) + 100deg)) translateY(-130px) scale(.2);opacity:0}}
.u-heart{fill:#ff4d6d;transform-box:view-box;transform-origin:150px 146px;opacity:0;animation:uHeart 6s ease-in-out infinite}
@keyframes uHeart{0%,50%{opacity:0;transform:scale(.1)}58%{opacity:1;transform:scale(.75)}66%{transform:scale(.5)}74%{transform:scale(.65)}85%{opacity:1;transform:scale(.5)}100%{opacity:0;transform:scale(.1)}}

/* stats – small boxes, fancy font */
.stats{padding:24px 0}
.stats-in{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px}
.stat{min-width:150px;padding:12px 22px;text-align:center;border:1.5px solid rgba(255,193,7,.65);border-radius:14px;background:rgba(255,255,255,.06);transition:.3s}
.stat b{font-family:'Playfair Display',serif;font-size:30px;font-weight:700;color:var(--yellow);display:block;line-height:1.2}
.stat span{font-family:'Playfair Display',serif;font-style:italic;font-size:15px;letter-spacing:.3px;opacity:.95}
.stat-tag{font-family:'Playfair Display',serif;font-style:italic;font-size:22px;margin-left:24px;text-align:left}

/* clickable service cards */
a.svc{display:block;color:inherit;cursor:pointer}
a.svc .btn{pointer-events:none}

/* photo slots with fallbacks */
.upd-img{background:var(--img) center/cover,linear-gradient(135deg,#dbe5ff,#fff1bf)}
.page-banner{background:var(--pb,none) center/cover,var(--pb2,none) center/cover,linear-gradient(135deg,#1c46b3,#0a2257)}
.sp-logo{position:relative;font-weight:900;letter-spacing:4px}
.sp-logo em{font-style:normal;color:#b9c2d8}
.sp-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.detail-img{background:var(--img) center/cover,linear-gradient(135deg,#1c46b3,#0a2257)}
.about-txt p{text-align:justify}

@media(max-width:1100px){
 .unite{width:120px;top:14px}

 .brand .ta b{font-size:20px}.brand .ta small{font-size:16px}
}
@media(max-width:640px){.unite{display:block;width:90px}.brand img{height:54px}.brand .ta b{font-size:16px}.brand .ta small{font-size:13px}.stat-tag{margin:6px 0 0;text-align:center;width:100%}}

/* ===== v4 ===== */
:root{--title:#1d2a8f}
/* section titles – eyebrow + calm indigo title (like the reference) */
.script{display:inline-flex;align-items:center;gap:12px;font-style:normal;font-weight:600;font-size:15px;letter-spacing:.28em;text-transform:uppercase;color:#e8731c;line-height:1.4}
.script:before{content:"";width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 40% 40%,#ffb347,#f0861c);box-shadow:0 0 0 6px rgba(240,134,28,.16);flex:none}
.script.tag{color:var(--yellow)}
.script.tag:before{background:radial-gradient(circle at 40% 40%,#ffe28a,#ffc107);box-shadow:0 0 0 6px rgba(255,193,7,.25)}
.title,.about-txt h2{color:var(--title);font-weight:500;letter-spacing:-.2px}
.title{font-size:clamp(32px,4.2vw,54px);margin:12px 0 14px;line-height:1.2}
.title span,h2 span{color:inherit}
.about-txt h2{font-size:clamp(30px,3.6vw,48px);margin:12px 0 20px;line-height:1.25}
.sub{color:#555;max-width:640px;margin:0 auto 38px;font-size:17px;line-height:1.9}
.sub.left{margin-left:0;margin-right:0}
.sec-head .sub{margin-bottom:0}
.page-banner h1{font-weight:500;margin-top:10px}
.about-txt p{text-align:left}
.svc h3,.media-card h3,.mcard h3,.upd h3{font-weight:600}

/* stronger shade behind banner text + bigger unite */
.hero{--us:235px}
.hero-shade{background:radial-gradient(ellipse at 24% 58%,rgba(6,24,96,.55),transparent 62%),linear-gradient(90deg,rgba(10,34,120,.93) 0%,rgba(18,48,140,.8) 42%,rgba(31,72,184,.48) 78%,rgba(31,72,184,.32) 100%)}
.hero-in{text-shadow:0 2px 20px rgba(4,16,70,.55)}
.hero-in .btn{text-shadow:none}
.unite{width:var(--us);top:18px;left:2.5%}
.unite-glow{position:absolute;left:2.5%;top:18px;width:var(--us);height:var(--us);border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.26),rgba(255,255,255,0) 68%);z-index:1;animation:glow 6s ease-in-out infinite}
@keyframes glow{0%,100%{opacity:.5}50%{opacity:1}}

/* corner heart (top corner of every page) */
.corner-heart{position:absolute;right:4.5%;top:22px;width:78px;z-index:2;overflow:visible;animation:chFloat 5s ease-in-out infinite;pointer-events:none}
.corner-heart path{fill:none;stroke:var(--yellow);stroke-width:3;stroke-linejoin:round}
.corner-heart .h1{fill:rgba(255,193,7,.14);transform-box:fill-box;transform-origin:center;animation:chBeat 2s ease-in-out infinite}
.corner-heart .h2{stroke:rgba(255,255,255,.7);stroke-width:2;transform-box:fill-box;transform-origin:center;animation:chRing 2s ease-out infinite}
@keyframes chFloat{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(14px) rotate(6deg)}}
@keyframes chBeat{0%,100%{transform:scale(1)}15%{transform:scale(1.14)}30%{transform:scale(1)}45%{transform:scale(1.08)}}
@keyframes chRing{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.7);opacity:0}}

/* services dropdown in main menu */
.menu .dd{position:relative;display:flex;align-items:center;gap:2px}
.menu .dd:before{content:"";position:absolute;left:0;right:0;top:100%;height:44px}
.dd-t{background:none;border:0;font-size:12px;color:#222;cursor:pointer;padding:6px 4px}
.dd-menu{position:absolute;top:calc(100% + 40px);left:-16px;min-width:330px;background:#fff;border:2px solid var(--yellow);border-radius:14px;padding:8px;opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s;box-shadow:0 16px 30px rgba(0,0,0,.14);z-index:70}
.dd:hover .dd-menu{opacity:1;visibility:visible;transform:none}
.menu .dd-menu a{display:block;padding:9px 14px;border-radius:8px;font-size:15px;color:var(--blue);font-weight:500}
.menu .dd-menu a:after{display:none}
.dd-menu a:hover{background:#eef2ff}
.menu .dd-menu a.all{font-weight:700;border-bottom:1px solid var(--bd);border-radius:8px 8px 0 0;margin-bottom:4px}

/* logo intro (box structure) */
.splash{position:fixed;inset:0;z-index:2000;background:#eef1f6;display:grid;place-items:center;animation:splashOut .9s ease 3.1s forwards}
@keyframes splashOut{to{opacity:0;visibility:hidden}}
.splash-box{background:#fff;border:2px solid var(--bd);border-radius:18px;padding:38px 70px 34px;text-align:center;box-shadow:0 24px 60px rgba(11,63,181,.14);animation:boxIn .7s cubic-bezier(.2,.8,.2,1) both}
@keyframes boxIn{from{opacity:0;transform:scale(.92) translateY(14px)}to{opacity:1;transform:none}}
.splash-logo{position:relative;width:120px;height:120px;margin:0 auto 20px;display:grid;place-items:center}
.splash-logo img{width:112px;height:112px;object-fit:contain;animation:logoPop 1s .5s cubic-bezier(.2,.9,.3,1.3) both}
@keyframes logoPop{from{opacity:0;transform:scale(.4) rotate(-20deg)}to{opacity:1;transform:none}}
.sr{position:absolute;inset:0;border-radius:50%;border:2px solid var(--yellow);opacity:0;animation:srPulse 1.5s 1.3s ease-out 2}
.sr.r2{border-color:var(--blue);animation-delay:1.6s}
@keyframes srPulse{0%{transform:scale(.8);opacity:.9}100%{transform:scale(2.1);opacity:0}}
.splash-name b{display:block;font-family:'Noto Sans Tamil','Noto Sans',sans-serif;font-weight:800;font-size:28px;line-height:1.55;color:var(--navy);opacity:0;animation:nameUp .8s 1.1s both}
.splash-name b:nth-child(2){animation-delay:1.3s}
@keyframes nameUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.splash-bar{height:4px;width:0;background:var(--yellow);margin:16px auto 0;border-radius:4px;animation:bar 1.2s 1.7s forwards}
@keyframes bar{to{width:96px}}

@media(max-width:1100px){
 .hero{--us:150px}.corner-heart{width:56px}
 .menu .dd{display:block}.menu .dd:before{display:none}
 .dd-t{position:absolute;right:0;top:6px;font-size:16px}
 .dd-menu{position:static;display:none;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;min-width:0;padding:0 0 6px 14px}
 .dd.open .dd-menu{display:block}
}
@media(max-width:640px){.hero{--us:100px}.splash-box{padding:28px 30px}.splash-name b{font-size:21px}.corner-heart{width:44px}}

/* ===== v5 ===== */
/* logo intro: Tamil first, then slowly turns into English */
.splash{animation:splashOut .9s ease 5.6s forwards}
.splash-name{display:grid;justify-items:center}
.splash-name .nm{grid-area:1/1}
.splash-name b{animation:none;opacity:1;transform:none}
.splash-name .ta-l{opacity:0;animation:nameUp .8s 1.1s both,nameAway 1.4s 3.2s ease forwards}
.splash-name .en-l{opacity:0;animation:enIn 1.6s 3.6s ease forwards}
.splash-name .en-l b{font-family:'Noto Sans',sans-serif;font-weight:700;font-size:30px;letter-spacing:.5px;line-height:1.55;color:var(--navy)}
@keyframes nameAway{from{opacity:1;filter:blur(0)}to{opacity:0;filter:blur(6px);transform:translateY(-8px)}}
@keyframes enIn{from{opacity:0;filter:blur(6px);transform:translateY(10px)}to{opacity:1;filter:blur(0);transform:none}}
.splash-bar{animation:bar 1.2s 4.4s forwards}
@media(max-width:640px){.splash-name .en-l b{font-size:22px}}

/* home banner: darker, calmer so the text reads clearly; animation a little larger */
.hero{--us:260px}
.hero-shade{background:radial-gradient(ellipse at 28% 62%,rgba(3,12,60,.6),transparent 65%),linear-gradient(90deg,rgba(5,18,76,.95) 0%,rgba(9,32,112,.88) 45%,rgba(14,42,130,.68) 80%,rgba(18,48,140,.55) 100%)}
.hero-in{padding-top:calc(var(--us) + 16px);text-shadow:0 2px 6px rgba(2,8,40,.6),0 4px 28px rgba(2,8,40,.7)}
.hero h1{color:#fff}
.unite{filter:drop-shadow(0 3px 8px rgba(0,0,0,.35))}
.unite-glow{background:radial-gradient(circle,rgba(255,255,255,.1),rgba(255,255,255,0) 66%);animation:glow2 6s ease-in-out infinite}
@keyframes glow2{0%,100%{opacity:.25}50%{opacity:.5}}
@media(min-width:1101px){.hero{min-height:00px}}
@media(max-width:1100px){.hero{--us:150px}}
@media(max-width:640px){.hero{--us:100px}}

/* stats strip – same look as the reference, compact */
.stats{background:var(--navy);padding:22px 0}
.stats-in{display:grid;grid-template-columns:repeat(4,1fr) 1.2fr;gap:24px;align-items:start;justify-content:normal}
.stat{min-width:0;padding:0;text-align:left;border:0;border-radius:0;background:none}
.stat b{font-family:'Noto Sans',sans-serif;font-size:34px;font-weight:700;color:#ffa010;line-height:1.1;letter-spacing:.5px}
.stat span{font-family:'Noto Sans',sans-serif;font-style:normal;font-size:14px;font-weight:400;letter-spacing:.2px;color:#fff;opacity:.92;display:block;margin-top:4px}
.stat-tag{font-family:'Noto Sans',sans-serif;font-style:italic;font-size:17px;line-height:1.6;text-align:right;margin:0;align-self:center}
@media(max-width:1100px){.stats-in{grid-template-columns:repeat(2,1fr)}.stat-tag{grid-column:1/-1;text-align:left}}

/* heart: on every page, black on light areas, white over banners/videos */
.corner-heart{--hc:#111;position:fixed;right:26px;top:176px;width:52px;z-index:45;animation:none;transition:.3s}
.corner-heart.light{--hc:#fff}
.corner-heart path{stroke:var(--hc);stroke-width:3}
.corner-heart .h1{fill:var(--hc);stroke:var(--hc);transform-box:fill-box;transform-origin:center;animation:chBeat 2s ease-in-out infinite}
.corner-heart .h2{fill:none;stroke:var(--hc);stroke-width:2}
@media(max-width:1100px){.corner-heart{width:38px;right:14px;top:116px}}

/* ===== v6: banner logo animation sits BEHIND the text, low light ===== */
.hero{--us:min(440px,40vw)}
.unite,.unite-glow{z-index:1}
.unite{left:5%;top:50%;transform:translateY(-50%);width:var(--us);opacity:.3;filter:none}
.unite-glow{left:5%;top:50%;transform:translateY(-50%);width:var(--us);height:var(--us);background:radial-gradient(circle,rgba(255,255,255,.06),rgba(255,255,255,0) 66%);animation:none;opacity:.5}
.hero-in{position:relative;z-index:3;padding-top:60px}
@media(min-width:1101px){.hero{min-height:0}}
@media(max-width:1100px){.hero{--us:min(300px,60vw)}.unite{display:block;bottom:auto;right:auto;top:50%;width:var(--us)}}
@media(max-width:640px){.hero{--us:min(240px,70vw)}.unite{display:block;width:var(--us)}}

/* ===== v7: logo animation moved a little to the left ===== */
.unite,.unite-glow{left:1%}

/* ===== v8: logo animation a little more to the left ===== */
.unite,.unite-glow{left:-3%}

/* ===== v9: logo animation a little more to the left ===== */
.unite,.unite-glow{left:-7%}

/* ===== v10: logo animation more to the left ===== */
.unite,.unite-glow{left:-11%}

/* ===== v11: logo animation moved up to cover the empty top area of the banner ===== */
.unite,.unite-glow{top:0;transform:none}

/* ===== v12: logo animation a little up and a little right (so all three heads show) ===== */
.unite,.unite-glow{left:-5%;top:-5%}

/* ===== v13: photos must be visible – lighter overlay on the photo side ===== */
.hero-shade{background:linear-gradient(90deg,rgba(5,18,76,.9) 0%,rgba(9,32,112,.6) 20%,rgba(14,42,130,.18) 75%,rgba(18,48,140,.05) 100%)}
.page-banner .hero-shade{background:linear-gradient(90deg,rgba(5,18,76,.78) 0%,rgba(9,32,112,.45) 55%,rgba(14,42,130,.12) 100%)}

/* ===== v14 ===== */
/* banner logo animation: three people rise over yellow cupped hands */
.unite .hand{fill:#ffc107;opacity:0;transform-box:fill-box;transform-origin:50% 100%}
.unite .hr{fill:#f5a300}
.unite .hl{animation:handL 6s ease-in-out infinite}
.unite .hr{animation:handR 6s ease-in-out infinite}
@keyframes handL{0%{opacity:0;transform:translate(-46px,34px) rotate(-14deg)}18%,86%{opacity:1;transform:none}100%{opacity:0;transform:translate(-46px,34px) rotate(-14deg)}}
@keyframes handR{0%{opacity:0;transform:translate(46px,34px) rotate(14deg)}18%,86%{opacity:1;transform:none}100%{opacity:0;transform:translate(46px,34px) rotate(14deg)}}
.unite .pp{fill:currentColor;opacity:0;transform-box:fill-box;transform-origin:50% 100%}
.unite .pp .arm{fill:none;stroke:currentColor;stroke-width:8;stroke-linecap:round}
.unite .pa{animation:riseA 6s ease-in-out infinite}
.unite .pc{animation:riseC 6s ease-in-out infinite}
.unite .pb{animation:riseB 6s ease-in-out infinite}
@keyframes riseA{0%,12%{opacity:0;transform:translateY(70px) scale(.5)}30%{opacity:1;transform:translateY(-8px) scale(1.05)}36%,86%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-20px) scale(.8)}}
@keyframes riseC{0%,20%{opacity:0;transform:translateY(80px) scale(.5)}38%{opacity:1;transform:translateY(-10px) scale(1.06)}44%,86%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-20px) scale(.8)}}
@keyframes riseB{0%,28%{opacity:0;transform:translateY(70px) scale(.5)}46%{opacity:1;transform:translateY(-8px) scale(1.05)}52%,86%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-20px) scale(.8)}}

/* corner heart: outline (border line) only */
.corner-heart .h1{fill:none;stroke:var(--hc);stroke-width:4.5}
.corner-heart .h2{fill:none;stroke:var(--hc);stroke-width:2.5;opacity:.7}

/* Watch & Explore – video + gallery cards */
.wx{background:linear-gradient(135deg,#071a47,#0a2257 60%,#0c2a68);color:#fff;padding:90px 0}
.wx-in{display:grid;grid-template-columns:1fr 1.7fr;gap:60px;align-items:center}
.wx-eye{display:flex;align-items:center;gap:14px;font-size:13px;letter-spacing:.32em;color:rgba(255,255,255,.62);margin-bottom:22px}
.wx-eye i{width:34px;height:1px;background:rgba(255,255,255,.5)}
.wx-txt h2{font-size:clamp(34px,4vw,54px);font-weight:400;line-height:1.15;color:#fff;margin-bottom:26px;letter-spacing:-.3px}
.wx-txt p{color:rgba(255,255,255,.62);font-size:17px;line-height:2;max-width:470px}
.wx-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.wx-card{display:block;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.13);border-radius:14px;overflow:hidden;transition:.35s}
.wx-card:hover{transform:translateY(-6px);border-color:rgba(255,193,7,.55);background:rgba(255,255,255,.08)}
.wx-img{position:relative;height:235px;background:var(--img) center/cover,linear-gradient(135deg,#1c46b3,#0a2257)}
.wx-img:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,26,71,.12),rgba(7,26,71,.35))}
.wx-btn{position:absolute;left:50%;top:50%;z-index:2;width:66px;height:66px;margin:-33px 0 0 -33px;border-radius:50%;display:grid;place-items:center;transition:.3s}
.wx-btn svg{width:30px;height:30px;fill:currentColor}
.wx-btn.play{background:#f3f3f3;color:#111}
.wx-btn.pic{background:rgba(214,158,46,.92);color:#fff}
.wx-card:hover .wx-btn{transform:scale(1.1)}
.wx-b{padding:20px 22px 24px}
.wx-b small{display:block;font-size:12px;letter-spacing:.24em;color:rgba(255,255,255,.6);margin-bottom:8px}
.wx-b.gold small{color:#e0a93b}
.wx-b h3{font-size:21px;font-weight:500;color:#fff;margin-bottom:6px;line-height:1.3}
.wx-b p{font-size:14px;color:rgba(255,255,255,.5)}
@media(max-width:1100px){.wx-in{grid-template-columns:1fr;gap:36px}}
@media(max-width:640px){.wx-cards{grid-template-columns:1fr}.wx{padding:60px 0}}

/* v14b: show the whole new logo animation */
.unite,.unite-glow{left:2%;top:-3%}
.unite{opacity:.34}

/* ===== v15: logo animation = real logo (blue cupped hands + 4 people), smaller ===== */
.hero{--us:min(300px,27vw)}
.unite{width:var(--us);left:3%;top:50%;transform:translateY(-50%);opacity:.5;overflow:visible}
.unite-glow{width:var(--us);height:var(--us);left:3%;top:50%;transform:translateY(-50%)}
.unite .hand{fill:#1b66c0;opacity:0;transform-box:fill-box;transform-origin:50% 100%}
.unite .hr{fill:#1b66c0}
.unite .pp{fill:none;opacity:0;transform-box:fill-box;transform-origin:50% 100%}
.unite .pd{animation:riseC 6s ease-in-out infinite}
.unite .pc{animation:riseA 6s ease-in-out infinite}
.unite .pa{animation:riseB 6s ease-in-out infinite}
.unite .pb{animation:riseC 6s .15s ease-in-out infinite}
@media(max-width:1100px){.hero{--us:min(210px,44vw)}.unite,.unite-glow{top:50%;left:2%}}
@media(max-width:640px){.hero{--us:min(150px,42vw)}}

/* ===== v15: premium gold double-line border on every box ===== */
:root{--gold:#c9971c;--gold2:#f3d27a;--gap:#fff}
.mcard,.svc,.sponsor-box,.sp,.media-card,.other a,.about-img,.detail-img,.vid,.gal-i,.upd{
 border:2px solid var(--gold)!important;
 box-shadow:0 0 0 4px var(--gap),0 0 0 5.5px rgba(201,151,28,.7),0 16px 34px rgba(11,63,181,.14)!important}
.sponsor-box{box-shadow:0 0 0 5px var(--gap),0 0 0 7px var(--gold),0 22px 50px rgba(11,63,181,.16)!important}
.mcard,.svc,.upd,.sp,.media-card,.sponsor-box{background-image:linear-gradient(180deg,#fff,#fffaf0)}
.mcard:hover,.svc:hover,.upd:hover,.sp:hover,.media-card:hover,.gal-i:hover,.other a:hover{
 border-color:var(--gold2)!important;
 box-shadow:0 0 0 4px var(--gap),0 0 0 6px var(--gold),0 22px 44px rgba(201,151,28,.28)!important}
.gal-i{border-width:3px!important}
.dd-menu,.act-menu{box-shadow:0 0 0 3px #fff,0 0 0 4.5px var(--gold),0 18px 34px rgba(0,0,0,.18)!important}
.svc-viewport{padding:10px}
.gal{gap:26px}.cards3,.cards4{gap:34px}
.wx-card{border:2px solid var(--gold)!important;box-shadow:0 0 0 4px #0a2257,0 0 0 5.5px rgba(243,210,122,.75),0 18px 36px rgba(0,0,0,.35)}
.wx-card:hover{border-color:var(--gold2)!important}
.stat-tag{position:relative}
.stats .stat{border:0}
.foot-logo{border:2px solid var(--gold);box-shadow:0 0 0 3px #0a2257,0 0 0 4.5px var(--gold2)}
@media(max-width:640px){.mcard,.svc,.upd,.sp,.media-card,.about-img,.vid,.gal-i,.detail-img{box-shadow:0 0 0 3px var(--gap),0 0 0 4.5px rgba(201,151,28,.7),0 10px 22px rgba(11,63,181,.12)!important}}

/* ===== v16 fixes ===== */
/* menus keep their own absolute positioning */
.act-menu,.dd-menu{position:absolute!important}
.act,.dd{position:relative}
/* logo intro: no border, no ring */
.splash-box{border:0!important;box-shadow:0 24px 60px rgba(11,63,181,.14)!important}
/* one short yellow line under every box heading */
.mcard h3:after,.svc h3:after,.upd h3:after,.media-card h3:after,.wx-b h3:after,.other-h:after{content:"";display:block;width:52px;height:3px;border-radius:3px;background:var(--yellow);margin-top:10px}
.mcard h3:after{margin-left:auto;margin-right:auto}

/* ===== v17: logo animation sits in the empty top-left area of the banner (above the tagline) ===== */
.hero{--us:auto}
.unite-glow{display:none!important}
.unite{
 position:absolute;z-index:2;opacity:1;filter:none;
 width:auto;height:clamp(95px,17vh,160px);
 left:calc(max(4%,(100% - 1280px)/2) - 6px);top:18px;transform:none;overflow:visible}
@media(max-width:1100px){.unite{height:clamp(80px,13vh,120px);left:calc(4% - 6px);top:12px}}
@media(max-width:640px){.unite{display:block;height:80px;width:auto;top:10px}}

/* ===== v17: ONE yellow border line on every box (no double line) ===== */
.mcard,.svc,.upd,.sponsor-box,.sp,.media-card,.other a,.about-img,.detail-img,.vid,.gal-i{
 border:2px solid var(--yellow)!important;
 box-shadow:0 10px 26px rgba(11,63,181,.10)!important}
.gal-i{border-width:3px!important}
.mcard:hover,.svc:hover,.upd:hover,.sp:hover,.media-card:hover,.gal-i:hover,.other a:hover{
 border-color:var(--yellow)!important;
 box-shadow:0 18px 38px rgba(255,193,7,.28)!important}
.wx-card{border:2px solid var(--yellow)!important;box-shadow:0 18px 36px rgba(0,0,0,.35)!important}
.wx-card:hover{border-color:var(--yellow)!important}
.dd-menu,.act-menu{border:2px solid var(--yellow)!important;box-shadow:0 16px 30px rgba(0,0,0,.16)!important}
.foot-logo{border:2px solid var(--yellow);box-shadow:none}
@media(max-width:640px){.mcard,.svc,.upd,.sp,.media-card,.about-img,.vid,.gal-i,.detail-img{box-shadow:0 8px 18px rgba(11,63,181,.10)!important}}

/* ===== v18: logo animation behind the banner text, starting at the top-left spot ===== */
.unite{z-index:1;opacity:.5;height:clamp(230px,40vh,380px);width:auto;top:14px;
 left:calc(max(4%,(100% - 1280px)/2) - 10px)}
.hero-in{z-index:3}
@media(max-width:1100px){.unite{height:clamp(180px,30vh,260px);top:12px;left:calc(4% - 10px)}}
@media(max-width:640px){.unite{height:150px;top:10px}}

/* ===== v19: logo moved left and a little up ===== */
@media(min-width:1101px){.unite{left:calc(max(4%,(100% - 1280px)/2) - 72px);top:2px}}
@media(max-width:1100px){.unite{left:calc(4% - 30px);top:0}}
/* ===== v20: banner shade blue -> grey ===== */
/* .hero-shade{background:linear-gradient(90deg,rgba(40,40,40,.88) 0%,rgba(70,70,70,.58) 40%,rgba(100,100,100,.18) 75%,rgba(120,120,120,.05) 100%)}
.page-banner .hero-shade{background:linear-gradient(90deg,rgba(40,40,40,.78) 0%,rgba(70,70,70,.45) 55%,rgba(100,100,100,.12) 100%)} */
/* ===== v22: unite animation size ===== */
.unite{height:300px!important;width:300px!important}
@media(max-width:1100px){.unite{height:200px!important;width:200px!important}}
@media(max-width:640px){.unite{height:130px!important;width:130px!important}}
/* ===== v23: show intro only first time ===== */
html.no-intro .splash{display:none!important}
/* ===== v25: heart size ===== */
/* .corner-heart{width:70px!important;height:70px!important}
@media(max-width:1100px){.corner-heart{width:50px!important;height:50px!important}} */
/* ===== v26: menu closer to logo ===== */
.brand img{height:70px;width:auto}
.navbar .menu{margin-left:48px;margin-right:auto}
@media(max-width:1100px){.navbar .menu{margin-left:0}}
/* ===== v27: mobile donate strip + banner fixes ===== */
.donate-top{display:none}
@media(max-width:1100px){
  .donate-top{display:block;background:var(--yellow);color:#111;text-align:center;font-weight:800;font-size:15px;padding:8px 10px;letter-spacing:.3px}
  .donate-block{display:none}
  .navbar{padding-right:4%}
}
@media(max-width:640px){
  .hero .script{font-size:12px;letter-spacing:.12em}
  .hero h1{font-size:clamp(34px,10vw,48px)}
  .hero-btns{gap:12px;flex-wrap:nowrap}
  .hero-btns .btn{padding:13px 18px;font-size:14px;white-space:nowrap;flex:1;text-align:center}
}
/* ===== v28: mobile banner ===== */
@media(max-width:640px){
  .hero{height:auto;min-height:600px}
  .slide{background-position:60% center}
  .unite{height:90px!important;width:90px!important;top:10px;left:4%;opacity:.6}
  .hero-in{padding-top:110px;padding-bottom:40px}
}
/* ===== v29: Donate Now inside the menu (phones only) ===== */
.menu .menu-donate{display:none}
@media(max-width:640px){
  .menu .menu-donate{display:block;background:var(--yellow);color:#111;font-weight:800;text-align:center;border-radius:40px;padding:12px 20px;margin:14px 0 8px;border-bottom:0}
  .menu .menu-donate:after{display:none}
  .donate-block{display:none}
}
/* ===== v31: emblem logo beside name logo ===== */
.brand{gap:14px}
.brand img.emblem{height:84px;width:auto}
.navbar.shrink .brand img.emblem{height:64px}
@media(max-width:640px){.brand img.emblem{height:50px}}
/* ===== v32: emblem + name logo alignment ===== */
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:70px;width:auto;display:block}
.brand img.emblem{height:80px;width:auto}
.navbar.shrink .brand img{height:48px}
.navbar.shrink .brand img.emblem{height:62px}
.navbar .menu{margin-left:40px;margin-right:auto}
@media(max-width:1100px){.navbar .menu{margin-left:0}}
@media(max-width:640px){
  .brand{gap:8px}
  .brand img{height:38px}
  .brand img.emblem{height:48px}
}
/* ===== v33: footer logo ===== */
.foot-logo{display:inline-flex;align-items:center;gap:10px;padding:12px 20px}
.foot-logo img{height:50px;width:auto;display:block}
.foot-logo img.emblem{height:66px}
@media(max-width:640px){
  .foot-logo img{height:40px}
  .foot-logo img.emblem{height:52px}
}
/* ===== v34: footer logo box, same curve on all four sides ===== */
.foot-logo{border-radius:24px}
/* ===== v36: banner heading always animates in ===== */
.hero h1 .ln{opacity:0;animation:rise .9s cubic-bezier(.2,.8,.2,1) .1s forwards}
.hero h1 .ln:nth-child(2){animation-delay:.3s}
.hero h1 .ln:nth-child(3){animation-delay:.5s}

/* ===== v37: home banner size ===== */

/* HEIGHT: one number per screen size */
.hero{ --hh:670px; height:var(--hh)!important; min-height:0!important; }
@media (max-width:1100px){ .hero{ --hh:640px; } }   /* tablet */
@media (max-width:640px){  .hero{ --hh:600px; } }   /* phone */

/* WIDTH: full width by default. Uncomment for a boxed banner. */
/* .hero{ max-width:1400px; margin:20px auto; border-radius:24px; } */

/* WIDTH OF THE TEXT AREA INSIDE THE BANNER (heading + buttons) */
.hero-in{ width:min(1280px,92%); }   /* smaller number = text sits closer together */

/* HOW THE PHOTO FITS */
.slide{ background-size:cover; background-position:center; }   /* fills the banner and crops edges */
/* .slide{ background-size:contain; background-repeat:no-repeat; background-color:#0a2257; } */  /* shows the whole photo, with dark blue bars */
/* .slide{ background-position:center top; } */   /* keeps the top of the photo, such as heads */

/* optional: less zoom, so less of the photo is cut off */
@keyframes kb{ from{transform:scale(1)} to{transform:scale(1.03)} }
/* ===== v39: intro = logo centered, name below, full white screen, no box ===== */
.splash{background:#fff!important}

.splash-box{
  background:none!important;border:0!important;box-shadow:none!important;
  padding:0!important;border-radius:0!important;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:22px;text-align:center;
  animation:none;
}

/* logo in the center, round */
.splash-logo{width:170px;height:170px;margin:0 auto;flex:none}
.splash-logo img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.sr{display:none!important}

/* name below the logo, centered */
.splash-name{justify-items:center;text-align:center}
.splash-name b,
.splash-name .en-l b{text-align:center;color:var(--blue);font-size:38px;line-height:1.5}
.splash-bar{display:none}

@media(max-width:640px){
  .splash-logo{width:120px;height:120px}
  .splash-name b,.splash-name .en-l b{font-size:26px}
}
/* ===== v40: intro shows the header logo ===== */
.splash{background:#fff!important}
.splash-box{
  background:none!important;border:0!important;box-shadow:none!important;
  padding:0!important;animation:none;
  display:flex;align-items:center;justify-content:center;gap:20px;
}
.sp-emblem{height:130px;width:auto;opacity:0;animation:logoPop 1s .9s cubic-bezier(.2,.9,.3,1.3) both}
.sp-name{height:110px;width:auto;opacity:0;animation:nameUp .3s .3s both}
@media(max-width:640px){
  .splash-box{flex-direction:column;gap:12px}
  .sp-emblem{height:90px}
  .sp-name{height:70px}
}
/* ===== v41: shorter intro ===== */
.splash{animation:splashOut .6s ease 3.0s forwards!important}
/* ===== v43: banner text alignment ===== */

/* show only the text of the active photo */
.hc{display:none}
.hc.on{display:block}

/* keep the text block centered and on the left */
.hero-in{justify-content:center;padding-top:30px;padding-bottom:30px}

/* heading: a little smaller, each line stays on one line */
.hero h1{
  font-size:clamp(34px,4.6vw,64px);
  line-height:1.2;
  margin:12px 0 34px;
}
.hero h1 .ln{white-space:nowrap}

/* show the yellow word (it was hidden before) */
.hero h1 .ln>*{opacity:1!important}

/* small title above the heading */
.hero .script.tag{margin-bottom:6px}

/* phone: let lines wrap */
@media(max-width:640px){
  .hero h1{font-size:clamp(28px,8vw,40px)}
  .hero h1 .ln{white-space:normal}
}
/* ===== v44: auto-scrolling sponsors ===== */
.sp-marq{
  overflow:hidden;padding:14px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
}
.sp-track{display:flex;width:max-content;animation:spScroll 28s linear infinite}
.sp-track .sp{flex:0 0 300px;margin-right:30px}
@keyframes spScroll{to{transform:translateX(-50%)}}
@media(max-width:640px){.sp-track .sp{flex-basis:230px;margin-right:20px}}
@media(prefers-reduced-motion:reduce){.sp-track{animation:none}}
/* ===== v49: mobile banner – text up under the animation, buttons stacked ===== */
@media(max-width:640px){
  .hero{--hh:490px}

  /* text starts right under the logo animation */
  .hero-in{
    justify-content:flex-start!important;
    padding-top:98px!important;
    padding-bottom:20px!important;
  }

  /* soft shade behind the text at the top, clear photo at the bottom */
  .hero-shade{
    background:linear-gradient(180deg,
      rgba(5,18,76,.55) 0%,
      rgba(5,18,76,.50) 45%,
      rgba(5,18,76,.10) 75%,
      rgba(5,18,76,0) 100%)!important;
  }

  .hero .script.tag{font-size:12px;letter-spacing:.08em}
  .hero h1{font-size:clamp(26px,7.4vw,32px);line-height:1.2;margin:6px 0 18px}

  /* buttons stacked: first as plain text link, Donate Now as yellow pill below */
  .hero .hero-btns{
    display:flex;flex-direction:column;align-items:flex-start;
    flex-wrap:nowrap;gap:14px;width:auto;
  }
  .hero .hero-btns .btn{flex:0 0 auto;width:auto;white-space:nowrap}
  .hero .hero-btns .btn.ghost{
    background:none;backdrop-filter:none;border:0;
    padding:0;font-size:16px;font-weight:600;color:#fff;
  }
  .hero .hero-btns .btn.yellow{padding:14px 34px;font-size:16px}
}
/* ===== v50: mobile top bar tidy + hero buttons like "Know More" ===== */
@media(max-width:640px){

  /* top bar: one clean row – phone and location on the left, social icons on the right */
  .topbar-in{width:94%;padding:7px 0;gap:10px;flex-wrap:nowrap;align-items:center}
  .topbar-l{flex-direction:row!important;align-items:center;gap:10px}
  .topbar-l>a{padding:0!important;border:0!important;gap:8px;font-size:13px}
  .topbar-r{padding:0;border:0;gap:6px;flex:none}
  .ci,.so{width:30px;height:30px;font-size:13px}

  /* banner buttons: same look as the "Know More" button in About Us */
  .hero .hero-btns{flex-direction:column;align-items:flex-start;gap:14px}
  .hero .hero-btns .btn{
    min-width:200px;width:auto;text-align:center;
    padding:14px 34px;font-size:16px;font-weight:800;
    border:2px solid transparent;
  }
  /* ===== v51: smaller Donate Now button on the phone banner ===== */
@media(max-width:640px){
  .hero .hero-btns .btn.yellow{
    min-width:0;
    padding:9px 22px;
    font-size:14px;
  }
}
/* ===== v52: mobile banner – first button as a plain text link, like the reference ===== */
@media(max-width:640px){

  /* plain white text with arrow, lined up with the heading on the left */
  .hero .hero-btns .btn.ghost{
    background:none!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    min-width:0!important;
    padding:0!important;
    text-align:left!important;
    font-size:17px;
    font-weight:600;
    color:#fff;
  }

  /* Donate Now stays a small yellow pill below it */
  .hero .hero-btns .btn.yellow{
    min-width:0;
    padding:10px 24px;
    font-size:15px;
  }

  .hero .hero-btns{align-items:flex-start;gap:18px}
}
/* ===== v53: smaller welcome message bar ===== */
.ticker{padding:10px 0;font-size:17px}

@media(max-width:640px){
  .ticker{padding:7px 0;font-size:14px;line-height:1.4}
}

/* ===== forms + info cards used by the separate pages (contact / donate / join) ===== */
.form-box{background:#fff;border:2px solid var(--bd);border-radius:30px;padding:48px;box-shadow:0 12px 36px rgba(11,63,181,.1);max-width:820px;margin:0 auto}
.form-box h2{color:var(--title,#1d2a8f);font-weight:500;font-size:clamp(26px,3vw,38px);margin:10px 0 24px;line-height:1.25}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.fgrid .full{grid-column:1/-1}
.fld label{display:block;font-weight:600;color:var(--blue);margin-bottom:6px;font-size:15px}
.fld input,.fld select,.fld textarea{width:100%;padding:13px 16px;border:2px solid var(--bd);border-radius:14px;font:inherit;font-size:16px;color:#222;background:#fafafa;transition:.3s}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:0;border-color:var(--yellow);background:#fff}
.fld textarea{min-height:130px;resize:vertical}
.hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.f-msg{padding:14px 18px;border-radius:14px;margin-bottom:20px;font-weight:600}
.f-msg.ok{background:#eaf7ee;border:2px solid #7cc58f;color:#1f6b36}
.f-msg.err{background:#fdecec;border:2px solid #e59a9a;color:#9a2b2b}
.info-card{text-align:center}
.info-card .mic{margin-bottom:20px}
.info-card p,.info-card a{font-size:18px;word-break:break-word}
.don-list{list-style:none;text-align:left;margin:6px 0 0}
.don-list li{padding:9px 0;border-bottom:1px solid var(--bd);font-size:17px;display:flex;justify-content:space-between;gap:16px}
.don-list li:last-child{border-bottom:0}
.don-list b{color:var(--blue)}
@media(max-width:768px){.fgrid{grid-template-columns:1fr}.form-box{padding:28px 22px}}
/* ===== v54: mobile banner – no shade, text stays, photo moved a little right ===== */
@media(max-width:640px){

  /* remove the shade only */
  .hero-shade{
    background:none!important;
  }

  /* text and buttons stay visible */
  .hero-in{display:flex!important}

  /* photo moved a little to the right, no zoom */
  .slide{
    background-size:cover!important;
    background-position:35% center!important;
  }
  .slide.active{animation:none!important}

  /* no shade, so a text shadow keeps the white text readable */
  .hero-in{
    text-shadow:0 1px 3px rgba(0,0,0,.85),0 2px 14px rgba(0,0,0,.6);
  }
}

/* ===== MOBILE HOME BANNER: separate photos for phones (set in includes/data.php -> 'hero_mobile') ===== */
@media(max-width:768px){
  .slide{
    background:var(--bg-m,var(--bg)) center/cover no-repeat,linear-gradient(135deg,#1c46b3,#0a2257);
  }
}
}
/* ===== v57: phones – shade only at the bottom of the banner ===== */
@media(max-width:768px){
  .hero-shade{
    background:linear-gradient(0deg,
      rgba(5,18,76,.85) 0%,
      rgba(5,18,76,.55) 25%,
      rgba(5,18,76,0) 55%)!important;
  }
}
/* ===== v58: smaller Donate Now button on phones ===== */
@media(max-width:768px){
  .hero .hero-btns .btn.yellow{
    width:auto!important;
    min-width:0!important;
    padding:9px 22px!important;
    font-size:14px!important;
  }
}
 /* ===== home banner: "Services" button = light white, transparent (desktop / tablet) ===== */
@media(min-width:769px){
  .hero .hero-btns .btn.ghost{
    background:rgba(255,255,255,.28)!important;     /* light white. smaller number = more transparent, bigger = whiter */
    color:#fff!important;
    border:1.5px solid rgba(255,255,255,.6)!important;
    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);                      /* frosted glass look. delete these two lines for no blur */
    opacity:1!important;
  }
}
/* ===== home banner: "Services" button = light white, transparent (phones) ===== */
@media(max-width:768px){
  .hero .hero-btns .btn.ghost{
    background:rgba(255,255,255,.28)!important;     /* light white. smaller number = more transparent */
    color:#fff!important;
    border:1.5px solid rgba(255,255,255,.6)!important;
    -webkit-backdrop-filter:blur(6px)!important;
    backdrop-filter:blur(6px)!important;
    box-shadow:none!important;
    padding:10px 24px!important;                    /* same size as the yellow button */
    min-width:0!important;
    width:auto!important;
    text-align:center!important;
    font-size:15px!important;
    font-weight:700!important;
  }
}
/* ===== phones: smaller yellow "View All Services" button (English + Tamil) ===== */
@media(max-width:768px){
  .btn.yellow.shine-btn{
    display:block!important;
    width:fit-content!important;       /* only as wide as its text */
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:10px 26px!important;       /* smaller = a smaller button */
    font-size:15px!important;          /* smaller = smaller text */
    line-height:1.5!important;
    text-align:center!important;
  }
}
.other a.active{
  background:#fff8e1;
  border-color:#f5b400;
  box-shadow:0 0 0 2px #f5b40033;
}