/* ==================================================
   CSS THEME VARIABLES
================================================== */
:root {
    --primary: #0B1E3D;
    --primary-light: #16325c;
    --secondary: #C9A24A;
    --secondary-hover: #b38e3a;

    --primary-blue: #0b2545;
    --accent-gold: #cc8130;
    --light-green: #137b6c;
    --hover-blue: #134074;
    --bright-blue: #0056b3;
    --text-dark: #333333;

    --white: #ffffff;
    --gray: #f5f7fa;
    --border-color: rgba(255, 255, 255, 0.15);
    --text-main: #2b2b2b;
    --text-muted: #6c757d;
    --shadow-soft: 0 10px 30px rgba(11, 30, 61, 0.08);
    --shadow-heavy: 0 15px 40px rgba(11, 30, 61, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* ==================================================
   UTILITY TOP BAR (With Mobile Touch-Scroll Upgrade)
================================================== */
.utility-bar {
    background-color: var(--primary);
    color: var(--white);
    height: 42px;
    font-size: 0.8rem;
    font-weight: 300;
    position: relative;
    z-index: 1040;
    overflow-x: auto; /* Enables native horizontal sliding on smaller mobile devices */
    white-space: nowrap; /* Prevents text elements from breaking onto secondary lines */
    -webkit-overflow-scrolling: touch; /* Kinetic scrolling physics for mobile browsers */
}

/* Clear vertical scrollbars on scroll layouts while retaining feature stability */
.utility-bar::-webkit-scrollbar {
    display: none;
}
.utility-bar {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.utility-links, .utility-actions {
    display: flex;
    align-items: center;
}

.utility-links {
    margin-right: 20px;
}

.utility-links li {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Keeps links from packing together tightly on narrow viewport checks */
}

.utility-links li:not(:last-child)::after {
    content: '';
    height: 12px;
    width: 1px;
    background-color: var(--border-color);
    margin: 0 15px;
}

.utility-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.utility-bar a:hover {
    color: var(--secondary);
}

.utility-bar i {
    font-size: 0.9rem;
    color: var(--secondary);
}

.btn-student-portal {
    background-color: var(--light-green);
    color: var(--white) !important;
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(201, 162, 74, 0.3);
    text-decoration: none;
    flex-shrink: 0;
}

.btn-student-portal i {
    color: var(--white) !important;
}

.btn-student-portal:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 162, 74, 0.4);
    color: var(--white) !important;
}

/* ==================================================
   MAIN NAVBAR AREA
================================================== */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1030;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.main-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

/* Scrolled Sticky Transformations */
.site-header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-heavy);
}
.site-header.scrolled .main-navbar {
    height: 72px;
}

/* Integrated Brand & Logo Layout */
.navbar-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    transition: var(--transition);
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
    transition: var(--transition);
}

/* Shrink logo and text context smoothly on viewport scrolling tracking */
.site-header.scrolled .brand-logo {
    height: 42px;
}
.site-header.scrolled .brand-title {
    font-size: 1.45rem;
}

/* ==================================================
   DESKTOP MENU LINKS
================================================== */
.desktop-menu {
    gap: 1.3rem;
    height: 100%;
    align-items: center;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link.active {
    color: var(--primary);
}

.nav-arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Hover Accent Indicators */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-item:hover .nav-link {
    color: var(--primary);
}

.nav-item:hover .nav-link::after,
.nav-link.active::after {
    width: 100%;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

/* ==================================================
   DESKTOP DROPDOWN ARCHITECTURE
================================================== */
.custom-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.04);
}

.custom-dropdown.dropdown-right {
    left: auto;
    right: 0;
}

.dropdown-wrapper:hover .custom-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown a {
    display: flex;
    align-items: center;
    padding: 11px 24px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition);
}

.custom-dropdown i {
    color: var(--secondary);
    margin-right: 12px;
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.custom-dropdown a:hover {
    background-color: var(--gray);
    color: var(--primary);
    padding-left: 28px;
}

.custom-dropdown a:hover i {
    transform: scale(1.15);
}

/* ==================================================
   MOBILE TOGGLE CONTROL
================================================== */
.btn-mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mobile-toggle:hover {
    background-color: var(--gray);
    color: var(--secondary);
}

/* ==================================================
   MOBILE MENU DRAWER LAYOUT
================================================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 30, 61, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--gray);
}

.btn-close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-menu:hover {
    color: var(--secondary);
}

.mobile-menu-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list {
    margin: 0;
}

.mobile-nav-link, .mobile-accordion-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    border: none;
    background: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-accordion-btn:hover {
    color: var(--secondary);
}

/* ==================================================
   MOBILE CSS ACCORDION ENGINE (GRID BASICS)
================================================== */
.accordion-icon i {
    transition: transform 0.3s ease;
}

.mobile-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.mobile-accordion-content > ul {
    overflow: hidden;
    padding-left: 15px;
    margin: 0;
}

.mobile-accordion-content a {
    display: block;
    padding: 10px 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.mobile-accordion-content a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Accordion Active Switches */
.mobile-accordion-item.active .mobile-accordion-content {
    grid-template-rows: 1fr;
}

.mobile-accordion-item.active .mobile-accordion-btn {
    color: var(--secondary);
}

.mobile-accordion-item.active .accordion-icon i::before {
    content: "\f28e"; /* bi-dash toggle representation rule */
}





    
    /* --- HERO/SLIDESHOW SECTION --- */
    .hero-section {
      position: relative;
      background-image: linear-gradient(rgba(11, 37, 69, 0.45), rgba(11, 37, 69, 0.45)), 
                        url('../images/hero-img.jpg');
      background-size: cover;
      background-position: center 30%;
      min-height: 580px;
      display: flex;
      align-items: center;
      color: #ffffff;
    }
    
    .hero-content-wrapper {
      max-width: 580px;
      position: relative;
      z-index: 2;
      margin-left: 90px;
    }
    
    .hero-title {
   font-family: 'Montserrat', sans-serif;
      font-size: 52px;
      line-height: 1.15;
      font-weight: 500;
      margin-bottom: 20px;
      
    }

    .hero-logo-badge {
      display: inline-block;
      vertical-align: middle;
      height: 75px;
      width: auto;
      margin-left: 15px;
      animation: pulse 3s infinite;
    }

    .hero-desc {
      font-size: 16px;
      font-weight: 400;
      max-width: 440px;
      line-height: 1.5;
      border-left: 2px solid var(--accent-gold);
      padding-left: 15px;
      margin-bottom: 0;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    }

    /* Slider Controls */
    .hero-arrow-btn {
      position: absolute;
      left: 3%;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.5);
      background-color: rgba(0, 0, 0, 0.2);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      z-index: 10;
    }
    .hero-arrow-btn:hover {
      background-color: rgba(255, 255, 255, 0.3);
      border-color: #ffffff;
    }


    .hero-arrow-up {
  top: 50%;
  transform: translateY(calc(-100% - 4px));
}
    .hero-arrow-down {
  top: 50%;
  transform: translateY(4px);
}


.hero-arrow-up:hover {
  transform: translateY(calc(-100% - 4px));
}
 
.hero-arrow-down:hover {
  transform: translateY(4px);
}




.hero-section {
      transition: background-image 0.8s ease-in-out;
    }
    #hero-headline-text, #hero-desc-text {
      transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
      display: inline-block;
    }
    .fade-out {
      opacity: 0;
      transform: translateY(-10px);
    }


    


    /* --- HERO QUICK ACTION CTA BAR --- */
    .cta-bar-container {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 38%;
      background-color: rgba(11, 37, 69, 0.95);
      z-index: 5;
      border-top-left-radius: 4px;
    }
    .cta-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
    .cta-item {
      color: #ffffff;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      padding: 25px 10px;
      text-align: center;
      border-right: 1px solid rgba(255, 255, 255, 0.15);
      transition: background-color 0.2s ease, color 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .cta-item:last-child {
      border-right: none;
    }
    .cta-item:hover {
      background-color: var(--accent-gold);
      color: var(--primary-blue);
    }
    .cta-item i {
      font-size: 11px;
      margin-left: 6px;
      font-weight: bold;
    }
 
    /* Pulse animation for secondary logo badge */
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.03); }
      100% { transform: scale(1); }
    }



