
@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Serif+Display:ital@0;1&family=Gravitas+One&family=Grenze+Gotisch:wght@100..900&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Nata+Sans:wght@100..900&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');




/* ==========================================================================
   BOKO COLLEGE OF EDUCATION — DESIGN TOKENS
   ========================================================================== */
:root{
  /* colour */
  --navy-900:#0a2145;
  --navy-800:#0d2f5e;
  --navy-700:#123a72;
  --navy-050:#eef2f8;
  --rust-600:#b4501a;
  --rust-500:#c4611f;
  --gold-400:#e0a838;
  --parchment:#f7f4ec;
  --paper:#ffffff;
  --ink-900:#1c2430;
  --ink-600:#4a5568;
  --line:#dfe3ea;

  /* type */
  --font-display:"DM Serif Display", serif;
  --font-body:"Plus Jakarta Sans", sans-serif;

  /* layout */
  --container-w:1280px;
  --radius-sm:4px;
  --radius-md:8px;
  --shadow-md:0 8px 24px rgba(10,33,69,.12);
  --shadow-sm:0 2px 8px rgba(10,33,69,.08);

  /* header heights (used by JS/CSS for sticky offset) */
  --topbar-h:38px;
  --brandbar-h:104px;
  --navbar-h:52px;
}

/* ==========================================================================
   RESET
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--parchment);
  line-height:1.5;
}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
button{font:inherit;background:none;border:none;cursor:pointer;color:inherit;}
img{max-width:100%;display:block;}
svg.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

.container{
  width:100%;
  max-width:var(--container-w);
  margin-inline:auto;
  padding-inline:24px;
}

/* Skip link */
.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:var(--rust-600);
  color:#fff;
  padding:10px 18px;
  z-index:1000;
  font-weight:600;
  border-radius:0 0 var(--radius-sm) 0;
}
.skip-link:focus{left:0;}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible{
  outline:3px solid var(--gold-400);
  outline-offset:2px;
}

/* ==========================================================================
   SITE HEADER — wrapper
   ========================================================================== */
.site-header{
  position:relative;
  z-index:60;
  font-family:var(--font-body);
}

/* --------------------------------------------------------------------------
   1. TOPBAR
   -------------------------------------------------------------------------- */
.topbar{
  background:var(--navy-900);
  color:#c9d6ea;
  font-size:.82rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:var(--topbar-h);
}
.topbar__quicklinks{
  display:flex;
  gap:22px;
}
.topbar__quicklinks a{
  padding:9px 0;
  display:inline-block;
  letter-spacing:.02em;
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.topbar__quicklinks a:hover{
  color:#fff;
  border-color:var(--gold-400);
}
.topbar__utility{
  display:flex;
  gap:4px;
}
.icon-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  color:#c9d6ea;
  transition:background .15s ease, color .15s ease;
}
.icon-btn:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}

/* inline search panel */
.search-panel{
  max-height:0;
  overflow:hidden;
  background:var(--navy-800);
  transition:max-height .28s ease;
}
.search-panel.is-open{max-height:80px;}
.search-panel__inner{
  display:flex;
  align-items:center;
  gap:12px;
  padding-block:12px;
}
.search-panel__inner form{
  display:flex;
  flex:1;
  gap:8px;
}
.search-panel__inner input{
  flex:1;
  padding:10px 14px;
  border-radius:var(--radius-sm);
  border:1px solid transparent;
  font-family:var(--font-body);
  font-size:.95rem;
}
.search-panel__inner button[type="submit"]{
  background:var(--rust-600);
  color:#fff;
  padding:10px 18px;
  border-radius:var(--radius-sm);
  font-weight:600;
  transition:background .15s ease;
}
.search-panel__inner button[type="submit"]:hover{background:var(--rust-500);}
.search-panel__close{
  color:#fff;
  font-size:1.6rem;
  line-height:1;
  padding:4px 8px;
}

/* --------------------------------------------------------------------------
   2. BRANDBAR (logo / name / partner)
   -------------------------------------------------------------------------- */
.brandbar{
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding: 5px 0px;
}
.brandbar__inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  /* padding-block:16px; */
}
.brand{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}
.brand__mark{
  flex:0 0 auto;
  width:60px;
  height:60px;
}
.brand__mark-svg{width:100%;height:100%;}
.ring-1{fill:none;stroke:var(--rust-500);stroke-width:1.5;}
.ring-2{fill:none;stroke:var(--navy-800);stroke-width:1;}
.mark-shape{fill:var(--navy-050);stroke:var(--navy-800);stroke-width:1.5;}
.mark-letters{
  font-family:var(--font-display);
  font-weight:700;
  font-size:13px;
  fill:var(--navy-900);
}
.brand__text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.brand__eyebrow{
  font-size:.85rem;
  color:var(--rust-600);
  font-weight:600;
}
.brand__name{
  font-family:var(--font-display);
  font-size:clamp(1.25rem, 1.6vw + .6rem, 1.75rem);
  font-weight:700;
  color:var(--navy-900);
  line-height:1.15;
}
.brand__address{
  font-size:.8rem;
  color:var(--ink-600);
}
.brandbar__partner{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:12px;
}
.partner-logo{width:52px;height:52px;}
.partner-caption{
  display:flex;
  flex-direction:column;
  font-size:.78rem;
  line-height:1.3;
  color:var(--ink-600);
}
.partner-caption strong{
  color:var(--navy-900);
  font-size:.78rem;
}

/* ---------------------------------------------------------
   COLLEGE BRAND
--------------------------------------------------------- */

.brand {
    display: flex;
    align-items: center;
    gap: 16px;

    text-decoration: none;

    min-width: 0;
}


/* College Logo */

.brand .brand__logo {
    /* width: 100%; */
    height: 74px;

    object-fit: contain;

    flex: 0 0 auto;
}


/* College Details */

.brand__details {
    display: flex;
    flex-direction: column;

    justify-content: center;

    min-width: 0;

    line-height: 1.2;
}


/* Assamese Name */

.brand__assamese {
    font-size: 13px;
    font-weight: 600;

    color: #17479e;

    margin-bottom: 2px;
}


/* English Name */

.brand__name {
    font-family: var(--font-body);

    font-size: clamp(13px, 1vw, 30px);

    font-weight: 800;

    color: #102b78;

    line-height: 1.05;

    letter-spacing: 0.2px;
}


/* Established */

.brand__estd {
    margin-top: 3px;

    font-size: 13px;

    font-weight: 500;

    color: #333;
}


/* NAAC + Affiliation */

.brand__info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 3px;

    font-size: 12px;

    font-weight: 500;
}

.brand__info span:first-child {
    color: #164c9c;
}

.brand__info span:last-child {
    color: #b51d1d;
}

.brand__info .separator {
    color: #777;
}


/* UGC */

.brand__ugc {
    margin-top: 3px;

    font-size: 11px;

    font-weight: 600;

    color: #d19b00;

    line-height: 1.3;
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .brand {
        gap: 10px;
    }

    .brand__logo {
        width: 65px;
        height: 65px;
    }

    .brand__assamese {
        font-size: 13px;
    }

    .brand__name {
        font-size: 21px;
    }

    .brand__estd {
        font-size: 11px;
    }

    .brand__info {
        font-size: 10px;
    }

    .brand__ugc {
        font-size: 9px;
    }
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 600px) {

    .brand {
        gap: 8px;
        width: 100%;
        justify-content: center;
    }

    .brand__logo {
        width: 55px;
        height: 55px;
    }

    .brand__assamese {
        font-size: 10px;
    }

    .brand__name {
        font-size: 15px;
        line-height: 1.05;
    }

    .brand__estd {
        font-size: 9px;
    }

    .brand__info {
        font-size: 8px;
        gap: 4px;
    }

    .brand__ugc {
        font-size: 7px;
    }

    .brand__info .separator {
        display: none;
    }
}


/* ---------------------------------------------------------
   VERY SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 400px) {

    .brand__logo {
        width: 48px;
        height: 48px;
    }

    .brand__assamese {
        font-size: 8px;
    }

    .brand__name {
        font-size: 12px;
    }

    .brand__estd {
        font-size: 8px;
    }

    .brand__info {
        font-size: 7px;
    }

    .brand__ugc {
        font-size: 6.5px;
    }
}

/* --------------------------------------------------------------------------
   3. NAVBAR (primary nav + dropdowns + more toggle)
   -------------------------------------------------------------------------- */
