:root{  --topbar-height: 44px;  --nav-height: 82px;  --hero-height: 76vh;  --dot-width: 48px;  --dot-height: 7px;  --dot-gap: 10px;  --accent: #ffffff; /* tweak */  --accent-dark: #11862c;   --btn-radius: 8px; /* button radius */  --text-color: #333;  --muted: #6b7782;  --shadow: 0 12px 30px rgba(6,22,42,0.06);  --radius: 14px;  --bg: #f6f9fb;  --card: #ffffff;  --orange: #ff7a00; /* tweak */ /* for demo */  --menu-bg: rgba(255,255,255,0.98);
  /* icon badge defaults */
  --icon-badge-size: 56px;
  --icon-border: 2px;
}
/* start */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700&family=Roboto+Condensed:wght@400;700&family=Satisfy&display=swap');

:root{  --topbar-height: 44px;  --nav-height: 82px;  --hero-height: 76vh;  --dot-width: 48px;  --dot-height: 7px;  --dot-gap: 10px;  --accent: #ffffff; /* tweak */  --accent-dark: #11862c;   --btn-radius: 8px; /* button radius */  --text-color: #333;  --muted: #6b7782;  --shadow: 0 12px 30px rgba(6,22,42,0.06);  --radius: 14px;  --bg: #f6f9fb;  --card: #ffffff;  --orange: #ff7a00; /* tweak */ /* for demo */  --menu-bg: rgba(255,255,255,0.98);
  /* icon badge defaults */
  --icon-badge-size: 56px;
  --icon-border: 2px;
}