/* ---======================== QUICK STATISTICS SECTION STYLING ====================--- */


    .stats-section {
      background: linear-gradient(135deg, var(--primary-blue) 0%, #061629 100%);
      color: #ffffff;
      border-top: 3px solid var(--accent-gold);
      border-bottom: 3px solid var(--accent-gold);
    }

    .stat-card {
      padding: 25px 15px;
      border-radius: 8px;
      background-color: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: all 0.3s ease-in-out;
    }

    .stat-card:hover {
      transform: translateY(-8px);
      background-color: rgba(255, 255, 255, 0.06);
      border-color: rgba(197, 160, 89, 0.4);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .stat-icon-wrapper {
      width: 60px;
      height: 60px;
      background-color: rgba(197, 160, 89, 0.15);
      color: var(--accent-gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin: 0 auto 15px auto;
      border: 1px solid rgba(197, 160, 89, 0.25);
    }

    .stat-number-wrapper {
      font-family: 'Montserrat', sans-serif;
      font-size: 40px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1;
      margin-bottom: 5px;
    }

    .stat-suffix {
      color: var(--accent-gold);
      margin-left: 2px;
    }

    .stat-label {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 600;
      color: #a5b5c9;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 0;
    }

    @media (max-width: 768px) {
      .stat-number-wrapper {
        font-size: 32px;
      }
      .stat-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 20px;
      }
    }


    /* =============== about us ================== */


    .about-preview-section {
      background-color: #ffffff;
      overflow: hidden;
    }

    .section-subtitle {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--accent-gold);
      display: inline-block;
      margin-bottom: 5px;
    }

    .section-title {
     font-family: 'Montserrat', sans-serif;
      font-size: 36px;
      color: var(--primary-blue);
      font-weight: 600;
    }

    /* Left Side: Frame & Image Styling */
    .image-wrapper {
      position: relative;
      padding: 15px;
      max-width: 520px;
      margin: 0 auto;
    }

    .main-preview-img {
      position: relative;
      z-index: 3;
      width: 100%;
      height: 480px;
      object-fit: cover;
      border: 6px solid #ffffff;
    }

    .accent-frame {
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 4px;
      z-index: 1;
    }

    .gold-frame {
      border: 3px solid var(--accent-gold);
      top: 0px;
      left: 0px;
      transform: rotate(-2deg);
    }

    .blue-frame {
      background-color: rgba(11, 37, 69, 0.05);
      top: 25px;
      left: 25px;
      z-index: 0;
    }

    .est-badge {
      position: absolute;
      bottom: 30px;
      right: 0px;
      background-color: var(--primary-blue);
      color: #ffffff;
      padding: 12px 24px;
      z-index: 4;
      border-left: 4px solid var(--accent-gold);
      box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    .est-year {
      font-family: 'Montserrat', sans-serif;
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 1px;
    }

    /* Right Side: Info Blocks */
    .info-block {
      transition: transform 0.2s ease-in-out;
    }
    
    .info-block:hover {
      transform: translateX(4px);
    }

    .icon-box {
      width: 44px;
      height: 44px;
      background-color: rgba(197, 160, 89, 0.15);
      color: var(--primary-blue);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }

    .info-title {
     font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--primary-blue);
      margin-bottom: 4px;
    }

    .info-text {
      font-size: 13.5px;
      color: #555555;
      line-height: 1.5;
      margin-bottom: 0;
    }

    /* Interactive "Learn More" Button */
    .btn-learn-more {
      background-color: var(--primary-blue);
      color: #ffffff;
      border: none;
      font-size: 14px;
      font-weight: 600;
      border-radius: 4px;
      transition: all 0.2s ease;
      box-shadow: 0 4px 10px rgba(11, 37, 69, 0.15);
    }

    .btn-learn-more:hover {
      background-color: var(--accent-gold);
      color: var(--primary-blue);
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(197, 160, 89, 0.3);
    }

    /* Responsive adjustments */
    @media (max-width: 991px) {
      .main-preview-img {
        height: 380px;
      }
      .section-title {
        font-size: 28px;
        margin-top: 20px;
      }
    }





/* --- QUICK STATISTICS SECTION STYLING --- */
    .stats-section {
      background: linear-gradient(135deg, var(--primary-blue) 0%, #061629 100%);
      color: #ffffff;
      border-top: 3px solid var(--accent-gold);
      border-bottom: 3px solid var(--accent-gold);
    }

    .stat-card {
      padding: 25px 15px;
      border-radius: 8px;
      background-color: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: all 0.3s ease-in-out;
    }

    .stat-card:hover {
      transform: translateY(-8px);
      background-color: rgba(255, 255, 255, 0.06);
      border-color: rgba(197, 160, 89, 0.4);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .stat-icon-wrapper {
      width: 60px;
      height: 60px;
      background-color: rgba(197, 160, 89, 0.15);
      color: var(--accent-gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin: 0 auto 15px auto;
      border: 1px solid rgba(197, 160, 89, 0.25);
    }

    .stat-number-wrapper {
     font-family: 'Montserrat', sans-serif;
      font-size: 40px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1;
      margin-bottom: 5px;
    }

    .stat-suffix {
      color: var(--accent-gold);
      margin-left: 2px;
    }

    .stat-label {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 600;
      color: #a5b5c9;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 0;
    }

    @media (max-width: 768px) {
      .stat-number-wrapper {
        font-size: 32px;
      }
      .stat-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 20px;
      }
    }





    /* --- ABOUT  SECTION STYLING --- */
    .about-preview-section {
      background-color: #ffffff;
      overflow: hidden;
    }

    .section-subtitle {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--accent-gold);
      display: inline-block;
      margin-bottom: 5px;
    }

    .section-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 36px;
      color: var(--primary-blue);
      font-weight: 600;
    }

    /* Left Side: Frame & Image Styling */
    .image-wrapper {
      position: relative;
      padding: 15px;
      max-width: 520px;
      margin: 0 auto;
    }

    .main-preview-img {
      position: relative;
      z-index: 3;
      width: 100%;
      height: 480px;
      object-fit: cover;
      border: 6px solid #ffffff;
    }

    .accent-frame {
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 4px;
      z-index: 1;
    }

    .gold-frame {
      border: 3px solid var(--accent-gold);
      top: 0px;
      left: 0px;
      transform: rotate(-2deg);
    }

    .blue-frame {
      background-color: rgba(11, 37, 69, 0.05);
      top: 25px;
      left: 25px;
      z-index: 0;
    }

    .est-badge {
      position: absolute;
      bottom: 30px;
      right: 0px;
      background-color: var(--primary-blue);
      color: #ffffff;
      padding: 12px 24px;
      z-index: 4;
      border-left: 4px solid var(--accent-gold);
      box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    .est-year {
     font-family: 'Montserrat', sans-serif;
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 1px;
    }

    /* Right Side: Info Blocks */
    .info-block {
      transition: transform 0.2s ease-in-out;
    }
    
    .info-block:hover {
      transform: translateX(4px);
    }

    .icon-box {
      width: 44px;
      height: 44px;
      background-color: rgba(197, 160, 89, 0.15);
      color: var(--primary-blue);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }

    .info-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--primary-blue);
      margin-bottom: 4px;
    }

    .info-text {
      font-size: 13.5px;
      color: #555555;
      line-height: 1.5;
      margin-bottom: 0;
    }

    /* Interactive "Learn More" Button */
    .btn-learn-more {
      background-color: var(--primary-blue);
      color: #ffffff;
      border: none;
      font-size: 14px;
      font-weight: 600;
      border-radius: 4px;
      transition: all 0.2s ease;
      box-shadow: 0 4px 10px rgba(11, 37, 69, 0.15);
    }

    .btn-learn-more:hover {
      background-color: var(--accent-gold);
      color: var(--primary-blue);
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(197, 160, 89, 0.3);
    }

    /* Responsive adjustments */
    @media (max-width: 991px) {
      .main-preview-img {
        height: 380px;
      }
      .section-title {
        font-size: 28px;
        margin-top: 20px;
      }
    }