.navbar{
  background:var(--navy-800);
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:var(--shadow-sm);
}
.navbar__inner{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-menu{
  display:flex;
  align-items:stretch;
  flex-wrap:wrap;
}
.nav-item{
  position:relative;
}
.nav-link{
  display:flex;
  align-items:center;
  gap:6px;
  padding:15px 16px;
  font-size:.92rem;
  font-weight:600;
  color:#eaf0fb;
  white-space:nowrap;
  border-bottom:3px solid transparent;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.nav-link:hover,
.nav-link.is-active{
  background:var(--navy-700);
  border-color:var(--gold-400);
  color:#fff;
}
.nav-link--drop::after{
  content:'';
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .15s ease;
}
.has-dropdown.is-open .nav-link--drop::after{
  transform:rotate(-135deg) translateY(2px);
}

/* Dropdown panel */
.dropdown{
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:var(--paper);
  border-top:3px solid var(--rust-600);
  box-shadow:var(--shadow-md);
  border-radius:0 0 var(--radius-md) var(--radius-md);
  padding:8px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s;
  z-index:70;
}
.has-dropdown.is-open .dropdown,
.has-dropdown:hover .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.dropdown li a{
  display:block;
  padding:10px 20px;
  font-size:.9rem;
  color:var(--ink-900);
  font-weight:500;
  border-left:3px solid transparent;
  transition:background .15s ease, border-color .15s ease;
}
.dropdown li a:hover{
  background:var(--navy-050);
  border-color:var(--rust-600);
  color:var(--navy-900);
}

/* Hamburger for mobile nav */
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  padding:10px 8px;
  margin-left:4px;
}
.nav-toggle__bar{
  width:24px;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.is-active .nav-toggle__bar:nth-child(2){opacity:0;}
.nav-toggle.is-active .nav-toggle__bar:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* "More" trigger -> off canvas sidebar */
.more-toggle{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  color:#eaf0fb;
  font-weight:600;
  font-size:.88rem;
  border-left:1px solid rgba(255,255,255,.15);
  flex-shrink:0;
}
.more-toggle:hover{color:#fff;}
.more-toggle .icon{width:18px;height:18px;}

/* ==========================================================================
   OFF-CANVAS "MORE" SIDEBAR
   ========================================================================== */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(10,20,40,.5);
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
  z-index:80;
}
.overlay.is-open{opacity:1;visibility:visible;}

.more-sidebar{
  position:fixed;
  top:0;
  right:0;
  height:100%;
  width:min(320px, 85vw);
  background:var(--gold-400);
  background:linear-gradient(180deg, #e2a83a, #d69524);
  color:var(--navy-900);
  z-index:90;
  transform:translateX(100%);
  transition:transform .3s ease;
  overflow-y:auto;
  box-shadow:-8px 0 24px rgba(0,0,0,.25);
}
.more-sidebar.is-open{transform:translateX(0);}

.more-sidebar__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  font-weight:700;
  border-bottom:1px solid rgba(10,33,69,.2);
}
.more-sidebar__close{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:600;
}
.more-sidebar__close span{font-size:1.3rem;line-height:1;}

.more-sidebar__list{padding:8px 0;}
.more-sidebar__list > li > a,
.more-sidebar__sub-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:14px 22px;
  font-weight:600;
  font-size:.95rem;
  border-bottom:1px solid rgba(10,33,69,.12);
  transition:background .15s ease;
}
.more-sidebar__list > li > a:hover,
.more-sidebar__sub-toggle:hover{
  background:rgba(10,33,69,.1);
}
.chev{
  transition:transform .2s ease;
  font-size:1.2rem;
}
.has-sub.is-open .chev{transform:rotate(90deg);}
.more-sidebar__sublist{
  max-height:0;
  overflow:hidden;
  background:rgba(255,255,255,.25);
  transition:max-height .25s ease;
}
.has-sub.is-open .more-sidebar__sublist{max-height:200px;}
.more-sidebar__sublist a{
  display:block;
  padding:12px 22px 12px 36px;
  font-size:.88rem;
  font-weight:500;
}
.more-sidebar__sublist a:hover{text-decoration:underline;}

/* ==========================================================================
   PLACEHOLDER MAIN CONTENT
   ========================================================================== */
.placeholder-section{
  padding-block:64px;
  max-width:760px;
}
.placeholder-section h1{
  font-family:var(--font-display);
  color:var(--navy-900);
  font-size:clamp(1.8rem, 2vw + 1rem, 2.6rem);
  margin-bottom:16px;
}
.placeholder-section p{
  color:var(--ink-600);
  font-size:1.05rem;
}

/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */
@media (max-width:1024px){
  .topbar__quicklinks{gap:14px;}
  .nav-link{padding:14px 12px;font-size:.86rem;}
  .brand__mark{width:52px;height:52px;}
}

/* ==========================================================================
   RESPONSIVE — MOBILE (nav collapses into hamburger drawer)
   ========================================================================== */
@media (max-width:860px){
  .topbar__quicklinks li:nth-child(n+3){display:none;}

      .brandbar__inner {
        padding-block: 12px;
        flex-direction: column;
        flex-wrap: wrap;
    }
  .brand__address{display:none;}
  .brandbar__partner{gap:8px;}
  .partner-caption{display:none;}

  .nav-toggle{display:flex;}

  .navbar__inner{position:relative;flex-wrap:wrap;}

  .nav-menu{
    display:none;
    flex-direction:column;
    width:100%;
    background:var(--navy-800);
    position:absolute;
    top:100%;
    left:0;
    box-shadow:var(--shadow-md);
    max-height:75vh;
    overflow-y:auto;
  }
  .nav-menu.is-open{display:flex;}

  .nav-item{width:100%;}
  .nav-link{
    width:100%;
    padding:14px 20px;
    border-bottom:1px solid rgba(255,255,255,.08);
    border-left:3px solid transparent;
  }
  .nav-link:hover,.nav-link.is-active{
    border-bottom:1px solid rgba(255,255,255,.08);
    border-left:3px solid var(--gold-400);
  }
  .nav-link--drop{justify-content:space-between;}

  .dropdown{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    max-height:0;
    overflow:hidden;
    border-top:none;
    box-shadow:none;
    border-radius:0;
    background:var(--navy-700);
    padding:0;
    transition:max-height .25s ease;
  }
  .has-dropdown.is-open .dropdown{
    max-height:400px;
    padding:6px 0;
  }
  .dropdown li a{
    color:#eaf0fb;
    padding:12px 20px 12px 36px;
  }
  .dropdown li a:hover{
    background:rgba(255,255,255,.08);
    color:#fff;
  }

  .more-toggle{
    margin-left:auto;
    border-left:none;
    padding:12px 8px;
  }
  .more-toggle__label{display:none;}
}

@media (max-width:520px){
  .topbar__quicklinks li:nth-child(n+2){display:none;}
  .brand__eyebrow{display:none;}
  .container{padding-inline:16px;}
}







/* =========================================================
   DESKTOP DROPDOWNS
   ========================================================= */

@media (min-width: 861px) {

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: visible;
}

    .nav-menu > .nav-item {
        position: relative;
        flex: 0 0 auto;
    }

    .dropdown {
        position: absolute;
        top: 100%;
        left: 0;

        min-width: 240px;

        background: var(--paper);
        border-top: 3px solid var(--rust-600);

        box-shadow: var(--shadow-md);
        border-radius: 0 0 var(--radius-md) var(--radius-md);

        padding: 8px 0;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(6px);

        transition:
            opacity .15s ease,
            transform .15s ease,
            visibility .15s ease;

        z-index: 9999;
    }


    /* Open by JS */
    .has-dropdown.is-open > .dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }


    /* Optional hover support */
    .has-dropdown:hover > .dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }


    .dropdown li {
        width: 100%;
    }

    .dropdown li a {
        display: block;

        width: 100%;

        padding: 10px 20px;

        font-size: .9rem;
        color: var(--ink-900);
        font-weight: 500;

        border-left: 3px solid transparent;

        text-decoration: none;

        transition:
            background .15s ease,
            border-color .15s ease,
            color .15s ease;
    }

    .dropdown li a:hover {
        background: var(--navy-050);
        border-color: var(--rust-600);
        color: var(--navy-900);
    }
}





/* =========================================================
   DESKTOP NAVIGATION OVERFLOW
   ========================================================= */



   

@media (min-width: 861px) {

    .navbar__inner {
        display: flex;
        align-items: center;
        width: 100%;
    }

    /* Navigation takes available space */
    .nav-menu {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    /* Every item remains one line */
    .nav-menu > .nav-item {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    /* Items moved to More */
    .nav-item.is-overflowed {
        display: none !important;
    }

    /* More button */
    .more-toggle {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;

        margin-left: 10px;
        padding: 8px 14px;

        border: 0;
        border-radius: 4px;

        background: var(--rust-600);
        color: #fff;

        font-size: .78rem;
        font-weight: 600;

        cursor: pointer;
        white-space: nowrap;

        transition:
            background .2s ease,
            transform .2s ease;
    }

    .more-toggle:hover {
        background: var(--rust-500);
    }

    .more-toggle .icon {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
    }
}


/* =========================================================
   DYNAMIC ITEMS INSIDE MORE SIDEBAR
   ========================================================= */

.more-sidebar__overflow {
    border-bottom: 1px solid rgba(0,0,0,.08);
    margin-bottom: 8px;
    padding-bottom: 8px;
}


/* Normal link */
.overflow-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 11px 18px;

    color: inherit;
    text-decoration: none;

    font-size: .9rem;
}

.overflow-link:hover {
    background: rgba(0,0,0,.05);
}


/* Dropdown section */
.overflow-section {
    width: 100%;
}


/* Dropdown section title */
.overflow-section__title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 11px 18px;

    background: transparent;
    border: 0;

    color: inherit;
    font: inherit;
    font-size: .9rem;

    cursor: pointer;
    text-align: left;
}

.overflow-section__title:hover {
    background: rgba(0,0,0,.05);
}


/* Arrow */
.overflow-section__arrow {
    font-size: 18px;
    transition: transform .2s ease;
}

.overflow-section.is-open
.overflow-section__arrow {
    transform: rotate(90deg);
}


/* Dropdown links */
.overflow-section__links {
    display: none;

    margin: 0;
    padding: 0;

    list-style: none;
}

.overflow-section.is-open
.overflow-section__links {
    display: block;
}

.overflow-section__links a {
    display: block;

    padding: 9px 18px 9px 34px;

    color: inherit;
    text-decoration: none;

    font-size: .82rem;
}

.overflow-section__links a:hover {
    background: rgba(0,0,0,.05);
}


/* =========================================================
   MOBILE — OVERRIDE DESKTOP OVERFLOW
   ========================================================= */

