/* LankaMithuru identity palette: coral heart + turquoise hands */
:root{--ink:#293638;--muted:#687779;--paper:#FBF8F5;--cream:#F4EFEB;--line:#E7DEDA;--orange:#EA4B42;--deep:#263638;--sage:#DDF1F0}
body{background:var(--paper);color:var(--ink)}
.site-header{background:rgba(251,248,245,.96);border-color:#E9DFDA}
.brand-word{color:#293638}.brand-word span,.main-nav a:hover,.footer-column a:hover{color:#EA4B42}
.brand-mark{color:#EA4B42}.main-nav a,.text-button{color:#58686A}
.header-cta{border-color:#E8C7C2;color:#B83C35}.header-cta:hover{background:#EA4B42;border-color:#EA4B42;color:#fff}
.eyebrow{color:#738080}.eyebrow-line{background:#EA4B42}
.hero,.hero-video-backdrop{background:#263638}
.hero-video-shade{background:linear-gradient(90deg,rgba(28,43,45,.84) 0%,rgba(35,55,57,.65) 42%,rgba(35,55,57,.22) 100%),linear-gradient(0deg,rgba(28,43,45,.42),transparent 48%,rgba(28,43,45,.18))}
.hero h1 em{color:#5FC0C7}.hero .button-dark,.button-dark{background:#EA4B42;color:#fff}
.hero .button-dark:hover,.button-dark:hover{background:#D93F37}
.hero .button-light{border-color:#D6E5E3;color:#fff;background:#ffffff18}
.button-light{border-color:#D8E5E2;color:#486466;background:#F5F8F6}.button-light:hover{background:#E6F3F1}
.division-section,.edu-section{background:#F4EFEB}
.section-heading h2,.edu-intro h2,.join-section h2{color:#293638}
.section-heading>p,.hero-intro,.edu-intro p{color:#687779}
.division-card{background:#FFFEFC;border-color:#E7DEDA}.division-card:hover{box-shadow:0 18px 42px #26363818}
.division-content h3,.destination-copy h3{color:#293638}.division-content p,.destination-copy p{color:#718080}
.circle-arrow{color:#EA4B42;border-color:#E8D8D4}.card-link b,.underlined-link span,.category-icon,.category-item>b{color:#EA4B42}
.card-link{border-color:#E7DCD7}.explore-section{background:#FBF8F5}
.destination-feature{background:#E8F4F1}.destination-stamp{background:#FBF8F5;color:#293638}
.destination-stamp span{color:#EA4B42}.destination-meta{border-color:#C9DEDA;color:#71817F}
.category-grid{border-color:#E5DCD7}.category-item{border-color:#E5DCD7;background:#FFFEFC}
.category-item:last-child{border-right-color:#E5DCD7}.category-item:hover{background:#F0F8F6}
.category-icon{border-color:#CFE3DF}.category-item strong{color:#34494A}
.hub-section{background:#263638;color:#F8F6F3}.hub-tile{border-color:#ffffff35}
.hub-tile:hover{border-color:#5FC0C7;background:#ffffff10}.hub-tile-large{background:#344F50}
.tile-number{color:#C6D8D5}.tile-kicker,.hub-footer a{color:#5FC0C7}
.hub-footer{border-color:#ffffff35;color:#D3DEDA}
.edu-resources{border-color:#D8E4DF}.edu-resources>a{border-color:#D8E4DF}
.edu-resources>a:hover{background:#F0F8F6}.resource-icon{border-color:#BFDCD7;color:#278C91;background:#F6FBF9}
.edu-resources strong{color:#34494A}.edu-resources small{color:#748382}.edu-resources b{color:#EA4B42}
.join-section{background:#F8E7E3;color:#293638}.join-section .eyebrow{color:#A34B45}
.join-section h2{color:#293638}.join-section h2 em{color:#EA4B42}.join-section p{color:#665D59}
.button-cream{background:#5FC0C7;color:#173C3F}.button-cream:hover{background:#4BAFB6}
.site-footer{background:#263638;color:#F5F3EF}.brand-footer .brand-word{color:#fff}
.brand-footer .brand-word span,.footer-column strong{color:#5FC0C7}
.footer-column a,.footer-note{color:#D5DFDC}.footer-bottom{border-color:#ffffff30;color:#C1CFCC}
.footer-bottom a{color:#5FC0C7}.search-panel{background:#FFFEFC}
.search-field>span{color:#EA4B42}.search-results button:hover,.search-result-link:hover{background:#F0F8F6;color:#247D82}
.search-result-link b{color:#EA4B42}.toast{background:#263638}
.subpage-hero{background:#F8EDEA}.subpage-hero h1{color:#293638}.subpage-hero h1 em{color:#EA4B42}
.subpage-hero>p{color:#687779}.subpage-card{border-color:#E7DEDA;background:#FFFEFC}
.subpage-card:hover{border-color:#B9DEDA;box-shadow:0 14px 34px #26363812}
.subpage-card-icon{background:#E6F4F1;color:#278C91}.subpage-card h3{color:#34494A}
.subpage-card p{color:#718080}.subpage-card>span:last-child{color:#D94A42}
.subpage-callout{background:#E6F4F1}.subpage-callout h2{color:#293638}.subpage-callout p{color:#687779}
.subpage-hero-panel{border-color:#E8D5D0}.subpage-hero-panel strong{color:#278C91}
.subpage-hero-panel span{color:#718080}.edu-pathway{color:#278C91}.edu-pathway b{color:#EA4B42}
@media(max-width:650px){.main-nav{background:var(--paper);border-color:#E7DEDA}.main-nav a{color:#58686A}.site-header{background:rgba(251,248,245,.97)}}

/* Homepage hero fallback: keep the Sri Lankan photo after the palette background override */
.hero-video-backdrop{
  background-color:#263638;
  background-image:url("https://images.unsplash.com/photo-1588598198321-9735fd5f7b5a?auto=format&fit=crop&w=2000&q=90");
  background-position:center 46%;
  background-size:cover;
  background-repeat:no-repeat;
}


/* Hero media: slide each playable clip across the full-bleed backdrop */
.hero-video-backdrop{background-color:#263638!important}
.hero-bg-fallback{z-index:0!important;opacity:1!important}
.hero-bg-video{
  z-index:1!important;
  display:block!important;
  opacity:0!important;
  transform:translateX(7%) scale(1.035)!important;
  transition:opacity 1.15s ease,transform 1.35s cubic-bezier(.2,.72,.2,1)!important;
  background:transparent!important;
  will-change:opacity,transform;
}
.hero-bg-video.is-visible[data-video-state="playing"]{
  opacity:1!important;
  transform:translateX(0) scale(1)!important;
}
.hero-bg-video.is-visible[data-video-state="loading"]{opacity:0!important}
.hero-bg-video.has-video-error{opacity:0!important}
.hero-video-shade{
  z-index:2!important;
  background:
    linear-gradient(90deg,rgba(20,35,37,.58) 0%,rgba(20,35,37,.34) 48%,rgba(20,35,37,.12) 100%),
    linear-gradient(0deg,rgba(20,35,37,.24),transparent 55%,rgba(20,35,37,.10))!important;
}
.hero-video-caption,.hero-video-progress{z-index:3!important}
@media(prefers-reduced-motion:reduce){
  .hero-bg-video{transition:none!important;transform:none!important}
}