/* --- WHY CHOOSE JOYGIRLS SECTION STYLING --- */
    .why-choose-section {
      background-color: #f8fafd;
    }

    .title-divider {
      width: 60px;
      height: 3px;
      background-color: var(--accent-gold);
      margin: 15px auto;
    }

    .section-intro {
      max-width: 600px;
      font-size: 14.5px;
      line-height: 1.6;
    }

    /* Advantage Individual Cards */
    .advantage-card {
      background-color: #ffffff;
      padding: 35px 25px;
      border-radius: 8px;
      border: 1px solid rgba(11, 37, 69, 0.05);
      box-shadow: 0 4px 15px rgba(11, 37, 69, 0.03);
      height: 100%;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      position: relative;
      overflow: hidden;
    }

    /* Card Hover Animations */
    .advantage-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background-color: var(--accent-gold);
      transform: scaleY(0);
      transform-origin: bottom;
      transition: transform 0.3s ease;
    }

    .advantage-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(11, 37, 69, 0.08);
      border-color: rgba(197, 160, 89, 0.2);
    }

    .advantage-card:hover::before {
      transform: scaleY(1);
    }

    /* Icon Configuration */
    .advantage-icon-wrapper {
      width: 50px;
      height: 50px;
      background-color: rgba(11, 37, 69, 0.05);
      color: var(--primary-blue);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 20px;
      transition: all 0.3s ease;
    }

    .advantage-card:hover .advantage-icon-wrapper {
      background-color: var(--primary-blue);
      color: #ffffff;
    }

    .advantage-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--primary-blue);
      margin-bottom: 12px;
    }

    .advantage-text {
      font-size: 13.5px;
      color: #555555;
      line-height: 1.6;
      margin-bottom: 0;
    }

   





/* ==========================================================================
   Alternative Student Life Showcase Styling
   ========================================================================== */

.showcase-video-card {
    height: 440px;
    background-color: #2c3e50;
}

.showcase-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-video-card:hover .showcase-img {
    transform: scale(1.04);
}

.bg-gradient-dark {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.92) 100%);
}

/* Glass Play Button */
.glass-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: #ffffff;
    font-size: 2.8rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding-left: 5px; /* Alignment fix for play triangle */
}

.glass-play-btn:hover {
    background: var(--light-green);
    border-color: var(--light-green) !important;
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(240, 82, 35, 0.4) !important;
}


#video-container{
  
}
/* Feature Item Box Styling */
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    display: inline-block;
}

.feature-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.text-uppercase{
  color: var(--light-green);
}













    

/* --- ACADEMIC PROGRAMS SECTION STYLING --- */
    .programs-section {
      background-color: #ffffff;
    }

    .program-card {
      background-color: #ffffff;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid rgba(11, 37, 69, 0.08);
      box-shadow: 0 4px 15px rgba(11, 37, 69, 0.03);
      height: 100%;
      display: flex;
      flex-direction: column;
      transition: all 0.3s ease-in-out;
    }

    .program-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 25px rgba(11, 37, 69, 0.08);
      border-color: rgba(197, 160, 89, 0.3);
    }

    /* Image Wrapper with Icon Overlay Badge */
    .program-img-wrapper {
      position: relative;
      height: 180px;
      overflow: hidden;
    }

    .program-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .program-card:hover .program-img {
      transform: scale(1.08);
    }

    .program-icon-badge {
      position: absolute;
      bottom: -20px;
      right: 20px;
      width: 44px;
      height: 44px;
      background-color: var(--primary-blue);
      color: var(--accent-gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      border: 3px solid #ffffff;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      z-index: 2;
      transition: background-color 0.3s;
    }

    .program-card:hover .program-icon-badge {
      background-color: var(--accent-gold);
      color: var(--primary-blue);
    }

    /* Card Content Details */
    .program-card-body {
      padding: 30px 20px 20px 20px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .program-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--primary-blue);
      margin-bottom: 12px;
    }

    .program-desc {
      font-size: 13px;
      color: #666666;
      line-height: 1.6;
      margin-bottom: 20px;
      flex-grow: 1;
    }

    /* Interactive Text Link */
    .program-link {
      color: var(--primary-blue);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s ease;
    }

    .program-link i {
      transition: transform 0.2s ease;
    }

    .program-link:hover {
      color: var(--accent-gold);
    }

    .program-link:hover i {
      transform: translateX(4px);
    }

   