@media (max-width: 860px) {

    /* Mobile hamburger menu controls visibility */
    .nav-menu {
        display: none !important;

        flex-direction: column;
        flex-wrap: nowrap;

        width: 100%;

        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Open hamburger menu */
    .nav-menu.is-open {
        display: flex !important;
    }

    /* More button is NEVER used on mobile */
    .more-toggle {
        display: none !important;
    }

    /* Restore every navbar item */
    .nav-menu > .nav-item {
        display: block;
        width: 100%;
        flex: 0 0 auto;
    }

    .nav-item.is-overflowed {
        display: block !important;
    }

    /* Mobile dropdowns */
    .dropdown {
        position: static;
    }

}












/* hero section,  */

/* ==========================================================================
   HERO SLIDER SECTION
   ========================================================================== */

/* Outer wrapper — controls layout when a side box is added later */
.hero-section{
  display:flex;
  align-items:stretch;
  gap:0;
  width:100%;
  background:var(--navy-900);
}

/* Slider width is adjustable from one place.
   Default = full width. Later, e.g. for a side box:
   .hero-section{ --hero-slider-width: 70%; } */
.hero-slider{
  position:relative;
  width:var(--hero-slider-width, 100%);
  aspect-ratio:16/6;
  min-height:280px;
  overflow:hidden;
  flex-shrink:0;
}

/* Reserved slot for a future side box next to the slider */
.hero-section__box{
  flex:1;
  background:var(--navy-800);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

/* ---- Viewport: scroll-snap container, drag-scrollable ---- */
.hero-slider__viewport{
  width:100%;
  height:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  cursor:grab;
  /* hide native scrollbar, we don't want a visible track bar */
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.hero-slider__viewport::-webkit-scrollbar{display:none;}
.hero-slider__viewport.is-dragging{
  cursor:grabbing;
  scroll-behavior:auto; /* disable smooth snap while actively dragging */
  scroll-snap-type:none;
}

.hero-slider__track{
  display:flex;
  height:100%;
  width:100%;
}

.hero-slide{
  position:relative;
  flex:0 0 100%;
  width:100%;
  height:100%;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none; /* image itself shouldn't intercept drag */
  user-select:none;
}

/* caption box, bottom-right of each slide */
.hero-slide__caption{
  position:absolute;
  right:5%;
  bottom:9%;
  max-width:min(46%, 520px);
  background:linear-gradient(135deg, var(--gold-400), var(--rust-500));
  color:var(--navy-900);
  padding:20px 26px;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);
  pointer-events:none;
}
.hero-slide__caption p{
  margin:0;
  font-size:.95rem;
  font-weight:600;
  line-height:1.5;
}

/* ---- controls: prev / play-pause / next, bottom-left ---- */
.hero-slider__controls{
  position:absolute;
  left:5%;
  bottom:8%;
  display:flex;
  align-items:center;
  gap:10px;
  z-index:10;
}
.hero-slider__arrow,
.hero-slider__play{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(10,33,69,.55);
  color:#fff;
  backdrop-filter:blur(2px);
  transition:background .15s ease, transform .15s ease;
}
.hero-slider__arrow:hover,
.hero-slider__play:hover{
  background:var(--rust-600);
  transform:translateY(-2px);
}
.hero-slider__play{background:#fff;color:var(--navy-900);}
.hero-slider__play:hover{background:var(--gold-400);}
.hero-slider__controls .icon{width:16px;height:16px;stroke-width:2.4;fill:none;stroke:currentColor;}
.hero-slider__play .icon--play{fill:currentColor;stroke:none;}

/* ---- dot indicators, bottom-center ---- */
.hero-slider__dots{
  position:absolute;
  left:50%;
  bottom:4%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:10;
}
.hero-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:rgba(255,255,255,.5);
  transition:background .15s ease, width .2s ease;
}
.hero-dot.is-active{
  background:var(--gold-400);
  width:22px;
  border-radius:5px;
}

/* single-slide fallback: no controls/dots needed */
.hero-slider--static .hero-slider__controls,
.hero-slider--static .hero-slider__dots{
  display:none;
}
.hero-slider--static .hero-slider__viewport{
  cursor:default;
}

/* ---- responsive ---- */
@media (max-width:1024px){
  .hero-section{ --hero-slider-width: 100% !important; } /* force full width below desktop even if reduced */
}
@media (max-width:860px){
  .hero-slider{aspect-ratio:4/5;min-height:420px;}
  .hero-slide__caption{
    left:5%;
    right:5%;
    max-width:none;
    bottom:16%;
    padding:16px 18px;
  }
  .hero-slide__caption p{font-size:.85rem;}
  .hero-slider__controls{left:50%;transform:translateX(-50%);bottom:6%;}
  .hero-slider__dots{bottom:1.5%;}
}
@media (max-width:520px){
  .hero-slider{aspect-ratio:3/4;min-height:360px;}
}

@media (prefers-reduced-motion:reduce){
  .hero-slider__viewport{scroll-behavior:auto;}
}







.khs-hero-section {
    width: 100%;
    background: #09294d;
    overflow: hidden;
}

.khs-hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    min-height: 470px;
    overflow: hidden;
}

.khs-hero-viewport {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.khs-hero-viewport::-webkit-scrollbar {
    display: none;
}

.khs-hero-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.khs-hero-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.khs-hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.khs-hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.khs-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 25, 47, .94) 0%,
            rgba(5, 30, 55, .84) 28%,
            rgba(5, 30, 55, .42) 52%,
            rgba(5, 30, 55, .08) 78%,
            rgba(5, 30, 55, 0) 100%
        );
    pointer-events: none;
}

.khs-hero-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: max(5%, calc((100% - 1180px) / 2));
    width: min(570px, 46%);
    transform: translateY(-50%);
    color: #fff;
}

.khs-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .82);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
}

.khs-hero-eyebrow i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #e3ad2d;
}

.khs-hero-content h1 {
    margin: 0;
    color: #fff;
    font-family:
        "Lora", serif;
    font-size: clamp(42px, 4.2vw, 67px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -1.5px;
}

.khs-hero-content h1 span {
    color: #e5ae2d;
}

.khs-hero-content p {
    max-width: 500px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .87);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
}

.khs-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.khs-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.khs-hero-btn span {
    font-size: 15px;
    line-height: 1;
}

.khs-hero-btn--primary {
    background: #e4aa25;
    border: 1px solid #e4aa25;
    color: #102d4d;
}

.khs-hero-btn--primary:hover {
    background: #f1bd43;
    border-color: #f1bd43;
    transform: translateY(-2px);
}

.khs-hero-btn--outline {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    backdrop-filter: blur(3px);
}

.khs-hero-btn--outline:hover {
    background: #fff;
    border-color: #fff;
    color: #123b70;
    transform: translateY(-2px);
}

.khs-hero-controls {
    position: absolute;
    z-index: 10;
    left: max(5%, calc((100% - 1180px) / 2));
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.khs-hero-arrow,
.khs-hero-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(5, 27, 50, .55);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition:
        background .2s ease,
        transform .2s ease;
}

.khs-hero-arrow:hover,
.khs-hero-play:hover {
    background: #174c89;
    transform: translateY(-2px);
}

.khs-hero-play {
    background: #fff;
    color: #123b70;
    border-color: #fff;
}

.khs-hero-play:hover {
    background: #e4aa25;
    border-color: #e4aa25;
}

.khs-hero-arrow svg,
.khs-hero-play svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.khs-hero-play-icon {
    fill: currentColor !important;
    stroke: none !important;
}

.khs-hero-dots {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 27px;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
}

.khs-hero-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition:
        width .2s ease,
        background .2s ease;
}

.khs-hero-dot.is-active {
    width: 22px;
    border-radius: 5px;
    background: #e4aa25;
}

.khs-hero-slider--static .khs-hero-controls,
.khs-hero-slider--static .khs-hero-dots {
    display: none;
}

.khs-hero-slider--static .khs-hero-viewport {
    cursor: default;
}

@media (max-width: 1100px) {
    .khs-hero-slider {
        aspect-ratio: 16 / 7;
        min-height: 430px;
    }

    .khs-hero-content {
        left: 5%;
        width: 50%;
    }

    .khs-hero-content h1 {
        font-size: clamp(38px, 4.5vw, 56px);
    }
}

@media (max-width: 860px) {
    .khs-hero-slider {
        aspect-ratio: 4 / 3;
        min-height: 500px;
    }

    .khs-hero-content {
        top: auto;
        left: 6%;
        right: 6%;
        bottom: 105px;
        width: auto;
        transform: none;
    }

    .khs-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 25, 47, .12) 0%,
                rgba(4, 25, 47, .34) 34%,
                rgba(4, 25, 47, .92) 78%,
                rgba(4, 25, 47, .97) 100%
            );
    }

    .khs-hero-content h1 {
        font-size: clamp(38px, 7vw, 54px);
    }

    .khs-hero-content p {
        max-width: 620px;
        font-size: 12px;
    }

    .khs-hero-controls {
        left: 6%;
        bottom: 35px;
    }

    .khs-hero-dots {
        bottom: 47px;
    }
}

@media (max-width: 600px) {
    .khs-hero-slider {
        aspect-ratio: 4 / 5;
        min-height: 530px;
    }

    .khs-hero-slide > img {
        object-position: 63% center;
    }

    .khs-hero-content {
        left: 20px;
        right: 20px;
        bottom: 88px;
    }

    .khs-hero-eyebrow {
        margin-bottom: 9px;
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .khs-hero-content h1 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1;
        letter-spacing: -1px;
    }

    .khs-hero-content p {
        margin-top: 14px;
        font-size: 11px;
        line-height: 1.55;
    }

    .khs-hero-actions {
        gap: 7px;
        margin-top: 16px;
    }

    .khs-hero-btn {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 9px;
    }

    .khs-hero-btn span {
        font-size: 13px;
    }

    .khs-hero-controls {
        left: 20px;
        bottom: 25px;
    }

    .khs-hero-dots {
        right: 20px;
        left: auto;
        bottom: 36px;
        transform: none;
    }
}

@media (max-width: 400px) {
    .khs-hero-slider {
        min-height: 500px;
    }

    .khs-hero-content {
        left: 16px;
        right: 16px;
        bottom: 82px;
    }

    .khs-hero-content h1 {
        font-size: 33px;
    }

    .khs-hero-content p {
        font-size: 10px;
    }

    .khs-hero-btn {
        padding: 8px 10px;
        font-size: 8px;
    }

    .khs-hero-controls {
        left: 16px;
    }

    .khs-hero-dots {
        right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .khs-hero-viewport {
        scroll-behavior: auto;
    }

    .khs-hero-btn,
    .khs-hero-arrow,
    .khs-hero-play,
    .khs-hero-dot {
        transition: none;
    }
}




/* hero section,  */


/* latest news announcement  */

/* ==========================================================================
   ANNOUNCEMENT / NEWS TICKER
   ========================================================================== */
.ticker{
  display:flex;
  align-items:stretch;
  width:100%;
  background:var(--navy-800);
  box-shadow:var(--shadow-sm);
  position:relative;
  z-index:20;
}

.ticker__label{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  padding:0 24px;
  background:linear-gradient(135deg, var(--rust-600), var(--rust-500));
  color:#fff;
  font-weight:700;
  font-size:.88rem;
  letter-spacing:.02em;
  white-space:nowrap;
  clip-path:polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding-right:38px;
}

.ticker__viewport{
  flex:1 1 auto;
  overflow:hidden;
  position:relative;
  min-width:0;
}

.ticker__track{
  display:flex;
  align-items:center;
  width:max-content;
  will-change:transform;
  /* JS sets transform every frame — no CSS animation/keyframes needed anymore */
}

.ticker__viewport:hover .ticker__track,
.ticker__viewport:focus-within .ticker__track{
  animation-play-state:paused;
}



.ticker__track li{
  flex:0 0 auto;
  padding:14px 48px 14px 0;
  position:relative;
}
.ticker__track li::after{
  content:'';
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--gold-400);
}

.ticker__track a{
  color:#eaf0fb;
  font-size:.9rem;
  font-weight:500;
  white-space:nowrap;
  transition:color .15s ease;
  border-bottom:1px dashed transparent;
}
.ticker__track a:hover{
  color:var(--gold-400);
  border-color:var(--gold-400);
}

@keyframes ticker-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

.ticker__viewall{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  padding:0 22px;
  background:var(--navy-700);
  color:#fff;
  font-size:.85rem;
  font-weight:700;
  white-space:nowrap;
  transition:background .15s ease;
}
.ticker__viewall:hover{
  background:var(--rust-600);
}

/* ---- responsive ---- */
@media (max-width:860px){
  .ticker__label{padding:0 16px 0 16px;padding-right:26px;font-size:.8rem;}
  .ticker__viewall{padding:0 16px;font-size:.8rem;}
  .ticker__track li{padding:12px 36px 12px 0;}
  .ticker__track a{font-size:.85rem;}
}
@media (max-width:520px){
  .ticker__label span{display:none;}
  .ticker__label{padding:0 14px;}
  .ticker__label::before{
    content:'📢';
    font-size:1rem;
  }
  .ticker__viewall{padding:0 12px;font-size:.75rem;}

.brand.mobilehide{
  display: none;
}



}

@media (prefers-reduced-motion:reduce){
  .ticker__track{animation:none;}
  .ticker__viewport{overflow-x:auto;}
}

/* latest news announcement  */

/* about */
/* ==========================================================================
   INFO GRID SECTION — About / Quick Links / Cards
   ========================================================================== */
.info-section{
  background:var(--paper);
  padding-block:56px;
}