body { font-family: open-sans, sans-serif; margin: 0; padding: 0; background-color: #f8f9fa; color: #333; line-height: 1.6; }
p , li { font-size: 1.08rem; color: #0e0f0f; font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.01em; }

 /* Navbar background */
    .navbar {
        background-color: #fff;
        padding: 0.5rem 1rem;
        
    }

    /* Remove Bootstrap default toggler borders and shadows */
    .navbar-toggler {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        margin-left: auto;
        padding: .35rem;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .navbar-toggler:focus,
    .navbar-toggler:active {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    /* Custom hamburger icon lines */
    .navbar-toggler-icon {
        background-image: none !important;
        width: 24px;
        height: 2px;
        background-color: #fff;
        display: block;
        position: relative;
        transition: all 0.3s ease-in-out;
    }
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '';
        width: 24px;
        height: 2px;
        background-color: #fff;
        position: absolute;
        left: 0;
        transition: all 0.3s ease-in-out;
    }
    .navbar-toggler-icon::before {
        top: -7px;
    }
    .navbar-toggler-icon::after {
        top: 7px;
    }

    /* When menu is open (X icon) */
    .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon {
        background-color: #fff;
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-color: transparent;
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Smooth slide down */
    .navbar-collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    .navbar-collapse.show {
        max-height: 500px;
    
    }
/* Restore default display for desktop */
@media (min-width: 992px) {
  .site-navbar .navbar-collapse {
    display: flex !important;
    transform: none !important;
    opacity: 1 !important;
    position: static !important;
    overflow: visible !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-height: none !important;
  }
}

    /* Align brand & toggler on same row for mobile */
    @media (max-width: 720px) {
        .navbar-brand, .navbar-toggler {
            display: flex;
            align-items: center;
        }
        
        .navbar-brand {
            flex-grow: 1;
            gap: 0.2rem;
            min-width: 0;
        }
        .navbar-brand img {
            height: 36px;
        }
        .navbar-brand .text {
            font-size: 0.65rem;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }

    .topbar {
      background: #d70b0b;
      color: #000000;
      height: 44px;
      line-height: 44px;
      width: 100%;
      left: 0;
      z-index: 1800;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06);
      border-top: 2px solid #ffd200;
    }
    .topbar .container { display:flex; align-items:center; justify-content:space-between; max-width:100%; padding-left:1rem; padding-right:.75rem; }
    .topbar a { color: #fff; text-decoration: none; margin-right: 1rem; font-size: 0.9rem; }
    .topbar .topbar-menu .dropdown-menu { min-width: 180px; }

    .site-navbar {
      background: #03743f;
      transition: transform .28s ease, box-shadow .28s ease;
      z-index: 1750;
      padding: 0;
      height: var(--nav-height);
      display: flex;
      align-items: center;
      box-shadow: 0 2px 10px rgba(12,20,30,0.04);
      position: fixed;
      width: 100%;
      top: var(--topbar-height);
      left: 0;
    }

    .site-navbar .container { display:flex; align-items:center; gap:.2rem; justify-content:flex-start; max-width:100%; padding-left:.95rem; padding-right:.75rem; }

    .site-navbar .navbar-collapse { flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
    .navbar-brand { display:flex; align-items:center; gap:.35rem; text-decoration:none; min-width:0; flex:0 0 auto; margin-right: .45rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
    .navbar-brand > div { min-width: 0; }
    .navbar-brand img { height: 78px; width:auto;}
    .navbar-brand .text { font-weight:700; color:var(--accent); font-size:.96rem; line-height: 1.05; }

    /* Tagline under logo */
    .navbar-tagline { font-size: 0.72rem; color: #ffffffdd; font-weight: 400; margin-top: -1px; }

  .nav-link { color:#265674; padding:.6rem 0.75rem; font-weight:400; font-family: "Poppins", sans-serif; }
  .nav-link.active,
  .nav-link:hover,
  .nav-link:focus {

  color: var(--brand-green);
  transform: translateY(-1px);
  transition: transform .15s ease, color .15s ease;
 
}
.site-navbar.hidden { transform: translateY(-120%); }

    .site-navbar .dropdown,
    .topbar .dropdown { position: relative; }

    .site-navbar .dropdown-menu,
    .topbar .dropdown-menu {
      background: #fff;
      border-radius: 6px;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
      box-shadow: 0 10px 30px rgba(6,22,42,0.12);
      border: 1px solid rgba(6,22,42,0.08);
      padding: .2rem 0;
      z-index: 9999 !important;
    }

    .site-navbar .dropdown-item,
    .topbar .dropdown-item {
      color: #111 !important;
      padding: .35rem .85rem;
      font-weight: 500;
      font-size:.72rem;
      line-height: 1.3;
    }
      
    .site-navbar .dropdown-item:hover,
    .site-navbar .dropdown-item:focus,
    .topbar .dropdown-item:hover,
    .topbar .dropdown-item:focus {
      background: rgba(3,116,63,0.08);
      color: #111 !important;
      border-bottom: #03743f 1px solid;
    }

    /* Topbar dropdown toggle color */
    .topbar .dropdown-toggle { color: #fff !important; }

    /* Show dropdown on hover for desktop using visibility/opacity so Bootstrap's JS still works */
    @media (min-width: 992px) {
      .site-navbar .dropdown .dropdown-menu,
      .topbar .dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: transform .15s ease, opacity .12s ease, visibility .12s ease;
        pointer-events: none;
      }
      .site-navbar,
      .site-navbar .container,
      .site-navbar .navbar-collapse {
        overflow: visible !important;
      }
      .site-navbar .navbar-nav { gap: 0; }
      .site-navbar .nav-item {
        position: relative;
      }
      .site-navbar .dropdown:hover > .dropdown-menu,
      .topbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
      }
      .site-navbar .dropdown.show > .dropdown-menu,
      .site-navbar .dropdown .dropdown-menu.show,
      .topbar .dropdown.show > .dropdown-menu,
      .topbar .dropdown .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
      }
    }

    /* Tweak brand and link colors to fit green header */
    .site-navbar { background: #03743f; }
    .navbar-brand .text { color: #fff; font-size: .98rem; }
    .nav-link { color: rgba(255,255,255,0.95); font-size: 0.92rem; padding: .4rem .48rem; }
    .nav-link:hover, .nav-link:focus { color: #fff; text-decoration: none; }
    .site-navbar .nav-link { color: rgba(255,255,255,0.95); font-size: 0.92rem; padding: .4rem .48rem; }
    .site-navbar .nav-link:hover, .site-navbar .nav-link:focus { color: #fff; text-decoration: none; }

    /* style for the small split-dropdown toggle to match nav links */
    .nav-dropdown-toggle i { color: rgba(255,255,255,0.95); font-size: 0.85rem; }
    .nav-dropdown-toggle { display: inline-flex; align-items: center; }

/* About page styles moved here from about.php */
.about-page{ margin-top: calc(var(--topbar-height) + var(--nav-height) + 10px); }
.about-page .section-title{ font-family: 'Barlow Condensed', sans-serif; font-weight:700; color:var(--brand-green); }
.about-page h1, .about-page h2, .about-page h3 { font-family: 'Roboto Condensed', sans-serif; }
.about-page p, .about-page li { font-family: 'Barlow Condensed', sans-serif; color:var(--muted); line-height:1.7; }
.about-polytechnic-copy{ margin-top:.35rem; padding:1.5rem 1.6rem; background: #fff; border-radius:12px; box-shadow: 0 8px 30px rgba(2,6,23,0.04); }

.team-card{ font-family: 'Roboto Condensed', sans-serif; font-size:1rem; transition: transform .18s ease, box-shadow .18s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(10,20,10,0.06); }

/* responsive tweaks for about page */
@media (max-width: 991.98px) {
  .about-page{ margin-top: calc(var(--nav-height) + 15px) !important; }
  .about-page p { font-size: 1rem; }
  .about-polytechnic-copy{ padding:1.15rem; }
}
/* Gallery & Filters */
.gallery-filters{ display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.gallery-filters .filter-btn{ background:transparent; border:1px solid var(--border); color:var(--muted); padding:.45rem .7rem; border-radius:999px; font-weight:600; }
.gallery-filters .filter-btn.active{ background:var(--brand-green); color:#fff; border-color:var(--brand-green); }
.gallery-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
.gallery-item{ position:relative; overflow:hidden; border-radius:12px; border:1px solid var(--border); background:#fff; }
.gallery-item img{ width:100%; height:220px; object-fit:cover; display:block; transition: transform .28s ease; }
.gallery-item .caption{ position:absolute; left:12px; bottom:12px; background: rgba(0,0,0,0.45); color:#fff; padding:6px 10px; border-radius:8px; font-size:9rem;}
.gallery-item:hover img{ transform: scale(1.04); }
.gallery-item.hidden{ display:none !important; }

@media (max-width: 991.98px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-item img{ height:160px; }
}
@media (max-width: 480px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-filters{ justify-content:center; }
}

/* School tabs */
.school-tabs .nav-pills .nav-link{ border-radius:999px; padding:.6rem 1rem; }
.school-card{ border-radius:12px; overflow:hidden; background:#fff; border:1px solid var(--border); box-shadow:0 8px 24px rgba(2,6,23,.04); }
.school-card .card-body{ padding:1rem; }

/* Dean image sizing to fit soft-panel */
.dean-card{ padding: 1rem; border-radius:12px; overflow:hidden; border:1px solid var(--border); box-shadow:0 8px 24px rgba(2,6,23,.04); }
.dean-card img, .dean-img{ width:100%; height:260px; object-fit:cover; border-radius:8px; display:block; }
.soft-panel.h-60{ display:flex; flex-direction:column; justify-content:center; }

/* Programme tab modern styling */
.tab-content .school-card{ display:flex; flex-direction:column; gap:1rem; padding:1rem; }
.tab-content .school-card h5{ margin:0 0 .25rem 0; }
.tab-content .school-card p{ color:#000; margin:0 0 .75rem 0; }
.tab-content .school-card .card-btn{ align-self:flex-start; }

/* Programme tabs (content area) - match brand */
#programmeTabs .nav-link{ border-radius:999px; padding:.5rem .9rem; border:1px solid rgba(8,132,31,0.06); color:var(--muted); background:transparent; }
#programmeTabs .nav-link:hover{ color:var(--brand-green); background: rgba(8,132,31,0.04); }
#programmeTabs .nav-link.active{ background:var(--brand-green) !important; color:#fff !important; box-shadow:0 8px 26px rgba(8,132,31,0.12); border-color:var(--brand-green); }

    /* Make nav items slightly smaller so more items fit on one line */
    @media (min-width: 1200px) {
      .nav-link { font-size: 0.9rem; padding: .38rem .44rem; }
      .site-navbar .nav-link { font-size: 0.9rem; padding: .38rem .44rem; }
    }
    @media (min-width: 992px) and (max-width:1199px) {
      .nav-link { font-size: 0.84rem; padding: .34rem .34rem; }
    }
    @media (min-width: 992px) and (max-width:1199px) {
      .site-navbar .nav-link { font-size: 0.84rem; padding: .34rem .34rem; }
      .navbar-brand img { height: 66px; }
      .navbar-brand { margin-right: .35rem; }
      .navbar-brand .text { font-size: .9rem; }
      .navbar-tagline { display: none; }
    }
    @media (max-width: 991.98px) {
      .topbar { display: none; }
      .site-navbar { top: 0; overflow: visible; }
      .site-navbar .container {
        position: relative;
        padding-right: .18rem;
      }
      .site-navbar .navbar-collapse {
        position: static;
        overflow: visible;
      }
      .navbar-toggler {
        margin-right: .5rem;
      }
      .dot-progress-wrap { top: calc(var(--nav-height) + 5px); }
      #navMain {
        position: absolute;
        top: calc(100% + .5rem);
        left: .35rem;
        right: .35rem;
        width: auto;
        margin-top: 0;
        padding: .35rem;
        background: #0e5d37;
        border-radius: 12px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        box-shadow: 0 14px 30px rgba(6,22,42,0.16);
        max-height: calc(100dvh - var(--nav-height) - .75rem);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
      }
      #navMain .navbar-nav {
        gap: .08rem;
      }
      #navMain > .navbar-nav > .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.14);
      }
      #navMain > .navbar-nav > .nav-item:last-child {
        border-bottom: 0;
      }
      #navMain .nav-link {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.2;
        padding: .42rem .58rem;
        border-radius: 8px;
      }
      #navMain .nav-link:hover,
      #navMain .nav-link:focus {
        background: rgba(255,255,255,0.08);
        
      }
      #navMain .dropdown-menu {
        display: none;
        position: static;
        float: none;
        min-width: 100%;
        margin-top: .18rem;
        box-shadow: none;
        border: 1px solid rgba(6,22,42,0.08);
        border-radius: 6px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        background: rgba(255,255,255,0.98);
      }
      #navMain .dropdown.show > .dropdown-menu,
      #navMain .dropdown-menu.show {
        display: block;
      }
      #navMain .dropdown-item {
        color: #111 !important;
        font-size: .77rem !important;
        padding: .3rem .65rem .3rem .78rem;
      }
      .mobile-utility-nav {
        margin-top: .38rem;
        padding-top: .38rem;
        border-top: 1px solid rgba(255,255,255,0.18);
      }
      .mobile-utility-nav > .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.12);
      }
      .mobile-utility-nav > .nav-item:last-child {
        border-bottom: 0;
      }
      .navbar-brand {
        max-width: calc(100vw - 88px);
      }
      .navbar-brand img {
        height: 56px;
      }
      .navbar-brand .text {
        font-size: .72rem;
      }
      .navbar-tagline {
        font-size: .58rem;
      }
    }
  
    /* small page body so hero doesn't hug top nav in demo */
    main { padding-bottom: 4rem; background:#fff; }
    
html, body {
    overflow-x: hidden !important;
}

.hero {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.slide {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    background-size: cover;
    background-position: top;
    overflow: hidden !important;
}

* {
    box-sizing: border-box !important;
}


    /* Hero area */
    .hero {
      height: 100vh;
      min-height: 560px;
      position:relative;
      overflow:hidden;
      display:flex;
      align-items:center;
      justify-content:center;
      color: white;
    }

   .hero .slide {
      position:absolute;
      inset:0;
      background-size:cover;
      background-position:center;
      opacity:0;
      transform: scale(1.02);
      transition: opacity 700ms ease, transform 900ms ease;
      display:flex;
      align-items:center;
      justify-content:center;
      
    }

   .hero .slide.visible {
      opacity:1;
      transform: scale(1);
      z-index: 10;
    }

    /* subtle dark overlay */
  .hero .slide::after{
      content:"";
      position:absolute;
      inset:0;
      background: rgba(9, 16, 12, 0.38);
      pointer-events:none;
    }

    /* content over slides */
    .hero-content {
      position:relative;
      z-index:20;
      text-align:center;
      max-width: 980px;
      padding: 24px;
      margin-top: 6rem;
     
    }

    .hero h1 {
      font-size: clamp(1.7rem, 4.2vw, 3.2rem);
      line-height:1.05;
      font-weight:600;
      margin-bottom: 1rem;
      text-shadow: 0 8px 30px rgba(0,0,0,0.35);
      font-family: "Dancing Script", cursive, sans-serif;
      letter-spacing: 3px;
    }

    .hero p.lead {
      margin-bottom: 1.6rem;
      font-size: 1.05rem;
      font-weight:800;
      opacity:0.95;
    }

    .hero .btn {
      min-width:160px;
      border-radius: 999px;
      padding: 12px 18px;
      font-weight:600;
      font-family: "Roboto Condensed", sans-serif;
    } 
    
    .hero-slide-caption {
      font-family:Verdana, Geneva, Tahoma, sans-serif;
      display: inline-block;
      margin-top: 4rem;
      padding: .55rem .9rem;
      border-radius: 12px;
      background: #ffffff94;
      color: #000000;
      font-size: 1rem;
      line-height: 1.45;
      box-shadow: 0 10px 24px rgba(0,0,0,0.12);
      max-width: min(640px, 92vw);
    }

    @media (max-width: 720px) {
      .hero-slide-caption {
        margin-top: 2rem;
        padding: .5rem .75rem;
        font-size: .82rem;
        max-width: 94vw;
      }
    }
   .hero .btn-outline-light {
      border: 2px solid rgba(255,255,255,0.82);
      color: #fff;
      background: transparent;
      transition: background .28s ease, color .28s ease, box-shadow .28s ease;
    }
    .hero .btn-outline-light:hover {
      background: rgba(255, 255, 255, 0.237);
      color: #fff;
      box-shadow: 0 8px 26px rgba(0,0,0,0.18);
    }
    /* Dot Progress UI - positioned below the fixed nav */
    .dot-progress-wrap {
      position: fixed;
      top: calc(var(--topbar-height) + var(--nav-height) + 26px);
      left: 50%;
      transform: translateX(-50%);
      z-index: 1590;
      display:flex;
      gap: var(--dot-gap, 10px);
      background: rgba(6, 22, 42, 0.077);
      border-radius: 999px;
      backdrop-filter: blur(4px);
      padding: 6px;
      pointer-events: auto;
    }
    
/* hidden state for dot progress (used when navbar hides on scroll) */
    .dot-progress-wrap.hidden {
      opacity: 0;
      transform: translateY(-6px) translateX(-50%);
      pointer-events: none;
      transition: opacity .22s ease, transform .22s ease;
    }

    .dot {
      width: var(--dot-width, 48px);
      height: var(--dot-height, 7px);
      border-radius: 999px;
      background: rgba(255,255,255,0.4);
      overflow:hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,0.12);
      cursor:pointer;
      display:inline-block;
      position:relative;
      border: 1px solid rgba(255,255,255,0.22);
      transition: transform 180ms ease;
    }

    .dot:hover { transform: scale(1.06); }

    .dot .fill {
      position:absolute;
      inset:0;
      width:0%;
      height:100%;
      background: rgba(255,255,255,0.95);
      border-radius: 999px;
      transition: width linear;
      mix-blend-mode: overlay;
      opacity: 0.95;
    }

    /* .dot.active .fill width is set by JS at runtime */

    /* small indicator border when active */
    .dot.active {
      box-shadow: 0 6px 18px rgba(0,0,0,0.18), 0 0 0 4px rgba(0,0,0,0.02) inset;
    }

    /* lower left floating small CTA for mobile (optional) */
    @media (max-width: 720px){
      .dot-progress-wrap { top: calc(var(--topbar-height) + var(--nav-height) + 6px); gap:8px; padding:6px; }
      .brand { font-size: 1.05rem; }
      .topbar { left: 10px; right: 10px; }
      .hero {
        height: 45vh;
        min-height: 363px;
      }
      .hero-content {
        max-width: 94vw;
        padding: 16px 16px 10px 16px;
        margin-top: 4.2rem;
      }
      .hero h1 {
        font-size: clamp(1.35rem, 6vw, 2rem);
        letter-spacing: 1px;
        margin-bottom: .25rem;
        margin-top: 2.5rem;
      }
      .hero-slide-caption {
        margin-top: 4rem;
        padding: .45rem .65rem;
        font-size: .76rem !important;
        line-height: 1.35;
      }
      /* compact dot progress on small screens */
      .dot-progress-wrap {
        gap: 6px;
        padding: 3px 6px;
        margin-top:-25px;
      }
      .dot {
        width: 36px; /* smaller width for mobile */
        height: 6px; /* smaller height for mobile */
        border-radius: 999px;
      }
      .dot .fill { border-radius: 999px; }
      .hero .office{
          background-position:left;
      }
      
    }
/* FAQ styling: neutral professional appearance */
.accordion .accordion-item { border: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
.accordion .accordion-button { background: transparent; color: var(--text-color); border: none; padding: .85rem 1rem; box-shadow: none; }
.accordion .accordion-button:focus { box-shadow: none; }
.accordion .accordion-button::after { filter: none; color: rgba(0,0,0,0.5); }
.accordion .accordion-button:not(.collapsed) { background: transparent; color: var(--brand-green); font-weight:600; }
.accordion .accordion-body { padding: .9rem 1rem; color: var(--muted); }

    /* -- section 2 after hero */
    
:root{
  --brand-green: #08841f;
  --brand-red: #e81915;
}
body{
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background:#f9f9f9;
  color:#111;
  -webkit-font-smoothing:antialiased;
}
.portfolio{
  margin-top:70px;
}
.section-title{
  text-align:left;
  margin:36px 0 14px;
}
.section-title h2{
  font-family: "satisfy", cursive, sans-serif;
  font-size:2.8rem;
  margin:0 0 12px;
}
.section-title p{ color:#353535; margin:0 0 22px; font-size:1.2rem; font-family: "Barlow Condensed", sans-serif; }

.grid-wrap{ max-width:1200px; margin:0 auto 56px; padding:0 16px; }

/* cards */
.work-card{
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 26px rgba(10,10,10,0.06);
  transition:transform .18s ease;
}
.work-card:hover{ transform:translateY(-6px); }

/* reduced image height as requested */
.media-wrap{
  position:relative;
  height: 350px; /* reduced */
  background:#eaeaea;
  overflow:hidden;
}
.media-wrap img, .media-wrap video, .media-wrap iframe{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* small circular dots inside white rounded box bottom-left */
.mini-dots-box{
  position:absolute;
  left:10px;
  bottom:10px;
  background: rgba(255,255,255,0.96);
  border-radius: 10px;
  padding:6px 8px;
  display:flex;
  gap:8px;
  align-items:center;
  z-index:30;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.mini-dots-box button{
  width:10px;
  height:10px;
  border-radius:50%;
  border: none;
  background:#d0d0d0;
  cursor:pointer;
  transition:transform .12s ease, background .12s ease;
  padding:0;
}
.mini-dots-box button.active{
  background: var(--brand-green);
  transform:scale(1.25);
  box-shadow: 0 6px 16px rgba(8,132,31,0.12);
}

/* carousel controls (smaller) */
.carousel-control-prev, .carousel-control-next{
  width:36px;
  height:36px;
  top:50%;
  transform:translateY(-50%);
  background: rgba(255,255,255,0.92);
  border-radius:50%;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}
.carousel-control-prev-icon, .carousel-control-next-icon{
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

/* video preview play button */
.video-preview{
  position:relative;
  cursor:pointer;
  background-size:cover;
  background-position:center;
  height:100%;
}
.play-icon{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.7);
  z-index:30;
  transition:transform .12s ease, background .12s ease;
}
.play-icon svg{ width:20px; height:20px; fill:#fff; }
.video-preview:hover .play-icon{ transform:translate(-50%,-50%) scale(1.06); }

/* Department carousel image sizing (smaller, responsive) */
.dept-carousel-img{ width:60%; height:220px; object-fit:cover; display:block; }
@media (max-width: 991.98px){
  .dept-carousel-img{ height:150px; }
}
@media (max-width: 480px){
  .dept-carousel-img{ height:120px; }
}

/* meta */
.meta{ padding:12px 14px 16px; }
.meta h5{ margin:0 0 6px; font-weight:700; font-size:1.1rem; font-family: "Roboto Condensed", sans-serif; color:#222; }
.meta p{ margin:0; color:#666; font-size:.95rem; font-family: "Barlow Condensed", sans-serif;}

/* layout spacing */
.row.g-3 > [class*="col-"]{ margin-bottom:0; }

/* responsive */
@media (max-width:900px){
  .media-wrap{ height:465px; }
  .play-icon{ width:56px; height:56px; }
  .mini-dots-box{ padding:5px 6px; gap:6px; left:8px; bottom:8px; }
  .section-title h2{
  font-size:2.4rem;}

}
@media (max-width:720px){
    .management-grid{
        
      grid-template-columns: 1fr;
    }
    .management-card{
      display: block;
      width: 92%;
      max-width: 420px;
      box-sizing: border-box;
      margin: 0 auto 1rem;
      border-radius:12px;
      overflow: hidden;
    }
    .management-media{
      display:block;
      width:100%;
      overflow:hidden;
    }
    .management-media img{
      width:100%;
      height:auto;
      max-height:360px !important;
      object-fit:contain;
      display:block;
      background-color: #dfe8e2;
    }
    .rector-qualifications{
      display:block;
      width:100%;
      color:#4b5551;
      font-size:1rem; 
      text-align:center;
    }
    /* Reduce rector photo size and make responsive on small screens */
    
    .rector-photo-wrap{
      display:block;
      width:100%;
    }
    .rector-role-label{
        display:block;
    }
    .rector-photo{
      width:100%;
      height:auto;
      max-height:240px;
      object-fit:cover;
      display:block;
    }
   
  }
  @media (min-width: 1200px){
    #rector-updates{
      padding-top: 3rem !important;
      padding-bottom: 3rem !important;
    }
  }
  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:.8rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    color: var(--brand-green);
    margin-bottom:.7rem;
  }
  .rector-card,
  .campus-events-panel{
    background:#fff;
    border-radius:24px;
    box-shadow: 0 20px 45px rgba(251, 251, 251, 0.07);
    border: 1px solid rgba(8,132,31,0.08);
    padding: 1.4rem;
  }
  .rector-card-inner{
    display:grid;
    grid-template-columns: minmax(210px, 240px) 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }
  @media (min-width: 1200px){
    .rector-card,
    .campus-events-panel{
      padding: 1.05rem;
    }
    .rector-card-inner{
      grid-template-columns: minmax(285px, 320px) 1fr;
      gap: 1rem;
    }
  }
  .rector-photo-wrap{
    border-radius:22px;
    overflow:hidden;
    min-height:100%;
    background: #eef5f0;
    display:flex;
    flex-direction:column;
  }
  .rector-photo{
    width:100%;
    height:100%;
    min-height: 200px;
    object-fit:cover;
    display:block;
  }

  /* Ensure photo and identity stack properly inside the left column */
  .rector-left{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:0.5rem;
  }
  .rector-left .rector-photo-wrap{
    /* allow photo wrapper to size to its content instead of stretching */
    min-height: auto;
    width:100%;
  }
  .rector-left .rector-identity{ text-align:center; margin-top:0; }
  @media (min-width: 1200px){
      
    .rector-photo{
      min-height: 260px;
      max-height: 300px;
    }
  }
  .rector-photo-caption{
    padding: 1rem 1.1rem 1.1rem;
    background: #ffffff;
    border-top: 1px solid rgba(8,132,31,0.08);
  }
  
  .rector-caption-title{
    display:inline-block;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#08841f;
    margin-bottom:.35rem;
  }
  .rector-caption-name{
    margin:0;
    font-size:1.1rem;
    font-family:"Roboto Condensed", sans-serif;
    color:#132017;
  }
  .rector-caption-role{
    margin:.2rem 0 0;
    color:#637169;
    font-size:.9rem;
    line-height:1.45;
  }
  
  .rector-identity{
    margin-bottom:.85rem;
    text-align: center;
  }
  
  .rector-role-label{
    display:inline-flex;
    text-align:center;
    padding:.35rem .72rem;
    border-radius:999px;
    background:#eef5f0;
    color:#08841f;
    font-size:.76rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    margin-bottom:.55rem;
  
  }
  .rector-name-heading{
    margin:0;
    font-family:"Roboto Condensed", sans-serif;
    font-size:1rem;
    color:#132017;
  }
  .rector-copy h2,
  .campus-events-panel h2{
    font-family:"Roboto Condensed", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    margin-bottom:.35rem;
    color:#142015;
  }
  @media (min-width: 1200px){
    .rector-copy h2,
    .campus-events-panel h2{
      font-size: 1.85rem;
      margin-bottom: .25rem;
    }
  }
  .rector-title{
    color:#627067;
    font-weight:700;
    letter-spacing:.03em;
    margin:.2rem 0 0;
    text-transform:uppercase;
    font-size:.82rem;
  }
  .rector-summary{
    color: var(--brand-red);
    font-weight:700;
    letter-spacing:.02em;
    margin-bottom:.85rem;
  }
  .rector-copy p{
    color:#4b5551;
    font-size:1rem;
    line-height:1.7;
  }
  @media (min-width: 1200px){
    .rector-identity{
      margin-bottom:.55rem;
    }
    .rector-qualifications{
      display:block;
      width:100%;
      color:#4b5551;
      font-size:1rem;      
    }
    .rector-role-label{
      margin-bottom:.4rem;
    }
    .rector-name-heading{
      font-size:1.35rem;
    }
    .rector-summary{
      margin-bottom:.55rem;
      font-size:.95rem;
    }
    .rector-copy p{
      font-size:.94rem;
      line-height:1.52;
      margin-bottom:.55rem;
    }
    .section-intro{
      margin-bottom:.85rem !important;
    }
    .section-intro p{
      font-size:.92rem;
      line-height:1.5;
    }
  }
  .section-intro p{
    font-size:1rem;
    line-height:1.65;
  }
  .event-card{
    position:relative;
    height:100%;
    background: #ffffff;
    border:1px solid rgba(8,132,31,0.08);
    border-radius:18px;
    padding:1.1rem;
    box-shadow: 0 14px 30px rgba(251, 252, 252, 0.05);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  @media (min-width: 1200px){
    .event-card{
      padding:.9rem;
      border-radius:16px;
    }
  }
  .event-card-link{
    display:block;
    height:100%;
    text-decoration:none;
  }
  .event-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(9,28,18,0.09);
  }
  .event-icon{
    width:46px;
    height:46px;
    border-radius:14px;
    display:grid;
    place-items:center;
    margin-bottom:.85rem;
    background: #08841f;
    color: #fff;
    font-size:1.15rem;
  }
  .event-meta,
  .event-posted{
    font-size:.82rem;
    color:#6a756f;
    letter-spacing:.02em;
  }
  .event-card h3{
    font-family:"Roboto Condensed", sans-serif;
    font-size:1.2rem;
    color:#172419;
    margin:.5rem 0;
  }
  .event-card p{
    font-size:.98rem;
    line-height:1.6;
    color:#4d5752;
    margin-bottom:.85rem;
  }
  @media (min-width: 1200px){
    .event-icon{
      width:40px;
      height:40px;
      margin-bottom:.65rem;
      font-size:1rem;
    }
    .event-meta,
    .event-posted{
      font-size:.76rem;
    }
    .event-card h3{
      font-size:1.02rem;
      margin:.35rem 0;
    }
    .event-card p{
      font-size:.88rem;
      line-height:1.45;
      margin-bottom:.55rem;
    }
    .event-link{
      font-size:.88rem;
    }
  }
  .event-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color: var(--brand-green);
    font-weight:700;
    text-decoration:none;
  }
  .event-card-link:hover .event-link,
  .event-card-link:focus .event-link{
    text-decoration:none;
    color:#066517;
  }

  /* Section visuals */
  #what-define-us { background: #fbfbfb; }
  #what-define-us .display-6 { text-transform: none; letter-spacing: -0.02em; font-family: "Dancing Script", sans-serif; font-size: 2.5rem; }
  #what-define-us p { font-size: 1.08rem; color: #0e0f0fff; font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.01em; }
  .about-side-stack{
    display:grid;
    gap:1rem;
  }

  /* value cards */
  .value-card { background: #fff; transition: transform .18s ease, box-shadow .18s ease, opacity .36s ease; }
  .value-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11, 30, 25, 0.06); }

  /* Icon circle badge */
  .icon-wrap {
    width: var(--icon-badge-size);
    height: var(--icon-badge-size);
    min-width: var(--icon-badge-size);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;                 /* FA icon color via currentColor */
    border: var(--icon-border) solid rgba(255,255,255,0.95); /* white border */
    box-shadow: 0 10px 28px rgba(8,18,12,0.06);
    flex-shrink: 0;
  }
  .icon-wrap i { color: currentColor; font-size: 22px; line-height: 1; }

  .icon-wrap.bg-green { background: var(--brand-green); }
  .icon-wrap.bg-red   { background: var(--brand-red); }
  .icon-wrap.bg-blue  { background: var(--brand-blue); }
  .icon-wrap.bg-teal  { background: var(--brand-teal); }

  @media (max-width: 720px) {
    .icon-wrap { width: 56px; height: 56px; min-width: 56px; border-width: 2px; }
    .icon-wrap i { font-size: 20px; }
    .value-card { padding: 12px !important; }
    .rector-card{
        margin-top: -40px !important;
        
    }
    .rector-card,
    .campus-events-panel{ padding: 1rem; border-radius:18px; }
    .rector-card-inner{ grid-template-columns: 1fr; }
    .rector-photo{ min-height: 280px; }
    .event-card{ padding: .95rem; }
    .rector-name-heading{
      font-size:1.35rem;
    }
    .management-grid{
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .campus-gallery-grid{
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
    .gallery-card-featured{
      grid-row: auto;
      min-height: 320px;
    }
    .gallery-card{
      min-height: 220px;
      width:100%;
    }
    .gallery-card figcaption{
      position:static;
      margin: .85rem;
    }
  }
  @media (max-width: 575.98px) {
    .management-grid{
      grid-template-columns: 1fr;
    }
    .management-media img{
      height:240px;
    }
  }

  /* --------------------
     Animation classes (observe + in-view)
     -------------------- */
  .observe { opacity: 0; transform: translateY(12px); transition: opacity .52s ease, transform .52s cubic-bezier(.22,.9,.32,1); }
  .slide-up { transform: translateY(18px); }           /* used for right-side cards */
  .slide-right { transform: translateX(28px); }        /* left column now slides from right */
  .in-view { opacity: 1; transform: translate(0,0); }

  /* stagger variable for cards */
  .slide-up { transition-delay: var(--delay, 0ms); }

  /* modern learn-more link style */
  .learn-more-link{
    font-weight:700;
    font-family: "Roboto Condensed", sans-serif;
    color: var(--brand-green);
    text-decoration:none;
    display:inline-flex;
    gap:8px;
    align-items:center;
    padding:8px 12px;
    border-radius:999px;
    border:1px solid rgba(11,148,68,0.12);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(8,132,31,0.04);
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .learn-more-link:hover{ transform: translateY(-3px); box-shadow: 0 12px 36px rgba(8,132,31,0.08); text-decoration:none; }
  .learn-more-link .chev{ width:8px; height:8px; display:inline-block; border-right:2px solid var(--brand-green); border-bottom:2px solid var(--brand-green); transform: rotate(-45deg); margin-left:4px; }

  #management-continuation{
    background:#c7f2d6;
    padding-top:0;
  }
  .management-intro{
    max-width:760px;
  }
  .management-intro h2{
    font-family:"Roboto Condensed", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    color:#142015;
    margin-bottom:.55rem;
  }
  .management-intro p{
    margin-bottom:0;
    color:#59655f;
    font-size:1rem;
    line-height:1.7;
  }
  .management-grid{
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap:1.2rem;
  }
  .management-card{
    background:#ffffff;
    border-radius:0px;
     overflow:hidden;
    border: 2px solid #adecb8;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .management-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(11,30,25,0.12);
  }
  .management-media{
    position:relative;
    background:#dfe8e2;
  }
  .management-media img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
  }
  .management-caption{
    padding:1rem 1rem 1.1rem;
    background:#ffffff;
    border-top:1px solid rgba(8,132,31,0.08);
  }
  .management-caption h3{
    margin:0 0 .28rem;
    font-family:"Roboto Condensed", sans-serif;
    font-size:1.2rem;
    color:#132017;
  }
  .management-caption p{
    margin:0;
    color:#5d6963;
    line-height:1.55;
    font-size:.95rem;
  }

  #campus-gallery{
    background:#ffffff;
  }
  .gallery-intro{
    max-width: 760px;
  }
  .gallery-intro h2{
    font-family:"Roboto Condensed", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color:#142015;
    margin-bottom:.65rem;
  }
  .gallery-intro p{
    color:#58645d;
    font-size:1rem;
    margin-bottom:0;
  }
  .campus-gallery-grid{
    display:grid;
    grid-template-columns: 1.45fr .8fr;
    grid-template-rows: repeat(2, minmax(220px, 1fr));
    gap: 1.25rem;
    align-items:stretch;
  }
  .gallery-card{
    position:relative;
    margin:0;
    display:block;
    overflow:hidden;
    border-radius:24px;
    min-height:220px;
    box-shadow: 0 18px 42px rgba(11,30,25,0.08);
    background:#dfe8e2;
  }
  .gallery-card-featured{
    grid-row: 1 / span 2;
    min-height: 470px;
  }
  .gallery-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  .gallery-card figcaption{
    position:absolute;
    left:1rem;
    right:1rem;
    bottom:1rem;
    padding:.95rem 1rem;
    background: #ffffffd8;
    border-radius:16px;
    box-shadow: 0 10px 24px rgba(8,18,12,0.08);
  }
  .gallery-card figcaption strong{
    display:block;
    color:#132017;
    font-size:1.02rem;
    margin-bottom:.2rem;
  }
  .gallery-card figcaption span{
    display:block;
    color:#53615a;
    font-size:.93rem;
    line-height:1.45;
  }
  .dean-identity{
      
      align-items:stretch;
      text-align:center;
  }
  .dean-identity p{
      font-size:.8rem;
  }
  @media (max-width: 767.98px) {
    .campus-gallery-grid{
      display:block;
    }
    .gallery-card,
    .gallery-card-featured{
      width:100%;
      min-height:unset;
      margin-bottom:1rem;
    }
    .gallery-card:last-child{
      margin-bottom:0;
    }
    .gallery-card img{
      height:280px;
    }
    .gallery-card-featured img{
      height:280px;
    }
    .gallery-card figcaption{
      position:static;
      margin:.85rem;
    }
  }

  /* small typography tweaks */
  #what-define-us h5 { font-weight:700; margin-bottom:4px; font-family:"Roboto Condensed", sans-serif; }
  #what-define-us p.small { color: var(--accent-muted); }

     /* Contact-form section modal - */
     /* page scroll while modal open */
  .modal-open { overflow: auto !important; }
  /* slightly smaller modal-sm width */
  .modal-sm { --bs-modal-width: 480px; max-width: 480px; }
  /* subtle content padding on small screens */
  @media (max-width: 420px){
         #what-define-us p{
    font-size:1.2rem  !important;
}
 p, li{
    font-size:1.2rem  !important;
}
.second-paragraph{
    display:none;
}
    .modal-sm { max-width: 92%; }
    .modal-body { padding: 1rem; }
    .modal-header { padding: 0.6rem 1rem; }
  }

   #contact-map .map-frame iframe { min-height: 320px; border:0; display:block; }
  .campus-feature-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    min-height:100%;
    background:#dfe8e2;
    box-shadow: 0 18px 40px rgba(12,20,30,0.08);
  }
  .campus-feature-image{
    width:100%;
    height:100%;
    min-height:460px;
    object-fit:cover;
    display:block;
  }
  .campus-feature-caption{
    position:absolute;
    left:1rem;
    right:1rem;
    bottom:20rem;
    padding:1rem 1.1rem;
    background: rgba(255,255,255,0.92);
    border-radius:18px;
    box-shadow: 0 12px 30px rgba(8,18,12,0.08);
  }
  .campus-feature-tag{
    display:inline-block;
    margin-bottom:.4rem;
    color:#08841f;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
  }
  .campus-feature-caption h3{
    margin:0 0 .45rem;
    font-family:"Roboto Condensed", sans-serif;
    color:#132017;
    font-size:1.5rem;
  }
  .campus-feature-caption p{
    margin:0;
    color:#55635b;
    line-height:1.6;
  }
  /* responsive spacing tweak */
  @media (max-width: 991px) {
    #contact-map .map-frame iframe { min-height: 260px; }
    .campus-feature-image{ min-height:320px; }
    .campus-feature-caption{
      position:static;
      margin:.85rem;
    }
  }

   :root{
   --brand-green: #08841f;
    --brand-red: #e81915;
    --cta-max-width: 1200px;
  }

  /* SECTION change to use background color */
  .cta-fixed-hero{
    position:relative;
    width:100%;
    min-height:420px;           /* adjust height as needed */
    display:flex;
    align-items:center;
    justify-content:flex-start; /* box anchored left */
    background-color: #ffffff; /* fallback color */
    
  }

  /* On mobile some browsers ignore fixed; make it scroll for better performance */
  @media (max-width: 768px){
    .cta-fixed-hero{ background-attachment: scroll; min-height:520px; }
  }

  /* dark overlay for legibility */
  .cta-fixed-hero::before{
    content:'';
    position:absolute;
    inset:0;
    background: rgba(255, 255, 255, 0.984);
    pointer-events:none;
    z-index:1;
  }

  /* inner container to center horizontally up to max width */
  .cta-inner{
    position:relative;
    z-index:2;
    width:100%;
    max-width: var(--cta-max-width);
    margin: 0 auto;
    padding: 28px;
  }

  /* CTA box anchored from left center, width 70% on desktop */
  .cta-box{
    position:absolute;
    left:3%;                   /* small left margin; adjust if you want it closer to edge */
    top:50%;
    transform: translateY(-50%);
    width:70%;                 /* <-- box spans 70% of background */
    background: rgba(255,255,255,0.98);
    color:#092022;
    padding: 34px 36px;
    box-shadow: 0 20px 40px rgba(4,10,12,0.18);
    box-sizing:border-box;
    /* slightly squared modern card: subtle radius */
    border-radius: 6px;
    display:flex;
    flex-direction:column;
    gap:14px;
  }
   /* Typography */
 .cta-box .kicker{
    color:var(--brand-green);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.05em;
    margin:0;
    font-size:0.95rem;
  }

  .cta-box h2{
    margin:0;
    font-size: clamp(1.6rem, 2.6vw, 2.6rem);
    line-height:1.05;
    color: #06373a;
    font-family: "Dancing Script", cursive, sans-serif;
  }
  .cta-copy{
    margin:0;
    color: #3a4a49;
    font-size:1rem;
    max-width: 60ch;
  }

  /* Actions */
  .cta-actions{ display:flex; gap:12px; align-items:center; margin-top:4px; }
  .btn{
    display:inline-block;
    padding: 10px 16px;
    font-weight:700;
    text-decoration:none;
    border-radius:999px;
    border: none;
    cursor:pointer;
    font-family: "Roboto Condensed", sans-serif;
    transition: background .28s ease, box-shadow .28s ease, color .28
  }
  .btn-primary{
    background: linear-gradient(90deg, var(--brand-green), var(--brand-green));
    color:white;
    box-shadow: 0 10px 28px rgba(8,132,31,0.12);
  }
  .btn-ghost{
    background: transparent;
    color: #06373a;
    border: 1px solid rgba(6,55,58,0.08);
    padding: 9px 14px;
    border-radius: 999px;
  }

  /* responsivity: on smaller screens make box full-width and anchored center */
  @media (max-width: 1100px){
    .cta-box{ left:4%; width:78%; padding:28px; }
  }
  @media (max-width: 768px){
    .cta-box{
      position:relative;
      left:0;
      top:auto;
      transform:none;
      width: calc(100% - 22px);
      margin: 30px auto;
    }
    .cta-fixed-hero{ min-height:620px; background-position: center 20%; }
  }

  /* optional: subtle hover focus states for accessibility */
  .btn-primary:focus, .btn-ghost:focus{
    outline: 3px solid rgba(8,132,31,0.12);
    outline-offset:3px;
  }
    /* ================== NOTES CARDS SCROLLER ================== */
    :root{
      --accent-1: #fff176;
      --accent-2: #a7f3d0;
      --accent-3: #ffccbc;
      --accent-4: #d1c4e9;
      --accent-5: #b3e5fc;
      --card-fold-size: 36px;
      --gap: 18px;
      --max-w: 1200px;
    }
   #notes-testimonials-final{
      background: #ffffff;
      padding: 48px 0 64px;
      
   }
    .notes-wrap{ max-width:var(--max-w); margin:0 auto; }

    /* Hide native scrollbars and prevent default scrolling */
    .notes-viewport{
      position:relative;
      overflow:hidden; /* important - no browser scrollbar */
      padding:6px 12px;
      touch-action: pan-y; /* allow vertical scrolling on mobile but we handle horizontal drag */
    }

    .notes-track{
      display:flex;
      gap:var(--gap);
      transition: transform 520ms cubic-bezier(.22,.9,.32,1);
      will-change: transform;
      padding-bottom:6px;
      align-items:flex-start;
      user-select: none;
    }

    .note-item{
      flex:0 0 calc(33.333% - (var(--gap) * 0.666));
      box-sizing:border-box;
      display:flex;
      justify-content:center;
      padding: 6px 0;
    }

    /* make cards square/cornered */
    .note-card{
      width:100%;
      max-width: 360px;
      min-width: 260px;
      background: var(--accent-1);
      padding:18px 18px 28px 18px;
      box-shadow: 0 10px 30px rgba(10,10,10,0.08);
      position:relative;
      color:#111;
      font-family:"Caveat", sans-serif;
      font-size:1.12rem;
      line-height:1.38;
      transform: rotate(-3deg);
      border-radius: 0; /* square */
      overflow: visible;
    }

    /* inward dark folded top-right corner */
    .note-card::before{
      content:"";
      position:absolute;
      width: var(--card-fold-size);
      height: var(--card-fold-size);
      top: 0;
      right: 0;
      background: linear-gradient(135deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.12) 100%);
      /* triangle pointing inward - dark triangular fold */
      clip-path: polygon(100% 0, 100% 100%, 0 0);
      transform-origin: top right;
      z-index: 6;
    }
    /* small highlight to suggest the paper layer */
    .note-card::after{
      content:"";
      position:absolute;
      width: calc(var(--card-fold-size) - 8px);
      height: calc(var(--card-fold-size) - 8px);
      top: 6px;
      right: 6px;
      background: rgba(255,255,255,0.06);
      clip-path: polygon(100% 0, 100% 100%, 0 0);
      z-index: 5;
      opacity: 0.9;
    }

    .note-card[data-rot="1"]{ transform: rotate(-6deg); }
    .note-card[data-rot="2"]{ transform: rotate(-2deg); }
    .note-card[data-rot="3"]{ transform: rotate(3deg); }
    .note-card[data-rot="4"]{ transform: rotate(6deg); }
    .note-card[data-rot="5"]{ transform: rotate(1deg); }

    .note-card[data-color="1"]{ background: var(--accent-1); color:#111; }
    .note-card[data-color="2"]{ background: var(--accent-2); color:#04161a; }
    .note-card[data-color="3"]{ background: var(--accent-3); color:#2b0700; }
    .note-card[data-color="4"]{ background: var(--accent-4); color:#221036; }
    .note-card[data-color="5"]{ background: var(--accent-5); color:#03233a; }

    .note-text{ font-size:1.35rem; margin-bottom:14px; font-weight:500; }
    .note-meta{ font-weight:700; margin-top:6px; font-size:0.95rem; }
    .note-date{ font-weight:400; opacity:0.75; font-size:0.92rem; margin-top:4px; }

    .notes-controls{ display:flex; gap:12px; align-items:center; justify-content:center; margin-top:18px; flex-wrap:wrap; }
    .notes-btn{ width:44px; height:44px; border-radius:50%; background:#fff; border:none; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(10,10,10,0.06); cursor:pointer; }
    .notes-btn[disabled]{ opacity:.5; cursor:not-allowed; transform:none; }
    .notes-btn svg{ width:18px; height:18px; fill:#111; }

    .notes-dots{ display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap; }

    .notes-dot{
      width:12px; height:12px; border-radius:50%; background:#ddd; border:none; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,0.06);
    }
    .notes-dot.active{ background: #09a758ff; transform: scale(1.18); box-shadow:0 6px 18px rgba(8,132,31,0.06); }

    /* responsive: tablet 2, mobile 1 visible */
    @media (max-width: 992px){
      .note-item{ flex:0 0 calc(50% - (var(--gap) * 0.5)); }
    }
    @media (max-width: 599px){
      .note-item{ flex:0 0 100%; padding:6px 0; justify-content:flex-start; }
      .note-card{ max-width: 100%; min-width: auto; width:100%; transform: rotate(0deg); } /* no rotation on mobile */
      .note-card::before, .note-card::after{ --card-fold-size: 28px; }
    }
/* Product list on home page icon size */
     :root{
      --whatsapp: #25d366;
      --facebook: #1877f2;
      --tiktok-grad-1: #69c9d0;
      --tiktok-grad-2: #ee1d52;
      --view: #0ea5e9;
      --icon-size: 36px;      /* reduced icon size */
      --img-height: 340px;    /* enforced image height */
    }

    /* Section heading with tick-line + moving dot */
    .section-heading { text-align:left; margin:32px 0 18px; }
    .section-heading h2 { font-weight:700; font-size:1.9rem; margin-bottom:10px; font-family: "Dancing Script", sans-serif; }
    .heading-underline { display:flex; justify-content:left; align-items:left; gap:.8rem; margin-bottom:26px; }
    .tick { width:22px; height:22px; border-radius:6px; background:#1fa94b; display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; box-shadow:0 6px 18px rgba(31,169,75,.18); }
    .tick-line { width:300px; height:6px; position:relative; border-radius:6px; background: rgba(30, 188, 88, 0.18); overflow:hidden; }
    .tick-dot { position:absolute; top:50%; left:-20px; width:12px; height:12px; transform:translateY(-50%);
       border-radius:50%; background: #25d366; box-shadow:0 6px 18px rgba(37,211,102,0.28); animation: dotmove 5s linear infinite; }
    @keyframes dotmove {
      0% { left: -20px; opacity:0; transform:translateY(-50%) scale(.9); }
      10% { opacity:1; }
      50% { left: calc(100% - 12px); transform:translateY(-50%) scale(1); }
      90% { opacity:1; }
      100% { left: calc(100% + 20px); opacity:0; transform:translateY(-50%) scale(.9); }
    }
    .section-heading-centered{
      text-align:center;
      max-width:760px;
      margin-left:auto;
      margin-right:auto;
    }
    .section-heading-centered .heading-underline{
      justify-content:center;
      align-items:center;
    }
    #achievement-slider-section{
      background:#f8faf8;
    }
    .achievement-slider-shell{
      position:relative;
    }
    .achievement-slider-actions{
      display:flex;
      justify-content:flex-end;
      gap:.75rem;
      margin-bottom:1rem;
    }
    .achievement-nav-btn{
      width:46px;
      height:46px;
      border:0;
      border-radius:50%;
      background:#ffffff;
      color:#13311f;
      box-shadow:0 10px 24px rgba(12,20,30,0.08);
      transition:transform .2s ease, box-shadow .2s ease;
    }
    .achievement-nav-btn:hover{
      transform:translateY(-2px);
      box-shadow:0 14px 30px rgba(12,20,30,0.12);
    }
    .achievement-slider{
      display:flex;
      gap:1.25rem;
      overflow-x:auto;
      scroll-snap-type:x mandatory;
      scroll-behavior:smooth;
      padding: .25rem .1rem 1rem;
      scrollbar-width:none;
    }
    .achievement-slider::-webkit-scrollbar{
      display:none;
    }
    .achievement-card{
      flex:0 0 min(760px, 92%);
      display:grid;
      grid-template-columns: 280px 1fr;
      align-items:stretch;
      background:#ffffff;
      border-radius:24px;
      overflow:hidden;
      box-shadow: 0 18px 40px rgba(12,20,30,0.08);
      scroll-snap-align:start;
    }
    .achievement-media{
      min-height:100%;
      background:#dbe6df;
    }
    .achievement-media img{
      width:100%;
      height:100%;
      min-height:260px;
      object-fit:cover;
      display:block;
    }
    .achievement-body{
      padding:1.4rem 1.5rem;
      display:flex;
      flex-direction:column;
      justify-content:center;
    }
    .achievement-badge{
      display:inline-flex;
      align-self:flex-start;
      margin-bottom:.75rem;
      padding:.35rem .8rem;
      border-radius:999px;
      background:#eef5f0;
      color:#08841f;
      font-size:.82rem;
      font-weight:700;
      letter-spacing:.05em;
      text-transform:uppercase;
    }
    .achievement-body h3{
      font-family:"Roboto Condensed", sans-serif;
      font-size:1.6rem;
      color:#122116;
      margin-bottom:.65rem;
    }
    .achievement-body p{
      color:#55635b;
      line-height:1.7;
      margin-bottom:1rem;
    }
    .achievement-link{
      display:inline-flex;
      align-self:flex-start;
      color:#08841f;
      text-decoration:none;
      font-weight:700;
      padding-bottom:.1rem;
      border-bottom:1px solid rgba(8,132,31,0.18);
    }
    .achievement-link:hover{
      color:#066517;
      border-bottom-color:#066517;
    }
    @media (max-width: 767.98px){
      .section-heading-centered .heading-underline{
        justify-content:center;
      }
      .tick-line{
        width:220px;
      }
      .achievement-slider-actions{
        justify-content:center;
      }
      .achievement-card{
        flex-basis:100%;
        grid-template-columns:1fr;
      }
      .achievement-media img{
        min-height:220px;
      }
      .achievement-body{
        padding:1.15rem;
      }
      .achievement-body h3{
        font-size:1.35rem;
      }
    }

.faculty-card {
    border-radius: 18px;
    transition: all 0.3s ease;
    background: #fff;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.faculty-card .card-img-top {
    height: 240px;
    object-fit: cover;
}

.dean-badge {
    position: absolute;
    bottom: -25px;
    left: 20px;
    background: #fff;
    border-radius: 50px;
    padding: 8px 14px;
}

.dean-badge img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.faculty-card .card-body {
    padding-top: 45px;
}

.faculty-card .btn {
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
}

    /* WhatsApp "Order" button (left) */
    .whatsapp-btn {
      display:inline-flex;
      align-items:center;
      gap:.55rem;
      padding:.4rem .6rem;
      border-radius:10px;
      background:rgba(255,255,255,0.98);
      color:var(--whatsapp);
      font-weight:700;
      box-shadow:0 8px 22px rgba(37,211,102,0.08);
      text-decoration:none;
      border:0;
      transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
      height:var(--icon-size);
      min-width: calc(var(--icon-size) * 2.2);
    }
    .whatsapp-btn i { font-size:1.05rem; width:var(--icon-size); text-align:center; }
    /* show text only on md+ (desktop & tablets) — adjust if you'd like visible on mobile too */
    .order-label { display:inline-block; font-size:.95rem; line-height:1; }
    @media (min-width: 480px) {
      .order-label { display:inline-block; }
    }
    .whatsapp-btn:hover, .whatsapp-btn:focus { background:var(--whatsapp); color:#fff; transform:translateY(-3px); box-shadow:0 12px 34px rgba(37,211,102,0.14); }

    /* small share buttons (right) */
    .share-group { display:flex; gap:.4rem; align-items:center; }
    .small-btn {
      width:var(--icon-size);
      height:var(--icon-size);
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:8px;
      background:rgba(255,255,255,0.98);
      border:0;
      box-shadow:0 8px 22px rgba(12,20,30,0.06);
      color:#111;
      transition: transform .16s ease, box-shadow .16s ease, color .16s ease, background .16s ease;
      font-size:1rem;
    }
    .small-btn:hover { transform:translateY(-3px); color:#fff; }
    .fb-btn:hover { background:var(--facebook); box-shadow:0 12px 30px rgba(24,119,242,0.12); }
    .tiktok-btn:hover { background: linear-gradient(135deg,var(--tiktok-grad-1),var(--tiktok-grad-2)); box-shadow:0 12px 30px rgba(238,29,82,0.12); }
    .view-btn:hover { background:var(--view); box-shadow:0 12px 30px rgba(14,165,233,0.12); }

    /* caption bottom: semi-transparent white with black text */
    .card-caption {
      position:absolute;
      left:0; right:0; bottom:0;
      padding:.6rem .75rem;
      background:rgba(255,255,255,0.94);
      color:#111;
      z-index:7;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:.5rem;
    }
    .product-name { font-weight:700; font-size:0.76rem; }
    .product-sub { font-size:0.82rem; color:#666; }
    
    /* preview modal */
    .modal .btn-close.custom-close { position:absolute; right:16px; top:12px; z-index:9999; width:44px; height:44px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,0.98); border:0; box-shadow:0 8px 26px rgba(0,0,0,0.12); }
    .modal .btn-close.custom-close .fa { color:#111; font-size:18px; pointer-events:none; }
    .preview-image { width:100%; max-height:85vh; object-fit:contain; display:block; background:#000; }

    /* responsive spacing */
    @media (min-width: 992px) {
      .product-actions { bottom:76px; }
      .product-card img { width:100%; height:400px; }
    }

    /* FAQs */

  
    
/* FAQs*/
 :root{
      --bg: #f6f9fb;
      --card: #ffffff;
      --accent-faq: #4de769;
      --muted: #6b7782;
      --shadow: 0 12px 30px rgba(6,22,42,0.06);
      --radius: 14px;
    }

    .about-body {
      background: var(--bg);
      color: #0b2540;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }

    .faq-hero {
      margin-top:-10px;
      padding: 48px 0;
      text-align: center;
    }
    .faq-hero h1 {
      font-family: 'Raleway', sans-serif; 
      font-size: clamp(1.6rem, 3.6vw, 2.4rem);
      margin-bottom: 8px;
      font-weight: 700;
      color: #043863;
    }
    .faq-hero p.lead {
      color: var(--muted);
      margin-bottom: 18px;
    }

    .faq-controls {
      display:flex;
      gap:8px;
      justify-content:center;
      flex-wrap:wrap;
      margin-bottom: 20px;
    }
    .faq-search {
      width: 560px;
      max-width: 100%;
      position: relative;
    }
    .faq-search input {
      padding-left: 42px;
    }
    .faq-search .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
      pointer-events: none;
      font-size: 1rem;
    }

    /* FAQ grid */
    .faq-wrapper {
      max-width: 1100px;
      margin: 0 auto 70px;
      padding: 0 18px;
    }

    /* Card */
    .faq-card {
      background: linear-gradient(180deg, rgb(255, 255, 255), var(--card));
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      margin-bottom: 14px;
      transition: transform .22s ease, box-shadow .22s ease;
    }
    .faq-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(6,22,42,0.08); }

    .faq-trigger {
      width: 100%;
      text-align: left;
      padding: 18px 20px;
      display:flex;
      gap:16px;
      align-items:center;
      border:0;
      background:transparent;
      cursor:pointer;
    }
    .faq-trigger:focus { outline: none; box-shadow: 0 0 0 4px rgba(72,167,255,0.12); border-radius: 8px; }

    .faq-index {
      min-width: 44px;
      height: 44px;
      display:grid;
      place-items:center;
      border-radius: 10px;
      background: linear-gradient(135deg, #ffffff, #4de769);
      font-weight:700;
      color: #0f4e24;
      font-size: .9rem;
      border:#0b4315 2px solid;
    }

    .faq-title {
      font-family: 'Raleway', sans-serif; 
      font-size: 1.02rem;
      font-weight: 700;
      color: #043863;
      flex:1;
    }

    .faq-meta {
      color: var(--muted);
      font-size: .9rem;
    }

    .faq-toggle-icon {
      width:44px; height:44px; display:grid;place-items:center;border-radius:10px;
      background: linear-gradient(135deg,#fff,#f8fafc); color:#6b7782;
      transition: transform .28s ease, background .18s ease;
    }
    .faq-card[aria-expanded="true"] .faq-toggle-icon { transform: rotate(180deg); background: linear-gradient(135deg,#fff8f0,#fff); color: var(--accent-faq); }

    /* panel animation: smooth collapse */
    .faq-panel {
      padding: 0 20px 20px 82px;
      max-height: 0;
      overflow: hidden;
      transition: max-height .36s ease;
      color: #212934;
      line-height: 1.6;
      font-size: .98rem;
      background: linear-gradient(180deg, transparent, rgba(2,6,23,0.01));
    }
    .faq-panel p { margin: 15px 0 0; color:#090707;}

    /* small view */
    @media (max-width: 767px) {
      .faq-trigger { padding: 14px 12px; gap:12px; }
      .faq-panel { padding-left: 16px; padding-right:12px; }
      .faq-index { min-width:40px; height:40px; font-size:.85rem; }
      .faq-toggle-icon { width:40px;height:40px; }
    }

     :root{
      --brand-green: #08841f;
      --brand-red: #e81915;
      --slider-max-width: 35%;
    }

    .ps-wrap{ max-width: var(--slider-max-width); margin:0 auto; position:relative; }

    .ps-viewport{
      position:relative;
      border-radius:14px;
      overflow:hidden;
      background:#111;
      height:330px; /* change here to increase/decrease image height */
    }

    /* slide */
    .ps-slide{
      position:absolute;
      inset:0;
      background-size:contain;
      background-position:center;
      background-repeat:no-repeat;
      z-index: 1;
      opacity:0;
      transform: scale(1.02);
      transition: opacity 600ms ease, transform 900ms ease;
      box-shadow: 0 12px 48px rgba(0,0,0,0.28);
    }
    .ps-slide.is-visible{
      opacity:1;
      transform: scale(1);
      z-index:2;
    }

    /* description bottom-left */
    .ps-caption{
      position:absolute;
      left:18px;
      bottom:18px;
      z-index:20;
      color:#fff;
      text-shadow: 0 8px 30px rgba(0,0,0,0.48);
      max-width:60%;
      font-weight:600;
      background: linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.28));
      padding:14px 16px;
      border-radius:10px;
      backdrop-filter: blur(2px);
    }
    .ps-caption small{ display:block; font-weight:400; opacity:0.92; margin-top:6px; font-size:0.92rem; color: #f0f0f0; opacity:0.85; }

    /* control bar (dots + pause) */
    .ps-controls{
      display:flex;
      gap:18px;
      align-items:center;
      justify-content:center;
      margin-top:14px;
      z-index:60;
    }

    .ps-playbtn{
      width:44px;
      height:44px;
      border-radius:50%;
      background:#fff;
      display:flex;
      align-items:center;
      justify-content:center;
      box-shadow:0 8px 28px rgba(10,10,10,0.08);
      border:none;
      cursor:pointer;
    }
    .ps-playbtn svg{ width:20px; height:20px; fill:#111; }

    /* dots row */
    .ps-dots{
      display:flex;
      gap:10px;
      align-items:center;
      padding:6px 8px;
      background:transparent;
    }

    /* circular dot with conic fill layer */
    .ps-dot{
      width:18px;
      height:18px;
      border-radius:50%;
      background: #e6e6e6;
      position:relative;
      overflow:visible;
      cursor:pointer;
      display:inline-grid;
      place-items:center;
      box-shadow: 0 6px 14px rgba(0,0,0,0.06);
      border:1px solid rgba(0,0,0,0.06);
    }

    /* conic fill layer (we update --deg via JS) */
    .ps-dot .fill{
      position:absolute;
      inset:0;
      border-radius:50%;
      background: conic-gradient(var(--brand-green) 0deg, var(--brand-green) var(--deg, 0deg), rgba(255,255,255,0.06) var(--deg, 0deg));
      transform: rotate(-90deg); /* start at top */
      transition: none;
      z-index:1;
      pointer-events:none;
    }

    /* center inner dot to keep ring effect */
    .ps-dot .core{
      position:relative;
      width:10px;
      height:10px;
      border-radius:50%;
      background: #ffffff;
      z-index:2;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08) inset;
    }

    .ps-dot.active .core{
      background: var(--brand-green);
      transform: scale(1.05);
    }

    /* responsive tweaks */
    @media (max-width:900px){
      .ps-viewport{ height:300px; }
      .ps-caption{ max-width:70%; font-size:0.95rem; padding:12px; left:12px; bottom:12px; }
    }
    @media (max-width:520px){
          .ps-wrap{ max-width: 100%}
      .ps-viewport{ height:320px; }
      .ps-caption{ max-width:86%; font-size:0.92rem; padding:10px; left:10px; bottom:10px; }
      .ps-dot{ width:14px; height:14px; }
      .ps-dot .core{ width:7px; height:7px; }
      
    }

     /* Section heading with tick-line + moving dot */
   #progress-slider-section .section-heading { text-align:center; margin:60px 0 18px; }
    .section-heading h1 { font-weight:700; font-size:2.0rem; margin-bottom:10px;  font-family: "Roboto Condensed", cursive, sans-serif; color: var(--brand-green); }
  
/* 3D Heading — paste into your CSS */
.three-d {
  --base-size: clamp(1.6rem, 3.6vw, 2.2rem);
  --depth-shadow-1: #d6d6d6;
  --depth-shadow-2: #bfbfbf;
  --depth-shadow-3: #a8a8a8;
  --depth-shadow-4: #8f8f8f;
  --depth-shadow-5: #6f6f6f;
  --deep-shadow: rgba(0,0,0,0.28);
  font-size: var(--base-size);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0;
  display: inline-block;
  position: relative;

  /* gradient fill clipped to text (modern browsers) */
  background: linear-gradient(180deg, #ffffff 0%, #e6f7ef 30%, #cfeee0 60%, #086b39ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #0b0b0b;

  /* stacked shadows to simulate extrusion */
  text-shadow:
    1px 1px 0 var(--depth-shadow-1),
    2px 2px 0 var(--depth-shadow-2),
    3px 3px 0 var(--depth-shadow-3),
    4px 4px 0 var(--depth-shadow-4),
    6px 6px 6px var(--deep-shadow);

  /* slight transform for crispness on large displays */
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Optional top highlight rim using pseudo-element */
.three-d::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: -0.02em;
  width: 100%;
  height: 100%;
  pointer-events: none;
  color: rgba(255,255,255,0.22);
  -webkit-background-clip: text;
  background-clip: text;
  mix-blend-mode: overlay;
  transform: translateY(-2px);
  filter: blur(0.15px);
  clip-path: inset(0 0 55% 0);
}

/* Responsive tuning (bigger on large screens) */
@media (min-width:1200px){
  .three-d { font-size: clamp(2rem, 2.8vw, 2.6rem); }
}


/* slider carousel */
 :root{
      --brand-green: #08841f;
      --brand-red: #e81915;
      --max-w: 1200px;
    }
    .ss-wrap{ max-width:var(--max-w); margin:0 auto; }
    .ss-viewport{
      position:relative;
      border-radius:12px;
      overflow:hidden;
      background:#fff;
      box-shadow:0 12px 32px rgba(8,8,8,0.06);
    }

    /* track & items */
    .ss-track{
      display:flex;
      transition: transform 520ms cubic-bezier(.22,.9,.32,1);
      will-change: transform;
    }
    .ss-item{
      flex: 0 0 25%; /* default for desktop: 4 items visible */
      box-sizing: border-box;
      padding:12px;
      display:flex;
      align-items:stretch;
    }
    .ss-card{
      width:100%;
      border-radius:10px;
      overflow:hidden;
      background:#eee;
      height:280px;
      position:relative;
      box-shadow:0 6px 18px rgba(10,10,10,0.04);
    }
    .ss-card img{ width:100%; height:100%; object-fit:cover; display:block; background-position:top; }

    /* responsive: tablet 2, mobile 1 */
    @media (max-width: 991px){
      .ss-item{ flex:0 0 50%; } /* 2 per view */
      .ss-card{ height:150px; }
    }
    @media (max-width: 599px){
      .ss-item{ flex:0 0 100%; } /* 1 per view */
      .ss-card{ height:220px; }   /* taller single image on mobile */
    }

    /* dots and progress */
    .ss-controls{ display:flex; gap:12px; align-items:center; justify-content:center; margin-top:12px; }
    .ss-play{ width:44px; height:44px; border-radius:50%; background:#fff; border:none; box-shadow:0 8px 26px rgba(0,0,0,0.06); display:flex; align-items:center; justify-content:center; cursor:pointer; }
    .ss-play svg{ width:20px; height:20px; fill:#111; }

    .ss-dots{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:center; max-width:880px; padding:6px; }

    .ss-dot{
      width:72px;
      height:10px;
      border-radius:999px;
      background: rgba(0,0,0,0.06);
      overflow:hidden;
      position:relative;
      cursor:pointer;
      box-shadow:0 6px 16px rgba(0,0,0,0.04);
    }
    .ss-dot .bar{
      position:absolute;
      left:0; top:0; bottom:0;
      width:0%;
      background: linear-gradient(90deg, var(--brand-green), var(--brand-green));
      transition: width linear;
    }
    .ss-dot.active{ box-shadow: 0 10px 26px rgba(8,132,31,0.08); }

    /* small caption bottom-left of each card (optional) */
    .ss-caption{
      position:absolute; left:12px; bottom:12px; z-index:20;
      background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.22));
      color:#fff; padding:8px 10px; border-radius:8px; font-weight:600; font-size:0.95rem;
    }

    /* keep dots usable on small screens */
    @media (max-width:600px){
      .ss-dot{ width:46px; height:8px; }
    }
    
        /* Scroll To Top Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;        /* bottom left */
  width: 48px;
  height: 48px;
  background: #575757;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 999999;     /* Important for mobile */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: opacity .3s, transform .3s;
}

/* Hidden state */
#backToTop.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(.8);
}

/* Hover effect */
#backToTop:hover {
  transform: scale(1.1);
  background: #3333339c;
}

.footer-section{
  font-family: "Nunito", sans-serif;
  margin-top: 0;
  padding: 4rem 0 1.5rem;
  background: #131413;
  color: #edf3ee;
}
.footer-section h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffffff;
}
.footer-column{
  height:100%;
}
.footer-links li + li{
  margin-top: .72rem;
  font-size:1.5px;
}
.footer-section a {
  text-decoration: none;
  color: #dce8de;
}
.footer-section a:hover {
  color: #ffffff;
}
.footer-contact-item{
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  color:#dce8de;
  line-height:1.55;
}
.footer-contact-item i{
  color:#8fd0a0;
  margin-top:.15rem;
}
.footer-section .social-links {
  display:flex;
  gap:.75rem;
  margin-top:1.25rem;
}
.footer-section .social-links a {
  width:42px;
  height:42px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  background:#173722;
  color:#ffffff;
}

.footer-section .social-links a:hover {
  background:#1e4a2e;
  color: #ffffff;
  transform: translateY(-2px);
}
.footer-bottom{
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align:center;
  color:#c8d6cb;
  font-size:.95rem;
}
@media (max-width: 720.98px){
  .footer-section{
    padding-top: 3rem;
  }
  .footer-bottom{
    margin-top: 1.75rem;
  }
}

/* FINAL MOBILE OVERRIDE: ensure management cards stack and images are responsive */
@media (max-width: 576px) {
  .management-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .management-card {
    display: block !important;
    width: 92% !important;
    max-width: 420px !important;
    box-sizing: border-box !important;
    margin: 0 auto 1rem !important;
    border-radius:12px !important;
    overflow:hidden !important;
  }
  .management-media,
  .management-media img,
  .rector-photo-wrap,
  .rector-photo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
    object-fit: cover !important;
    background-color: #dfe8e2 !important;
  }
   .section-wrap {
      margin-top: -10px;
    }
}


 :root {
      --brand: #11862c;
      --ink: #0f172a;
      --muted: #fdce69;
      --bg-soft: #f8fafc;
      --border: #e2e8f0;
    }

    body {
      color: var(--ink);
      background: #fff;
    }

    .page-hero {
      position: relative;
      max-height: 260px;
      display: flex;
      align-items: center;
      background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.55)),
        url('media-resources/images/engineering-hero.jpg') center/cover no-repeat;
      color: #fff;
      overflow: hidden;
    }

    .page-hero .badge-soft {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .55rem .9rem;
      border-radius: 999px;
      background: rgba(223, 220, 220, 0.12);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,.18);
      font-weight: 600;
    }

    .section-wrap {
      padding: 5rem 0;
    }

    .section-title {
      font-weight: 800;
      letter-spacing: -.02em;
    }

    .section-subtitle {
      color: var(--orange);
      max-width: 720px;
    }

    .soft-panel {
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 22px;
    }

    .rounded-xxl {
      border-radius: 24px !important;
    }

    .card-modern {
      border: 1px solid var(--border);
      border-radius: 22px;
      overflow: hidden;
      transition: transform .25s ease, box-shadow .25s ease;
      background: #fff;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .card-modern:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 40px rgba(2, 6, 23, .08);
    }

    .card-modern .thumb {
      height: 220px;
      object-fit: cover;
      width: 100%;
    }

    /* ensure card body stretches so cards in a row align */
    .card-modern > .p-4 {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }
    .card-modern > .p-4 .btn { margin-top: auto; }

    .stat-card {
      border: 1px solid var(--border);
      border-radius: 20px;
      background: #fff;
      height: 100%;
    }

    .dean-card {
      border: 1px solid var(--border);
      border-radius: 24px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 12px 30px rgba(2, 6, 23, .05);
    }

    .dean-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 280px; /* reduced height for dean image */
    }

/* card buttons: white background with border */
.card .card-btn,
.card-modern .card-btn {
  background: #fff;
  color: var(--brand-green);
  border: 1px solid var(--border);
  padding: .35rem .6rem;
  font-weight: 600;
}
.card .card-btn:hover,
.card-modern .card-btn:hover {
  background: rgba(3,116,63,0.03);
  color: var(--brand-green);
}

    .icon-box {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(13, 110, 253, .1);
      color: var(--brand);
      font-size: 1.35rem;
      flex: 0 0 auto;
    }

    .timeline-item {
      border-left: 2px solid var(--border);
      padding-left: 1.25rem;
      position: relative;
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      left: -7px;
      top: 6px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--brand);
    }

    .nav-pills .nav-link {
      color:#04161a;
      background: rgba(8,132,31,0.06);
      border-radius: 999px;
      font-weight: 600;
    }

    .contact-card {
      border: 1px solid var(--border);
      border-radius: 22px;
      background: #fff;
    }

    .footer-mini {
      background: #0f172a;
      color: rgba(255,255,255,.78);
    }