/* hero.css — হিরো অংশ, "ভর্তি চলছে" ব্যানার ও সেমিনার চিপ */
.hero{position:relative;isolation:isolate;background:var(--green-deep);color:var(--on-green);overflow:hidden}
.hero.pattern-bg::before{z-index:-2;opacity:.07}
.hero::after{content:"";position:absolute;z-index:-1;inset:-20% -10% auto 45%;height:120%;background:radial-gradient(closest-side,rgba(28,138,87,.55),transparent 70%)}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center;padding-block:4.5rem 6rem}
.hero-copy{min-width:0;text-align:center}
.badge{display:inline-flex;align-items:center;gap:.55rem;background:rgba(255,255,255,.08);border:1px solid rgba(232,181,35,.5);color:var(--gold-soft);padding:.4rem .9rem;border-radius:999px;font-weight:600;font-size:.9rem}
:root[data-theme="dark"] .badge{color:var(--gold)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .badge{color:var(--gold)}}
.badge i{width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 4px rgba(210,38,44,.25);animation:pulse 1.8s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 8px rgba(210,38,44,0)}}
.hero h1{font-size:clamp(2.5rem,5.8vw,4.5rem);margin:1.3rem 0 1.1rem;line-height:1.18}
.hero h1 span{color:var(--gold)}
.hero .lead{color:var(--on-green-soft);font-size:1.08rem;max-width:33em;margin-inline:auto}
.hero .ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem;margin-top:2.1rem}
.trio{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin-top:2.4rem}
.trio span{font-size:.9rem;font-weight:500;padding:.35rem .8rem;border-radius:8px;background:rgba(255,255,255,.07);color:var(--on-green-soft)}
.trio b{color:#fff;font-weight:600}

/* Admission banner (hero is always dark green, so it uses fixed brand hexes) */
.hero-side{display:grid;gap:2.2rem;justify-items:center;min-width:0}
.notice{width:min(100%,500px);animation:noticeIn .7s cubic-bezier(.2,.8,.2,1.1) both}
@keyframes noticeIn{from{transform:scale(.94);opacity:.3}}
.bn{display:block;width:100%;height:auto;overflow:visible}
.bn text{font-family:var(--f-display)}
.bn .t-tag{font-size:44px;font-weight:800;fill:#fff}
.bn .t-main{font-size:31px;font-weight:800;fill:#0A3F29}
.bn .t-pill{font-size:15px;font-weight:700;fill:#fff}
.bn .t-cta-s{font-size:15px;font-weight:700;fill:#F2C230}
.bn .t-cta-b{font-size:31px;font-weight:800;fill:#fff}
.bn-cta{cursor:pointer;transition:filter .2s}
.bn-cta:hover{filter:brightness(1.35)}
.bn-cta:focus{outline:none}
.bn-cta:focus-visible .blk{stroke:#F2C230;stroke-width:3}
/* Banner motion */
.bn-main,.bn-tag,.bn-cta,#bnPills > g,.bn-tri,.bn-spark,.bn-shine{transform-box:fill-box;transform-origin:center}
.bn-main{animation:bnBob 5s ease-in-out 1.4s infinite}
@keyframes bnBob{50%{transform:translateY(-7px)}}
.bn-tag{animation:bnTagIn .65s cubic-bezier(.2,.9,.3,1.3) .15s both}
@keyframes bnTagIn{from{transform:translateX(-46px);opacity:.35}}
#bnPills > g{animation:bnPop .5s cubic-bezier(.2,.9,.3,1.5) both}
#bnPills > g:nth-child(1){animation-delay:.55s}
#bnPills > g:nth-child(2){animation-delay:.68s}
#bnPills > g:nth-child(3){animation-delay:.81s}
@keyframes bnPop{from{transform:scale(.5);opacity:.35}}
.bn-cta{animation:bnCtaIn .6s cubic-bezier(.2,.9,.3,1.3) .4s both,bnPulse 2.2s ease-in-out 1.3s infinite}
@keyframes bnCtaIn{from{transform:translateY(-24px) rotate(-6deg);opacity:.35}}
@keyframes bnPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
.bn-shine{animation:bnShine 3.8s ease-in-out 1.2s infinite}
.bn-shine-tag{animation-delay:2.4s}
@keyframes bnShine{0%{transform:translateX(0)}45%,100%{transform:translateX(660px)}}
.bn-tri{animation:bnFloat 3.6s ease-in-out infinite}
.bn-tri:nth-child(2){animation-duration:2.8s;animation-delay:-.6s}
.bn-tri:nth-child(3){animation-duration:4.2s;animation-delay:-1.2s}
.bn-tri:nth-child(4){animation-duration:3s;animation-delay:-2s}
.bn-tri:nth-child(5){animation-duration:3.9s;animation-delay:-.3s}
.bn-tri:nth-child(6){animation-duration:2.6s;animation-delay:-1.5s}
.bn-tri:nth-child(7){animation-duration:4.4s;animation-delay:-2.4s}
.bn-tri:nth-child(8){animation-duration:3.2s;animation-delay:-.9s}
@keyframes bnFloat{0%,100%{transform:translate(0,0) rotate(0) scale(1)}25%{transform:translate(4px,-8px) rotate(12deg) scale(1.04)}50%{transform:translate(0,-12px) rotate(-5deg) scale(1.1)}75%{transform:translate(-4px,-6px) rotate(-12deg) scale(1.02)}}
.bn-spark{animation:bnTwinkle 2.4s ease-in-out infinite}
.bn-spark:nth-child(2){animation-delay:-.8s}
.bn-spark:nth-child(3){animation-delay:-1.6s}
@keyframes bnTwinkle{0%,100%{transform:scale(.2) rotate(0);opacity:0}50%{transform:scale(1.15) rotate(45deg);opacity:1}}
.bn-lines path{stroke-dasharray:100;stroke-dashoffset:100;animation:bnDraw 3.4s ease-in-out infinite}
.bn-lines path:nth-child(2){animation-delay:-1.1s}
.bn-lines path:nth-child(3){animation-delay:-2.2s}
@keyframes bnDraw{0%{stroke-dashoffset:100}40%,60%{stroke-dashoffset:0}100%{stroke-dashoffset:-100}}

.event-chip{position:relative;width:min(100%,420px);background:var(--surface);color:var(--ink);border-radius:14px;padding:1rem 1.1rem;display:grid;grid-template-columns:auto 1fr;gap:.9rem;align-items:center;box-shadow:0 24px 40px -18px rgba(0,0,0,.55);text-decoration:none}
.event-chip .d{background:var(--red);color:#fff;border-radius:10px;width:60px;text-align:center;padding:.35rem 0;line-height:1.1}
.event-chip .d b{display:block;font-size:1.7rem;font-family:var(--f-display);font-weight:700}
.event-chip .d small{font-size:.72rem}
.event-chip strong{display:block;font-family:var(--f-display);font-weight:700;font-size:1.1rem;line-height:1.3}
.event-chip em{font-style:normal;font-size:.82rem;color:var(--ink-soft)}

.scallop{display:block;width:100%;height:28px;margin-top:-27px;position:relative;color:var(--paper)}

@media (max-width:980px){
  .hero .wrap{grid-template-columns:1fr;padding-block:3rem 5rem}
  .notice{width:min(100%,440px)}
}
@media (max-width:560px){
  .hero .ctas .btn{flex:1 1 100%}
  .hero h1{margin-top:1rem}
  .bn .t-pill{font-size:16px}
  .bn .t-cta-s{font-size:18px}
}