/* --- Column width control — the ONLY place you touch to resize boxes --- */
.info-grid{
  --info-col-1: 2fr;   /* About box */
  --info-col-2: 1.3fr; /* Quick Links box */
  --info-col-3: 1.1fr; /* stacked cards box */
  /* add --info-col-4, 5... here if you add more boxes, then update
     grid-template-columns below to match */

  display:grid;
  grid-template-columns: var(--info-col-1) var(--info-col-2) var(--info-col-3);
  gap:40px;
  align-items:start;
}

/* Generic reusable box — every info-box, current or future, gets this */
.info-box{
  min-width:0; /* prevents grid blowout with long text/links */
}
.info-box__title{
  font-family:var(--font-display);
  font-size:1.4rem;
  font-weight:700;
  color:var(--navy-900);
  margin:0 0 18px;
  padding-bottom:10px;
  border-bottom:3px solid var(--rust-500);
  display:inline-block;
}

/* --- Box 1: About --- */
.info-box--about .info-box__body p{
  color:var(--ink-600);
  font-size:.96rem;
  line-height:1.7;
  text-align:justify;
  margin:0 0 14px;
}

/* --- Box 2: Quick links list --- */
.info-box__list{
  margin-bottom:20px;
}
.info-box__list li{
  border-bottom:1px dashed var(--line);
}
.info-box__list li:first-child{border-top:1px dashed var(--line);}
.info-box__list a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 2px;
  font-size:.92rem;
  font-weight:600;
  color:var(--ink-900);
  transition:color .15s ease, padding-left .15s ease;
}
.info-box__list a::before{
  content:'';
  width:6px;
  height:6px;
  background:var(--rust-500);
  flex-shrink:0;
}
.info-box__list a:hover{
  color:var(--rust-600);
  padding-left:8px;
}

/* --- Box 3: stacked mini-cards --- */
.info-box--stack{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.mini-card{
  display:flex;
  gap:14px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:var(--parchment);
  transition:box-shadow .15s ease;
}
.mini-card:hover{box-shadow:var(--shadow-sm);}
.mini-card__img{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:var(--radius-sm);
  flex-shrink:0;
  background:var(--navy-050);
}
.mini-card__img--contain{object-fit:contain;padding:6px;}
.mini-card__body{min-width:0;}
.mini-card__role{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--rust-600);
  font-weight:700;
  margin:0 0 2px;
}
.mini-card__name{
  font-size:.94rem;
  font-weight:700;
  color:var(--navy-900);
  margin:0 0 8px;
  line-height:1.35;
}
.mini-card__social{
  display:flex;
  gap:8px;
  margin-bottom:10px;
}
.mini-card__social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--navy-800);
  color:#fff;
}
.mini-card__social .icon{width:13px;height:13px;fill:currentColor;stroke:none;}
.mini-card__social a:hover{background:var(--rust-600);}

/* --- Reusable buttons (used across the whole site, not just this section) --- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 22px;
  font-size:.85rem;
  font-weight:700;
  border-radius:var(--radius-sm);
  white-space:nowrap;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--solid{
  background:var(--gold-400);
  color:var(--navy-900);
}
.btn--solid:hover{background:var(--rust-500);color:#fff;}
.btn--outline{
  background:transparent;
  border:1.5px solid var(--navy-800);
  color:var(--navy-900);
}
.btn--outline:hover{
  background:var(--navy-800);
  color:#fff;
}
.btn--sm{
  padding:7px 14px;
  font-size:.78rem;
  width:100%;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  .info-grid{
    --info-col-1: 1fr;
    --info-col-2: 1fr;
    grid-template-columns: var(--info-col-1) var(--info-col-2);
  }
  .info-box--stack{
    grid-column: 1 / -1; /* stacked cards move below, span full width */
    flex-direction:row;
  }
  .mini-card{flex:1;}
}

@media (max-width:768px){
  .info-grid{
    grid-template-columns: 1fr;
    gap:36px;
  }
  .info-box--stack{
    grid-column:auto;
    flex-direction:column;
  }
  .info-box__title{font-size:1.25rem;}
  .info-section{padding-block:40px;}
}

@media (max-width:480px){
  .mini-card{flex-direction:column;}
  .mini-card__img{width:100%;height:140px;}
}
/* about */






/* notice about */

/* ==========================================================================
   NOTICE BOARD + SUPPORT CELLS SECTION
   ========================================================================== */
.notice-section{
  background:var(--navy-900);
  padding-block:56px;
}

/* --- width control, same pattern as the info-grid section --- */
.notice-grid{
  --notice-col-1: 1.4fr; /* notice board box */
  --notice-col-2: 1fr;   /* support cells box */

  display:grid;
  grid-template-columns: var(--notice-col-1) var(--notice-col-2);
  gap:40px;
  align-items:start;
}

/* --- Notice board box --- */
.notice-box{min-width:0;}