/* --- SCHOOL FACILITIES SECTION STYLING --- */
    .facilities-section {
      background-color: #f8fafd;
    }

    /* Facility Interactive Cards */
    .facility-card {
      position: relative;
      height: 280px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      cursor: pointer;
    }

    .facility-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Dark Overlay Gradient */
    .facility-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(11, 37, 69, 0.95) 0%, rgba(11, 37, 69, 0.4) 60%, rgba(0,0,0,0) 100%);
      display: flex;
      align-items: flex-end;
      padding: 25px;
      box-sizing: border-box;
      transition: background 0.4s ease;
    }

    /* Text Block animations inside the overlay */
    .facility-info {
      transform: translateY(20px);
      transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .facility-name {
      font-family: 'Montserrat', sans-serif;
      font-size: 19px;
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 8px;
    }

    .facility-desc {
      font-size: 13px;
      color: #cbd5e1;
      line-height: 1.5;
      margin-bottom: 0;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    /* Hover States */
    .facility-card:hover .facility-img {
      transform: scale(1.1);
    }

    .facility-card:hover .facility-overlay {
      background: linear-gradient(to top, rgba(11, 37, 69, 0.98) 0%, rgba(11, 37, 69, 0.6) 50%, rgba(11, 37, 69, 0.2) 100%);
    }

    .facility-card:hover .facility-info {
      transform: translateY(0);
    }

    .facility-card:hover .facility-desc {
      opacity: 1;
    }

    /* View Full Gallery Button Styles */
    .btn-view-gallery {
      background-color: transparent;
      color: var(--primary-blue);
      border: 2px solid var(--primary-blue);
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .btn-view-gallery:hover {
      background-color: var(--primary-blue);
      color: #ffffff;
      border-color: var(--primary-blue);
      box-shadow: 0 5px 15px rgba(11, 37, 69, 0.2);
      transform: translateY(-2px);
    }

    



/* --- ADMISSIONS SECTION STYLING --- */
    .admissions-section {
      background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1920&q=80');
      background-size: cover;
      background-position: center;
      background-attachment: fixed; /* Parallax effect on desktop */
      min-height: 550px;
      position: relative;
    }

    /* Solid Dark Blue Color overlay to preserve high text contrast */
    .admissions-banner-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(6, 22, 41, 0.90) 100%);
      z-index: 1;
    }

    .z-index-2 {
      position: relative;
      z-index: 2;
    }

    .text-gold {
      color: var(--accent-gold) !important;
    }

    .admissions-main-title {
     font-family: 'Montserrat', sans-serif;
      font-size: 42px;
      font-weight: 600;
      text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .admissions-intro {
      font-size: 15px;
      max-width: 650px;
      line-height: 1.7;
    }

    /* Sub-panels inside the Left Side */
    .admission-info-card {
      background-color: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 25px;
      border-radius: 8px;
      height: 100%;
      transition: background-color 0.3s ease;
    }

    .admission-info-card:hover {
      background-color: rgba(255, 255, 255, 0.08);
    }

    .admission-card-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      color: #ffffff;
      margin-bottom: 15px;
    }

    /* Custom requirements list */
    .admission-list {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }

    .admission-list li {
      font-size: 13.5px;
      color: #cbd5e1;
      margin-bottom: 12px;
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }

    .admission-list li i {
      color: var(--accent-gold);
      font-size: 14px;
      margin-top: 2px;
    }

    /* Custom Application process list steps */
    .admission-steps {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }

    .admission-steps li {
      font-size: 13.5px;
      color: #cbd5e1;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .step-num {
      width: 24px;
      height: 24px;
      background-color: var(--accent-gold);
      color: var(--primary-blue);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 12px;
      flex-shrink: 0;
    }

    /* Conversion CTA Card (Right Side) */
    .admissions-cta-card {
      background-color: #ffffff;
      border-radius: 8px;
      padding: 40px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
      border-top: 5px solid var(--accent-gold);
    }

    .cta-card-heading {
      font-family: 'Montserrat', sans-serif;
      font-size: 22px;
      font-weight: 700;
      color: var(--primary-blue);
      margin-bottom: 10px;
    }

    .cta-card-text {
      font-size: 13.5px;
      color: #666666;
      line-height: 1.6;
    }

    /* Apply button style */
    .btn-apply-online {
      background-color: var(--primary-blue);
      color: #ffffff;
      border: none;
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .btn-apply-online:hover {
      background-color: var(--accent-gold);
      color: var(--primary-blue);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
    }

    /* Download button style */
    .btn-download-form {
      background-color: transparent;
      color: var(--primary-blue);
      border: 2px solid var(--primary-blue);
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .btn-download-form:hover {
      background-color: var(--primary-blue);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(11, 37, 69, 0.15);
    }

   


/* --- DUAL SLIDING NEWS SECTION STYLING --- */
    .news-section {
      background-color: #ffffff;
    }

    .side-heading {
     font-family: 'Montserrat', sans-serif;
      font-size: 20px;
      font-weight: 700;
      color: var(--primary-blue);
      margin-bottom: 0;
    }

    .badge.bg-navy-outline {
      background-color: transparent;
      color: var(--primary-blue);
      border: 1px solid var(--primary-blue);
      font-weight: 600;
      font-size: 11.5px;
      padding: 5px 10px;
    }

    /* Slider Container Architecture */
    .slider-wrapper {
      position: relative;
      width: 100%;
      height: 200px; /* Fixed height for consistent look */
      overflow: hidden;
      border-radius: 8px;
      border: 1px solid rgba(11, 37, 69, 0.08);
      box-shadow: 0 4px 15px rgba(11, 37, 69, 0.03);
      background-color: #ffffff;
    }

    /* Slide Track Container */
    .slider-track {
      display: flex;
      width: 100%;
      height: 100%;
      position: relative;
    }

    /* Individual sliding card */
    .slider-card {
      min-width: 100%;
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      display: flex;
      flex-direction: row;
      opacity: 0;
      transform: translateX(100%); /* Start hidden on the right side */
      transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-in-out;
      background-color: #ffffff;
    }

    /* Active Slide State */
    .slider-card.active {
      opacity: 1;
      transform: translateX(0); /* Slide center active */
    }

    /* Past Slide State */
    .slider-card.exit {
      opacity: 0;
      transform: translateX(-100%); /* Exit towards the left side */
    }

    /* Left image layout inside the card */
    .slide-img-wrapper {
      position: relative;
      width: 35%;
      height: 100%;
      overflow: hidden;
    }

    .slide-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Right contents layout inside the card */
    .slide-content {
      width: 65%;
      padding: 20px 25px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .slide-date {
      font-size: 11.5px;
      font-weight: 600;
      color: var(--accent-gold);
      margin-bottom: 6px;
    }

    .slide-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 600;
      color: var(--primary-blue);
      line-height: 1.3;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .slide-text {
      font-size: 12.5px;
      color: #666666;
      line-height: 1.5;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .slide-link {
      color: var(--primary-blue);
      font-size: 12px;
      font-weight: 700;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: color 0.2s ease;
      margin-top: auto;
    }

    .slide-link:hover {
      color: var(--accent-gold);
    }

    .slide-link i {
      transition: transform 0.2s;
    }

    .slide-link:hover i {
      transform: translateX(3px);
    }

    

/* --- TESTIMONIALS SECTION STYLING --- */
    .testimonials-section {
      background-color: #f8fafd;
    }

    /* Carousel Outer Container */
    .testimonials-carousel-container {
      max-width: 800px;
      min-height: 320px;
      overflow: hidden;
      padding: 20px 0;
    }

    /* Track Layout */
    .testimonial-track {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 320px;
    }

    /* Testimonial Cards styling */
    .testimonial-card {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      background-color: #ffffff;
      padding: 40px 50px;
      border-radius: 8px;
      border: 1px solid rgba(11, 37, 69, 0.05);
      box-shadow: 0 10px 30px rgba(11, 37, 69, 0.05);
      opacity: 0;
      transform: scale(0.95) translateX(50px);
      pointer-events: none;
      transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Active State Class */
    .testimonial-card.active {
      opacity: 1;
      transform: scale(1) translateX(0);
      pointer-events: auto;
      z-index: 5;
    }

    /* Pre-exit/Exit State Class */
    .testimonial-card.exit {
      opacity: 0;
      transform: scale(0.95) translateX(-50px);
      pointer-events: none;
    }

    /* Elements */
    .testimonial-quote-icon {
      font-size: 50px;
      line-height: 1;
      color: rgba(197, 160, 89, 0.2);
      position: absolute;
      top: 20px;
      left: 30px;
    }

    .testimonial-stars {
      color: var(--accent-gold);
      font-size: 14px;
      margin-bottom: 15px;
      position: relative;
      z-index: 2;
    }

    .testimonial-text {
      font-size: 15px;
      line-height: 1.8;
      color: #555555;
      font-style: italic;
      margin-bottom: 25px;
      position: relative;
      z-index: 2;
    }

    /* Profile Footer Block */
    .testimonial-profile {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .profile-avatar {
      width: 50px;
      height: 50px;
      background-color: rgba(11, 37, 69, 0.05);
      border: 1px solid rgba(11, 37, 69, 0.1);
      color: var(--primary-blue);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }

    .profile-name {
     font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 700;
      color: var(--primary-blue);
      margin-bottom: 2px;
    }

    .profile-tag {
      font-family: 'Montserrat', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.5px;
      padding: 4px 8px;
    }

    /* Tag Category Colors */
    .bg-student {
      background-color: rgba(11, 37, 69, 0.1);
      color: var(--primary-blue);
    }
    .bg-parent {
      background-color: rgba(197, 160, 89, 0.15);
      color: #8b6b29;
    }
    .bg-alumni {
      background-color: rgba(25, 135, 84, 0.1);
      color: #198754;
    }

    /* Navigation Arrows Layout */
    .testimonial-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      background-color: #ffffff;
      border: 1px solid rgba(11, 37, 69, 0.1);
      border-radius: 50%;
      color: var(--primary-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      z-index: 10;
      transition: all 0.2s ease;
    }

    .testimonial-nav-btn:hover {
      background-color: var(--primary-blue);
      color: #ffffff;
      border-color: var(--primary-blue);
    }

    .prev-btn {
      left: -60px;
    }

    .next-btn {
      right: -60px;
    }

    /* Indicator Dots Layout */
    .testimonial-indicators {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 25px;
    }

    .testimonial-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #cbd5e1;
      border: none;
      cursor: pointer;
      padding: 0;
      transition: all 0.3s ease;
    }

    .testimonial-dot.active {
      background-color: var(--primary-blue);
      transform: scale(1.3);
    }

  




    /* --- CALL TO ACTION (CTA) SECTION STYLING --- */
    .cta-section {
      background-color: #ffffff;
      padding-top: 30px;
    }

    /* Core CTA Layout Box */
    .cta-box {
      background: linear-gradient(135deg, var(--primary-blue) 0%, #061224 100%);
      color: #ffffff;
      border-radius: 12px;
      border: 1px solid rgba(197, 160, 89, 0.25);
      box-shadow: 0 15px 40px rgba(11, 37, 69, 0.15);
    }

    .z-3 {
      z-index: 3;
    }

    /* Decorative background shapes for a premium textured look */
    .cta-decorative-circle {
      position: absolute;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, rgba(197, 160, 89, 0) 70%);
      pointer-events: none;
      z-index: 1;
    }

    .circle-left {
      top: -100px;
      left: -100px;
    }

    .circle-right {
      bottom: -100px;
      right: -100px;
    }

    /* Content Styling */
    .cta-tag {
      font-family: 'Montserrat', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--accent-gold);
      display: inline-block;
    }

    .cta-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 28px;
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    .cta-text {
      font-size: 15px;
      color: #e2e8f0;
      max-width: 680px;
      line-height: 1.7;
    }

    /* CTA Buttons */
    .btn-cta-primary {
      background-color: var(--accent-gold);
      color: var(--primary-blue);
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 13.5px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border: 2px solid var(--accent-gold);
      border-radius: 4px;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .btn-cta-primary:hover {
      background-color: transparent;
      color: var(--accent-gold);
      box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
      transform: translateY(-2px);
    }

    .btn-cta-secondary {
      background-color: transparent;
      color: #ffffff;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 13.5px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border: 2px solid rgba(255, 255, 255, 0.4);
      border-radius: 4px;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .btn-cta-secondary:hover {
      background-color: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      border-color: #ffffff;
      transform: translateY(-2px);
    }

    .cta-footer-note {
      font-size: 13px;
      color: #cbd5e1;
    }

    .cta-footer-note strong {
      color: var(--accent-gold);
    }

    /* Target Divider Color Override */
    .bg-gold {
      background-color: var(--accent-gold) !important;
    }

  



/* --- LOOPING STUDENT LIFE MARQUEE STYLING --- */
    .student-life-section {
      background-color: #f8fafd;
      overflow: hidden;
    }

    /* Slider Container */
    .student-life-marquee-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden;
      padding: 20px 0;
    }

    /* Fade-out masks on left and right sides to look premium */
    .student-life-marquee-wrapper::before,
    .student-life-marquee-wrapper::after {
      content: "";
      position: absolute;
      top: 0;
      width: 120px;
      height: 100%;
      z-index: 5;
      pointer-events: none;
    }

    .student-life-marquee-wrapper::before {
      left: 0;
      background: linear-gradient(to right, #f8fafd 0%, rgba(248, 250, 253, 0) 100%);
    }

    .student-life-marquee-wrapper::after {
      right: 0;
      background: linear-gradient(to left, #f8fafd 0%, rgba(248, 250, 253, 0) 100%);
    }

    /* The moving track containing cards */
    .student-life-track {
      display: flex;
      width: max-content; /* Dynamically calculates full width of items combined */
      animation: marqueeScroll 35s linear infinite;
    }

    /* Pause animation when user hovers over any card */
    .student-life-marquee-wrapper:hover .student-life-track {
      animation-play-state: paused;
    }

    /* Card Item */
    .marquee-item {
      padding: 0 15px; /* Creates spacing between moving cards */
      flex-shrink: 0;
    }

    .marquee-card {
      position: relative;
      width: 360px;
      height: 250px;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
      border: 1px solid rgba(11, 37, 69, 0.04);
      cursor: grab;
    }

    .marquee-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Subtle hover scale on image */
    .marquee-card:hover .marquee-img {
      transform: scale(1.08);
    }

    /* Overlay panel on card */
    .marquee-card-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 25px 20px;
      background: linear-gradient(to top, rgba(11, 37, 69, 0.95) 0%, rgba(11, 37, 69, 0.4) 70%, rgba(11, 37, 69, 0) 100%);
      color: #ffffff;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      z-index: 2;
    }

    .marquee-tag {
      font-family: 'Montserrat', sans-serif;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--accent-gold);
      margin-bottom: 6px;
    }

    .marquee-card-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .marquee-card-desc {
      font-size: 12px;
      color: #e2e8f0;
      line-height: 1.4;
      margin-bottom: 0;
      opacity: 0.85;
    }

    /* INFINITE ANIMATION KEYFRAMES */
    @keyframes marqueeScroll {
      0% {
        transform: translateX(0);
      }
      100% {
        /* Translates exactly 50% leftward (moving Set 1 out of view as Set 2 takes its place seamlessly) */
        transform: translateX(-50%);
      }
    }

   



    



/* -----------footert -------------------------- */

/* --- FOOTER STYLING --- */
    .main-footer {
      background-color: var(--primary-blue);
      color: #e0e6ed;
      font-size: 14px;
      border-top: 4px solid var(--accent-gold);
    }

    /* Brand Block */
    .footer-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .footer-logo-img {
      height: 50px;
      width: auto;
    }
    .footer-brand-text .title {
     font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: #ffffff;
      line-height: 1.1;
      letter-spacing: 0.5px;
    }
    .footer-brand-text .subtitle {
      font-family: 'Montserrat', sans-serif;
      font-size: 11px;
      font-weight: bold;
      color: var(--accent-gold);
      text-transform: uppercase;
      letter-spacing: 2px;
    }
    .footer-about-text {
      font-size: 13px;
      line-height: 1.6;
      color: #a5b5c9;
      margin-top: 15px;
    }

    /* Footer Headings */
    .footer-heading {
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 600;
      color: #ffffff;
      position: relative;
      padding-bottom: 10px;
      margin-bottom: 20px;
    }
    .footer-heading::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 40px;
      height: 2px;
      background-color: var(--accent-gold);
    }
    .footer-heading.sm-heading {
      margin-top: 10px;
    }

    /* Standard Links List */
    .footer-links-list {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }
    .footer-links-list li {
      margin-bottom: 10px;
    }
    .footer-links-list a {
      color: #a5b5c9;
      text-decoration: none;
      font-size: 13px;
      transition: color 0.2s ease, transform 0.2s ease;
      display: inline-flex;
      align-items: center;
    }
    .footer-links-list a i {
      font-size: 10px;
      margin-right: 8px;
      color: var(--accent-gold);
      transition: transform 0.2s ease;
    }
    .footer-links-list a:hover {
      color: #ffffff;
    }
    .footer-links-list a:hover i {
      transform: translateX(3px);
    }

    /* Contact Info List */
    .footer-contact-info {
      list-style: none;
      padding-left: 0;
    }
    .footer-contact-info li {
      display: flex;
      align-items: flex-start;
      margin-bottom: 15px;
      color: #a5b5c9;
      font-size: 13px;
    }
    .footer-contact-info li i {
      color: var(--accent-gold);
      margin-right: 12px;
      font-size: 15px;
      margin-top: 2px;
    }
    .footer-contact-info li a {
      color: #a5b5c9;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-contact-info li a:hover {
      color: #ffffff;
    }

    /* Social Icons Block */
    .footer-social-icons {
      display: flex;
      gap: 10px;
    }
    .footer-social-icons a {
      width: 34px;
      height: 34px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #a5b5c9;
      text-decoration: none;
      transition: all 0.2s ease-in-out;
    }
    .footer-social-icons a:hover {
      background-color: var(--accent-gold);
      border-color: var(--accent-gold);
      color: var(--primary-blue);
      transform: translateY(-3px);
    }

    /* Bottom Copyright Bar */
    .footer-bottom-bar {
      background-color: #081b33;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 12px;
      color: #7b92ad;
    }
    .footer-bottom-links a {
      color: #7b92ad;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-bottom-links a:hover {
      color: #ffffff;
    }
    .footer-bottom-links .divider {
      margin: 0 8px;
      color: rgba(255, 255, 255, 0.1);
    }

  

/* --- BACK TO TOP BUTTON STYLING --- */
    .back-to-top-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 46px;
      height: 46px;
      background-color: var(--primary-blue);
      color: var(--accent-gold);
      border: 2px solid var(--accent-gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      z-index: 999;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Active visible state when scrolled */
    .back-to-top-btn.visible {
      opacity: 1;
      visibility: visible;
    }

    /* Elegant hover animations */
    .back-to-top-btn:hover {
      background-color: var(--accent-gold);
      color: var(--primary-blue);
      transform: translateY(-5px);
     
    }

    



/* ===== Custom utility classes used in the markup ===== */
.text-corporate {
  color:var(--primary);
}

.text-primary-custom {
  color: var(--primary-blue) !important;
}

.font-heading {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.tracking-wide {
  letter-spacing: 0.03em;
}

/* ===== Apply Now button ===== */
.btn-corporate {
  background-color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  color: #fff;
  transition: all 0.25s ease;
}

.btn-corporate:hover,
.btn-corporate:focus {
  background-color: var(--light-green);
  border-color: var(--light-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(30, 58, 138, 0.35);
}

/* ===== Need Help button hover polish ===== */
#scrollTriggerModal .btn-outline-secondary {
  border-color: #dcdfe4;
  color: #495057;
  transition: all 0.25s ease;
}

#scrollTriggerModal .btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* ===== Icon accent circle ===== */
#scrollTriggerModal .modal-icon-box {
  transition: transform 0.3s ease;
}

#scrollTriggerModal.show .modal-icon-box {
  transform: scale(1.05);
}

/* ===== Modal card polish ===== */
#scrollTriggerModal .modal-content {
  border-radius: 1.25rem;
}

#scrollTriggerModal .modal-dialog {
  max-width: 420px;
}

#scrollTriggerModal .btn-close {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

#scrollTriggerModal .btn-close:hover {
  opacity: 1;
}

/* ===== Entrance animation (pop + fade) ===== */
#scrollTriggerModal .modal-dialog {
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
}

#scrollTriggerModal.show .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Optional: dim backdrop a bit more for focus */
#scrollTriggerModal + .modal-backdrop.show {
  opacity: 0.6;
}


