/*
Theme Name: SCGI Custom Theme
Theme URI: https://scgi.in/
Author: Abhiram
Author URI: https://scgi.in/
Description: A custom, production-ready theme for Sri Channegowda Group of Institutions (SCGI).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scgi-custom
*/

* , *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --blue:       #1a3a8c;
      --blue-dark:  #0d2463;
      --blue-mid:   #1e4aad;
      --blue-light: #2a5fd4;
      --gold:       #C9A227;
      --gold-light: #e8be3c;
      --gold-pale:  #fdf3d0;
      --white:      #ffffff;
      --off-white:  #f4f7fc;
      --text:       #1e1e2e;
      --text-light: #5a6580;
      --border:     #d8e2f5;
    }
    html { scroll-behavior: smooth; }
    body { font-family: 'Albert Sans', sans-serif; color: var(--text); overflow-x: hidden; background: #fff; }

    /* ───── TOP BAR ───── */
    .top-bar { background: var(--blue-dark); padding: 8px 0; font-size: .78rem; }
    .top-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
    .top-bar a, .top-bar span { color: rgba(255,255,255,.85); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
    .top-bar a:hover { color: var(--gold-light); }
    .top-bar i { color: var(--gold); }
    .tb-left, .tb-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
    .tb-divider { color: rgba(255,255,255,.25); }

    /* ── Mobile topbar: stack phone & email ── */
    @media (max-width: 991px) {
      .top-bar { padding: 8px 0; }
      .top-bar .wrap { justify-content: center; }
      .tb-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px; /* Increased gap */
      }
      .tb-left .tb-divider { display: none !important; }
      .top-bar a { font-size: 0.8rem; }
      .tb-right { display: none; }
    }


    /* ───── HEADER ───── */
    header { background: #fff; position: absolute; left: 0; right: 0; z-index: 1000; border-bottom: 1px solid var(--border); transition: all 0.3s ease; }
header.sticky { position: fixed; top: 0; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 32px rgba(26, 58, 140, 0.12); border-bottom-color: transparent; }
header.hdr-inner { position: relative; background: #fff; border-bottom: 1px solid var(--border); }
header.sticky nav ul li a { color: var(--blue-dark) !important; }
header.sticky nav ul li a:hover, header.sticky nav ul li a.active { color: var(--gold) !important; }
    .nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
    .logo-link img { height: 62px; width: auto; display: block;  }
    nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
    nav ul li a {
      display: block; padding: 9px 15px; font-weight: 500; font-size: .88rem;
      color: var(--blue-dark); text-decoration: none; border-radius: 6px; transition: all .25s; position: relative;
    }
    nav ul li a::after { content: ''; position: absolute; bottom: 4px; left: 15px; right: 15px; height: 2px; background: var(--blue); border-radius: 2px; transform: scaleX(0); transition: transform .25s; }
    /* ═══ VIDEO MODAL ═══ */
.scgi-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.scgi-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,36,99,0.95);
  backdrop-filter: blur(8px);
}
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scgi-modal.active .video-modal-content {
  transform: scale(1);
  opacity: 1;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s;
}
.close-modal:hover { transform: scale(1.2) rotate(90deg); }

.video-trigger .fa-play {
    font-size: 1.5rem;
    color: #fff;
}

    nav ul li a:hover, nav ul li a.active { color: var(--gold); }
    nav ul li a:hover::after, nav ul li a.active::after { transform: scaleX(1); }
    .btn-enq {
      background: var(--blue);
      color: #fff; border: none; padding: 11px 26px; border-radius: 30px;
      font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: none;
      transition: all .4s; box-shadow: 0 4px 16px rgba(26,58,140,.3); white-space: nowrap;
      position: relative; overflow: hidden; z-index: 1;
    }
    .btn-enq::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--blue-light); transition: all .4s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
    .btn-enq:hover::before { left: 0; }
    .btn-enq:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 30px rgba(26,58,140,0.45); }
    .btn-enq::after { content: ''; position: absolute; top: -50%; left: -60%; width: 20%; height: 200%; background: rgba(255,255,255,0.25); transform: rotate(25deg); transition: all 0.6s; pointer-events: none; }
    .btn-enq:hover::after { left: 120%; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
    .hamburger span { width: 24px; height: 2px; background: var(--blue); border-radius: 2px; }

    /* ───── DROPDOWN SUB-MENU (Handled via header.php for exact HTML match) ───── */
    nav ul li { position: relative; }
    nav ul li ul.sub-menu { display: none !important; }
    nav ul li:hover > ul.sub-menu { display: block !important; }


    /* ───── CONTAINER ───── */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    /* ───── HERO ───── */
    .hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
    .hero-slider { position: absolute; inset: 0; z-index: 0; }
    .slide {
      position: absolute; inset: 0; background-size: cover; background-position: center;
      background-repeat: no-repeat; opacity: 0; transition: opacity 1.5s ease-in-out;
    }
    .slide.active { opacity: 1; }
    .hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(13,36,99,.92) 20%, rgba(26,58,140,.55) 100%); }
    .hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 420px; align-items: center; gap: 40px; padding-top: 140px; padding-bottom: 70px; }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(201,162,39,.18); border: 1px solid rgba(201,162,39,.45);
      color: var(--gold-light); padding: 6px 18px; border-radius: 30px;
      font-size: .78rem; font-weight: 500; letter-spacing: .5px; margin-bottom: 22px; backdrop-filter: blur(6px);
    }
    .hero h1 {
      font-family: 'GT Super Ds', 'Lora', serif;
      font-size: clamp(1.8rem, 4.2vw, 3.2rem); color: #fff; line-height: 1.1; margin-bottom: 24px;
      text-shadow: 0 5px 20px rgba(0,0,0,0.4);
    }
    .hero h1 span { 
      color: var(--gold-light); 
      font-weight: 600; 
      font-size: clamp(2.4rem, 5.5vw, 4.2rem); 
      display: block;
      margin-top: 5px;
    }
    .hero h1 em { color: var(--gold-light); font-style: italic; }
    .hero-desc { font-size: 1rem; color: rgba(255,255,255,.82); line-height: 1.8; margin-bottom: 34px; max-width: 520px; }
    .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
    .btn-gold {
      background: var(--gold);
      color: #1a1a1a; padding: 13px 30px; border-radius: 30px; font-weight: 500; font-size: .92rem;
      text-decoration: none; transition: all .4s; box-shadow: 0 5px 18px rgba(201,162,39,.4);
      display: inline-flex; align-items: center; gap: 8px; position: relative; overflow: hidden; z-index: 1;
      white-space: nowrap;
    }
    .btn-gold::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--gold-light); transition: all .4s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
    .btn-gold:hover::before { left: 0; }
    .btn-gold:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 35px rgba(201,162,39,0.5); }
    .btn-gold::after { content: ''; position: absolute; top: -50%; left: -60%; width: 30%; height: 200%; background: rgba(255,255,255,0.4); transform: rotate(25deg); opacity: 0; transition: all 0.5s; pointer-events: none; }
    .btn-gold:hover::after { left: 140%; opacity: 1; }
    .btn-ghost-white {
      border: 2px solid rgba(255,255,255,.55); color: #fff; padding: 12px 28px; border-radius: 30px;
      font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .3s;
      display: inline-flex; align-items: center; gap: 8px;
      white-space: nowrap;
    }
    .btn-ghost-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
    .hero-pills { display: flex; gap: 10px; flex-wrap: wrap; }
    .hero-pill {
      background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22);
      color: rgba(255,255,255,.9); padding: 8px 18px; border-radius: 30px; font-size: .82rem; font-weight: 500;
      text-decoration: none; transition: all .28s; display: inline-flex; align-items: center; gap: 7px;
    }
    .hero-pill i { color: var(--gold-light); }
    .hero-pill:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
    
    /* hero badges (white pills) */
     .hero-badges-wrap {
       display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; margin-bottom: 25px;
       justify-content: center; width: 100%;
     }
    .hero-badge-item {
      background: #fff; padding: 6px 14px; border-radius: 8px;
      display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.22);
      border: 1px solid rgba(255,255,255,.1); transition: transform 0.3s;
    }
    .hero-badge-item:hover { transform: translateY(-3px); }
    .hero-badge-item img.hero-badge-img {
      width: 52px; height: 52px;
      object-fit: contain;
      flex-shrink: 0;
      border-radius: 0;
      background: transparent;
    }

    .hero-badge-item span {
      font-size: 0.72rem; font-weight: 700; color: var(--blue-dark);
      line-height: 1.35; font-family: 'Albert Sans', sans-serif;
      letter-spacing: 0.1px;
    }
    
    .hero-dots {
      position: absolute; left: 50%; bottom: 85px; transform: translateX(-50%);
      display: flex; gap: 12px; z-index: 10;
    }
    .hero-dot {
      width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3);
      cursor: pointer; transition: all 0.3s; border: 1.5px solid rgba(255,255,255,0.5);
    }
    .hero-dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
    
     .hero-stats-panel {
        background: rgba(13, 36, 99, 0.45); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255,255,255,0.15); border-radius: 24px; padding: 30px 24px;
        display: flex; flex-direction: column; gap: 14px;
        box-shadow: 0 24px 60px rgba(0,0,0,0.35);
        z-index: 10;
        overflow: visible !important;
      }
      .hsp-subtitle {
        color: rgba(255,255,255,0.92) !important;
        font-size: 0.88rem;
        text-align: center;
        margin: -10px auto 14px;
        line-height: 1.45;
        max-width: 320px;
        font-weight: 500;
        text-shadow: 0 1px 4px rgba(0,0,0,0.2);
      }
      .hsp-title { 
        color: #fff !important; font-size: 1.85rem; font-weight: 700; font-family: 'GT Super Ds', serif; 
        margin-bottom: 12px; text-align: center; position: relative; padding-bottom: 12px; 
        letter-spacing: 0.5px; text-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
      }
      .hsp-title span { color: var(--gold-light) !important; }
     
     .hero-input { 
        width: 100%; padding: 12px 18px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.2); 
        background: rgba(255,255,255,0.95); color: var(--blue-dark); outline: none; margin-bottom: 12px; 
        font-family: inherit; font-size: 0.9rem; font-weight: 500; transition: all 0.3s; 
        box-sizing: border-box;
     }
     .hero-input::placeholder { color: rgba(13, 36, 99, 0.6); }
     .hero-input:focus { background: #fff; border-color: var(--gold); box-shadow: 0 0 15px rgba(212,175,55,0.3); }

     /* Only selects and CSD triggers get the arrow symbol or special behavior */
     select.hero-input {
        appearance: none; -webkit-appearance: none; -moz-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2463' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important; background-position: right 1.2rem center !important; background-size: 1.1em !important;
        cursor: pointer; padding-right: 40px;
     }
     select.hero-input option { background: #fff; color: var(--blue-dark); padding: 10px; }
     .hero-submit { 
       cursor: pointer; border: none; font-size: 1rem; font-weight: 700; color: #1a1a1a;
       display: flex; align-items: center; justify-content: center; width: 100%; 
       border-radius: 30px; padding: 16px; background: var(--gold); 
       transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
       box-shadow: 0 8px 25px rgba(212,175,55,0.3);
     }
     .hero-submit:hover { transform: translateY(-3px) scale(1.02); background: var(--gold-light); box-shadow: 0 12px 30px rgba(212,175,55,0.5); }

    /* ═══ CUSTOM SELECT DROPDOWN (csd) ═══ */
    .csd-wrap { position: relative; }
    .hero-form { overflow: visible !important; position: relative; }
    .csd {
      position: relative;
      width: 100%;
      font-family: 'Albert Sans', sans-serif;
      user-select: none;
      z-index: inherit;
    }
    .csd-trigger {
      width: 100%;
      padding: 12px 18px;
      border-radius: 10px;
      border: 1.5px solid rgba(255,255,255,0.2);
      background: rgba(255,255,255,0.95);
      color: var(--blue-dark);
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      transition: all 0.3s;
      box-sizing: border-box;
    }
    .csd-trigger:hover { background: #fff; border-color: var(--gold); }
    .csd.open {
      z-index: 999;
    }
    .csd.open .csd-trigger {
      border-color: var(--gold);
      background: #fff;
      box-shadow: 0 0 15px rgba(212,175,55,0.3);
      border-radius: 10px 10px 0 0;
    }
    .csd-label { flex: 1; text-align: left; color: rgba(13,36,99,0.7); font-weight: 500; }
    .csd.has-value .csd-label { color: var(--blue-dark); font-weight: 600; }
    .csd-arrow {
      color: var(--blue-dark);
      font-size: 0.75rem;
      transition: transform 0.3s;
      flex-shrink: 0;
    }
    .csd.open .csd-arrow { transform: rotate(180deg); color: var(--gold); }
    .csd-list {
      display: none;
      position: absolute;
      top: 100%;
      left: 0; right: 0;
      background: #fff;
      border: 1.5px solid var(--gold);
      border-top: none;
      border-radius: 0 0 10px 10px;
      list-style: none;
      padding: 4px 0;
      margin: 0;
      z-index: 300;
      box-shadow: 0 12px 30px rgba(13,36,99,0.18);
      max-height: 220px;
      overflow-y: auto;
    }
    .csd-list::-webkit-scrollbar { width: 4px; }
    .csd-list::-webkit-scrollbar-track { background: #f0f0f0; }
    .csd-list::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
    .csd.open .csd-list { display: block; animation: csd-open 0.2s ease; }
    @keyframes csd-open {
      from { opacity: 0; transform: translateY(-8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .csd-list li {
      padding: 11px 18px;
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--blue-dark);
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
      border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .csd-list li:last-child { border-bottom: none; }
    .csd-list li:hover { background: var(--gold-pale); color: var(--blue-dark); }
    .csd-list li.selected { background: rgba(201,162,39,0.12); color: var(--blue-dark); font-weight: 700; }

    /* MODAL FORM INPUT STYLING */
    .modal-input { width: 100%; padding: 12px 18px; border-radius: 10px; border: 1.5px solid #ddd; background: #fff; color: var(--blue-dark); outline: none; margin-bottom: 12px; font-family: inherit; font-size: 0.95rem; transition: all 0.3s; box-sizing: border-box; }
    .modal-input::placeholder { color: #8892a0; }
    .modal-input:focus { border-color: var(--gold); box-shadow: 0 0 10px rgba(201,162,39,0.2); }
    select.modal-input { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3a8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.2rem center; background-size: 1.1em; padding-right: 2.5rem; cursor: pointer; }

    /* Fix modal dropdown triggers to match .modal-input */
    .modal-box .csd-trigger {
      border: 1.5px solid #ddd;
      background: #fff;
    }
    .modal-box .csd-trigger:hover, 
    .modal-box .csd.open .csd-trigger {
      border-color: var(--gold);
    }


    /* ───── STATS BAR ───── */
    .stats-bar { background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue-mid) 100%); }
    .stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
    .stat-item { padding: 34px 20px; text-align: center; color: #fff; border-right: 1px solid rgba(255,255,255,.12); transition: background .3s; }
    .stat-item:last-child { border-right: none; }
    .stat-item:hover { background: rgba(255,255,255,.07); }
    .stat-ico { font-size: 1.8rem; color: var(--gold-light); margin-bottom: 10px; }
    .stat-num { font-size: 2.2rem; font-weight: 500; line-height: 1; }
    .stat-lbl { font-size: .79rem; color: rgba(255,255,255,.7); margin-top: 5px; }

    /* ───── SECTION HEADING HELPERS ───── */
    .sec-label { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: .75rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
    .sec-label::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
    .sec-title { font-family: 'GT Super Ds', 'Lora', serif; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--blue-dark); line-height: 1.25; margin-bottom: 14px; }
    .sec-sub { font-size: .96rem; color: var(--text-light); line-height: 1.78; max-width: 600px; }
    .tc { text-align: center; }
    .tc .sec-label { justify-content: center; }
    .tc .sec-sub { margin: 0 auto; }
    
    /* ───── SECTION BACKGROUND UTILITIES ───── */
    .sec-bg-light { background: #fff; }
    .sec-bg-blue { background: var(--blue-dark); color: #fff; position: relative; overflow: hidden; }
    .sec-bg-blue .sec-title { color: #fff; }
    .sec-bg-blue .sec-sub, .sec-bg-blue .kc-meta { color: rgba(255,255,255,0.85); }
    .sec-bg-blue .sec-label { color: var(--gold-light); }
    .sec-bg-blue .sec-label::before { background: var(--gold-light); }
    
    .bg-pattern { position: relative; }
    .bg-pattern::before {
      content: ''; position: absolute; inset: 0; 
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      pointer-events: none;
    }
    
    /* ───── BANNER CTA (Reference based) ───── */
    .banner-cta { 
      background: linear-gradient(135deg, #8a0e5b 0%, #a11c81 100%); /* Using reference plum color */
      padding: 30px 0; border-radius: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
      color: #fff; position: relative; z-index: 10; overflow: hidden;
    }
    .banner-cta .flex-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
    .banner-cta h3 { font-family: 'GT Super Ds', serif; font-size: 1.6rem; color: #fff; margin-bottom: 4px; }
    .banner-cta p { font-size: 1rem; opacity: 0.9; margin: 0; }
    .banner-cta .btn-gold { box-shadow: 0 4px 14px rgba(0,0,0,0.2); }
    
    @media (max-width: 768px) {
      .banner-cta .flex-cta { text-align: center; justify-content: center; }
      .banner-cta h3 { font-size: 1.3rem; }
    }

    /* CATEGORY LABELS (NON-CLICKABLE) */
    .menu-category-label {
      font-size: 0.7rem;
      color: var(--gold);
      padding: 12px 24px 6px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      cursor: default;
      border-top: 1px solid rgba(0,0,0,0.04);
      margin-top: 6px;
      font-family: 'Albert Sans', sans-serif; /* Explicitly use non-serif for labels */
    }

    .footer-category-label {
      font-size: 0.72rem;
      color: var(--gold-light);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      margin: 15px 0 8px;
      display: block;
      border-left: 3px solid var(--gold);
      padding-left: 10px;
      cursor: default;
      font-family: 'GT Super Ds', 'Lora', serif;
    }

    /* ───── ABOUT ───── */
    .about { padding: 60px 0 40px; background: #fff; }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; }
    .about-img-wrap { position: relative; }
    .about-img-wrap img { width: 100%; border-radius: 20px; box-shadow: 0 16px 48px rgba(26,58,140,.18); display: block; }
    .estd-badge {
      position: absolute; bottom: -18px; right: -18px;
      background: linear-gradient(135deg, var(--blue), var(--blue-mid));
      color: #fff; border-radius: 16px; padding: 20px 24px; text-align: center;
      box-shadow: 0 8px 28px rgba(26,58,140,.35);
    }
    .estd-num { font-size: 2rem; font-weight: 500; line-height: 1; }
    .estd-lbl { font-size: .73rem; opacity: .82; margin-top: 4px; letter-spacing: .3px; }
    .about-points { display: flex; flex-wrap: wrap; gap: 15px; margin: 30px 0; }
    .ap {
      display: flex; align-items: center; gap: 10px; padding: 12px 18px;
      background: #f8faff; border-radius: 8px; border: 1px solid rgba(26,58,140,0.06);
      font-size: 0.82rem; color: var(--blue-dark); font-weight: 500; flex: 1; min-width: 240px;
    }
    .ap i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
    .btn-primary {
      background: var(--blue); color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: 600; font-size: .92rem;
      text-decoration: none; transition: all .4s; box-shadow: 0 5px 18px rgba(26,58,140,.25);
      display: inline-flex; align-items: center; gap: 8px; position: relative; overflow: hidden; z-index: 1;
      white-space: nowrap;
    }
    .btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--blue-mid); transition: all .4s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
    .btn-primary:hover::before { left: 0; }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(26,58,140,.4); }



    /* ───── COURSES ───── */
    .courses { padding: 60px 0; background: #fff; }
    .courses-tabs { display: flex; gap: 8px; justify-content: center; margin: 32px 0 42px; flex-wrap: wrap; }
    .tab-btn { padding: 10px 24px; border-radius: 30px; border: 2px solid var(--border); background: #fff; color: var(--text-light); font-weight: 600; font-size: .86rem; cursor: pointer; transition: all .28s; font-family: 'Albert Sans', sans-serif; }
    .tab-btn.active, .tab-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }
    .courses-slider-container {
      position: relative; margin: 0 -15px; padding: 0 15px; overflow: visible;
    }
    .courses-slider-track {
      overflow: hidden; padding-top: 15px; margin-top: -15px; padding-bottom: 20px;
    }
    .courses-grid {
      display: flex;
      gap: 30px;
      transition: all 0.5s ease;
      scroll-behavior: smooth;
      overflow-x: auto;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none;  /* IE and Edge */
      padding-top: 12px;
      margin-top: -12px;
    }
    .courses-grid::-webkit-scrollbar {
      display: none; /* Chrome, Safari and Opera */
    }
    .courses-grid > * { flex: 0 0 340px; min-width: 340px; }
    
    .slider-arrow {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 44px; height: 44px; background: #fff; color: var(--blue-dark);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      cursor: pointer; z-index: 20; border: 1.5px solid rgba(13,36,99,.12);
      transition: all 0.4s; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    .slider-arrow:hover { background: var(--blue-dark); color: #fff; transform: translateY(-50%) scale(1.1); }
    .slider-arrow.prev { left: -10px; }
    .slider-arrow.next { right: -10px; }
    
    @media (max-width: 1024px) {
      .courses-grid > * { flex: 0 0 45%; min-width: 0; }
    }
    @media (max-width: 768px) {
      .courses-grid > * { flex: 0 0 280px; min-width: 280px; }
      .courses-slider-container { overflow: visible; }
    }
    .course-card { border-radius: 18px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.08); transition: all .35s; background: #fff; border: 1px solid var(--border); }
    .course-card:hover { transform: translateY(-8px); box-shadow: 0 16px 44px rgba(26,58,140,.16); border-color: transparent; }
    .cc-img { position: relative; height: 185px; overflow: hidden; }
    .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
    .course-card:hover .cc-img img { transform: scale(1.08); }
    .cc-badge { position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 500; letter-spacing: .4px; padding: 4px 11px; border-radius: 20px; text-transform: uppercase; }
    .cc-body { padding: 20px 20px 24px; }
    .cc-body h4 { font-size: .97rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
    .cc-body p { font-size: .83rem; color: var(--text-light); line-height: 1.65; margin-bottom: 14px; }
    .cc-link { color: var(--blue); font-size: .83rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
    .cc-link:hover { gap: 10px; color: var(--blue-light); }

    /* ───── GALLERY ───── */
    .gallery { padding: 60px 0; background: #fff; }
    .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 50px; }
    .gallery-item { position: relative; border-radius: 8px; overflow: hidden; height: 260px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); background: #000; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: brightness(0.9); }
    .gi-overlay {
  display: none !important;
}
.gi-content {
  display: none !important;
}
    .gallery-item:hover img { transform: scale(1.08); }
    .gallery-item:hover .gi-overlay { background: rgba(13, 36, 99, 0.3); }
    .gi-title { color: #fff; font-size: 1.1rem; font-weight: 500; font-family: 'GT Super Ds', serif; letter-spacing: 0.5px; display: none !important; }

    @media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; } }

    /* ───── OUR FACILITIES (icon grid) ───── */
    .fac-section {
      background: #e8eef8;
      padding: 60px 0;
    }
    .fac-section .tc { margin-bottom: 56px; }
    .fac-section .sec-title em { font-style: italic; font-family: 'Lora', serif; }
    .fac-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 36px 24px;
    }
    .fac-item {
      text-align: center;
    }
    .fac-icon {
      width: 68px; height: 68px;
      background: var(--blue-dark);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 16px;
      font-size: 1.5rem;
      color: #fff;
    }
    .fac-item h4 {
      font-family: 'Lora', 'GT Super Ds', serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--blue-dark);
      margin-bottom: 10px;
    }
    .fac-item p {
      font-size: 0.82rem;
      color: #555;
      line-height: 1.7;
      max-width: 200px;
      margin: 0 auto;
    }
    @media (max-width: 991px) { .fac-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .fac-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

    /* ───── COUNSELLOR / CTA BAND ───── */
    .cta-band {
      background: linear-gradient(115deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
      padding: 72px 0; text-align: center; position: relative; overflow: hidden;
    }
    .cta-band::before {
      content: ''; position: absolute; inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    .cta-band .sec-label { color: rgba(255,255,255,.55); justify-content: center; }
    .cta-band .sec-label::before { background: var(--gold); }
    .cta-band h2 { font-family: 'GT Super Ds', 'Lora', serif; font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: 14px; position: relative; }
    .cta-band p { color: rgba(255,255,255,.78); font-size: 1rem; margin-bottom: 36px; position: relative; }
    .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
    
    .btn-outline { 
      border: 2px solid var(--blue); color: var(--blue); padding: 12px 28px; border-radius: 30px; font-weight: 600; text-decoration: none; transition: all .4s; 
      display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; position: relative; overflow: hidden; z-index: 1;
      white-space: nowrap;
    }
    .btn-outline::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--blue); transition: all .4s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
    .btn-outline:hover::before { left: 0; }
    .btn-outline:hover { color: #fff; }
    .contact-info-side .soc-btn { color: var(--blue-dark); border-color: #eee; }
    .contact-info-side .soc-btn:hover { color: #fff; border-color: var(--blue); }

    .btn-outline-w { border: 2px solid rgba(255,255,255,.6); color: #fff; padding: 12px 28px; border-radius: 30px; font-weight: 600; text-decoration: none; transition: all .3s; display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
    .btn-outline-w:hover { background: rgba(255,255,255,.12); border-color: #fff; }

    /* ───── FOOTER ───── */
    footer { background: #0a1a4a; color: rgba(255,255,255,.72); padding: 68px 0 0; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; padding-bottom: 50px; }
    .footer-brand img { height: 54px; margin-bottom: 16px; display: block; background: #fff; padding: 6px; border-radius: 6px; }
    .footer-brand .fb-name { color: #fff; font-weight: 500; font-size: 1rem; margin-bottom: 4px; }
    .footer-brand p { font-size: .86rem; line-height: 1.75; max-width: 280px; }
    .footer-social { display: flex; gap: 9px; margin-top: 18px; }
    .soc-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); text-decoration: none; font-size: .88rem; transition: all .28s; }
    .soc-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
    .fc h5 { color: #fff; font-size: .92rem; font-weight: 500; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
    .fc h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
    .fl { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .fl a { color: rgba(255,255,255,.62); text-decoration: none; font-size: .85rem; transition: all .24s; display: inline-flex; align-items: center; gap: 8px; }
    .fl a i { color: var(--gold); font-size: .62rem; }
    .fl a:hover { color: #fff; padding-left: 4px; }
    .fci { display: flex; gap: 13px; margin-bottom: 15px; font-size: .85rem; line-height: 1.6; align-items: flex-start; }
    .fci i { color: var(--gold); margin-top: 3px; flex-shrink: 0; width: 15px; text-align: center; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 12px; }
    .footer-cred { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
    .footer-cred a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
    .footer-cred span.sep { color: rgba(255,255,255,0.2); }

    /* ───── STICKY FLOAT ───── */
    .sticky-float { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; }
    .sticky-admit { background: var(--gold); color: #1a1a1a; font-size: .75rem; font-weight: 500; writing-mode: vertical-rl; transform: rotate(180deg); padding: 18px 10px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background .3s; }
    .sticky-admit:hover { background: var(--gold-light); color: #1a1a1a; }
    .highlight-admit { background: var(--blue-dark); color: var(--gold-light); font-weight: 700; box-shadow: 0 0 15px rgba(13,36,99,0.6); border-left: 2px solid var(--gold); }
    .sfi { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; text-decoration: none; transition: opacity .2s; }
    .sfi:hover { opacity: .82; }
    .sfi.ph { background: var(--blue); }
    .sfi.wa { background: #25D366; }
    .sfi.em { background: #1a73e8; }

    /* ───── SCROLL TOP ───── */
    #st { position: fixed; bottom: 26px; right: 52px; z-index: 998; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; border: none; font-size: .95rem; cursor: pointer; box-shadow: 0 4px 16px rgba(26,58,140,.4); display: none; align-items: center; justify-content: center; transition: all .3s; }
    #st:hover { background: var(--blue-dark); transform: translateY(-3px); }
    #st.show { display: flex; }

    /* ───── RESPONSIVE ───── */
    @media (max-width: 1024px) {
      .hero .container { grid-template-columns: 1fr; }
      .hero-stats-panel { display: none; }
      .about-grid { grid-template-columns: 1fr; gap: 40px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
      .stats-grid { grid-template-columns: repeat(2,1fr); }
      .stat-item:nth-child(2) { border-right: none; }
      .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.12); }
    }
    @media (max-width: 991px) {
      .tb-left span:last-child, .tb-right { display: none; }

      /* ── MOBILE NAV: hide nav menu by default ── */
      #navMenu, nav > ul, #site-nav > ul {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        box-shadow: 0 12px 30px rgba(0,0,0,.15);
        padding: 10px 0;
        z-index: 9999;
        margin: 0;
        list-style: none;
        width: 100%;
      }
      /* ── Show nav when any toggle class is set ── */
      #navMenu.open, nav > ul.open, #site-nav.open > ul,
      #site-nav > ul.open, header.menu-open #navMenu,
      header.menu-open nav > ul,
      body.menu-open #navMenu,
      body.menu-open #site-nav ul { 
        display: flex !important; 
      }
      body.menu-open { overflow: hidden; }
      body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
      body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


      /* ── Top-level nav links on mobile ── */
      #navMenu > li > a, nav > ul > li > a {
        padding: 13px 22px !important;
        color: var(--blue-dark) !important;
        display: block !important;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
      }
      #navMenu > li > a::after, nav > ul > li > a::after { display: none !important; }

      /* ── Show hamburger ── */
      .hamburger { 
        display: flex; 
        position: relative; 
        z-index: 9999; 
        padding: 10px;
        margin-right: -10px;
      }
      .hamburger span { transition: all 0.3s ease; transform-origin: center; }

      /* ── MOBILE SUBMENUS ── */
      /* 1st-level sub-menu */
      #navMenu .menu-item-has-children > .sub-menu,
      nav ul .menu-item-has-children > .sub-menu {
        display: none !important;
        position: static !important;
        box-shadow: none !important;
        border-left: 3px solid var(--gold) !important;
        border-radius: 0 !important;
        padding: 5px 0 5px 12px !important;
        background: #fafbff !important;
        min-width: 0 !important;
        width: 100% !important;
      }
      #navMenu .menu-item-has-children.open > .sub-menu,
      nav ul .menu-item-has-children.open > .sub-menu {
        display: block !important;
      }
      /* sub-menu links */
      #navMenu .sub-menu a, nav ul .sub-menu a {
        padding: 10px 16px !important;
        color: var(--blue-dark) !important;
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        border-bottom: 1px solid #f0f0f0;
      }
      #navMenu .sub-menu a:hover, nav ul .sub-menu a:hover {
        color: var(--gold) !important;
        background: transparent !important;
        padding-left: 20px !important;
      }
      
      /* Submenu Toggle Indicator (Arrow) */
      .menu-item-has-children > a { position: relative; padding-right: 45px !important; }
      .menu-item-has-children > a::after {
        content: '\f107'; /* Angle Down */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 20px; top: 50%;
        transform: translateY(-50%);
        font-size: 0.9rem;
        color: var(--blue-dark);
        transition: transform 0.3s;
      }
      .menu-item-has-children.open > a::after {
        transform: translateY(-50%) rotate(180deg);
        color: var(--gold);
      }

      /* 2nd-level nested sub-sub-menu */
      #navMenu .sub-menu .menu-item-has-children > .sub-menu,
      nav ul .sub-menu .menu-item-has-children > .sub-menu {
        display: none !important;
        position: static !important;
        border-left: 2px solid var(--gold-light) !important;
        padding-left: 10px !important;
        background: #f5f7fd !important;
        box-shadow: none !important;
        min-width: 0 !important;
      }
      #navMenu .sub-menu .menu-item-has-children.open > .sub-menu,
      nav ul .sub-menu .menu-item-has-children.open > .sub-menu {
        display: block !important;
      }

      /* ── Disable hover-based desktop dropdown on mobile ── */
      .dropdown:hover > .dropdown-content,
      .menu-item-has-children:hover > .sub-menu { display: none !important; }
      .dropdown-submenu:hover > .submenu-content,
      .sub-menu > li.menu-item-has-children:hover > .sub-menu { display: none !important; }

      .footer-grid { grid-template-columns: 1fr; gap: 30px; }
      .footer-bottom { justify-content: center; text-align: center; }
      .estd-badge { display: none; }
      .hero { min-height: auto; padding: 120px 0 60px; }
      .hero-content { text-align: center; }
      .hero h1 { font-size: 1.6rem; margin-bottom: 15px; text-align: center; }
      .hero h1 span { font-size: 2rem; }
      .hero-desc { font-size: 0.9rem; margin-bottom: 25px; text-align: center; margin-left: auto; margin-right: auto; }
      .hero-btns { gap: 10px; justify-content: center; }
      .hero-pills { justify-content: center; }
      .hero-badges-wrap { flex-direction: column; gap: 10px; margin-top: 24px; }
      .hero-badge-item { width: 100%; padding: 10px 16px; }
      .hero-badge-item img.hero-badge-img { width: 44px; height: 44px; }
      .sticky-float { display: none; }
      .tab-btn { padding: 10px 14px; font-size: 0.8rem; }
      .kc-content { padding: 20px; }
      .kmct-card { flex: 0 0 calc(85vw) !important; height: 350px; }
      .courses-slider-track { padding: 0 15px 15px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
      #st { bottom: 85px; right: 15px; }
      .slider-arrow { display: flex !important; transform: translateY(-50%) scale(0.8) !important; width: 40px !important; height: 40px !important; }
      .slider-arrow.prev { left: -5px; }
      .slider-arrow.next { right: -5px; }
      .footer-cred { display: block; line-height: 1.6; }
      .footer-cred span.sep { margin: 0 4px; }
    }



/* ───── DROPDOWN NAV — Exact HTML Parity ───── */

/* Top-level nav items */
nav > ul > li { position: relative; }
nav > ul > li > a {
  display: block;
  padding: 9px 15px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-dark) !important;
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
nav > ul > li > a:hover,
nav > ul > li > a.active,
nav > ul > li.current-menu-item > a,
nav > ul > li.current-menu-ancestor > a,
nav > ul > li.current_page_item > a,
nav > ul > li.current_page_ancestor > a { color: var(--gold) !important; }

/* Underline indicator */
nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 15px; right: 15px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s;
}
nav > ul > li > a:hover::after,
nav > ul > li > a.active::after,
nav > ul > li.current-menu-item > a::after,
nav > ul > li.current-menu-ancestor > a::after,
nav > ul > li.current_page_item > a::after,
nav > ul > li.current_page_ancestor > a::after { transform: scaleX(1); }

/* === DROPDOWN LEVEL 1 (HTML: .dropdown-content | WP: >.sub-menu) === */
.dropdown, .menu-item-has-children { position: relative; }

/* Desktop Arrow */
@media (min-width: 992px) {
  .menu-item-has-children > a { padding-right: 25px !important; }
  .menu-item-has-children > a::before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    transition: transform 0.3s;
  }
  .menu-item-has-children:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
  }
}

/* 1st-level dropdown box */
.dropdown-content,
.menu-item-has-children > .sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 260px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 1001;
  border-left: 4px solid var(--gold);
  top: 100%; left: 0;
  padding: 10px 0;
  list-style: none;
}
.dropdown:hover > .dropdown-content,
.menu-item-has-children:hover > .sub-menu { display: block; }

/* 1st-level links */
.dropdown-content > a,
.dropdown-content > .dropdown-submenu > a,
.menu-item-has-children > .sub-menu > li > a {
  color: var(--blue-dark) !important;
  padding: 14px 24px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  display: block !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  position: relative;
}
/* Suppress active underline pseudoelement inside sub-menus */
.dropdown-content a::after,
.menu-item-has-children > .sub-menu a::after { display: none !important; }

.dropdown-content > .dropdown-submenu:hover > a,
.menu-item-has-children > .sub-menu > li:hover > a {
  background-color: var(--off-white) !important;
  color: var(--gold) !important;
}

/* === SUBMENU CASCADE LEVEL 2 (HTML: .submenu-content | WP: .sub-menu .sub-menu) === */
.dropdown-submenu { position: relative; }

.submenu-content,
.sub-menu .sub-menu {
  display: none;
  position: absolute;
  left: 100%; top: 0;
  background: #fff;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-left: 4px solid var(--gold);
  z-index: 1002;
  padding: 10px 0;
  list-style: none;
}
/* 3rd-level opens to the left to avoid edge bleed */
.submenu-content .dropdown-submenu .submenu-content,
.sub-menu .sub-menu .sub-menu {
  left: auto; right: 100%;
  border-left: none;
  border-right: 4px solid var(--gold);
}

.dropdown-submenu:hover > .submenu-content,
.sub-menu > li.menu-item-has-children:hover > .sub-menu { display: block; }

.dropdown-submenu:hover > a { background-color: var(--off-white); color: var(--gold) !important; }
.dropdown-submenu:hover > a i { color: var(--gold); }

.submenu-content a,
.sub-menu .sub-menu a {
  padding: 12px 24px !important;
  font-size: 0.9rem !important;
  color: var(--blue-dark) !important;
  transition: all 0.2s;
  display: block;
  text-decoration: none;
}
.submenu-content a:hover,
.sub-menu .sub-menu a:hover {
  background-color: var(--off-white) !important;
  color: var(--gold) !important;
  padding-left: 28px !important;
}

/* === MOBILE NAV === */
@media (max-width: 991px) {
  .dropdown-content,
  .menu-item-has-children > .sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    padding: 5px 0 5px 15px;
    background: transparent;
    border-left: none;
  }
  .dropdown.open > .dropdown-content,
  .menu-item-has-children.open > .sub-menu { display: block; }

  .dropdown-content > .dropdown-submenu > a,
  .dropdown-content a,
  .menu-item-has-children > .sub-menu > li > a { color: var(--blue-dark) !important; padding: 10px 15px !important; }
  .dropdown-content a:hover,
  .sub-menu a:hover { color: var(--blue) !important; background-color: transparent !important; }

  .submenu-content,
  .sub-menu .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-left: none;
    background: transparent;
    padding-left: 15px;
  }
  .dropdown-submenu.open > .submenu-content,
  .sub-menu > li.menu-item-has-children.open > .sub-menu { display: block; }
}


/* ───── PROGRAMS CARDS ───── */
.program-card {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  background: #fff;
  transition: transform 0.3s;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  height: 100%;
}
.program-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,58,140,0.1); border-color: transparent; }
.pc-img { height: 260px; position: relative; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { padding: 30px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.pc-body h3 { font-family: 'GT Super Ds', 'Lora', serif; font-size: 1.4rem; color: var(--text); margin-bottom: 20px; font-weight: 500; line-height: 1.3; }
.pc-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; font-size: 0.9rem; color: var(--text-light); }
.pc-meta div { display: flex; align-items: flex-start; gap: 8px; }
.pc-meta i { color: var(--gold); margin-top: 3px; font-size: 0.9em; }
.pc-meta strong { color: var(--text); font-weight: 600; min-width: 80px; }
.pc-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.pc-btn { 
  flex: 1; text-align: center; padding: 12px 0; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .4s; white-space: nowrap; 
  position: relative; overflow: hidden; z-index: 1;
}
.pc-btn.primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.pc-btn.primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--blue-dark); transition: all .4s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
.pc-btn.primary:hover::before { left: 0; }
.pc-btn.primary:hover { border-color: var(--blue-dark); text-decoration: none; }

.pc-btn.outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.pc-btn.outline::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--blue); transition: all .4s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
.pc-btn.outline:hover::before { left: 0; }
.pc-btn.outline:hover { color: #fff; text-decoration: none; }


/* ───── GLOBAL TYPOGRAPHY OVERRIDES ───── */
h1, h2, h3, h4, h5, h6, .sec-title, p, .sec-sub, .cc-body h4, .cc-body p, .pc-body h3, .pc-meta, .fac-card h4, .fac-card p, .about-text-col p, .mv-content p {
  font-family: 'GT Super Ds', 'Lora', serif;
}
p, .sec-sub, .cc-body p, .fac-card p, .about-text-col p, .mv-content p {
  font-weight: 400 !important;
}
h1, h2, h3, h4, h5, h6, .sec-title, .pc-body h3 {
  font-weight: 500 !important;
}

.tb-gold-btn {
  background: var(--gold);
  color: #1a1a1a !important;
  font-weight: 700;
  padding: 8px 24px;
  margin: -8px 0 -8px 18px; /* offset top-bar padding */
  display: inline-flex;
  align-items: center;
  height: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s;
}
.tb-gold-btn:hover { background: var(--gold-light); color: #000 !important; }

/* ───── SUBMENU CASCADE ───── */
.dropdown-submenu, .sub-menu .menu-item-has-children {
  position: relative;
}
.submenu-content, .sub-menu .sub-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #fff;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-left: 4px solid var(--gold);
  z-index: 1002;
  padding: 10px 0;
}
/* Ensure 3rd level submenus open to the left if they hit the edge */
.submenu-content .dropdown-submenu .submenu-content, .sub-menu .sub-menu .sub-menu {
  left: auto;
  right: 100%;
  border-left: none;
  border-right: 4px solid var(--gold);
}
.dropdown-submenu:hover > .submenu-content, .sub-menu .menu-item-has-children:hover > .sub-menu {
  display: block;
}
.dropdown-submenu:hover > a, .sub-menu .menu-item-has-children:hover > a {
  background-color: var(--off-white) !important;
  color: var(--gold) !important;
}
.dropdown-submenu:hover > a i, .sub-menu .menu-item-has-children:hover > a::after {
  color: var(--gold) !important;
}
.submenu-content a, .sub-menu .sub-menu a {
  padding: 12px 24px !important;
  font-size: 0.9rem !important;
  color: var(--blue-dark) !important;
  transition: all 0.2s !important;
  display: block !important;
  text-decoration: none !important;
}
.submenu-content a:hover, .sub-menu .sub-menu a:hover {
  background-color: rgba(255,255,255,0.06) !important;
  color: var(--gold) !important;
  padding-left: 28px !important;
}
@media (max-width: 640px) {
  .submenu-content, .sub-menu .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-left: none;
    padding: 0 0 10px 15px;
    background: transparent;
  }
  .dropdown-submenu.open > .submenu-content,
  .dropdown-submenu:hover > .submenu-content,
  .sub-menu .menu-item-has-children.open > .sub-menu,
  .sub-menu .menu-item-has-children:hover > .sub-menu {
    display: block;
  }
  .submenu-content > a, .sub-menu .sub-menu > a {
    color: var(--blue-dark) !important;
  }
  .submenu-content a:hover, .sub-menu .sub-menu a:hover {
    color: var(--blue) !important;
    background-color: transparent !important;
  }
}



/* ───── ACCREDITATION BAR ───── */
.accreditation-bar {
  background: #fff;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.acc-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}
.acc-title-side {
  flex-shrink: 0;
  max-width: 300px;
}
.acc-label {
  color: var(--gold); /* Brand gold label */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.acc-heading {
  font-family: 'GT Super Ds', 'Lora', serif;
  font-size: 2rem;
  color: var(--blue-dark);
  line-height: 1.1;
  margin: 0;
}
.acc-divider {
  width: 1px;
  height: 80px;
  background: #e0e0e0;
  margin: 0 10px;
}
.acc-logos {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  gap: 30px;
}
.acc-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 1;
}
.acc-logo-item i {
  font-size: 2.2rem;
  color: var(--blue);
  opacity: 0.9;
}
.acc-logo-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 991px) {
  .acc-flex { flex-direction: column; text-align: center; gap: 30px; }
  .acc-divider { display: none; }
  .acc-logos { flex-wrap: wrap; justify-content: center; }
  .acc-logo-item { min-width: 140px; }
}

/* ───── METRICS ROW ───── */
.metrics-row {
  background: #fff;
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}
.metrics-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.metrics-title {
  font-family: 'GT Super Ds', 'Lora', serif;
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--text);
  font-weight: 500;
  min-width: 140px;
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}
.metrics-title div { display: block; }
.metrics-sep {
  font-size: 2.2rem;
  color: #e5e9f2;
  font-weight: 300;
  user-select: none;
}
.metrics-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.m-lbl {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.m-num {
  font-family: 'GT Super Ds', 'Lora', serif;
  font-size: 2.6rem;
  color: var(--blue);
  font-weight: 500;
  line-height: 1;
}
@media (max-width: 900px) {
  .metrics-sep { display: none; }
  .metrics-flex { justify-content: space-evenly; gap: 30px; }
  .metrics-title { width: 100%; text-align: center; border-left: none; padding-left: 0; border-bottom: 2px solid var(--gold); padding-bottom: 10px; }
}

/* ───── COURSES SLIDER REFINEMENTS ───── */
.courses-slider-container {
  position: relative;
  width: 100%;
  overflow: visible; /* About Cred Points Horizontal Marquee */
}
.acc-marquee-v2 {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.acc-track-v2 {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee-h 25s linear infinite;
  padding: 10px 0;
}
.acc-track-v2:hover { animation-play-state: paused; }
.acc-v2-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--blue-dark);
  font-weight: 600;
  background: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  border: 1.5px solid rgba(255,255,255,0.9);
  transition: transform 0.3s;
}
.acc-v2-item:hover { transform: translateY(-2px); }
.acc-v2-item i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

@keyframes marquee-h {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Info Cards & Section Content */
.courses-slider-track {
  overflow: hidden; /* Handle the card clipping here */
  position: relative;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 20;
  color: var(--blue-dark);
  transition: all 0.4s;
  border: 1.5px solid rgba(13,36,99,.12);
}
.slider-arrow:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: -10px; }
.slider-arrow.next { right: -10px; }

@media (max-width: 1100px) {
  .slider-arrow.prev { left: 5px; }
  .slider-arrow.next { right: 5px; }
}

@media (max-width: 768px) {
  .slider-arrow {
    display: none !important; /* Prioritize native swipe on mobile */
  }
  .courses-slider-track {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
  }
}

/* ───── KMCT-STYLE COURSE CARDS ───── */
.kmct-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #000;
  height: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.kc-img {
  position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.6s ease;
}
.kc-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.kmct-card:hover .kc-img { transform: scale(1.05); }
.kc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  transition: all 0.4s ease;
}
.kmct-card:hover .kc-overlay {
  background: rgba(13, 36, 99, 0.7); /* Theme Blue-Dark overlay */
}
.kc-content {
  position: absolute; inset: 0;
  padding: 30px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; z-index: 2;
}
.kc-badge {
  background: var(--gold); color: var(--blue-dark); font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 6px; align-self: flex-start; margin-bottom: 12px; letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 4px;
}
.kc-badge.paramed-badge {
  background: var(--blue);
  color: #fff;
  margin-bottom: 6px; /* Closer to the next element if stacked */
}
.kc-badge i { font-size: 0.9em; }
.kc-title {
  font-size: 1.5rem; font-weight: 500; margin: 0; transition: transform 0.4s ease;
}
.kc-hidden {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease, margin 0.4s ease;
}
.kmct-card:hover .kc-hidden {
  grid-template-rows: 1fr;
  margin-top: 15px;
}
.kc-hidden-inner {
  overflow: hidden;
  display: flex; flex-direction: column; gap: 15px;
}
.kc-meta {
  font-size: 0.88rem; line-height: 1.5; color: rgba(255,255,255,0.9);
  display: flex; flex-direction: column; gap: 4px;
}
.kc-meta i { color: var(--gold); width: 16px; margin-right: 4px; }
.kc-actions {
  display: flex; gap: 10px; margin-top: 5px;
}
.kc-btn {
  font-size: 0.75rem; font-weight: 600; padding: 7px 14px; border-radius: 6px;
  text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.kc-btn.primary { background: var(--gold); color: var(--blue-dark); }
.kc-btn.outline { border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.kc-btn.outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.kc-link {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; color: #fff;
}
.kc-link i { font-size: 0.8em; transition: transform 0.3s; margin-top:2px; }
.kmct-card:hover .kc-link i { transform: translateX(5px); }

/* ───── INNER HERO / BREADCRUMBS ───── */
 .inner-hero {
   position: relative;
   min-height: auto;
   padding: 160px 0 120px;
   background: linear-gradient(to top, rgba(13,36,99,0.92) 0%, rgba(13,36,99,0.3) 60%, transparent 100%), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1600&q=80') center / cover;
   display: flex;
   align-items: center;
   color: #fff;
   overflow: visible;
 }
.inner-hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.inner-hero h1 {
  font-family: 'GT Super Ds', 'Lora', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0 0 16px;
  font-weight: 500;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.inner-hero .hero-badges-wrap {
  margin-bottom: 24px;
}
.inner-hero-desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.84);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 28px;
}
.inner-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-enq {
  background: var(--blue-dark);
  border: 2px solid var(--blue-dark);
  color: #fff;
  padding: 11px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s;
  position: relative; overflow: hidden; z-index: 1;
}
.btn-hero-enq::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--blue); transition: all .4s cubic-bezier(0.19, 1, 0.22, 1); z-index: -1; }
.btn-hero-enq:hover::before { left: 0; }
.btn-hero-enq:hover { border-color: #fff; }
.btn-hero-brochure {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  padding: 11px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.btn-hero-brochure:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ───── INNER COUNTER BAR (below hero on course detail pages) ───── */
.inner-counter-bar {
  background: #fff;
  box-shadow: 0 8px 32px rgba(13,36,99,0.1);
  border-radius: 16px;
  margin: -32px auto 0;
  max-width: 1100px;
  position: relative;
  z-index: 5;
  padding: 0;
  overflow: hidden;
}
.inner-counter-bar .container { padding: 0 40px; }
.inner-counter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* allow wrapping on small devices */
}
.inner-counter-item {
  flex: 1 1 auto;
  min-width: 150px;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}
.inner-counter-item:last-child { border-right: none; }
.inner-counter-num {
  font-family: 'GT Super Ds', 'Lora', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue-dark);
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}
.inner-counter-lbl {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.breadcrumb-bar {
  padding: 18px 0;
  background: #fcfdfe;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex; align-items: center; gap: 12px; font-size: 0.85rem; font-weight: 500;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb i.fa-circle { font-size: 0.4rem; color: var(--gold); opacity: 0.6; }
.breadcrumb span { color: var(--blue-dark); font-weight: 600; }

/* ───── COURSE DETAIL LAYOUT ───── */
.detail-section { padding: 60px 0; background: #fff; }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: flex-start; }
.detail-img img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(13,36,99,0.12); }

.stats-row { 
  display: flex; gap: 1px; background: #eee; margin: 40px 0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.stat-item { 
  flex: 1; background: #fff; padding: 25px 20px; text-align: center;
}
.stat-num { font-size: 1.5rem; font-weight: 700; color: var(--blue-dark); display: block; margin-bottom: 4px; }
.stat-lbl { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.why-section { background: var(--off-white); padding: 60px 0; }
.mv-highlights {
    padding: 60px 0 60px;
    position: relative;
    z-index: 5;
}
.mv-highlights .sec-title { 
    margin-bottom: 40px;
    padding-top: 10px;
    text-align: center;
    color: #fff !important;
}
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 0;
  position: relative;
  z-index: 10;
}
/* When few cards (< 3) in a tab, center them and hide arrows */
.courses-slider-container.cards-few .slider-arrow { display: none !important; }
.courses-slider-container.cards-few .courses-grid {
  justify-content: center;
  flex-wrap: wrap;
}
.courses-slider-container.cards-few .courses-slider-track {
  overflow: visible;
}
.facilities-grid { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 40px;
}
.fac-mini-card { 
  background: #fff; padding: 25px; border-radius: 12px; border: 1px solid var(--border); transition: all 0.3s;
}
.fac-mini-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: transparent; }
.fac-mini-card i { color: var(--blue); font-size: 1.5rem; margin-bottom: 12px; display: block; }
.fac-mini-card h5 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 8px; font-weight: 600; }
.fac-mini-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; margin: 0; }

/* ───── CONTACT PAGE ───── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; padding: 60px 0; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; gap: 50px; } }
.contact-form-side h2 { font-family: 'GT Super Ds', serif; font-size: 2.2rem; color: var(--blue-dark); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid #ddd !important;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
  background: #fff;
  color: var(--blue-dark);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 4px rgba(13,36,99,0.08);
}

/* Ensure custom select triggers match the form group borders on light backgrounds */
.form-group .csd-trigger {
  width: 100%; padding: 12px 16px;
  border: 1px solid #ddd !important;
  border-radius: 8px;
  background: #fff !important;
  color: var(--blue-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.form-group .csd-trigger:hover, .form-group .csd.open .csd-trigger {
  border-color: var(--blue) !important; box-shadow: 0 0 0 4px rgba(13,36,99,0.08); background: #fff !important;
}
.submit-btn { 
  background: var(--blue); color: #fff; border: none; padding: 15px 40px; border-radius: 30px; 
  font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 1rem;
}
.submit-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(13,36,99,0.25); }

.contact-info-side { background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.05);  align-self: flex-start; position: sticky; top: 120px; }
.info-item { display: flex; gap: 20px; margin-bottom: 35px; }
.info-item i { width: 44px; height: 44px; background: rgba(13,36,99,0.06); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.2rem; flex-shrink: 0; }
.info-content h4 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 6px; font-weight: 700; }
.info-content p, .info-content a { font-size: 0.95rem; color: var(--text-light); text-decoration: none; line-height: 1.6; }


.hero-badges-wrap {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.hero-badge-img {
  height: 60px; width: 60px; object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.95);
  padding: 5px 8px;
  transition: transform 0.3s ease;
  display: grid; place-items: center; padding: 4px; border-radius: 4px;
}
.hero-badge-img:hover {
  transform: translateY(-3px);
}

/* New Badge Box Item */
.hero-badge-item {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  min-width: 220px; /* Force uniform width */
  transition: transform 0.3s ease;
  user-select: none;
}
.hero-badge-item:hover { transform: translateY(-3px); }
.hero-badge-item img { height: 48px; width: auto; flex-shrink: 0; object-fit: contain; }
.hero-badge-item span {
  font-size: 0.64rem;
  font-weight: 500;
  color: #444;
  line-height: 1.3;
  text-transform: none;
  font-family: 'Albert Sans', sans-serif;
}

/* Accreditation Marquee */
.acc-marquee-wrap {
  flex-grow: 1;
  overflow: hidden;
}
.acc-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: acc-scroll 14s linear infinite;
  width: max-content;
}
.acc-marquee-wrap:hover .acc-marquee-track {
  animation-play-state: paused;
}
.acc-marquee-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: #fff;
  padding: 8px 10px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.acc-marquee-img:hover { transform: scale(1.08); }
@keyframes acc-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  /* Hero badges */
  .hero-badges-wrap { margin-top: 16px; justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
  .hero-badge-img { height: 44px; padding: 4px 6px; }
}

/* Global overrides for extreme space reduction on mobile/tablet */
/* ───── UTILITY: BACKGROUNDS ───── */
.sec-bg-light { background: #fff; }
.sec-bg-blue { background: var(--blue-dark); color: #fff; }

.sec-bg-blue .sec-title, 
.sec-bg-blue .sec-label, 
.sec-bg-blue h2, 
.sec-bg-blue h3, 
.sec-bg-blue h4 { color: #fff !important; }

.sec-bg-blue p, 
.sec-bg-blue li, 
.sec-bg-blue .sec-sub, 
.sec-bg-blue .info-content p { color: rgba(255,255,255,0.75) !important; }

/* In blue sections, .ap and .mv-card elements are white, so text must be dark */
.sec-bg-blue .ap, 
.sec-bg-blue .mv-card p, 
.sec-bg-blue .mv-card h3 { color: var(--blue-dark) !important; }

.sec-bg-blue .ap i { color: var(--gold); }

/* SVG Pattern Background */
.bg-pattern {
  position: relative;
}
.bg-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}
.bg-pattern > .container {
  position: relative;
  z-index: 1;
}

/* ───── BANNER CTA ───── */
.banner-cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}

.flex-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta-text h3 {
  font-family: 'GT Super Ds', serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 8px;
}
.cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}
@media (max-width: 768px) {
  .flex-cta { flex-direction: column; text-align: center; }
  .cta-text h3 { font-size: 1.5rem; }
}

@media (max-width: 991px) {
  .detail-section, .why-section, .fac-section { padding: 50px 0; }
  .gallery { padding: 60px 0; }
  .inner-hero { min-height: 480px; padding-bottom: 60px; }
  .inner-hero h1 { font-size: 2.2rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-img { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .acc-flex { flex-direction: column; text-align: center; gap: 24px; }
  .acc-divider { display: none; }
  .acc-marquee-wrap { width: 100%; }
  .acc-marquee-img { height: 64px; }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 768px) {
  .detail-section, .why-section, .fac-section { padding: 40px 0; }
  .contact-grid { padding: 40px 0; gap: 30px; }
  .gallery { padding: 50px 0; }
  .cta-band { padding: 50px 0; }
  .cta-band h2 { font-size: 1.8rem; }
  .sec-title { margin-bottom: 15px; }
  .inner-hero { min-height: 420px; padding-top: 90px; padding-bottom: 50px; }
  .inner-hero-content h1 { font-size: 1.9rem; }
  .inner-hero-desc { font-size: 0.92rem; }
  .inner-hero-btns { flex-wrap: wrap; gap: 10px; }
  .inner-counter-bar { margin: -20px auto 0; }
  .inner-counter-item { padding: 18px 12px; }
  .inner-counter-num { font-size: 1.35rem; }
  .metrics-row { padding: 30px 0; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .detail-img { display: block; }
  .detail-img img { max-height: 260px; object-fit: cover; border-radius: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-side { padding: 24px; }
  #st { right: 16px; bottom: 16px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: 12px; }
  .footer-social { justify-content: flex-start; }
  .tb-right { display: none; }
  .tb-left { gap: 0; }
  .hero-dots { bottom: 30px; }
  .hero-dot { width: 12px; height: 12px; }
  .hero-stats-panel { display: none !important; }
  .btn-hero-enq-mb { display: inline-flex !important; }
  .hero { min-height: auto; padding: 160px 0 60px !important; }
  .hero .container { grid-template-columns: 1fr; gap: 30px; padding-top: 0; }
  .hero-content { order: 1; text-align: center; padding-top: 20px; }
  .hero-stats-panel { order: 2; margin-top: 30px; width: 100% !important; max-width: 500px !important; margin-left: auto; margin-right: auto; padding: 30px 20px !important; background: rgba(13,36,99,0.95) !important; }
  .hero h1 { font-size: clamp(1.5rem, 5vw, 1.8rem) !important; margin-bottom: 15px; line-height: 1.25; }
  .hero-desc { font-size: 0.88rem; margin: 0 auto 25px; max-width: 90%; }
  .hero-badges-wrap { display: flex !important; flex-direction: column !important; gap: 15px !important; margin-top: 30px !important; align-items: center !important; width: 100% !important; }
  .hero-badge-item { background: #fff; padding: 15px !important; border-radius: 12px; display: flex !important; flex-direction: row !important; align-items: center !important; text-align: left !important; gap: 15px !important; width: 100% !important; max-width: 320px; box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important; }
  .hero-badge-img { height: 54px !important; width: auto !important; margin: 0 !important; }
  .hero-badge-item span { font-size: 0.78rem !important; color: var(--blue-dark); line-height: 1.3; font-weight: 700; flex: 1; }
  .metrics-title { display: flex; flex-direction: row; gap: 6px; justify-content: center; align-items: center; margin-bottom: 5px; }
  .metrics-title div { font-size: 1.3rem !important; font-weight: 700; color: var(--blue-dark); }
  .m-num { font-size: 1.7rem; }
  .courses-slider-container { margin: 0; padding: 0; position: relative; }
  .courses-slider-track { overflow: visible; padding: 0 0 15px; }
  .courses-grid { 
    display: flex; 
    gap: 15px; 
    margin: 0; 
    overflow-x: auto; 
    padding: 0 15px;
    scrollbar-width: none; 
    -webkit-overflow-scrolling: touch; 
    scroll-snap-type: x mandatory; 
    scroll-padding-left: 15px;
  }
  .courses-grid::after { content: ""; flex: 0 0 1px; } 
  .kmct-card { flex: 0 0 calc(90vw - 30px) !important; background: #0a1a4a; height: 360px; scroll-snap-align: start; }

  .kc-content { padding: 20px; }
  
  /* Make Slider Arrows visible on mobile and float them cleanly */
  .courses-slider-container .slider-arrow { display: flex !important; width: 36px !important; height: 36px !important; transform: translateY(-50%) !important; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
  .courses-slider-container .slider-arrow.prev { left: 8px !important; }
  .courses-slider-container .slider-arrow.next { right: 8px !important; }
  
  /* Touch indicator scrollbar */
  .courses-slider-track::-webkit-scrollbar { display: none; }
  
  /* Touch target optimizations */
  .tab-btn { padding: 12px; font-size: 0.8rem; flex: 1; text-align: center; }
  .hero-input, .modal-input, .csd-trigger { min-height: 48px !important; font-size: 1rem !important; }
  .dropdown-content a { padding: 15px 20px !important; font-size: 0.95rem; }
  .btn-gold, .btn-primary, .hero-submit { min-height: 50px; display: flex; align-items: center; justify-content: center; }
  #st { bottom: 85px; } /* Push above mobile footers */
}

/* ───── REVEAL ANIMATIONS ───── */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.9s cubic-bezier(0.17, 0.85, 0.43, 1.01);
  will-change: transform, opacity;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kmct-card:hover {
  box-shadow: 0 20px 50px rgba(26, 58, 140, 0.22) !important;
  border-color: var(--blue-light) !important;
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.3rem !important; }
  .hero h1 span { font-size: 1.5rem !important; }
  .acc-heading { font-size: 1.3rem; }
  .hero-badge-img { height: 36px !important; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-badges-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 15px !important;
  }
  .hero-badge-item {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    justify-content: flex-start !important;
    text-align: left !important;
    flex-direction: row !important;
    padding: 10px 15px !important;
    min-height: 54px !important;
  }
  .hero-badge-item img.hero-badge-img {
    margin: 0 12px 0 0 !important;
    height: 50px !important;
    width: auto !important;
    object-fit: contain !important;
  }
  .hero-badge-item span {
    font-size: 0.72rem !important;
    text-align: left !important;
    line-height: 1.3 !important;
  }
}
.about-grid-new {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.about-img-col {
  position: relative;
}
.about-img-col img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(13,36,99,0.12);
}
@media (max-width: 991px) {
  .about-grid-new {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }
}

.paramed-badge {
  background: var(--gold);
  color: #0d2463;
  padding: 3px 12px;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
  width: fit-content;
  white-space: nowrap;
}

/* ───── MISSION & VISION CARDS ───── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.mv-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.mv-card:hover { transform: translateY(-5px); }
.mv-card h3 {
  font-family: 'GT Super Ds', 'Lora', serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--blue-dark);
}
.mv-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}
@media (max-width: 768px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card { padding: 30px 20px; }
}

/* ───── IMAGE ACCENT / PLAY BUTTON ───── */
.img-accent-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 0 0 10px rgba(234,185,55,0.25);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}
.img-accent-box:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--gold-light);
  box-shadow: 0 0 0 15px rgba(234,185,55,0.35);
}

/* ═══════════════════════════════════════════════════════════════
   ██  VISUAL UI ENHANCEMENTS  (all pages · all breakpoints)
   ═══════════════════════════════════════════════════════════════ */

/* 1 · Native scrollbar restored (removed custom CSS) */

/* 2 · Text selection */
::selection { background: rgba(201,162,39,0.28); color: var(--blue-dark); }

/* 3 · Smoother, staggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* 4 · Section label gold bar glow */
.sec-label::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 8px rgba(201,162,39,0.5);
}

/* 5 · Nav link underline – gold gradient */
nav ul li a::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  height: 2.5px;
  border-radius: 3px;
}

/* 6 · Top bar gold accent border */
.top-bar { border-bottom: 1px solid rgba(201,162,39,0.2); }

/* 7 · Header enquire button glow */
.btn-enq:hover { box-shadow: 0 4px 20px rgba(26,58,140,0.45), 0 0 0 3px rgba(26,58,140,0.12); }

/* 8 · Gold button shimmer sweep */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  transition: background-position 0.6s ease, transform 0.3s, box-shadow 0.3s;
}
.btn-gold:hover { background-position: right center; }

/* 9 · Hero badge lift + glow */
.hero-badge-item { transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s; }
.hero-badge-item:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 12px 32px rgba(13,36,99,0.25), 0 0 0 2px rgba(201,162,39,0.3); }

/* 10 · Course card hover depth + image zoom */
.kmct-card { transition: transform 0.38s cubic-bezier(0.22,1,0.36,1), box-shadow 0.38s; border-radius: 16px; }
.kmct-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(13,36,99,0.28); }
.kmct-card .kc-img img { transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.kmct-card:hover .kc-img img { transform: scale(1.07); }

/* 11 · Metrics row subtle top gradient border */
.metrics-row { border-top: 3px solid; border-image: linear-gradient(90deg, var(--blue-dark), var(--gold), var(--blue-dark)) 1; }
.m-num { background: linear-gradient(135deg, var(--blue-dark), var(--blue-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* 12 · About image smooth zoom on hover */
.about-img-wrap { overflow: hidden; border-radius: 20px; }
.about-img-wrap img { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.about-img-wrap:hover img { transform: scale(1.03); }

/* 13 · Marquee pill hover lift */
.acc-v2-item { transition: transform 0.3s, box-shadow 0.3s; }
.acc-v2-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

/* 14 · Accreditation logo hover */
.acc-marquee-img { transition: transform 0.3s, filter 0.3s; filter: grayscale(15%); }
.acc-marquee-img:hover { transform: scale(1.12); filter: grayscale(0%); }

/* 15 · Gallery image zoom on hover */
.gallery-item { transition: transform 0.38s cubic-bezier(0.22,1,0.36,1), box-shadow 0.38s; overflow: hidden; border-radius: 12px; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(13,36,99,0.22); }
.gallery-item img { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.gallery-item:hover img { transform: scale(1.08); }

/* 16 · Tab buttons active gradient + lift on hover */
.tab-btn { transition: all 0.3s cubic-bezier(0.22,1,0.36,1); }
.tab-btn.active { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); box-shadow: 0 4px 20px rgba(26,58,140,0.35); border-color: transparent; }
.tab-btn:hover:not(.active) { box-shadow: 0 2px 12px rgba(26,58,140,0.15); transform: translateY(-1px); }

/* 17 · Slider arrows gradient hover */
.slider-arrow { transition: all 0.35s cubic-bezier(0.22,1,0.36,1); will-change: transform; backface-visibility: hidden; transform-origin: center center; }
.slider-arrow:hover { background-color: var(--blue-dark); background-image: none; border-color: transparent; color: #fff; box-shadow: 0 8px 24px rgba(13,36,99,0.35); transform: translateY(-50%) scale(1.15); }

/* 18 · Form inputs gold focus ring */
.modal-input:focus, .hero-input:focus { box-shadow: 0 0 0 3px rgba(201,162,39,0.25), 0 2px 8px rgba(0,0,0,0.05); border-color: var(--gold); }

/* 19 · Scroll-to-top gradient + gold hover */
#st { background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark)); box-shadow: 0 4px 18px rgba(26,58,140,0.4); transition: all 0.35s cubic-bezier(0.22,1,0.36,1); }
#st:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--blue-dark); box-shadow: 0 8px 28px rgba(201,162,39,0.45); transform: translateY(-4px); }

/* 20 · Footer link slide indent on hover */
.footer-links li a { transition: color 0.25s, padding-left 0.25s; }
.footer-links li a:hover { padding-left: 6px !important; color: var(--gold-light) !important; }

/* 21 · Mobile nav slide-in animation removed from here (moved to main block above) */

/* 22 · Estd badge pulse ring */
@keyframes pulse-ring {
  0%   { box-shadow: 0 8px 28px rgba(26,58,140,.35), 0 0 0 0 rgba(201,162,39,0.4); }
  70%  { box-shadow: 0 8px 28px rgba(26,58,140,.35), 0 0 0 12px rgba(201,162,39,0); }
  100% { box-shadow: 0 8px 28px rgba(26,58,140,.35), 0 0 0 0 rgba(201,162,39,0); }
}
.estd-badge { animation: pulse-ring 2.8s ease-in-out infinite; }

/* 23 · Hero pill border glow on hover */
.hero-pill:hover { background: rgba(255,255,255,0.18); border-color: rgba(201,162,39,0.55); box-shadow: 0 0 12px rgba(201,162,39,0.2); }

/* 24 · Sticky sidebar icon scale */
.sfi { transition: transform 0.3s, filter 0.3s; }
.sfi:hover { transform: scale(1.15); filter: brightness(1.15); }

/* 25 · btn-primary gradient */
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(26,58,140,0.4), 0 0 0 3px rgba(26,58,140,0.12); }

/* 26 · Facilities card hover */
.fac-card { transition: transform 0.38s cubic-bezier(0.22,1,0.36,1), box-shadow 0.38s, border-color 0.3s; }
.fac-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,36,99,0.16); border-color: rgba(201,162,39,0.4) !important; }

/* 27 · Mission/Vision card gold left border on hover */
.mv-card { transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s, border-left-color 0.3s; border-left: 3px solid transparent; }
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,36,99,0.14); border-left-color: var(--gold); }

/* 28 · CSD dropdown trigger refined focus ring */
.csd.open .csd-trigger { box-shadow: 0 0 0 3px rgba(201,162,39,0.2), 0 4px 16px rgba(13,36,99,0.12); }

/* 29 · Smooth scroll margin for anchor targets */
section[id], div[id] { scroll-margin-top: 90px; }

/* 30 · Small screen refinements */
@media (max-width: 640px) {
  .sec-title { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .btn-gold, .btn-primary, .btn-ghost-white { padding: 11px 20px; font-size: 0.87rem; }
  .hero-btns { flex-direction: column; align-items: center; width: 100%; }
  .hero-btns a, .hero-btns button { width: 100%; max-width: 280px; justify-content: center; }
}


/* ====================================================================
   SCGI Phase 2 Premium UI Enhancements
==================================================================== */

/* 1. Glassmorphic Sticky Header override */
header.sticky {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* 2. Sweeping Shine on Primary Buttons */
.btn-gold, .hero-submit, .primary, .tb-gold-btn {
  position: relative;
  overflow: hidden;
}
.btn-gold::before, .hero-submit::before, .primary::before, .tb-gold-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
  z-index: 1;
}
.btn-gold:hover::before, .hero-submit:hover::before, .primary:hover::before, .tb-gold-btn:hover::before {
  left: 150%;
  transition: all 0.6s ease;
}

/* 3. Modern Pill Interaction for Slider Dots */
.hero-dot {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-dot.active {
  width: 32px;
  border-radius: 10px;
}

/* 6. Interactive Magnetic Hover on Social Media Icons */
.soc-btn {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.soc-btn:hover {
  transform: translateY(-4px) rotate(5deg) scale(1.1);
  color: #fff !important;
  border-color: var(--blue) !important;
  background: var(--blue) !important;
}

/* 7. Footer Depth and Background Watermark */
footer#contact {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
footer#contact::after {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}


/* -----------------------------------------------------------------------
   Mobile Double-Tap-To-Go for Course Cards
----------------------------------------------------------------------- */
.kmct-card.touch-active { transform: translateY(-8px) !important; box-shadow: 0 20px 50px rgba(26,58,140,0.22) !important; border-color: var(--blue-light) !important; z-index: 10; position: relative; }
.kmct-card.touch-active .kc-img { transform: scale(1.05); }
.kmct-card.touch-active .kc-img img { transform: scale(1.07); }
.kmct-card.touch-active .kc-overlay { background: rgba(13, 36, 99, 0.7); }
.kmct-card.touch-active .kc-hidden { grid-template-rows: 1fr; margin-top: 15px; }
.kmct-card.touch-active .kc-link i { transform: translateX(5px); }

/* ───── WORDPRESS ADMIN BAR COMPATIBILITY ───── */
body.admin-bar header.sticky { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar header.sticky { top: 46px; }
}