.notice-tabs{
  display:flex;
  gap:4px;
}
.notice-tab{
  padding:12px 20px;
  font-size:.88rem;
  font-weight:700;
  color:var(--navy-900);
  background:#c7cdd6;
  border-radius:var(--radius-sm) var(--radius-sm) 0 0;
  transition:background .15s ease, color .15s ease;
}
.notice-tab:hover{background:#d8dce3;}
.notice-tab.is-active{
  background:var(--paper);
  color:var(--navy-900);
}

.notice-panel{
  background:var(--paper);
  border-radius:0 var(--radius-md) var(--radius-md) var(--radius-md);
  padding:22px;
}
.notice-panel__content{display:none;}
.notice-panel__content.is-active{display:block;}

/* fixed-height scroll window — tune this to taste */
.notice-viewport{
  height:260px;
  overflow:hidden;
  position:relative;
  margin-bottom:18px;
  -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image:linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.notice-list{
  will-change:transform;
}

.notice-item{
  border-bottom:1px dashed var(--line);
}
.notice-item:last-child{border-bottom:none;}
.notice-item a{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 4px;
}

.notice-item__icon{
  flex-shrink:0;
  width:26px;
  height:26px;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:2px;
}
/* icon appearance driven by data-type on the parent <li> */
.notice-item[data-type="pdf"] .notice-item__icon{background:#fdeceb;}
.notice-item[data-type="pdf"] .notice-item__icon::before{
  content:'PDF';
  font-size:.55rem;
  font-weight:800;
  color:#c0392b;
  letter-spacing:.02em;
}
.notice-item[data-type="link"] .notice-item__icon{background:var(--navy-050);}
.notice-item[data-type="link"] .notice-item__icon::before{
  content:'🔗';
  font-size:.8rem;
}

.notice-item__text{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.notice-item__text strong{
  font-size:.9rem;
  color:var(--ink-900);
  font-weight:700;
  line-height:1.4;
}
.notice-item a:hover .notice-item__text strong{color:var(--rust-600);}
.notice-item__meta{
  font-size:.76rem;
  color:var(--ink-600);
}

/* "New" badge — shown only via JS when within 7 days */
.notice-item__badge{
  flex-shrink:0;
  display:none;
  align-items:center;
  gap:4px;
  background:linear-gradient(135deg, #ff5f5f, #e8351f);
  color:#fff;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
  padding:3px 8px;
  border-radius:20px;
  margin-top:2px;
  animation:badge-pulse 1.6s ease-in-out infinite;
}
.notice-item__badge.is-visible{display:inline-flex;}
@keyframes badge-pulse{
  0%,100%{ transform:scale(1); opacity:1; }
  50%{ transform:scale(1.08); opacity:.85; }
}

/* =========================================================
   KHSC — EVENTS & ACTIVITIES
   ========================================================= */

.khs-events-box {
    min-width: 0;
    width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

.khs-events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}


.khs-events-title {
    position: relative;

    margin: 0;

    padding-left: 14px;

    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;

    color: white;
}


.khs-events-title::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 4px;
    height: 22px;

    border-radius: 3px;

    background: var(--rust-600);

    transform: translateY(-50%);
}


.khs-events-view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: white;

    font-size: .75rem;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color .2s ease,
        gap .2s ease;
}


.khs-events-view-all span {
    font-size: 14px;
}


.khs-events-view-all:hover {
    color: var(--rust-600);
    gap: 8px;
}


/* =========================================================
   EVENT LIST
   ========================================================= */

.khs-events-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   EVENT CARD
   ========================================================= */

.khs-event-card {
    display: grid;

    grid-template-columns: 52px 92px minmax(0, 1fr);

    align-items: center;

    min-height: 82px;

    padding: 8px;

    background: #fff;

    border: 1px solid rgba(16, 43, 120, .07);

    border-radius: 5px;

    box-shadow: 0 3px 12px rgba(20, 50, 90, .06);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.khs-event-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(20, 50, 90, .11);
}


/* =========================================================
   DATE
   ========================================================= */

.khs-event-date {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    line-height: 1;
}


.khs-event-date strong {
    display: block;

    font-family: var(--font-display);

    font-size: 1.15rem;
    font-weight: 800;

    color: var(--navy-900);
}


.khs-event-date span {
    display: block;

    margin-top: 5px;

    font-size: .55rem;
    font-weight: 600;

    color: #777;

    text-transform: uppercase;
}


/* =========================================================
   EVENT IMAGE
   ========================================================= */

.khs-event-image {
    width: 92px;
    height: 64px;

    overflow: hidden;

    border-radius: 3px;

    background: #e8edf3;
}


.khs-event-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}


.khs-event-card:hover .khs-event-image img {
    transform: scale(1.06);
}


/* =========================================================
   EVENT CONTENT
   ========================================================= */

.khs-event-content {
    min-width: 0;

    padding-left: 12px;
}


.khs-event-content h3 {
    margin: 0 0 8px;

    color: var(--navy-900);

    font-family: var(--font-display);

    font-size: .78rem;
    font-weight: 500;

    line-height: 1.3;
}


/* =========================================================
   EVENT META
   ========================================================= */

.khs-event-meta {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 5px 10px;
}


.khs-event-meta span {
    display: inline-flex;
    align-items: center;

    gap: 4px;

    color: #747d88;

    font-size: .58rem;
    line-height: 1.2;
}


.khs-event-meta svg {
    width: 11px;
    height: 11px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;

    flex: 0 0 auto;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .khs-event-card {
        grid-template-columns: 48px 82px minmax(0, 1fr);
    }

    .khs-event-image {
        width: 82px;
        height: 60px;
    }

    .khs-event-content {
        padding-left: 10px;
    }

}


/* =========================================================
   WHEN NOTICE GRID BECOMES ONE COLUMN
   ========================================================= */

@media (max-width: 1024px) {

    .khs-events-list {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .khs-event-card {
        grid-template-columns: 48px 90px minmax(0, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .khs-events-header {
        margin-bottom: 15px;
    }


    .khs-events-title {
        font-size: 1.15rem;
    }


    .khs-events-title::before {
        height: 19px;
    }


    .khs-events-list {
        display: flex;
        flex-direction: column;

        gap: 10px;
    }


    .khs-event-card {
        grid-template-columns: 48px 90px minmax(0, 1fr);

        min-height: 78px;
    }


    .khs-event-image {
        width: 90px;
        height: 60px;
    }


    .khs-event-content h3 {
        font-size: .75rem;
        margin-bottom: 6px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .khs-event-card {
        grid-template-columns: 43px 82px minmax(0, 1fr);

        padding: 7px;
    }


    .khs-event-image {
        width: 82px;
        height: 58px;
    }


    .khs-event-date strong {
        font-size: 1rem;
    }


    .khs-event-date span {
        font-size: .5rem;
    }


    .khs-event-content {
        padding-left: 8px;
    }


    .khs-event-content h3 {
        font-size: .7rem;
        line-height: 1.25;
    }


    .khs-event-meta {
        gap: 3px 7px;
    }


    .khs-event-meta span {
        font-size: .52rem;
    }


    .khs-event-meta svg {
        width: 9px;
        height: 9px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .khs-event-card {
        grid-template-columns: 38px 72px minmax(0, 1fr);
    }


    .khs-event-image {
        width: 72px;
        height: 55px;
    }


    .khs-event-content h3 {
        font-size: .66rem;
    }


    .khs-event-meta {
        display: block;
    }


    .khs-event-meta span {
        display: flex;

        margin-top: 3px;
    }

}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  .notice-grid{
    --notice-col-1: 1fr;
    --notice-col-2: 1fr;
    grid-template-columns:1fr;
    gap:36px;
  }
  .support-grid{grid-template-columns:repeat(3, 1fr);}
}
@media (max-width:640px){
  .notice-tab{padding:10px 14px;font-size:.8rem;}
  .support-grid{grid-template-columns:repeat(2, 1fr);}
  .notice-viewport{height:220px;}
}
@media (prefers-reduced-motion:reduce){
  .notice-item__badge{animation:none;}
}


/* notice about */





/* after that  */


/* ==========================================================================
   PRINCIPAL'S DESK + EVENTS SECTION
   ========================================================================== */
.feature-section{
  background:var(--parchment);
  padding-block:56px;
}

/* --- width control, same reusable pattern as earlier sections --- */
.feature-grid{
  --feature-col-1: 1fr;    /* Principal's desk box */
  --feature-col-2: 2.2fr;  /* Events box */

  display:grid;
  grid-template-columns: var(--feature-col-1) var(--feature-col-2);
  gap:28px;
  align-items:start;
}

/* --- Generic reusable "panel card" — any future box can use this shell --- */
.panel-card{
  background:var(--paper);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  min-width:0;
}
.panel-card__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color:#fff;
  padding:14px 22px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.05rem;
}
.panel-card__viewall{
  font-family:var(--font-body);
  font-size:.78rem;
  font-weight:700;
  color:var(--gold-400);
  border-left:1px solid rgba(255,255,255,.25);
  padding-left:14px;
  transition:color .15s ease;
}
.panel-card__viewall:hover{color:#fff;}
.panel-card__body{padding:22px;}
.panel-card__body--center{text-align:center;}

/* --- Principal's desk specifics --- */
.panel-card__photo{
  width:100%;
  max-width:220px;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:var(--radius-sm);
  margin:0 auto 18px;
  box-shadow:var(--shadow-sm);
}
.panel-card__pill{
  display:inline-flex;
  flex-direction:column;
  background:linear-gradient(135deg, var(--gold-400), var(--rust-500));
  color:var(--navy-900);
  padding:10px 26px;
  border-radius:var(--radius-sm);
  margin-bottom:16px;
}
.panel-card__pill-name{font-size:.86rem;font-weight:600;}
.panel-card__pill-role{font-size:.95rem;font-weight:800;}
.panel-card__text{
  font-size:.9rem;
  color:var(--ink-600);
  line-height:1.65;
  text-align:left;
}
.link-more{
  color:var(--rust-600);
  font-weight:700;
  white-space:nowrap;
}
.link-more:hover{text-decoration:underline;}

/* --- Events grid --- */
.event-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.event-card{min-width:0;}
.event-card__img-link{
  display:block;
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:var(--radius-sm);
  margin-bottom:12px;
}
.event-card__img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
}
.event-card__img-link:hover .event-card__img{transform:scale(1.05);}
.event-card__text{
  font-size:.86rem;
  color:var(--ink-900);
  line-height:1.55;
  margin:0 0 8px;
}
.event-card__date{
  display:block;
  font-size:.78rem;
  font-weight:700;
  color:var(--rust-600);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  .feature-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .panel-card__body--center{
    display:flex;
    align-items:center;
    gap:20px;
    text-align:left;
  }
  .panel-card__photo{margin:0;flex-shrink:0;width:140px;}
}
@media (max-width:768px){
  .event-grid{grid-template-columns:repeat(2, 1fr);}
  .panel-card__body--center{flex-direction:column;text-align:center;}
  .panel-card__photo{width:180px;margin:0 auto 16px;}
}
@media (max-width:520px){
  .event-grid{grid-template-columns:1fr;}
  .panel-card__header{padding:12px 16px;font-size:.95rem;}
  .panel-card__body{padding:16px;}
}


/* after that  */




/* gallery */

/* ==========================================================================
   GALLERY SECTION — "Campus in Frames"
   ========================================================================== */
.gallery-section{
  /* background:var(--navy-900); */
  padding-block:64px;
  position:relative;
  overflow:hidden;
}
/* faint signature backdrop texture — large ghost monogram, subject-specific not decorative-generic */
.gallery-section::before{
  content:'বৈ';
  position:absolute;
  right:-40px;
  top:-40px;
  font-family:var(--font-display);
  font-size:min(28vw, 380px);
  font-weight:700;
  color:rgba(255,255,255,.025);
  line-height:1;
  pointer-events:none;
  user-select:none;
}

.gallery-section__head{
  text-align:center;
  max-width:560px;
  margin:0 auto 28px;
  position:relative;
}
.gallery-section__title{
  font-family:var(--font-display);
  font-size:clamp(1.6rem, 1.4vw + 1.1rem, 2.2rem);
  font-weight:700;
  color:#D89431;
  margin:0 0 8px;
}
.gallery-section__sub{
  color:#363636;
  font-size:.92rem;
  margin:0;
}

/* --- filter chips: index-tab style --- */
.gallery-filter{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-bottom:32px;
  position:relative;
}
.gallery-filter__chip{
  padding:9px 20px;
  font-size:.82rem;
  font-weight:700;
  color:#202020;
  border:1.5px solid rgba(255,255,255,.2);
  border-radius:20px;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.gallery-filter__chip:hover{
  border-color:var(--gold-400);
  color:#fff;
}
.gallery-filter__chip.is-active{
  background:linear-gradient(135deg, var(--gold-400), var(--rust-500));
  border-color:transparent;
  color:var(--navy-900);
}

/* --- masonry grid via CSS columns --- */
.gallery-grid{
  columns:4 220px;
  column-gap:20px;
  position:relative;
}
.gallery-item{
  break-inside:avoid;
  margin:0 0 20px;
  position:relative;
  background:#fff;
  padding:10px 10px 0;
  border-radius:2px;
  box-shadow:0 6px 16px rgba(0,0,0,.35);
  transform:rotate(var(--tilt, 0deg));
  transition:transform .25s ease, box-shadow .25s ease, opacity .3s ease;
  cursor:pointer;
}
/* signature touch: alternating gentle tilt, like photos pinned to a board */
.gallery-item:nth-child(4n+1){--tilt:-1.4deg;}
.gallery-item:nth-child(4n+2){--tilt:1deg;}
.gallery-item:nth-child(4n+3){--tilt:-0.7deg;}
.gallery-item:nth-child(4n+4){--tilt:1.6deg;}

.gallery-item:hover{
  transform:rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow:0 14px 28px rgba(0,0,0,.45);
  z-index:2;
}

.gallery-item img{
  width:100%;
  display:block;
  object-fit:cover;
  aspect-ratio:4/3;
}
.gallery-item--tall img{aspect-ratio:3/4;}

.gallery-item figcaption{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 4px 14px;
  font-size:.78rem;
  font-weight:600;
  color:var(--ink-900);
}
.gallery-item__pin{
  flex-shrink:0;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--rust-600);
  box-shadow:0 0 0 2px rgba(196,87,30,.25);
}
.gallery-item__caption{
  line-height:1.3;
}

/* filtered-out items */
.gallery-item.is-hidden{
  display:none;
}

.gallery-section__more{
  text-align:center;
  margin-top:36px;
}
.gallery-section__more .btn--outline {
    border-color: #FF9800;
    color: #FF9800;
}
.gallery-section__more .btn--outline:hover{
  background:var(--gold-400);
  border-color:var(--gold-400);
  color:var(--navy-900);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(6,14,28,.94);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:200;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.lightbox.is-open{opacity:1;visibility:visible;}

.lightbox__figure{
  max-width:min(88vw, 900px);
  max-height:86vh;
  margin:0;
  text-align:center;
}
.lightbox__figure img{
  max-width:100%;
  max-height:74vh;
  object-fit:contain;
  border-radius:4px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.lightbox__figure figcaption{
  color:#eaf0fb;
  font-size:.92rem;
  margin-top:14px;
}

.lightbox__close{
  position:absolute;
  top:20px;
  right:24px;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  color:#fff;
  font-size:1.6rem;
  line-height:1;
  transition:background .15s ease;
}
.lightbox__close:hover{background:var(--rust-600);}

.lightbox__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .15s ease;
}
.lightbox__nav:hover{background:var(--rust-600);}
.lightbox__nav--prev{left:20px;}
.lightbox__nav--next{right:20px;}
.lightbox__nav .icon{width:20px;height:20px;stroke-width:2.2;fill:none;stroke:currentColor;}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  .gallery-grid{columns:3 200px;}
}
@media (max-width:768px){
  .gallery-grid{columns:2 160px;column-gap:14px;}
  .gallery-item{margin-bottom:14px;padding:6px 6px 0;}
  .gallery-section{padding-block:48px;}
  .lightbox__nav{width:38px;height:38px;}
  .lightbox__nav--prev{left:10px;}
  .lightbox__nav--next{right:10px;}
}
@media (max-width:480px){
  .gallery-grid{columns:1;}
  .gallery-item{transform:none !important;}
  .gallery-item:hover{transform:translateY(-4px) !important;}
}
@media (prefers-reduced-motion:reduce){
  .gallery-item{transition:none;}
}

/* gallery */










/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer{
  background:var(--navy-900);
  color:#c9d6ea;
  font-size:.88rem;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap:32px;
  padding-block:52px 36px;
}

.footer-col__title{
  color:#fff;
  font-family:var(--font-display);
  font-size:1.02rem;
  font-weight:700;
  margin:0 0 18px;
  position:relative;
  padding-bottom:10px;
}
.footer-col__title::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:34px;
  height:2px;
  background:var(--gold-400);
}

/* --- brand column --- */
.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.footer-brand__mark{width:42px;height:42px;flex-shrink:0;}
.footer-brand__mark svg{width:100%;height:100%;}
.footer-brand__text{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.05rem;
  color:#fff;
  line-height:1.25;
}
.footer-about{
  color:#a9b7cf;
  line-height:1.7;
  margin:0 0 20px;
}
.footer-social{
  display:flex;
  gap:10px;
}
.footer-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  transition:background .15s ease, transform .15s ease;
}
.footer-social .icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;}
.footer-social a:hover{
  background:var(--rust-600);
  transform:translateY(-2px);
}

/* --- link columns --- */
.footer-links li{
  margin-bottom:11px;
}
.footer-links a{
  color:#c9d6ea;
  transition:color .15s ease, padding-left .15s ease;
  position:relative;
  padding-left:0;
}
.footer-links a::before{
  content:'›';
  margin-right:6px;
  color:var(--gold-400);
  font-weight:700;
}
.footer-links a:hover{
  color:#fff;
  padding-left:4px;
}

/* --- contact column --- */
.footer-contact li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:14px;
  line-height:1.5;
}
.footer-contact .icon{
  width:16px;
  height:16px;
  flex-shrink:0;
  margin-top:2px;
  fill:none;
  stroke:var(--gold-400);
  stroke-width:1.8;
}
.footer-contact a{
  color:#c9d6ea;
  transition:color .15s ease;
}
.footer-contact a:hover{color:#fff;}

/* --- legal / policy row (payment-gateway compliance links) --- */
.footer-legal{
  background:var(--navy-800);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-legal__inner{padding-block:16px;}
.footer-legal__links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px 0;
}
.footer-legal__links li{
  position:relative;
  padding:0 16px;
}
.footer-legal__links li:not(:last-child)::after{
  content:'';
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:12px;
  background:rgba(255,255,255,.2);
}
.footer-legal__links a{
  color:#c9d6ea;
  font-size:.82rem;
  font-weight:600;
  transition:color .15s ease;
}
.footer-legal__links a:hover{color:var(--gold-400);}

/* --- bottom copyright bar --- */
.footer-bottom{background:var(--navy-900);}
.footer-bottom__inner{
  padding-block:16px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:6px;
}
.footer-bottom p{
  margin:0;
  font-size:.78rem;
  color:#8298b8;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  .footer-grid{
    grid-template-columns:1fr 1fr 1fr;
  }
  .footer-col--brand{grid-column:1 / -1;}
}
@media (max-width:768px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:28px;
    padding-block:40px 28px;
  }

  .footer-col--brand{grid-column:1 / -1;}
  .footer-legal__links{flex-direction:column;align-items:center;gap:10px;}
  .footer-legal__links li{padding:0;}
  .footer-legal__links li::after{display:none;}
  .footer-bottom__inner{flex-direction:column;text-align:center;}
}
@media (max-width:480px){
  .footer-grid{grid-template-columns:1fr;}
}






