/* ===== Floating Trigger Button ===== */
.floating-trigger-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1e3a8a;
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 1050;
  box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
  writing-mode: horizontal-tb;
}

.floating-trigger-btn i {
  font-size: 1.2rem;
}

.floating-trigger-btn:hover {
  background-color: #152a63;
  padding-right: 22px;
  box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.3);
}

/* Pulse animation to draw attention */
.floating-trigger-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px 0 0 8px;
  background-color: #1e3a8a;
  animation: pulse-ring 2s ease-out infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.floating-trigger-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    position: fixed;
    /* keep your existing position (bottom/right) values here */
}

.floating-trigger-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


















/* ============================================= */
/* ===== RESPONSIVENESS ===== */
/* ============================================= */

/* Tablets */
@media (max-width: 768px) {
  #scrollTriggerModal .modal-dialog {
    max-width: 90%;
    margin: 1.5rem auto;
  }

  #scrollTriggerModal .modal-content {
    padding: 1.5rem !important;
    border-radius: 1rem;
  }

  #scrollTriggerModal .modal-icon-box {
    width: 56px !important;
    height: 56px !important;
  }

  #scrollTriggerModal h4 {
    font-size: 1.15rem;
  }

  #scrollTriggerModal p {
    font-size: 0.85rem;
  }

   .floating-trigger-btn {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .floating-trigger-btn i {
    font-size: 1.05rem;
  }
}


