
:root{
 --ink:#122033;--muted:#637487;--navy:#06192f;--navy2:#0d3357;--navy3:#145781;
 --gold:#efbd4e;--teal:#3eb9bb;--sea:#9fe0e0;--paper:#f6f8f9;--cream:#fbf7ed;
 --white:#fff;--line:#dde5ec;--shadow:0 22px 60px rgba(6,25,47,.13);
 --r:24px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
.container{width:min(1200px,calc(100% - 48px));margin:auto}
.topbar{background:var(--navy);color:#d8e6ef;font-size:15px}
.topbar .container{height:44px;display:flex;align-items:center;justify-content:space-between}
.header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid #e8edf2}
.brandline{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:14px;min-width:250px}
.brandmark{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,var(--navy),var(--navy3));color:#fff;font-weight:900;box-shadow:0 8px 24px rgba(6,25,47,.2)}
.brand strong{display:block;font-family:Georgia,serif;font-size:28px;color:var(--navy);line-height:1}
.brand small{display:block;margin-top:6px;font-size:9px;color:#7890a5;letter-spacing:2px}
.headfacts{display:flex;gap:34px}
.headfacts small{display:block;color:#91a0af;font-size:9px;letter-spacing:1.2px;text-transform:uppercase}
.headfacts strong{display:block;margin-top:4px;font-size:13px;color:#20384e}
.navbar{border-top:1px solid #eef2f5}
.nav{display:grid;grid-template-columns:repeat(8,1fr)}
.nav a{min-height:52px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;font-weight:750;color:#30455a;border-right:1px solid #eef2f5;position:relative;padding:0 7px;white-space:nowrap}
.nav a:first-child{border-left:1px solid #eef2f5}
.nav a:hover,.nav a.active{background:#fffaf0;color:#8b6200}
.nav a.active:after{content:"";position:absolute;bottom:0;height:3px;left:22%;right:22%;background:var(--gold);border-radius:3px 3px 0 0}
.toggle{display:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--navy);color:#fff;font-size:22px}

/* hero */
.hero,.pagehero,.footer{position:relative;overflow:hidden;background:var(--navy);color:#fff}
.video-bg{position:absolute;inset:0;overflow:hidden}
.video-bg iframe{position:absolute;width:177.78vh;min-width:100%;height:56.25vw;min-height:100%;left:50%;top:50%;transform:translate(-50%,-50%);border:0;pointer-events:none}
.hero-fallback,.page-fallback{position:absolute;inset:0;background-size:cover;background-position:center}
.hero-shade,.page-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,17,34,.94),rgba(3,17,34,.75) 46%,rgba(3,17,34,.28) 78%,rgba(3,17,34,.18))}
.hero{min-height:650px}
.hero .container{position:relative;z-index:3;min-height:650px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:40px;padding:74px 0 110px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase}
.eyebrow:before{content:"";width:28px;height:2px;background:var(--gold)}
.hero h1{font-family:Georgia,serif;font-size:82px;line-height:.94;letter-spacing:-1.5px;margin:18px 0 20px}
.hero h1 em{font-weight:400;color:var(--gold)}
.hero .lead{max-width:650px;color:#e4eef5;font-size:18px;line-height:1.72}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;border-radius:999px;font-size:13px;font-weight:800;border:0;cursor:pointer;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn-gold{background:var(--gold);color:#17263a;box-shadow:0 10px 28px rgba(239,189,78,.2)}
.btn-ghost{border:1px solid rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.07)}
.hero-side{justify-self:end;align-self:end;margin-bottom:20px;width:320px;padding:22px;border-radius:22px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(9px)}
.hero-side small{font-size:10px;letter-spacing:1.4px;color:#c7d8e5}
.hero-side strong{display:block;margin:8px 0;font-family:Georgia,serif;font-size:30px}
.hero-side p{font-size:13px;color:#e3edf4;margin:0}
.hero-bottom{position:absolute;z-index:5;left:0;right:0;bottom:0;background:rgba(3,17,34,.68);border-top:1px solid rgba(255,255,255,.13);backdrop-filter:blur(8px)}
.hero-bottom .container{min-height:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:0}
.hero-stat{padding:18px 20px;border-right:1px solid rgba(255,255,255,.12)}
.hero-stat:last-child{border:0}
.hero-stat small{display:block;color:#9fb2c3;font-size:9px;letter-spacing:1.3px;text-transform:uppercase}
.hero-stat strong{display:block;margin-top:4px;font-size:14px}

/* common */
.section{padding:86px 0}
.alt{background:linear-gradient(180deg,#f8fafb,#f1f6f7)}
.darksec{background:linear-gradient(145deg,#061a31,#103d64);color:#fff}
.heading{margin-bottom:32px}
.heading h2{font-family:Georgia,serif;font-size:49px;line-height:1.06;color:var(--navy);margin:9px 0 12px}
.heading p{max-width:780px;color:var(--muted);margin:0;line-height:1.75}
.darksec .heading h2{color:#fff}.darksec .heading p{color:#c5d5e1}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 12px 34px rgba(6,25,47,.055)}
.card h3{font-family:Georgia,serif;font-size:24px;color:var(--navy);margin:0 0 9px}
.card p{color:var(--muted);line-height:1.7;margin:0}
.card-image{position:relative;min-height:250px;border-radius:20px;overflow:hidden;background-size:cover;background-position:center;color:#fff;box-shadow:0 14px 36px rgba(6,25,47,.12)}
.card-image:before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(3,17,34,.9))}
.card-image .in{position:absolute;z-index:2;left:22px;right:22px;bottom:20px}
.card-image h3{font-family:Georgia,serif;font-size:28px;margin:5px 0}
.card-image p{margin:0;color:#e4edf4;font-size:13px}
.card-image small{font-size:9px;letter-spacing:1.3px;text-transform:uppercase}
.pill{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eef6f7;color:#17686d;font-size:11px;font-weight:800}
.list{display:grid;gap:10px}
.list div{padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:13px}
.list div:before{content:"•";color:var(--gold);font-size:20px;margin-right:8px}
.strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.strip>div{padding:18px;border-radius:16px;background:#eef4f6;border:1px solid #e2e9ee}
.strip strong{display:block;color:var(--navy);font-size:14px}
.strip span{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.5}

/* countdown */
.countdown{position:relative;z-index:7;margin-top:-34px}
.countdown-box{display:grid;grid-template-columns:1.4fr repeat(4,.65fr);background:#fff;border:1px solid rgba(6,25,47,.08);box-shadow:var(--shadow);border-radius:20px;overflow:hidden}
.countdown-box>div{min-height:98px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:18px}
.countdown-box>div:last-child{border:0}
.countdown-box .ctitle{align-items:flex-start;background:linear-gradient(135deg,#fff8e7,#fff)}
.countdown-box strong{font-size:29px;color:var(--navy)}
.countdown-box small{font-size:9px;text-transform:uppercase;letter-spacing:1.3px;color:#8090a0}

/* video tiles */
.video-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:18px}
.video-main{min-height:420px;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#04172c}
.video-main iframe{display:block;width:100%;height:420px;border:0}
.video-stack{display:grid;grid-template-rows:1fr 1fr;gap:16px}
.video-card{position:relative;border-radius:20px;overflow:hidden;min-height:200px;background-size:cover;background-position:center;color:#fff}
.video-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(3,17,34,.9))}
.video-card .in{position:absolute;z-index:2;left:20px;right:20px;bottom:18px}
.video-card strong{display:block;font-family:Georgia,serif;font-size:23px}.video-card small{color:#dce8f0}

/* home panels */
.experience{background:linear-gradient(145deg,#061a31,#11446c);color:#fff;border-radius:26px;padding:32px;box-shadow:var(--shadow)}
.experience h2{font-family:Georgia,serif;font-size:40px;margin:8px 0 20px}
.bullets{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bullets div{padding:13px 14px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.07);font-size:13px;font-weight:700}
.bullets div:before{content:"•";color:var(--gold);font-size:20px;margin-right:8px}
.welcome{background:#fff;border:1px solid var(--line);border-radius:26px;padding:32px;box-shadow:var(--shadow)}
.welcome h3{font-family:Georgia,serif;font-size:31px;color:var(--navy);margin:0 0 14px}
.welcome p{color:#485d71;line-height:1.75}

/* page hero */
.pagehero{min-height:360px}
.pagehero .container{position:relative;z-index:3;padding:76px 0}
.pagehero h1{font-family:Georgia,serif;font-size:57px;line-height:1;margin:10px 0 13px}
.pagehero p{max-width:760px;color:#e1ebf3;line-height:1.72;margin:0}
.pagehero .quick{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.pagehero .quick span{font-size:11px;padding:8px 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08)}

/* committee */
.person{overflow:hidden;padding:0}
.person-photo{height:205px;background:linear-gradient(145deg,#dfe7ee,#f7f9fa);display:grid;place-items:center;color:#8697a8;font-weight:800;font-size:12px}
.person-body{padding:18px}
.person small{font-size:9px;letter-spacing:1.2px;color:#8495a6;text-transform:uppercase}
.person h3{font-family:"Segoe UI",Arial,sans-serif;font-size:16px;margin:6px 0;color:var(--navy)}
.committee-map{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.committee-map .card{min-height:150px}
.committee-map b{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eef6f7;color:#16747a;margin-bottom:12px}

/* registration */
.price-highlights{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:-35px;position:relative;z-index:5}
.price-highlights .card{padding:18px}
.price-highlights strong{font-family:Georgia,serif;font-size:22px;color:var(--navy)}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(6,25,47,.06)}
table{width:100%;min-width:1080px;border-collapse:collapse}
th,td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 10px;text-align:center;font-size:12px}
thead tr:first-child th{background:var(--navy);color:#fff;text-transform:uppercase;font-size:10px;letter-spacing:.5px}
thead tr:nth-child(2) th{background:#edf3f6;color:#29425a}
th:first-child,td:first-child{text-align:left;font-weight:800}
.form{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:0 12px 32px rgba(6,25,47,.06)}
label span{display:block;margin-bottom:6px;font-size:11px;font-weight:800;color:#3d5165}
input,select,textarea{width:100%;padding:12px;border:1px solid #ccd7e0;border-radius:10px;outline:none;background:#fff}
input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(62,185,187,.1)}
.wide{grid-column:1/-1}
.notice{padding:14px 16px;background:#fff6d5;border:1px solid #ead376;border-radius:12px;color:#614f17;font-size:13px;margin-bottom:16px}
.faq{display:grid;gap:10px}
.faq details{border:1px solid var(--line);border-radius:13px;background:#fff;padding:15px}
.faq summary{font-weight:800;color:var(--navy);cursor:pointer;font-size:13px}
.faq p{font-size:13px;color:var(--muted);line-height:1.65}

/* science timeline */
.days{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.day{border-radius:22px;padding:26px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 32px rgba(6,25,47,.05)}
.day .num{font-family:Georgia,serif;font-size:54px;color:#dbe5eb;line-height:1}
.day h3{font-family:Georgia,serif;color:var(--navy);font-size:25px;margin:5px 0}
.day ul{padding-left:18px;color:var(--muted);line-height:1.8;font-size:13px}
.format-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.format{position:relative;min-height:220px;border-radius:18px;overflow:hidden;background-size:cover;background-position:center;color:#fff;padding:20px;display:flex;align-items:flex-end}
.format:before{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(3,17,34,.9))}
.format .in{position:relative;z-index:2}
.format h3{font-family:Georgia,serif;margin:4px 0;font-size:22px}
.format p{font-size:12px;color:#e2ebf2;margin:0}

/* submissions */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.step{padding:22px;border-radius:18px;background:#fff;border:1px solid var(--line)}
.step b{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--navy);color:#fff;margin-bottom:13px}
.step strong{display:block;color:var(--navy);margin-bottom:6px}.step p{font-size:12px;color:var(--muted);margin:0}
.deadline{background:linear-gradient(135deg,#fff7df,#fff);border:1px solid #edda9d;border-radius:22px;padding:26px}

/* venue */
.tour-grid{display:grid;grid-template-columns:1.15fr .85fr .85fr;grid-auto-rows:270px;gap:16px}
.tour{position:relative;border-radius:22px;overflow:hidden;background-size:cover;background-position:center;color:#fff;box-shadow:0 12px 34px rgba(6,25,47,.1)}
.tour:first-child{grid-row:span 2}
.tour:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 30%,rgba(3,17,34,.91))}
.tour .in{position:absolute;z-index:2;left:20px;right:20px;bottom:18px}
.tour h3{font-family:Georgia,serif;font-size:27px;margin:5px 0}.tour p{font-size:12px;color:#e1eaf1;margin:0}
.travel{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.travel .card b{font-size:22px}.travel .card strong{display:block;color:var(--navy);margin:8px 0 5px}.travel .card span{font-size:12px;color:var(--muted)}

/* footer video */
.footer{min-height:500px}
.footer .video-bg{opacity:.33}
.footer-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,17,34,.98),rgba(3,17,34,.88))}
.footer .container{position:relative;z-index:3;padding:62px 0 22px}
.footer-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:28px;margin-bottom:32px;border-bottom:1px solid rgba(255,255,255,.15)}
.footer-cta h2{font-family:Georgia,serif;font-size:36px;margin:0}.footer-cta p{margin:6px 0 0;color:#b9cad7}
.footer-grid{display:grid;grid-template-columns:1.45fr repeat(3,1fr);gap:36px}
.footer h3{font-family:Georgia,serif;font-size:29px;margin:0 0 12px}
.footer p{color:#aebfcd;line-height:1.7}
.footer small{font-size:9px;letter-spacing:1.3px;color:#7890a3}
.footer a{display:block;margin:9px 0;color:#d9e5ee;font-size:12px}
.footer a:hover{color:var(--gold)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.13);margin-top:30px;padding-top:18px;color:#7890a3;font-size:11px}

/* responsive */
@media(max-width:1050px){
 .headfacts{display:none}.nav a{font-size:11px}
 .grid4,.format-grid{grid-template-columns:repeat(2,1fr)}
 .committee-map,.grid3,.days{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
 .container{width:min(100% - 32px,1200px)}
 .brandline{height:72px}.toggle{display:block}.navbar{display:none}.navbar.open{display:block}
 .nav{grid-template-columns:1fr 1fr;padding:8px 0}
 .nav a{min-height:44px;margin:3px;border:1px solid #edf1f4!important;border-radius:10px;white-space:normal}
 .hero .container{grid-template-columns:1fr}.hero-side{display:none}.hero h1{font-size:61px}
 .hero-bottom .container{grid-template-columns:1fr 1fr}.hero-stat:nth-child(2){border-right:0}
 .countdown-box{grid-template-columns:1fr 1fr}.countdown-box .ctitle{grid-column:1/-1}
 .grid2,.video-grid{grid-template-columns:1fr}
 .grid4,.grid3,.committee-map,.days,.price-highlights,.steps,.travel{grid-template-columns:1fr 1fr}
 .tour-grid{grid-template-columns:1fr 1fr}.tour:first-child{grid-column:1/-1;grid-row:auto}
 .footer-grid{grid-template-columns:1fr 1fr}.footer-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:600px){
 .container{width:min(100% - 22px,1200px)}.topbar .container{justify-content:center}.topbar span:last-child{display:none}
 .brandmark{width:46px;height:46px}.brand strong{font-size:22px}.brand small{font-size:8px}
 .nav{grid-template-columns:1fr}
 .hero{min-height:610px}.hero .container{min-height:610px;padding:55px 0 150px}.hero h1{font-size:46px}.hero .lead{font-size:15px}
 .hero-bottom .container{grid-template-columns:1fr 1fr}.hero-stat{padding:12px}
 .section{padding:62px 0}.heading h2,.pagehero h1{font-size:38px}
 .grid2,.grid3,.grid4,.committee-map,.days,.format-grid,.price-highlights,.steps,.travel,.footer-grid,.form,.tour-grid{grid-template-columns:1fr}
 .wide{grid-column:auto}.tour:first-child{grid-column:auto}
 .video-main,.video-main iframe{min-height:240px;height:240px}.video-stack{grid-template-columns:1fr;grid-template-rows:auto}
 .bullets{grid-template-columns:1fr}.strip{grid-template-columns:1fr 1fr}
 .footer-bottom{flex-direction:column}
}


/* --- FIXED MEDIA SYSTEM: no YouTube iframe backgrounds --- */
.media-slider{position:absolute;inset:0;overflow:hidden}
.media-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.04);transition:opacity 1s ease,transform 7s ease}
.media-slide.active{opacity:1;transform:scale(1)}
.media-shade{position:absolute;inset:0;background:
linear-gradient(90deg,rgba(3,17,34,.94),rgba(3,17,34,.73) 46%,rgba(3,17,34,.30) 78%,rgba(3,17,34,.18)),
linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.15))}
.media-dots{position:absolute;z-index:6;left:max(24px,calc((100vw - 1200px)/2));bottom:132px;display:flex;gap:8px}
.media-dots button{width:9px;height:9px;border:0;border-radius:999px;background:rgba(255,255,255,.45);padding:0;cursor:pointer}
.media-dots button.active{width:30px;background:var(--gold)}

.video-link-card{position:relative;border-radius:24px;overflow:hidden;min-height:420px;background-size:cover;background-position:center;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;color:#fff}
.video-link-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(3,17,34,.78),rgba(3,17,34,.45))}
.video-link-inner{position:relative;z-index:2;text-align:center;max-width:560px;padding:30px}
.video-link-inner .play{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--navy);font-size:28px;margin:0 auto 18px;box-shadow:0 10px 30px rgba(0,0,0,.22)}
.video-link-inner h3{font-family:Georgia,serif;font-size:32px;margin:0 0 9px}
.video-link-inner p{color:#e2ebf2;margin:0 0 18px}
.video-link-inner a{display:inline-flex;padding:12px 18px;border-radius:999px;background:var(--gold);color:#17263a;font-size:12px;font-weight:800}

.footer-bg-slides{position:absolute;inset:0}
.footer-bg-slides .media-slide{filter:saturate(.8)}
.footer .media-shade{background:linear-gradient(90deg,rgba(3,17,34,.98),rgba(3,17,34,.90),rgba(3,17,34,.82))}
@media(max-width:600px){
  .media-dots{bottom:142px;left:12px}
  .video-link-card{min-height:280px}
  .video-link-inner h3{font-size:26px}
}

/* Office-bearer photographs */
.person-photo.real-photo{position:relative;padding:0;overflow:hidden;background:#e8eef3}
.person-photo.real-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.person-photo.real-photo:after{content:"";position:absolute;left:0;right:0;bottom:0;height:28%;background:linear-gradient(transparent,rgba(5,22,41,.18));pointer-events:none}
.person .category-label{display:inline-flex;margin-top:2px;padding:6px 9px;border-radius:999px;background:#eef6f7;color:#176c72;font-size:9px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.person .designation{margin-top:7px;color:#728497;font-size:11px;font-weight:700}
.leadership-feature{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px}
.leadership-feature .person-photo{height:185px}
.leadership-feature .person-body{padding:15px}
.leadership-feature .person h3{font-size:15px;line-height:1.3}
@media(max-width:1100px){.leadership-feature{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.leadership-feature{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.leadership-feature{grid-template-columns:1fr}}


/* --- Header association logo --- */
.header-brand-group{
  display:flex;
  align-items:center;
  gap:24px;
  min-width:0;
}
.association-logo{
  height:66px;
  width:auto;
  max-width:430px;
  object-fit:contain;
}
.header-brand-divider{
  width:1px;
  height:52px;
  background:#e1e7ec;
  flex:0 0 auto;
}
@media(max-width:1050px){
  .association-logo{height:56px;max-width:340px}
  .header-brand-group{gap:15px}
}
@media(max-width:760px){
  .association-logo{height:48px;max-width:240px}
  .header-brand-divider{display:none}
  .header-brand-group{gap:10px}
}
@media(max-width:560px){
  .association-logo{display:none}
}

/* --- Leadership grouped rows --- */
.leadership-groups{display:grid;gap:22px}
.leadership-row{
  display:grid;
  grid-template-columns:200px 1fr;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 34px rgba(6,25,47,.055);
}
.leadership-row-label{
  background:linear-gradient(145deg,#061a31,#0d3e68);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px 16px;
  min-height:230px;
}
.leadership-row-label .row-number{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:12px;
  background:var(--gold);
  color:#17263a;
  font-weight:900;
  margin-bottom:12px;
}
.leadership-row-label strong{
  font-size:15px;
  line-height:1.35;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.leadership-row-content{
  display:grid;
  gap:0;
  align-items:stretch;
}
.leadership-row.two .leadership-row-content{grid-template-columns:repeat(2,minmax(0,1fr))}
.leadership-row.three .leadership-row-content{grid-template-columns:repeat(3,minmax(0,1fr))}
.leadership-row-content .leader-inline{
  display:grid;
  grid-template-columns:145px 1fr;
  gap:18px;
  align-items:center;
  padding:20px;
  border-right:1px solid var(--line);
}
.leadership-row-content .leader-inline:last-child{border-right:0}
.leader-inline img{
  width:145px;
  height:185px;
  object-fit:cover;
  object-position:center top;
  border-radius:16px;
  border:2px solid rgba(239,189,78,.65);
  box-shadow:0 8px 22px rgba(6,25,47,.10);
}
.leader-inline small{
  display:block;
  color:#7b8da0;
  font-size:9px;
  letter-spacing:1.2px;
  text-transform:uppercase;
}
.leader-inline h3{
  font-family:Georgia,serif;
  color:var(--navy);
  font-size:19px;
  line-height:1.25;
  margin:7px 0;
}
.leader-inline .role{
  color:#a36d00;
  font-size:12px;
  font-weight:800;
}
@media(max-width:1050px){
  .leadership-row{grid-template-columns:160px 1fr}
  .leadership-row-content .leader-inline{grid-template-columns:105px 1fr;padding:15px;gap:13px}
  .leader-inline img{width:105px;height:145px}
  .leader-inline h3{font-size:16px}
}
@media(max-width:820px){
  .leadership-row{grid-template-columns:1fr}
  .leadership-row-label{min-height:auto;padding:16px;flex-direction:row;gap:12px}
  .leadership-row-label .row-number{margin:0}
  .leadership-row.three .leadership-row-content{grid-template-columns:1fr}
  .leadership-row.two .leadership-row-content{grid-template-columns:1fr}
  .leadership-row-content .leader-inline{border-right:0;border-bottom:1px solid var(--line)}
  .leadership-row-content .leader-inline:last-child{border-bottom:0}
}

/* FINAL OVERRIDE: category-wise leadership rows */
.leadership-feature{display:none!important}
.leadership-groups{display:grid!important;gap:22px!important}
.leadership-row{display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 12px 34px rgba(6,25,47,.055)!important}
.leadership-row-label{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:linear-gradient(145deg,#061a31,#0d3e68)!important;color:#fff!important;padding:24px 16px!important;min-height:220px!important}
.leadership-row-label .row-number{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:12px!important;background:var(--gold)!important;color:#17263a!important;font-weight:900!important;margin-bottom:12px!important}
.leadership-row-label strong{font-size:15px!important;line-height:1.35!important;text-transform:uppercase!important;letter-spacing:.7px!important}
.leadership-row-content{display:grid!important;align-items:stretch!important}
.leadership-row.two .leadership-row-content{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.leadership-row.three .leadership-row-content{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.leader-inline{display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;padding:20px!important;border-right:1px solid var(--line)!important;background:#fff!important}
.leader-inline:last-child{border-right:0!important}
.leader-inline img{width:145px!important;height:185px!important;object-fit:cover!important;object-position:center top!important;border-radius:16px!important;border:2px solid rgba(239,189,78,.65)!important;box-shadow:0 8px 22px rgba(6,25,47,.10)!important}
.leader-text small{display:block!important;color:#7b8da0!important;font-size:9px!important;letter-spacing:1.2px!important;text-transform:uppercase!important}
.leader-text h3{font-family:Georgia,serif!important;color:var(--navy)!important;font-size:19px!important;line-height:1.25!important;margin:7px 0!important}
.leader-text .role{color:#a36d00!important;font-size:12px!important;font-weight:800!important}
@media(max-width:1050px){
  .leadership-row{grid-template-columns:165px minmax(0,1fr)!important}
  .leader-inline{grid-template-columns:105px minmax(0,1fr)!important;padding:15px!important;gap:13px!important}
  .leader-inline img{width:105px!important;height:145px!important}
  .leader-text h3{font-size:16px!important}
}
@media(max-width:820px){
  .leadership-row{grid-template-columns:1fr!important}
  .leadership-row-label{min-height:auto!important;padding:15px!important;flex-direction:row!important;gap:12px!important}
  .leadership-row-label .row-number{margin-bottom:0!important}
  .leadership-row.two .leadership-row-content,.leadership-row.three .leadership-row-content{grid-template-columns:1fr!important}
  .leader-inline{border-right:0!important;border-bottom:1px solid var(--line)!important}
  .leader-inline:last-child{border-bottom:0!important}
}


/* Working committee clickable cards + member popup */
.committee-card{
  appearance:none;
  width:100%;
  text-align:left;
  cursor:pointer;
  font:inherit;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position:relative;
  overflow:hidden;
}
.committee-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 44px rgba(6,25,47,.12);
  border-color:rgba(62,185,187,.45);
}
.committee-card:focus-visible{
  outline:3px solid rgba(62,185,187,.25);
  outline-offset:3px;
}
.committee-card:after{
  content:"";
  position:absolute;
  right:-55px;
  bottom:-55px;
  width:140px;
  height:140px;
  border-radius:50%;
  background:linear-gradient(145deg,rgba(62,185,187,.10),rgba(239,189,78,.10));
  pointer-events:none;
}
.committee-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.committee-card-top b{
  margin-bottom:0!important;
}
.view-members{
  font-size:10px;
  color:#176c72;
  font-weight:800;
  letter-spacing:.3px;
  opacity:.82;
}
.committee-card:hover .view-members{color:#a36d00}

body.modal-open{overflow:hidden}
.committee-modal{
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.committee-modal.open{display:flex}
.committee-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,17,34,.72);
  backdrop-filter:blur(7px);
}
.committee-modal-dialog{
  position:relative;
  z-index:2;
  width:min(920px,96vw);
  max-height:88vh;
  overflow:auto;
  background:#fff;
  border-radius:26px;
  padding:34px;
  box-shadow:0 30px 90px rgba(3,17,34,.30);
  animation:committeePopup .22s ease-out;
}
@keyframes committeePopup{
  from{opacity:0;transform:translateY(14px) scale(.985)}
  to{opacity:1;transform:none}
}
.committee-modal-close{
  position:absolute;
  right:18px;
  top:16px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#eef3f6;
  color:var(--navy);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.committee-modal-head{
  padding-right:52px;
  margin-bottom:24px;
}
.committee-modal-head h2{
  font-family:Georgia,serif;
  color:var(--navy);
  font-size:38px;
  line-height:1.08;
  margin:8px 0 10px;
}
.committee-modal-head p{
  max-width:760px;
  color:var(--muted);
  margin:0;
  line-height:1.7;
}
.committee-member-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.committee-member{
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  background:linear-gradient(145deg,#fff,#f7fafb);
}
.committee-member .member-avatar{
  width:52px;
  height:52px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--navy),var(--navy3));
  color:#fff;
  font-weight:900;
  margin-bottom:12px;
}
.committee-member small{
  display:block;
  font-size:9px;
  color:#8697a8;
  letter-spacing:1.1px;
  text-transform:uppercase;
  margin-bottom:5px;
}
.committee-member strong{
  color:var(--navy);
  font-size:14px;
}
.committee-modal-note{
  margin-top:20px;
  padding:14px 16px;
  border-radius:12px;
  background:#fff7df;
  border:1px solid #ecd993;
  color:#66511c;
  font-size:12px;
}
@media(max-width:760px){
  .committee-modal{padding:12px}
  .committee-modal-dialog{padding:24px 18px}
  .committee-modal-head h2{font-size:30px}
  .committee-member-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .committee-member-grid{grid-template-columns:1fr}
  .view-members{font-size:9px}
}


/* FINAL MOBILE UI */
.brandline{min-height:82px;height:auto}
.header-right{display:flex;align-items:center;gap:24px;margin-left:auto}
.header-association-logo{height:58px;width:auto;max-width:340px;object-fit:contain}
.brand{min-width:auto}
.brand strong{font-size:28px}
.brand small{white-space:nowrap}

.leadership-clean{display:grid;gap:34px}
.leader-category{border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 12px 34px rgba(6,25,47,.055)}
.leader-category-title{padding:15px 22px;background:linear-gradient(90deg,#071b33,#0d3b61);color:#fff}
.leader-category-title h3{margin:0;font-size:15px;text-transform:uppercase;letter-spacing:1px}
.leader-card-grid{display:grid;gap:0}
.patron-group .leader-card-grid,.org-group .leader-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tnaoi-group .leader-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.leader-card{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:18px;padding:20px;border-right:1px solid var(--line);min-width:0}
.leader-card:last-child{border-right:0}
.leader-card img{width:130px;height:155px;object-fit:cover;object-position:center top;border-radius:15px;border:2px solid rgba(239,189,78,.58);box-shadow:0 8px 22px rgba(6,25,47,.10)}
.leader-card h3{margin:0 0 7px;font-family:Georgia,serif;color:var(--navy);font-size:18px;line-height:1.25;overflow-wrap:anywhere}
.leader-card p{margin:0;color:#a36d00;font-size:12px;font-weight:800}
.leader-more{margin-top:22px}

@media(max-width:900px){
  .container{width:min(100% - 28px,1200px)}
  .brandline{min-height:70px;padding:8px 0}
  .header-right{gap:12px}
  .header-association-logo{height:46px;max-width:230px}
  .headfacts{display:none}
  .toggle{display:block;flex:0 0 42px}
  .navbar{display:none!important}
  .navbar.open{display:block!important}
  .nav{grid-template-columns:1fr 1fr!important;padding:8px 0}
  .nav a{min-height:42px!important;margin:3px!important;border:1px solid #edf1f4!important;border-radius:10px!important;white-space:normal!important;font-size:11px!important}

  .section{padding:58px 0}
  .heading{margin-bottom:24px}
  .heading h2{font-size:38px;line-height:1.05}
  .heading p{font-size:15px;line-height:1.65}

  .grid2{grid-template-columns:1fr!important}
  .grid3,.grid4,.format-grid,.strip,.committee-map,.days,.travel,.price-highlights,.steps{grid-template-columns:1fr 1fr!important}
  .experience,.welcome{padding:24px}
  .experience h2{font-size:32px}
  .welcome h3{font-size:30px}

  .patron-group .leader-card-grid,.org-group .leader-card-grid,.tnaoi-group .leader-card-grid{grid-template-columns:1fr!important}
  .leader-card{grid-template-columns:95px minmax(0,1fr)!important;padding:14px!important;gap:14px!important;border-right:0!important;border-bottom:1px solid var(--line)}
  .leader-card:last-child{border-bottom:0}
  .leader-card img{width:95px;height:112px}
}

@media(max-width:600px){
  body{font-size:15px}
  .container{width:min(100% - 20px,1200px)}
  .brandline{min-height:62px;padding:6px 0;gap:8px}
  .brand{gap:8px;flex:1 1 auto;min-width:0}
  .brandmark{width:38px!important;height:38px!important;border-radius:11px!important;font-size:13px!important}
  .brand strong{font-size:20px!important;line-height:1!important;white-space:nowrap}
  .brand small{font-size:7px!important;letter-spacing:1.2px!important;margin-top:4px!important}
  .header-right{gap:7px!important;flex:0 0 auto}
  .header-association-logo{height:34px!important;max-width:150px!important}
  .toggle{width:38px!important;height:38px!important;font-size:19px!important}
  .nav{grid-template-columns:1fr!important}

  .section{padding:46px 0!important}
  .heading h2{font-size:34px!important;line-height:1.04!important;letter-spacing:-.3px}
  .heading p{font-size:15px!important;line-height:1.6!important}

  .bullets{grid-template-columns:1fr 1fr!important}
  .bullets div{font-size:13px!important;padding:12px!important;line-height:1.35!important}
  .format-grid{grid-template-columns:1fr 1fr!important}
  .format{min-height:170px!important;padding:14px!important}
  .format h3{font-size:19px!important}
  .format p{font-size:11px!important}

  .darksec .strip{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .darksec .strip>div{padding:14px!important;min-width:0}
  .darksec .strip strong{font-size:14px!important;overflow-wrap:anywhere}
  .darksec .strip span{font-size:11px!important;line-height:1.45!important}

  .section.alt .heading h2{font-size:40px!important}
  .grid3{grid-template-columns:1fr!important}
  .card-image{min-height:220px!important}

  .leadership-home-section .heading h2{font-size:38px!important}
  .leader-category{border-radius:18px}
  .leader-category-title{padding:13px 16px!important;text-align:center}
  .leader-category-title h3{font-size:13px!important}
  .leader-card{grid-template-columns:82px minmax(0,1fr)!important;gap:12px!important;padding:12px!important}
  .leader-card img{width:82px!important;height:96px!important;border-radius:12px!important}
  .leader-card h3{font-size:17px!important;line-height:1.18!important}
  .leader-card p{font-size:11px!important}
  .leadership-clean{gap:18px!important}

  .footer-cta{gap:16px!important}
  .footer-cta h2{font-size:30px!important}
  .footer-grid{grid-template-columns:1fr!important;gap:22px!important}
  .footer-bottom{flex-direction:column!important}
}
@media(max-width:390px){
  .header-association-logo{height:30px!important;max-width:125px!important}
  .brand strong{font-size:18px!important}
  .format-grid,.bullets,.darksec .strip{grid-template-columns:1fr!important}
  .heading h2{font-size:31px!important}
}


/* =========================================================
   NEITHAL-27 OFFICIAL BRANDING UPDATE
   ========================================================= */
.brand-logo-primary{
  display:block;
  width:310px;
  max-width:42vw;
  height:auto;
  object-fit:contain;
}
.header-right .header-association-logo{display:none!important}
.header-brand-gallery{
  display:flex;
  align-items:center;
  gap:10px;
}
.header-brand-gallery img{
  display:block;
  height:54px;
  width:auto;
  max-width:180px;
  object-fit:contain;
  border-radius:8px;
  background:#fff;
}
.branding-band{
  background:linear-gradient(180deg,#fff,#f7f9fb);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.branding-band-inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:26px;
  align-items:center;
  padding:34px 0;
}
.branding-band-copy h2{
  font-family:Georgia,serif;
  color:var(--navy);
  font-size:38px;
  margin:0 0 10px;
}
.branding-band-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}
.branding-logos{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:14px;
  flex-wrap:nowrap;
}
.branding-logos img{
  max-height:90px;
  max-width:220px;
  width:auto;
  object-fit:contain;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:8px;
}
.footer-brand-row{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.footer-brand-row img{
  background:rgba(255,255,255,.96);
  border-radius:12px;
  padding:7px;
  object-fit:contain;
}
.footer-brand-row .footer-main-logo{height:74px;max-width:300px}
.footer-brand-row .footer-secondary-logo{height:62px;max-width:190px}
.footer-brand-row .footer-tamil-logo{height:62px;max-width:220px}
.brand-copy-text{display:none!important}
.brandmark{display:none!important}
.brand strong,.brand small{display:none!important}
.brand{min-width:0!important}
@media(max-width:900px){
  .brand-logo-primary{width:245px;max-width:52vw}
  .header-brand-gallery img{height:42px;max-width:125px}
  .branding-band-inner{grid-template-columns:1fr}
  .branding-logos{justify-content:flex-start;flex-wrap:wrap}
  .branding-logos img{max-height:75px;max-width:180px}
}
@media(max-width:600px){
  .brandline{min-height:66px!important}
  .brand-logo-primary{width:190px;max-width:52vw}
  .header-brand-gallery{gap:6px}
  .header-brand-gallery img{height:32px;max-width:92px}
  .header-right{gap:6px!important}
  .branding-band-inner{padding:26px 0}
  .branding-band-copy h2{font-size:30px}
  .branding-logos img{max-height:90px;max-width:210px}
  .footer-brand-row{gap:8px}
  .footer-brand-row .footer-main-logo{height:55px;max-width:220px}
  .footer-brand-row .footer-secondary-logo,.footer-brand-row .footer-tamil-logo{height:48px;max-width:155px}
}
@media(max-width:390px){
  .brand-logo-primary{width:165px;max-width:50vw}
  .header-brand-gallery img{height:29px;max-width:78px}
}

/* Header correction: one NEITHAL-27 logo only. Departmental logos remain unchanged. */
.header-brand-gallery{display:none!important;}


/* Department logo: right side, immediately before conference date */
.header-right{
  display:flex;
  align-items:center;
}
.header-department-logo-wrap{
  display:flex;
  align-items:center;
  padding-right:18px;
  margin-right:18px;
  border-right:1px solid #e2e7ec;
}
.header-department-logo{
  display:block;
  height:58px;
  width:auto;
  max-width:285px;
  object-fit:contain;
}
@media(max-width:900px){
  .header-department-logo{height:44px;max-width:190px}
  .header-department-logo-wrap{padding-right:10px;margin-right:10px}
}
@media(max-width:650px){
  .header-department-logo{height:34px;max-width:125px}
  .header-department-logo-wrap{padding-right:6px;margin-right:6px}
}


/* FINAL HEADER / FOOTER / TREASURER UPDATE */

/* Reduce desktop header height approximately by half */
.brandline{
  min-height:54px!important;
  height:54px!important;
  padding:4px 0!important;
}
.brand-logo-primary{
  width:220px!important;
  max-height:46px!important;
  object-fit:contain!important;
}
.header-department-logo{
  height:38px!important;
  max-width:210px!important;
}
.header-department-logo-wrap{
  padding-right:12px!important;
  margin-right:12px!important;
}
.headfacts strong{font-size:12px!important}
.headfacts small{font-size:8px!important}
.nav a{min-height:44px!important}

/* Organizing Committee now has 3 members */
.org-group .leader-card-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Footer: only one English NEITHAL-27 logo, no separate NEITHAL-27 heading text */
.footer-brand-row img:not(.footer-main-logo){
  display:none!important;
}
.footer-brand-row .footer-main-logo{
  display:block!important;
  height:68px!important;
  max-width:280px!important;
}
.footer-grid > div:first-child h3{
  display:none!important;
}

/* Tablet/mobile */
@media(max-width:900px){
  .brandline{
    min-height:52px!important;
    height:52px!important;
  }
  .brand-logo-primary{
    width:190px!important;
    max-height:42px!important;
  }
  .header-department-logo{
    height:34px!important;
    max-width:150px!important;
  }
  .org-group .leader-card-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:600px){
  .brandline{
    min-height:50px!important;
    height:50px!important;
    padding:3px 0!important;
  }
  .brand-logo-primary{
    width:155px!important;
    max-width:46vw!important;
    max-height:38px!important;
  }
  .header-department-logo{
    height:29px!important;
    max-width:105px!important;
  }
  .header-department-logo-wrap{
    border-right:0!important;
    padding-right:0!important;
    margin-right:4px!important;
  }
  .footer-brand-row .footer-main-logo{
    height:52px!important;
    max-width:220px!important;
  }
}

/* =========================================================
   KUMARI-27 STYLE HOMEPAGE — adapted for NEITHAL-27
   ========================================================= */

.topbar{
  background:#06234a!important;
}
.topbar .container{
  height:30px!important;
  font-size:10px!important;
}
.brandline{
  min-height:82px!important;
  height:82px!important;
  padding:6px 0!important;
}
.brand-logo-primary{
  width:245px!important;
  max-width:245px!important;
  height:70px!important;
  max-height:70px!important;
  transform:none!important;
  filter:none!important;
}
.header-right{
  gap:14px!important;
}
.header-department-logo-wrap{
  border-right:0!important;
  padding-right:0!important;
  margin-right:8px!important;
}
.header-department-logo{
  height:48px!important;
  max-width:210px!important;
}
.headfacts{
  gap:16px!important;
}
.navbar{
  border-top:0!important;
  border-bottom:1px solid #e8edf2;
}
.nav{
  display:flex!important;
  justify-content:flex-end!important;
  gap:22px!important;
}
.nav a{
  border:0!important;
  min-height:42px!important;
  padding:0!important;
  font-size:11px!important;
  background:transparent!important;
}
.nav a.active:after{
  left:0!important;right:0!important;
}

/* new hero */
.kumari-hero{
  position:relative;
  min-height:545px;
  background:
    radial-gradient(circle at 70% 55%,rgba(11,77,122,.22),transparent 28%),
    linear-gradient(130deg,#06234a 0%,#042045 45%,#031b38 100%);
  color:#fff;
  overflow:hidden;
}
.kumari-hero:before,
.kumari-hero:after{
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  opacity:.16;
  background:repeating-linear-gradient(90deg,transparent 0 11px,#15b8c3 11px 13px,transparent 13px 22px);
  transform:skewY(-12deg);
}
.kumari-hero:before{left:-110px;bottom:-80px}
.kumari-hero:after{right:-80px;top:65px}
.kumari-hero-inner{
  position:relative;
  z-index:2;
  width:min(960px,calc(100% - 48px));
  margin:auto;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:72px;
  align-items:center;
  min-height:545px;
  padding:44px 0 72px;
}
.identity-card{
  background:#fff;
  border-radius:18px;
  padding:16px;
  box-shadow:0 24px 60px rgba(0,0,0,.26);
}
.identity-card img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}
.identity-caption{
  margin-top:10px;
  text-align:center;
  color:#9ac3d3;
  font-size:8px;
  letter-spacing:1.5px;
  text-transform:uppercase;
}
.hero-copy-panel{
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  padding:30px;
  background:rgba(255,255,255,.025);
  box-shadow:inset 0 0 50px rgba(255,255,255,.015);
}
.hero-copy-panel .eyebrow{font-size:9px}
.hero-copy-panel h1{
  font-family:Georgia,serif;
  font-size:72px;
  line-height:.90;
  margin:14px 0 18px;
  letter-spacing:-1.4px;
}
.hero-copy-panel h1 span{
  display:block;
}
.hero-copy-panel h1 em{
  color:var(--gold);
  font-weight:400;
}
.hero-copy-panel p{
  font-family:Georgia,serif;
  color:#d9e6ef;
  font-size:16px;
  line-height:1.5;
  max-width:560px;
  margin:0;
}
.hero-copy-panel .actions{margin-top:24px}
.hero-copy-panel .btn{
  border-radius:6px!important;
  padding:13px 18px!important;
  font-size:11px!important;
}
.hero-copy-panel .btn-outline{
  background:transparent!important;
}
.hero-slider-line{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:25px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:9px;
}
.hero-slider-line i{
  width:28px;height:3px;border-radius:999px;background:#667f9a;
}
.hero-slider-line i.active{background:var(--gold)}
.hero-place{
  position:absolute;
  z-index:3;
  right:28px;
  bottom:20px;
  text-align:right;
}
.hero-place small{
  display:block;
  color:var(--gold);
  font-size:8px;
  letter-spacing:1.2px;
  text-transform:uppercase;
}
.hero-place strong{
  font-family:Georgia,serif;
  font-size:20px;
}
.home-after-hero{
  position:relative;
  z-index:5;
  margin-top:-10px;
}
@media(max-width:900px){
  .brandline{min-height:72px!important;height:auto!important}
  .nav{gap:12px!important;justify-content:center!important}
  .kumari-hero-inner{
    grid-template-columns:1fr;
    gap:26px;
    width:min(680px,calc(100% - 28px));
    padding:34px 0 76px;
  }
  .identity-card{max-width:430px;margin:auto}
  .hero-copy-panel h1{font-size:58px}
}
@media(max-width:600px){
  .topbar{display:none!important}
  .brandline{
    min-height:62px!important;
    height:auto!important;
    padding:5px 0!important;
  }
  .brand-logo-primary{
    width:190px!important;
    max-width:49vw!important;
    height:54px!important;
    max-height:54px!important;
  }
  .header-department-logo{
    height:34px!important;
    max-width:110px!important;
  }
  .headfacts{display:none!important}
  .toggle{display:block!important}
  .navbar{display:none!important}
  .navbar.open{display:block!important}
  .nav{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
    padding:8px 0!important;
  }
  .nav a{
    min-height:40px!important;
    border:1px solid #edf1f4!important;
    border-radius:8px!important;
  }
  .kumari-hero{min-height:auto}
  .kumari-hero-inner{
    grid-template-columns:1fr;
    width:min(100% - 20px,600px);
    min-height:auto;
    gap:18px;
    padding:28px 0 72px;
  }
  .identity-card{
    max-width:310px;
    padding:10px;
    border-radius:14px;
  }
  .hero-copy-panel{
    padding:22px;
    border-radius:14px;
  }
  .hero-copy-panel h1{
    font-size:49px;
    line-height:.94;
  }
  .hero-copy-panel p{
    font-size:14px;
  }
  .hero-place{
    right:14px;
    bottom:16px;
  }
  .hero-place strong{font-size:15px}
}

/* Header rebuilt to match supplied Kumari-27 header sample */
.brandline{min-height:94px!important;height:94px!important;padding:5px 0!important}
.sample-style-brand{display:block!important;line-height:0!important;min-width:0!important}
.sample-header-logo{
  display:block!important;
  width:395px!important;
  max-width:42vw!important;
  height:82px!important;
  max-height:82px!important;
  object-fit:contain!important;
}
.header-department-logo{height:54px!important;max-width:235px!important}
.headfacts{gap:18px!important}
.nav{justify-content:flex-end!important;gap:20px!important}

/* Video banner */
.video-kumari-hero{position:relative!important;background:#06234a!important}
.banner-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.banner-video-overlay{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(3,25,52,.88),rgba(3,25,52,.68) 50%,rgba(3,25,52,.58));
}
.video-kumari-hero .kumari-hero-inner,
.video-kumari-hero .hero-slider-line,
.video-kumari-hero .hero-place{position:relative;z-index:2}
.video-kumari-hero .identity-card{
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 22px 55px rgba(0,0,0,.24)!important;
  border:1px solid rgba(255,255,255,.5);
}
.video-kumari-hero .hero-copy-panel{
  background:rgba(4,31,65,.66)!important;
  backdrop-filter:blur(10px)!important;
  border:1px solid rgba(255,255,255,.20)!important;
  box-shadow:0 24px 60px rgba(0,0,0,.16)!important;
}
.video-kumari-hero .hero-copy-panel h1{text-shadow:0 6px 25px rgba(0,0,0,.18)}
@media(max-width:900px){
 .sample-header-logo{width:305px!important;max-width:48vw!important;height:70px!important}
}
@media(max-width:600px){
 .brandline{min-height:70px!important;height:70px!important}
 .sample-header-logo{width:220px!important;max-width:56vw!important;height:60px!important}
 .header-department-logo{height:38px!important;max-width:115px!important}
}


/* =========================================================
   FINAL HEADER + VIDEO BANNER ALIGNMENT FIX
   ========================================================= */

/* Disable legacy header rules that caused clipping/duplicates */
.sample-style-brand,
.sample-header-logo,
.header-department-logo-wrap,
.header-association-logo,
.header-brand-gallery,
.brand-logo-primary{
  display:none!important;
}

.clean-header-row{
  min-height:150px!important;
  height:auto!important;
  padding:4px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
}
.clean-brand{
  display:block;
  flex:0 0 auto;
  line-height:0;
}
.clean-brand img{
  display:block;
  width:330px;
  height:76px;
  object-fit:contain;
  object-position:left center;
}
.clean-header-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:20px;
  margin-left:auto;
  min-width:0;
}
.clean-department-logo{
  width:auto;
  height:98px;
  max-width:300px;
  object-fit:contain;
}
.clean-headfacts{
  display:flex;
  gap:24px;
  align-items:center;
  padding-left:20px;
  border-left:1px solid #e3e8ed;
}
.clean-headfacts div{white-space:nowrap}
.clean-headfacts small{
  display:block;
  font-size:8px;
  color:#8b9cac;
  letter-spacing:1.3px;
  text-transform:uppercase;
  margin-bottom:3px;
}
.clean-headfacts strong{
  display:block;
  color:#233b52;
  font-size:12px;
}
.navbar{
  border-top:1px solid #edf1f4!important;
  border-bottom:1px solid #e6ebf0!important;
  background:#fff!important;
}
.nav{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:27px!important;
  min-height:48px!important;
}
.nav a{
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  white-space:nowrap!important;
  font-size:14px!important;
  background:transparent!important;
}
.nav a.active:after{
  left:0!important;
  right:0!important;
}

/* Banner */
.neithal-video-hero{
  position:relative;
  min-height:560px;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(rgba(3,26,54,.35),rgba(3,26,54,.35)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Vivekananda_Rock_Memorial_-Kanyakumari_-Tamil_Nadu_-DSC_2111.jpg?width=1800")
    center/cover no-repeat;
}
.neithal-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.neithal-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(3,26,54,.82) 0%,rgba(3,26,54,.62) 52%,rgba(3,26,54,.76) 100%);
}
.neithal-hero-layout{
  position:relative;
  z-index:2;
  min-height:560px;
  display:grid;
  grid-template-columns:390px 490px;
  justify-content:center;
  align-items:center;
  gap:72px;
  padding:52px 0 76px;
}
.neithal-identity-wrap{
  min-width:0;
}
.neithal-identity-card{
  width:390px;
  height:390px;
  padding:14px;
  border-radius:20px;
  background:rgba(255,255,255,.97);
  border:1px solid rgba(255,255,255,.70);
  box-shadow:0 22px 60px rgba(0,0,0,.25);
  overflow:hidden;
}
.neithal-identity-card img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:12px;
}
.neithal-identity-caption{
  margin-top:11px;
  text-align:center;
  font-size:8px;
  font-weight:700;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#bcd4e1;
}
.neithal-copy-card{
  width:490px;
  padding:34px 38px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(7,40,76,.72);
  backdrop-filter:blur(10px);
  box-shadow:0 22px 60px rgba(0,0,0,.18);
}
.neithal-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:#e5f1f7;
}
.neithal-kicker:before{
  content:"";
  width:28px;
  height:2px;
  background:var(--gold);
}
.neithal-copy-card h1{
  margin:16px 0 18px;
  font-family:Georgia,serif;
  font-size:67px;
  line-height:.91;
  letter-spacing:-1.3px;
  color:#fff;
}
.neithal-copy-card h1 em{
  color:var(--gold);
  font-style:italic;
  font-weight:400;
}
.neithal-copy-card p{
  max-width:410px;
  margin:0;
  color:#e1ebf2;
  font-family:Georgia,serif;
  font-size:15px;
  line-height:1.55;
}
.neithal-actions{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:25px;
}
.neithal-actions .btn{
  border-radius:7px!important;
  padding:13px 18px!important;
  font-size:11px!important;
}
.neithal-outline{
  background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(255,255,255,.45)!important;
  color:#fff!important;
}
.neithal-hero-bottom{
  position:absolute;
  z-index:3;
  left:0;
  right:0;
  bottom:0;
  border-top:1px solid rgba(255,255,255,.16);
  background:rgba(2,23,48,.56);
  backdrop-filter:blur(6px);
}
.neithal-hero-bottom .container{
  height:47px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:50px;
  color:#dbe8ef;
  font-size:10px;
  letter-spacing:.5px;
}

/* Remove old hero leftovers if classes remain elsewhere */
.kumari-hero,
.video-kumari-hero{
  background:none;
}

/* Tablet */
@media(max-width:1050px){
 .clean-department-logo{height:71px;max-width:220px}
  .clean-headfacts{gap:15px;padding-left:14px}
  .nav{gap:17px!important}
  .neithal-hero-layout{
    grid-template-columns:340px 440px;
    gap:40px;
  }
  .neithal-identity-card{width:340px;height:340px}
  .neithal-copy-card{width:440px;padding:30px}
  .neithal-copy-card h1{font-size:59px}
}

/* Mobile */
@media(max-width:820px){
  .clean-header-row{
    min-height:130px!important;
    height:auto!important;
    padding:10px 0!important;
  }
  .clean-department-logo{
    height:56px;
    max-width:150px;
  }
  .clean-headfacts{display:none}
  .toggle{display:block!important}
  .navbar{display:none!important}
  .navbar.open{display:block!important}
  .nav{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    padding:8px 0!important;
  }
  .nav a{
    justify-content:center!important;
    border:1px solid #edf1f4!important;
    border-radius:8px!important;
    min-height:42px!important;
  }

  .neithal-video-hero{min-height:auto}
  .neithal-hero-layout{
    min-height:auto;
    grid-template-columns:1fr;
    justify-items:center;
    gap:22px;
    padding:30px 0 80px;
  }
  .neithal-identity-card{
    width:min(330px,88vw);
    height:min(330px,88vw);
  }
  .neithal-copy-card{
    width:min(620px,92vw);
    padding:27px;
  }
  .neithal-copy-card h1{
    font-size:53px;
  }
}

@media(max-width:560px){
  .container{width:min(100% - 20px,1200px)!important}
  .clean-header-row{
    min-height:100px!important;
    height:auto!important;
    gap:8px!important;
  }
  .clean-header-right{gap:6px}
  .clean-department-logo{
    height:44px;
    max-width:120px;
  }
  .toggle{
    width:37px!important;
    height:37px!important;
  }
  .nav{grid-template-columns:1fr!important}

  .neithal-hero-layout{
    padding:22px 0 77px;
    gap:16px;
  }
  .neithal-identity-card{
    width:min(285px,86vw);
    height:min(285px,86vw);
    padding:9px;
  }
  .neithal-copy-card{
    padding:22px;
  }
  .neithal-copy-card h1{
    font-size:45px;
    margin:13px 0 14px;
  }
  .neithal-copy-card p{
    font-size:14px;
  }
  .neithal-actions{
    flex-wrap:wrap;
    margin-top:18px;
  }
  .neithal-hero-bottom .container{
    height:auto;
    min-height:48px;
    padding:10px 0;
    gap:10px 18px;
    flex-wrap:wrap;
    justify-content:center;
  }
}

/* Final header branding: NEITHAL-27 */
.clean-brand img{
  object-fit:contain!important;
  object-position:left center!important;
}

/* FINAL requested header branding: square symbol + NEITHAL 27 + subtitle */
.clean-brand img{
  width:390px!important;
  height:82px!important;
  max-width:42vw!important;
  object-fit:contain!important;
  object-position:left center!important;
}
@media(max-width:1050px){.clean-brand img{width:330px!important;height:74px!important}}
@media(max-width:820px){.clean-brand img{width:265px!important;height:62px!important;max-width:52vw!important}}
@media(max-width:560px){.clean-brand img{width:210px!important;height:54px!important;max-width:55vw!important}}

/* Header lockup: full square symbol + unchanged NEITHAL 27 rectangle wordmark */
.clean-brand .neithal-header-lockup{display:flex!important;align-items:center!important;justify-content:center!important;height:auto!important;gap:0!important;}.clean-brand .neithal-square-symbol{width:72px;height:72px;object-fit:contain;display:block;flex:0 0 72px;}
.clean-brand .neithal-wordmark-block{display:flex;flex-direction:column;justify-content:center;gap:3px;}
.clean-brand .neithal-wordmark{width:205px;height:44px;object-fit:contain;object-position:left center;display:block;}
.clean-brand .neithal-wordmark-subtitle{font:700 9px/1.1 Arial,sans-serif;letter-spacing:.55px;color:#07969b;white-space:nowrap;}
@media(max-width:700px){.clean-brand .neithal-header-lockup{gap:6px}.clean-brand .neithal-square-symbol{width:54px;height:54px;flex-basis:54px}.clean-brand .neithal-wordmark{width:145px;height:34px}.clean-brand .neithal-wordmark-subtitle{font-size:6.5px;letter-spacing:.25px}}
/* REPLACE WITH */
/* Final approved header: NEITHAL 27 wordmark + subtitle stacked below */
.clean-brand .neithal-header-lockup{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;height:76px!important;gap:2px!important;}
.clean-brand .neithal-wordmark{width:auto!important;height:150px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important;display:block!important;}
@media(max-width:820px){.clean-brand .neithal-wordmark{height:110px!important;max-width:70vw!important;}}
@media(max-width:560px){.clean-brand .neithal-wordmark{height:85px!important;max-width:80vw!important;}}
/* MOBILE HAMBURGER MENU FIX */
@media(max-width:900px){
  .navbar{
    display:none!important;
    width:100%!important;
    background:#fff!important;
    border-top:1px solid #e6edf2!important;
    box-shadow:0 14px 28px rgba(6,25,47,.12)!important;
  }
  .navbar.open{
    display:block!important;
  }
  .navbar .nav{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
    padding:10px 0!important;
  }
  .navbar .nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    padding:8px 10px!important;
    border:1px solid #e8edf2!important;
    border-radius:9px!important;
    background:#fff!important;
    white-space:normal!important;
  }
  .toggle{
    display:grid!important;
    place-items:center!important;
    cursor:pointer!important;
    position:relative!important;
    z-index:1200!important;
  }
  .toggle.active{
    background:#0d3b61!important;
  }
}
@media(max-width:560px){
  .navbar .nav{
    grid-template-columns:1fr!important;
  }
}
.neithal-header-subtitle{
  display:block;
  text-align:center;
  font-size:10px;
  letter-spacing:.01em;
  text-transform:none;
  color:#06192f;
  font-weight:700;
  line-height:1.25;
  max-width:300px;
  margin:0 auto 5px;
}
@media(max-width:900px){
  .neithal-header-subtitle{font-size:8.5px;max-width:250px}
}
@media(max-width:600px){
  .neithal-header-subtitle{font-size:7.5px;max-width:190px}
}
.payment-block{border:1px solid var(--line);border-radius:18px;padding:22px;background:#f9fbfc;margin-top:6px}
.payment-block h3{font-family:Georgia,serif;color:var(--navy);margin:0 0 12px;font-size:20px}
.payment-grid{display:grid;grid-template-columns:280px 1fr;gap:22px;margin-top:14px;align-items:stretch}
.payment-qr{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;text-align:center}
.payment-qr img{width:100%;max-width:220px;margin:0 auto;border-radius:10px;border:1px solid var(--line)}
.payment-qr p{margin:10px 0 14px;font-size:12px;color:var(--muted)}
.bank-details{display:grid;gap:8px;text-align:left}
.bank-details div{padding:8px 10px;background:#f6f8f9;border-radius:8px}
.bank-details small{display:block;font-size:9px;color:#8697a8;text-transform:uppercase;letter-spacing:.6px}
.bank-details strong{display:block;font-size:12px;color:var(--navy);margin-top:2px}
.payment-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}
@media(max-width:820px){.payment-grid{grid-template-columns:1fr}.payment-fields{grid-template-columns:1fr}}