/* =========================================================
   KHS COLLEGE — ABOUT SECTION
   Completely isolated/custom classes
   ========================================================= */
.khs-about-section {
    width: 100%;
    padding: 80px 20px;
    background: #f5f9fc;
    overflow: hidden;
}

.khs-about-container {
    width: min(1400px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(300px, 1.1fr)
        150px
        245px;

    align-items: center;
    gap: 0;

    position: relative;
}

.khs-about-content {
    position: relative;
    z-index: 3;
    padding-right: 35px;
}

.khs-about-eyebrow {
    position: relative;

    display: inline-flex;
    align-items: center;

    margin-bottom: 10px;

    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #c18a17;
}

.khs-about-eyebrow::before {
    content: "";

    width: 26px;
    height: 2px;

    margin-right: 8px;

    background: #c18a17;
}

.khs-about-title {
    margin: 0 0 17px;

    font-family: var(--font-display);

    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;

    font-weight: 500;

    color: #123b70;
}

.khs-about-text {
    max-width: 510px;

    margin: 0;

    font-family: var(--font-body);

    font-size: 14px;
    line-height: 1.75;

    color: #5d6875;
}

.khs-about-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    margin-top: 25px;

    padding: 11px 18px;

    background: #174c89;
    color: #fff;

    border-radius: 4px;

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.khs-about-button:hover {
    background: #0f3767;
    transform: translateY(-2px);
}

.khs-about-button-arrow {
    font-size: 16px;
    line-height: 1;
}

.khs-about-image-wrap {
    position: relative;

    min-width: 0;

    z-index: 1;
}

.khs-about-image-frame {
    position: relative;

    width: 100%;
    height: 350px;

    overflow: hidden;

    border-radius: 2px;

    background: #dfe8ef;

    box-shadow:
        0 15px 35px rgba(19, 55, 92, .12);
}

.khs-about-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.khs-about-image-frame:hover .khs-about-image {
    transform: scale(1.03);
}

.khs-about-dots {
    position: absolute;

    top: -18px;
    right: -15px;

    width: 90px;
    height: 70px;

    display: grid;

    grid-template-columns: repeat(4, 5px);
    grid-auto-rows: 5px;

    gap: 6px;

    z-index: -1;
}

.khs-about-dots span {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #d3a12a;
}

.khs-about-highlight {
    position: relative;

    z-index: 4;

    width: 155px;
    min-height: 180px;

    margin-left: -30px;
    margin-right: 15px;

    padding: 25px 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: rgba(255, 255, 255, .97);

    border-radius: 3px;

    box-shadow:
        0 12px 35px rgba(20, 54, 88, .12);
}

.khs-about-highlight-icon {
    width: 27px;
    height: 27px;

    margin-bottom: 12px;
}

.khs-about-highlight-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: #c49a2c;

    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.khs-about-highlight-text {
    font-family: var(--font-body);

    font-size: 14px;
    line-height: 1.45;

    color: #315271;
}

.khs-about-highlight-text strong {
    font-weight: 800;
    color: #1b4167;
}


/* Quick Links */

.khs-quick-links {
    width: 100%;
    max-height: 430px;

    background: #fff;

    border: 1px solid #e6e9ed;

    box-shadow:
        0 10px 28px rgba(20, 54, 88, .08);

    overflow: hidden;

    position: relative;
    z-index: 5;
}

.khs-quick-links__head {
    display: flex;
    align-items: center;

    min-height: 43px;

    padding: 0 13px;

    background: #f2dfb8;

    border-bottom: 1px solid #1b1b1b;
}

.khs-quick-links__head span {
    color: #222;

    font-family: var(--font-body);

    font-size: 16px;
    font-weight: 500;
}

.khs-quick-links__body {
    max-height: 385px;

    padding: 8px 10px 10px;

    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: #c49a2c #f3f3f3;
}

.khs-quick-links__body::-webkit-scrollbar {
    width: 5px;
}

.khs-quick-links__body::-webkit-scrollbar-track {
    background: #f3f3f3;
}

.khs-quick-links__body::-webkit-scrollbar-thumb {
    background: #c49a2c;
    border-radius: 10px;
}

.khs-quick-links__body a {
    display: flex;
    align-items: flex-start;

    gap: 7px;

    padding: 3px 2px;

    color: #1680e8;

    font-family: var(--font-body);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.35;

    text-decoration: none;

    transition:
        color .15s ease,
        transform .15s ease;
}

.khs-quick-links__body a:hover {
    color: #123b70;

    transform: translateX(2px);
}

.khs-quick-links__icon {
    flex: 0 0 14px;

    width: 14px;
    height: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 1px;

    color: #1680e8;

    font-size: 14px;
    font-weight: 700;
}

.khs-quick-links__body a:hover .khs-quick-links__icon {
    color: #c49a2c;
}


/* Large Tablet */

@media (max-width: 1150px) {

    .khs-about-container {
        grid-template-columns:
            minmax(240px, 1fr)
            minmax(280px, 1.1fr)
            140px
            210px;
    }

    .khs-about-content {
        padding-right: 25px;
    }

    .khs-about-image-frame {
        height: 340px;
    }

    .khs-about-highlight {
        width: 140px;

        margin-left: -25px;
        margin-right: 10px;

        padding: 20px 17px;
    }

    .khs-quick-links__body a {
        font-size: 12px;
    }
}


/* Tablet */

@media (max-width: 950px) {

    .khs-about-section {
        padding: 65px 20px;
    }

    .khs-about-container {
        grid-template-columns: 1fr 1fr;

        gap: 35px 20px;

        align-items: start;
    }

    .khs-about-content {
        padding-right: 0;
    }

    .khs-about-image-frame {
        height: 330px;
    }

    .khs-about-highlight {
        position: absolute;

        right: 10px;
        bottom: 330px;

        width: 145px;
        min-height: 145px;

        margin: 0;
    }

    .khs-quick-links {
        grid-column: 1 / -1;

        width: 100%;

        max-height: 300px;
    }

    .khs-quick-links__body {
        max-height: 250px;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        column-gap: 25px;
    }
}


/* Mobile */

@media (max-width: 650px) {

    .khs-about-section {
        padding: 55px 18px;
    }

    .khs-about-container {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 28px;
    }

    .khs-about-content {
        width: 100%;

        padding: 0;
    }

    .khs-about-title {
        font-size: 32px;
    }

    .khs-about-text {
        max-width: none;

        font-size: 13px;

        line-height: 1.7;
    }

    .khs-about-image-wrap {
        width: 100%;
    }

    .khs-about-image-frame {
        width: 100%;

        height: 280px;
    }

    .khs-about-dots {
        top: -12px;
        right: -5px;

        transform: scale(.8);

        transform-origin: top right;
    }

    .khs-about-highlight {
        position: relative;

        right: auto;
        bottom: auto;

        width: calc(100% - 35px);

        min-height: auto;

        margin: -55px auto 0;

        padding: 20px 22px;

        flex-direction: row;

        align-items: center;

        gap: 15px;
    }

    .khs-about-highlight-icon {
        flex: 0 0 auto;

        margin-bottom: 0;
    }

    .khs-about-highlight-text {
        font-size: 13px;
    }

    .khs-quick-links {
        width: 100%;

        max-height: 330px;
    }

    .khs-quick-links__body {
        max-height: 280px;

        display: block;

        padding: 9px 12px 12px;
    }

    .khs-quick-links__body a {
        padding: 4px 1px;

        font-size: 12px;
    }
}


/* Small Mobile */

@media (max-width: 400px) {

    .khs-about-section {
        padding: 45px 15px;
    }

    .khs-about-title {
        font-size: 28px;
    }

    .khs-about-eyebrow {
        font-size: 10px;

        letter-spacing: 1.5px;
    }

    .khs-about-text {
        font-size: 12.5px;
    }

    .khs-about-image-frame {
        height: 235px;
    }

    .khs-about-highlight {
        width: calc(100% - 20px);

        margin-top: -45px;

        padding: 17px 18px;
    }

    .khs-quick-links {
        max-height: 310px;
    }

    .khs-quick-links__body {
        max-height: 260px;
    }

    .khs-quick-links__body a {
        font-size: 11.5px;
    }
}


/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .khs-about-button,
    .khs-about-image,
    .khs-quick-links__body a {
        transition: none;
    }
}



