/* Mobile phones */
@media (max-width: 480px) {
  #scrollTriggerModal .modal-dialog {
    max-width: 92%;
    margin: 1rem auto;
    transform: scale(0.9) translateY(15px);
  }

  #scrollTriggerModal.show .modal-dialog {
    transform: scale(1) translateY(0);
  }

  #scrollTriggerModal .modal-content {
    padding: 1.25rem !important;
    border-radius: 0.85rem;
  }

  #scrollTriggerModal .modal-icon-box {
    width: 48px !important;
    height: 48px !important;
  }

  #scrollTriggerModal .modal-icon-box i {
    font-size: 1.3rem !important;
  }

  #scrollTriggerModal h4 {
    font-size: 1.05rem;
  }

  #scrollTriggerModal p {
    font-size: 0.8rem;
    margin-bottom: 1rem !important;
  }

  #scrollTriggerModal .btn-corporate,
  #scrollTriggerModal .btn-outline-secondary {
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem;
  }

  #scrollTriggerModal .btn-close {
    margin: 0.75rem !important;
  }

.floating-trigger-btn .floating-trigger-text {
    display: none; /* show icon only on very small screens */
  }

  .floating-trigger-btn {
    padding: 14px 12px;
    border-radius: 50% 0 0 50%;
  }




}