/* =========================================================
   KHSC — INSTITUTIONAL INFORMATION SECTION
   Completely custom / isolated classes
   ========================================================= */

.khs-info-section {
    width: 100%;
    padding: 80px 20px;

    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );

    overflow: hidden;
}


.khs-info-container {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        350px;

    gap: 38px;

    align-items: start;
}


/* =========================================================
   LEFT MAIN AREA
   ========================================================= */

.khs-info-main {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 24px;
}


/* =========================================================
   COMMON CARD
   ========================================================= */

.khs-info-card {
    position: relative;

    padding: 30px;

    background: #fff;

    border: 1px solid rgba(18, 59, 112, .08);

    border-radius: 8px;

    box-shadow:
        0 8px 30px rgba(24, 54, 88, .055);
}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.khs-info-label {
    display: block;

    margin-bottom: 7px;

    color: #bd8b1c;

    font-family: var(--font-body);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


/* =========================================================
   CARD HEADINGS
   ========================================================= */

.khs-info-card h2 {
    margin: 0 0 15px;

    color: #123b70;

    font-family:
        "Lora", serif;

    font-size: clamp(25px, 2.5vw, 34px);

    line-height: 1.15;
}


.khs-info-card p {
    margin: 0;

    color: #5e6875;

    font-family: var(--font-body);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   PRINCIPAL'S MESSAGE
   ========================================================= */

.khs-principal-layout {
    display: grid;

    grid-template-columns: 190px minmax(0, 1fr);

    gap: 28px;

    align-items: start;
}


.khs-principal-image {
    width: 190px;
    height: 235px;

    overflow: hidden;

    border-radius: 6px;

    background: #e8edf3;
}


.khs-principal-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.khs-principal-content {
    min-width: 0;
}


.khs-principal-content p + p {
    margin-top: 11px;
}


.khs-principal-signature {
    display: flex;
    flex-direction: column;

    margin-top: 20px;
    padding-left: 13px;

    border-left: 3px solid #c49728;
}


.khs-principal-signature strong {
    color: #123b70;

    font-family: Georgia, serif;

    font-size: 15px;
}


.khs-principal-signature span {
    margin-top: 3px;

    color: #7a838e;

    font-size: 11px;
}


/* =========================================================
   VISION + MISSION
   ========================================================= */

.khs-info-two-column {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;
}


.khs-vision-card,
.khs-mission-card {
    min-width: 0;

    padding: 27px;
}


.khs-info-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 50%;

    background: #eef4fa;

    color: #174c89;
}


.khs-info-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.khs-vision-card h2,
.khs-mission-card h2 {
    font-size: 25px;

    margin-bottom: 10px;
}


/* =========================================================
   CORE VALUES
   ========================================================= */

.khs-values-intro {
    max-width: 760px;

    margin-top: -4px !important;
}


.khs-values-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px 28px;

    margin-top: 25px;

    padding-top: 22px;

    border-top: 1px solid #e8edf2;
}


.khs-value-item {
    display: grid;

    grid-template-columns: 35px minmax(0, 1fr);

    gap: 10px;

    padding: 10px 0;
}


.khs-value-number {
    color: #c29527;

    font-family: Georgia, serif;

    font-size: 13px;

    font-weight: 500;
}


.khs-value-item h3 {
    margin: 0 0 4px;

    color: #173f6f;

    font-family: var(--font-body);

    font-size: 13px;

    font-weight: 500;
}


.khs-value-item p {
    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   RIGHT SIDEBAR
   ========================================================= */

.khs-info-sidebar {
    min-width: 0;

    position: sticky;

    top: 100px;
}


.khs-video-heading {
    padding: 4px 2px 18px;
}


.khs-video-heading h2 {
    margin: 0 0 9px;

    color: #123b70;

    font-family: Georgia, serif;

    font-size: 27px;

    line-height: 1.15;
}


.khs-video-heading p {
    margin: 0;

    color: #6c7682;

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   VIDEO CARD
   ========================================================= */

.khs-video-card {
    overflow: hidden;

    margin-bottom: 18px;

    background: #fff;

    border: 1px solid rgba(18, 59, 112, .08);

    border-radius: 8px;

    box-shadow:
        0 8px 25px rgba(24, 54, 88, .07);
}


.khs-video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #101820;

    overflow: hidden;
}


.khs-video-wrapper iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.khs-video-content {
    padding: 16px 18px 18px;
}


.khs-video-tag {
    display: block;

    margin-bottom: 6px;

    color: #bd8b1c;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.khs-video-content h3 {
    margin: 0;

    color: #183f6d;

    font-family: var(--font-body);

    font-size: 14px;

    line-height: 1.4;
}


.khs-video-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: 12px;

    color: #174c89;

    font-size: 11px;

    font-weight: 500;

    text-decoration: none;
}


.khs-video-link:hover {
    color: #bd8b1c;
}


.khs-video-link span {
    font-size: 14px;
}


/* =========================================================
   ANTI-RAGGING / SAFETY CARD
   ========================================================= */

.khs-safety-card {
    display: grid;

    grid-template-columns:1fr;

    gap: 13px;

    padding: 18px;

    background:
        linear-gradient(
            135deg,
            #fff9f9,
            #ffffff
        );

    border: 1px solid rgba(173, 43, 43, .12);

    border-radius: 8px;
}


.khs-safety-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff0f0;

    font-size: 22px;
}


.khs-safety-label {
    display: block;

    margin-bottom: 3px;

    color: #b32727;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.khs-safety-card h3 {
    margin: 0 0 5px;

    color: #183f6d;

    font-family: Georgia, serif;

    font-size: 17px;
}


.khs-safety-card p {
    margin: 0;

    color: #6b737c;

    font-size: 10px;

    line-height: 1.6;
}


.khs-safety-card a {
    display: inline-block;

    margin-top: 8px;

    color: #b32727;

    font-size: 10px;

    font-weight: 500;

    text-decoration: none;
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .khs-info-container {
        grid-template-columns:
            minmax(0, 1fr)
            310px;

        gap: 28px;
    }


    .khs-principal-layout {
        grid-template-columns: 150px minmax(0, 1fr);
    }


    .khs-principal-image {
        width: 150px;
        height: 205px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .khs-info-section {
        padding: 65px 20px;
    }


    .khs-info-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .khs-info-sidebar {
        position: static;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }


    .khs-video-heading {
        grid-column: 1 / -1;

        padding-bottom: 0;
    }


    .khs-video-card {
        margin-bottom: 0;
    }


    .khs-safety-card {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .khs-info-section {
        padding: 50px 16px;
    }


    .khs-info-card {
        padding: 22px;
    }


    .khs-principal-layout {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .khs-principal-image {
        width: 125px;
        height: 155px;
    }


    .khs-info-two-column {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .khs-values-grid {
        grid-template-columns: 1fr;

        gap: 5px;
    }


    .khs-info-sidebar {
        display: flex;
        flex-direction: column;

        gap: 16px;
    }


    .khs-video-heading {
        padding-bottom: 0;
    }


    .khs-video-card {
        width: 100%;
    }


    .khs-safety-card {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .khs-info-section {
        padding: 42px 12px;
    }


    .khs-info-card {
        padding: 19px;
    }


    .khs-info-card h2 {
        font-size: 24px;
    }


    .khs-principal-image {
        width: 110px;
        height: 140px;
    }


    .khs-video-heading h2 {
        font-size: 24px;
    }


    .khs-safety-card {
        grid-template-columns: 42px minmax(0, 1fr);

        padding: 14px;
    }


    .khs-safety-icon {
        width: 38px;
        height: 38px;

        font-size: 18px;
    }

}















/* =========================================================
   KHSC — CAMPUS FACILITIES
   Completely isolated custom classes
   ========================================================= */

.khs-facilities-section {
    width: 100%;

    padding: 65px 20px;

    background: #f4f8fb;

    overflow: hidden;
}


.khs-facilities-container {
    width: min(1180px, 100%);

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.khs-facilities-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 22px;
}


.khs-facilities-heading {
    display: flex;

    align-items: center;

    gap: 12px;
}


.khs-facilities-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf3f8;

    color: #c29527;
}


.khs-facilities-icon svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.khs-facilities-label {
    display: block;

    margin-bottom: 2px;

    color: #bd8b1c;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.khs-facilities-heading h2 {
    margin: 0;

    color: #123b70;

    font-family:
        "Lora", serif;

    font-size: 27px;

    line-height: 1.1;
}


/* =========================================================
   VIEW ALL BUTTON
   ========================================================= */

.khs-facilities-view {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 9px 14px;

    border: 1px solid rgba(18, 59, 112, .16);

    border-radius: 4px;

    background: #fff;

    color: #174c89;

    font-size: 10px;

    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


.khs-facilities-view span {
    font-size: 14px;

    line-height: 1;
}


.khs-facilities-view:hover {
    background: #174c89;

    border-color: #174c89;

    color: #fff;
}


/* =========================================================
   FACILITY GRID
   ========================================================= */

.khs-facilities-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   FACILITY CARD
   ========================================================= */

.khs-facility-card {
    display: block;

    min-width: 0;

    overflow: hidden;

    background: #fff;

    border-radius: 7px;

    border: 1px solid rgba(18, 59, 112, .06);

    box-shadow:
        0 5px 18px rgba(18, 50, 80, .06);

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.khs-facility-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(18, 50, 80, .12);
}


/* =========================================================
   IMAGE
   ========================================================= */

.khs-facility-image {
    width: 100%;

    height: 145px;

    overflow: hidden;

    background: #e5ebf0;
}


.khs-facility-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}


.khs-facility-card:hover
.khs-facility-image img {
    transform: scale(1.06);
}


/* =========================================================
   CONTENT
   ========================================================= */

.khs-facility-content {
    padding: 14px 14px 16px;
}


.khs-facility-content h3 {
    margin: 0 0 6px;

    color: #173f6f;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.25;
}


.khs-facility-content p {
    margin: 0;

    color: #727b85;

    font-size: 10px;

    line-height: 1.55;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .khs-facilities-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }


    .khs-facility-image {
        height: 175px;
    }

}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 700px) {

    .khs-facilities-section {
        padding: 52px 18px;
    }


    .khs-facilities-header {
        margin-bottom: 18px;
    }


    .khs-facilities-heading h2 {
        font-size: 24px;
    }


    .khs-facilities-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    .khs-facility-image {
        height: 145px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .khs-facilities-section {
        padding: 45px 15px;
    }


    .khs-facilities-header {
        align-items: flex-end;
    }


    .khs-facilities-heading {
        gap: 8px;
    }


    .khs-facilities-icon {
        width: 30px;
        height: 30px;
    }


    .khs-facilities-icon svg {
        width: 17px;
        height: 17px;
    }


    .khs-facilities-label {
        font-size: 8px;
    }


    .khs-facilities-heading h2 {
        font-size: 22px;
    }


    .khs-facilities-view {
        padding: 7px 9px;

        font-size: 8px;
    }


    /*
       Horizontal scrolling on mobile.
       Cards remain large enough to see the image.
    */
    .khs-facilities-grid {
        display: flex;

        gap: 12px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 3px 2px 12px;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }


    .khs-facilities-grid::-webkit-scrollbar {
        display: none;
    }


    .khs-facility-card {
        flex: 0 0 76%;

        scroll-snap-align: start;
    }


    .khs-facility-image {
        height: 155px;
    }


    .khs-facility-content {
        padding: 13px 13px 15px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .khs-facilities-section {
        padding-inline: 12px;
    }


    .khs-facilities-heading h2 {
        font-size: 20px;
    }


    .khs-facilities-view {
        padding: 6px 8px;
    }


    .khs-facility-card {
        flex-basis: 82%;
    }


    .khs-facility-image {
        height: 145px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .khs-facility-card,
    .khs-facility-image img,
    .khs-facilities-view {
        transition: none;
    }

}




















.khs-programs-section {
    width: 100%;
    padding: 65px 20px;
    background: #ffffff;
    overflow: hidden;
}

.khs-programs-container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.khs-programs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 22px;
}

.khs-programs-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.khs-programs-heading-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border-radius: 50%;
    background: #fff8e7;
    color: #c39426;
}

.khs-programs-heading-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.khs-programs-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #bd8b1c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.khs-programs-header h2 {
    margin: 0;
    color: #123b70;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.1;
}

.khs-programs-header p {
    max-width: 550px;
    margin: 5px 0 0;
    color: #747d87;
    font-size: 10px;
    line-height: 1.5;
}

.khs-programs-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid rgba(18, 59, 112, .18);
    border-radius: 4px;
    color: #174c89;
    background: #fff;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: .2s ease;
}

.khs-programs-view-all span {
    font-size: 14px;
}

.khs-programs-view-all:hover {
    background: #174c89;
    border-color: #174c89;
    color: #fff;
}

.khs-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.khs-program-card {
    position: relative;
    min-width: 0;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    padding: 20px 18px 16px;
    border-radius: 7px;
    border: 1px solid rgba(18, 59, 112, .05);
    text-decoration: none;
    overflow: hidden;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.khs-program-card--arts {
    background: #f1f7fc;
}

.khs-program-card--science {
    background: #f0f9f3;
}

.khs-program-card--commerce {
    background: #fff8e8;
}

.khs-program-card--other {
    background: #fff3f3;
}

.khs-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 50, 80, .11);
}