/* Very small phones */
@media (max-width: 360px) {
  #scrollTriggerModal .modal-dialog {
    max-width: 95%;
  }

  #scrollTriggerModal h4 {
    font-size: 1rem;
  }

  #scrollTriggerModal .modal-content {
    padding: 1rem !important;
  }
}












/* --- RESPONSIVE ADJUSTMENTS --- */


@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}



@media (min-width: 1200px) {
  .dropdown-wrapper:hover .custom-dropdown {
    display: block;
    animation: navFadeIn 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  }
  
  /* Desktop Active Indicator Line Fixes */
  .nav-item .nav-link.active::after {
    border-bottom: 2px solid var(--secondary);
  }
}

@media (max-width: 1200px) {

 .brand-title { font-size: 1.6rem; }
  .brand-subtitle { font-size: 0.7rem; letter-spacing: 2px; }


  .brand-subtitle { 
    font-size: 0.7rem; 
    letter-spacing: 2px; 
  }

  .brand-text-subtitle { 
    font-size: 12px; 
    letter-spacing: 3px; 
  }
  .hero-title { 
    font-size: 40px; 
  }
  .cta-bar-container { 
    width: 50%; 
  }
}





@media (max-width: 1199px) {
  .main-navbar {
        height: 75px;
    }
  .site-header {
    padding: 0 10px;
  }
  .site-header.scrolled .main-navbar {
    height: 65px;
  }
}









/* 1. Desktop Style Settings (992px and up) */
@media (min-width: 992px) {
  .brand-logo-img {
    height: 55px;
  }
  .brand-text-title {
    font-size: 20px;
  }
  .brand-text-subtitle {
    font-size: 13px;
    letter-spacing: 4px;
  }
  .nav-link-custom.active {
    border-bottom: 2px solid var(--accent-gold);
  }
  /* Show dropdown immediately on hover only for desktop screens */
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-menu {
    border-radius: 0;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: navFadeIn 0.2s ease;
  }
}

@media (max-width: 991px) {

.utility-bar {
    height: 38px;
  }
  
  .btn-student-portal {
    padding: 3px 12px;
    font-size: 0.75rem;
  }

 .navbar-collapse {
    max-height: 75vh;
    overflow-y: auto; /* Prevent long menus from jumping past screen edges */
    padding-top: 10px;
    padding-bottom: 15px;
  }
  .nav-link-custom {
    padding: 12px 15px !important;
    border-radius: 4px;
  }
  .nav-link-custom:active,
  .nav-link-custom:focus {
    background-color: rgba(11, 37, 69, 0.05);
  }
  /* Inside mobile menu drawers, display dropdown cards stacked inline cleanly */
  .dropdown-menu {
    border: none;
    box-shadow: none;
    background-color: #f8fafc; 
    padding-left: 15px;
    margin: 4px 0;
    border-left: 3px solid var(--accent-gold);
    border-radius: 0;
  }
  .dropdown-item {
    padding: 10px 15px;
    font-size: 13px;
    color: var(--primary-blue);
  }

  .hero-section {
    min-height: 480px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-logo-badge {
    height: 55px;
  }
  .cta-bar-container {
    position: relative;
    width: 100%;
    background-color: var(--primary-blue);
  }
  .cta-item {
    padding: 18px 10px;
  }
  .hero-arrow-btn {
    display: none; /* Hide custom slide buttons on mobile for optimal display */
  }

  .admissions-section {
    background-attachment: scroll; /* Disable parallax on tablet/mobile for performance */
  }
  .admissions-main-title {
    font-size: 32px;
  }
  .admissions-cta-card {
    padding: 30px 20px;
  }
  .testimonial-nav-btn {
    display: none; /* Hide side arrows on tablet and mobile */
  }
  .testimonial-card {
    padding: 30px 25px;
  }
  .testimonial-quote-icon {
    left: 15px;
    top: 10px;
  }
}







@media (max-width: 768px) {

  .mobile-menu {
        width: 100%;
        right: -100%;
        transition: right 0.35s ease-in-out;
    }
    .brand-logo {
        height: 46px;
    }

  .main-navbar {
    height: 70px;
  }

  /* Force offcanvas layout scroll containers to match view heights precisely */
  .mobile-menu-body {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 20px;
  }


  .hero-content-wrapper {
    margin-left: 70px;
  }
  .footer-bottom-bar {
    text-align: center;
  }

  .advantage-card {
    padding: 25px 20px;
  }
  .facility-card {
    height: 240px;
  }
  .facility-name {
    font-size: 17px;
  }
  /* Keep desc visible on mobile devices by default */
  .facility-info {
    transform: translateY(0);
  }
  .facility-desc {
    opacity: 0.9;
  }

  .slider-wrapper {
    height: auto;
    min-height: 380px;
  }
  .slider-card {
    flex-direction: column;
  }
  .slide-img-wrapper {
    width: 100%;
    height: 160px;
  }
  .slide-content {
    width: 100%;
    padding: 15px;
  }

  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .cta-title {
    font-size: 22px;
  }
  .cta-text {
    font-size: 14px;
  }
  .cta-box {
    border-radius: 8px;
  }
  .marquee-card {
    width: 290px;
    height: 210px;
  }
  .student-life-marquee-wrapper::before,
  .student-life-marquee-wrapper::after {
    width: 50px;
  }
}


@media (max-width: 767.98px) {
    .showcase-video-card {
        height: 320px;
    }
    .glass-play-btn {
        width: 64px;
        height: 64px;
        font-size: 2.2rem;
    }
}



@media (max-width: 576px) {
    .utility-bar {
        font-size: 0.75rem;
    }
    .brand-title {
        font-size: 1.35rem;
    }
    .brand-subtitle {
        font-size: 0.65rem;
    }
  .btn-mobile-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .brand-logo-img {
    height: 55px;
  }
  .brand-text-title {
    font-size: 20px;
  }
  .brand-text-subtitle {
    font-size: 13px;
    letter-spacing: 4px;
  }
  .nav-link-custom.active {
    border-bottom: 2px solid var(--accent-gold);
  }
  /* Show dropdown immediately on hover only for desktop screens */
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-menu {
    border-radius: 0;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: navFadeIn 0.2s ease;
  }

  .hero-title {
    font-size: 28px;
  }
  .hero-logo-badge {
    display: none; /* Hide badge on extremely small screens */
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .program-img-wrapper {
    height: 160px;
  }
}





@media (max-width: 480px) {

.brand-title { 
  font-size: 1.25rem; 
}
  
  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  .utility-actions li:not(:last-child) {
    display: none !important; /* Hide Contact link on extra small viewport bars */
  }


    .brand-logo-img {
    height: 55px;
  }
  .brand-text-title {
    font-size: 20px;
  }
  .brand-text-subtitle {
    font-size: 13px;
    letter-spacing: 4px;
  }
  .nav-link-custom.active {
    border-bottom: 2px solid var(--accent-gold);
  }
  /* Show dropdown immediately on hover only for desktop screens */
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-menu {
    border-radius: 0;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: navFadeIn 0.2s ease;
  }
}


@media (max-width: 414px) {

.brand-title {
    font-size: 1.25rem;
  }
  
  .brand-subtitle {
    display: 1.2rem; 
  }
  
  .main-navbar {
    height: 65px;
  }

    .brand-logo-img {
    height: 55px;
  }
  .brand-text-title {
    font-size: 20px;
  }
  .brand-text-subtitle {
    font-size: 13px;
    letter-spacing: 4px;
  }
  .nav-link-custom.active {
    border-bottom: 2px solid var(--accent-gold);
  }
  /* Show dropdown immediately on hover only for desktop screens */
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-menu {
    border-radius: 0;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: navFadeIn 0.2s ease;
  }
}




@media (max-width: 390px) {
.brand-title {
    font-size: 1.2rem;
  }
  
 .brand-subtitle {
    display: 1.1rem; 
  }

  .btn-student-portal {
    padding: 3px 10px;
    font-size: 0.7rem;
  }

    .brand-logo-img {
    height: 55px;
  }
  .brand-text-title {
    font-size: 20px;
  }
  .brand-text-subtitle {
    font-size: 13px;
    letter-spacing: 4px;
  }
  .nav-link-custom.active {
    border-bottom: 2px solid var(--accent-gold);
  }
  /* Show dropdown immediately on hover only for desktop screens */
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-menu {
    border-radius: 0;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: navFadeIn 0.2s ease;
  }
}


@media (max-width: 375px) {

  .brand-title {
    font-size: 1.15rem;
  }
  
  .brand-subtitle {
    display: 1.2rem; 
  }
  .mobile-menu {
    padding-left: 5px;
    padding-right: 5px;
  }

  .mobile-nav-link, 
  .mobile-accordion-btn {
    font-size: 1rem;
    padding: 12px 0;
  }
}

/* Fix for small phones (iPhone SE, Galaxy Fold) */
@media (max-width: 380px) {
    #scrollTriggerModal .modal-content {
        padding: 1.25rem !important;
    }
    
    #scrollTriggerModal h4 {
        font-size: 1.25rem;
    }

    .modal-icon-box {
        width: 52px !important;
        height: 52px !important;
    }

    .modal-icon-box i {
        font-size: 1.5rem !important;
    }
}

/* Ensure mobile landscape viewports don't cut off buttons */
@media (max-height: 600px) {
    #scrollTriggerModal .modal-dialog {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    #scrollTriggerModal .modal-body {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}