.khs-program-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 9px;
}

.khs-program-card--arts .khs-program-icon {
    background: #e2eef9;
    color: #245a91;
}

.khs-program-card--science .khs-program-icon {
    background: #def2e3;
    color: #368153;
}

.khs-program-card--commerce .khs-program-icon {
    background: #fff0c9;
    color: #b47d17;
}

.khs-program-card--other .khs-program-icon {
    background: #f9dddd;
    color: #a64949;
}

.khs-program-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.khs-program-card h3 {
    margin: 0 0 7px;
    color: #173f6f;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.khs-program-card h3 span {
    font-size: 11px;
    font-weight: 600;
    color: #6f7883;
}

.khs-program-card p {
    max-width: 220px;
    margin: 0;
    color: #697582;
    font-size: 10px;
    line-height: 1.55;
}

.khs-program-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    color: #173f6f;
    font-size: 9px;
    font-weight: 800;
}

.khs-program-arrow {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 13px;
    transition: transform .2s ease;
}

.khs-program-card:hover .khs-program-arrow {
    transform: translateX(3px);
}

@media (max-width: 1000px) {
    .khs-programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .khs-program-card {
        min-height: 175px;
    }
}

@media (max-width: 700px) {
    .khs-programs-section {
        padding: 50px 16px;
    }

    .khs-programs-header {
        align-items: flex-end;
        gap: 15px;
    }

    .khs-programs-header h2 {
        font-size: 24px;
    }

    .khs-programs-header p {
        font-size: 9px;
    }

    .khs-programs-view-all {
        padding: 8px 10px;
        font-size: 8px;
    }

    .khs-programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .khs-program-card {
        min-height: 170px;
        padding: 17px 14px 14px;
    }

    .khs-program-icon {
        width: 39px;
        height: 39px;
        margin-bottom: 11px;
    }

    .khs-program-icon svg {
        width: 21px;
        height: 21px;
    }

    .khs-program-card h3 {
        font-size: 13px;
    }

    .khs-program-card p {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .khs-programs-section {
        padding: 42px 13px;
    }

    .khs-programs-header {
        align-items: flex-start;
    }

    .khs-programs-title-wrap {
        gap: 8px;
    }

    .khs-programs-heading-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .khs-programs-heading-icon svg {
        width: 17px;
        height: 17px;
    }

    .khs-programs-eyebrow {
        font-size: 7px;
        letter-spacing: 1.2px;
    }

    .khs-programs-header h2 {
        font-size: 21px;
    }

    .khs-programs-header p {
        display: none;
    }

    .khs-programs-view-all {
        padding: 7px 8px;
        font-size: 7px;
    }

    .khs-programs-view-all span {
        font-size: 11px;
    }

    .khs-programs-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 3px 2px 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .khs-programs-grid::-webkit-scrollbar {
        display: none;
    }

    .khs-program-card {
        flex: 0 0 76%;
        min-height: 175px;
        scroll-snap-align: start;
    }
}

@media (max-width: 360px) {
    .khs-program-card {
        flex-basis: 82%;
    }

    .khs-programs-view-all {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .khs-program-card,
    .khs-program-arrow,
    .khs-programs-view-all {
        transition: none;
    }
}



















.khs-gallery-section {
    width: 100%;
    padding: 70px 20px;
    background: #f5f8fb;
    overflow: hidden;
}

.khs-gallery-container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.khs-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 18px;
}

.khs-gallery-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.khs-gallery-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 9px;
    background: #e9f1f8;
    color: #174c89;
}

.khs-gallery-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.khs-gallery-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #bd8b1c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.khs-gallery-header h2 {
    margin: 0;
    color: #123b70;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.1;
}

.khs-gallery-header p {
    margin: 5px 0 0;
    color: #737e89;
    font-size: 10px;
    line-height: 1.5;
}

.khs-gallery-view {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid rgba(18, 59, 112, .16);
    border-radius: 4px;
    background: #fff;
    color: #174c89;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: .2s ease;
}

.khs-gallery-view:hover {
    background: #174c89;
    border-color: #174c89;
    color: #fff;
}

.khs-gallery-view span {
    font-size: 14px;
}

.khs-gallery-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    overflow-x: auto;
    scrollbar-width: none;
}

.khs-gallery-filters::-webkit-scrollbar {
    display: none;
}

.khs-gallery-filter {
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: #fff;
    color: #617080;
    font-size: 9px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s ease;
}

.khs-gallery-filter:hover {
    color: #174c89;
    border-color: rgba(23, 76, 137, .2);
}

.khs-gallery-filter.is-active {
    background: #174c89;
    color: #fff;
    box-shadow: 0 3px 10px rgba(23, 76, 137, .18);
}

.khs-gallery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
    gap: 12px;
    height: 390px;
}

.khs-gallery-feature {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 9px;
    background: #dce4eb;
    text-decoration: none;
}

.khs-gallery-feature img,
.khs-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.khs-gallery-feature:hover img,
.khs-gallery-item:hover img {
    transform: scale(1.06);
}

.khs-gallery-feature::after,
.khs-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(4, 25, 47, .78) 100%
    );
    pointer-events: none;
}

.khs-gallery-feature-overlay {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 20px;
    color: #fff;
}

.khs-gallery-feature-overlay span {
    display: block;
    margin-bottom: 4px;
    color: #e6b438;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.khs-gallery-feature-overlay h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.15;
}

.khs-gallery-open {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 9px;
    font-weight: 500;
}

.khs-gallery-open span {
    display: inline;
    margin: 0;
    color: #fff;
    font-size: 13px;
}

.khs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
    min-height: 0;
}

.khs-gallery-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #dce4eb;
    text-decoration: none;
}

.khs-gallery-item:first-child {
    grid-column: span 2;
}

.khs-gallery-item-overlay {
    position: absolute;
    z-index: 2;
    left: 12px;
    right: 12px;
    bottom: 10px;
    color: #fff;
    opacity: 0;
    transform: translateY(5px);
    transition: .25s ease;
}

.khs-gallery-item:hover .khs-gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.khs-gallery-item-overlay span {
    display: block;
    margin-bottom: 2px;
    color: #e6b438;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.khs-gallery-item-overlay strong {
    display: block;
    font-size: 10px;
    line-height: 1.25;
}

.khs-gallery-item.is-hidden,
.khs-gallery-feature.is-hidden {
    display: none;
}

@media (max-width: 950px) {
    .khs-gallery-layout {
        height: 350px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    }

    .khs-gallery-grid {
        gap: 9px;
    }
}

@media (max-width: 700px) {
    .khs-gallery-section {
        padding: 52px 16px;
    }

    .khs-gallery-header {
        align-items: flex-end;
    }

    .khs-gallery-header h2 {
        font-size: 24px;
    }

    .khs-gallery-header p {
        display: none;
    }

    .khs-gallery-view {
        padding: 8px 10px;
        font-size: 8px;
    }

    .khs-gallery-layout {
        display: flex;
        height: auto;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .khs-gallery-layout::-webkit-scrollbar {
        display: none;
    }

    .khs-gallery-feature {
        flex: 0 0 82%;
        height: 310px;
        scroll-snap-align: start;
    }

    .khs-gallery-grid {
        flex: 0 0 82%;
        height: 310px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        scroll-snap-align: start;
    }

    .khs-gallery-item:first-child {
        grid-column: span 1;
    }

    .khs-gallery-item-overlay {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .khs-gallery-section {
        padding: 44px 13px;
    }

    .khs-gallery-title-wrap {
        gap: 8px;
    }

    .khs-gallery-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .khs-gallery-icon svg {
        width: 17px;
        height: 17px;
    }

    .khs-gallery-eyebrow {
        font-size: 7px;
        letter-spacing: 1.2px;
    }

    .khs-gallery-header h2 {
        font-size: 21px;
    }

    .khs-gallery-view {
        padding: 7px 8px;
        font-size: 7px;
    }

    .khs-gallery-feature {
        flex-basis: 88%;
        height: 275px;
    }

    .khs-gallery-grid {
        flex-basis: 88%;
        height: 275px;
    }

    .khs-gallery-feature-overlay {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .khs-gallery-feature-overlay h3 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .khs-gallery-feature img,
    .khs-gallery-item img,
    .khs-gallery-filter,
    .khs-gallery-view,
    .khs-gallery-item-overlay {
        transition: none;
    }
}