  :root {
      --primary-red: #d90429;
      --primary-hover: #b80322;
      --navy-blue: #0f2a4a;
      --navy-light: #163860;
      --accent-yellow: #ffc107;
      --light-bg: #f8f9fa;
      --text-main: #212529;
      --text-muted: #6c757d;
      --font-heading: 'Outfit', sans-serif;
      --font-body: 'Poppins', sans-serif;
    }

    body {
      font-family: var(--font-body);
      color: var(--text-main);
      overflow-x: hidden;
      background-color: #fcfcfc;
    }

    h1, h2, h3, h4, h5, h6, .font-heading {
      font-family: var(--font-heading);
    }

    .bg-navy { background-color: var(--navy-blue) !important; }
    .bg-navy-light { background-color: var(--navy-light) !important; }
    .bg-red { background-color: var(--primary-red) !important; }
    .bg-yellow { background-color: var(--accent-yellow) !important; }
    .text-red { color: var(--primary-red) !important; }
    .text-navy { color: var(--navy-blue) !important; }
    .text-yellow { color: var(--accent-yellow) !important; }

    .btn-red {
      background-color: var(--primary-red);
      color: #fff;
      border: none;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    .btn-red:hover {
      background-color: var(--primary-hover);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(217, 4, 41, 0.3);
    }

    .btn-navy {
      background-color: var(--navy-blue);
      color: #fff;
      border: none;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    .btn-navy:hover {
      background-color: var(--navy-light);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(15, 42, 74, 0.3);
    }

    /* Top Navigation Header */
    .top-bar {
      background-color: var(--navy-blue);
      font-size: 0.85rem;
    }

    .school-logo {
      height: 52px;
      width: auto;
      object-fit: contain;
    }

    /* Hero Carousel Styling */
    .hero-slide {
      position: relative;
      background-size: cover;
      background-position: center;
      min-height: 540px;
      display: flex;
      align-items: center;
    }

    .hero-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.2) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .feature-badge-box {
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      border-top: 4px solid var(--primary-red);
    }
    .feature-badge-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

    /* E-Commerce Product Cards */
    .product-card {
      background: #ffffff;
      border: 1px solid #e9ecef;
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.08);
      border-color: #dee2e6;
    }

    .product-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 2;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 20px;
    }

    .product-img-wrapper {
      position: relative;
      padding-top: 75%;
      overflow: hidden;
      background-color: #f8f9fa;
    }
    .product-img-wrapper img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .product-card:hover .product-img-wrapper img {
      transform: scale(1.06);
    }

    .quick-actions {
      position: absolute;
      bottom: -45px;
      left: 0; right: 0;
      display: flex;
      justify-content: center;
      gap: 8px;
      transition: bottom 0.3s ease;
    }
    .product-card:hover .quick-actions {
      bottom: 12px;
    }

    /* Custom Nav Tabs for Store */
    .custom-store-tabs .nav-link {
      color: var(--navy-blue);
      font-weight: 600;
      border: 2px solid #e2e8f0;
      border-radius: 30px;
      padding: 10px 24px;
      margin: 4px;
      transition: all 0.3s ease;
    }
    .custom-store-tabs .nav-link.active,
    .custom-store-tabs .nav-link:hover {
      background-color: var(--primary-red) !important;
      color: #ffffff !important;
      border-color: var(--primary-red) !important;
      box-shadow: 0 4px 12px rgba(217, 4, 41, 0.25);
    }

    /* Magnific Gallery Styling */
    .gallery-item {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      display: block;
    }
    .gallery-item img {
      transition: transform 0.4s ease;
    }
    .gallery-item:hover img {
      transform: scale(1.08);
    }
    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 42, 74, 0.6);
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
    }
    .gallery-item:hover .gallery-overlay {
      opacity: 1;
    }

    /* Yellow Quote Banner */
    .yellow-quote-banner {
      background: linear-gradient(135deg, #ffc107 0%, #ffca28 100%);
      color: var(--navy-blue);
      border-radius: 16px;
      padding: 24px 32px;
      font-weight: 700;
      position: relative;
      overflow: hidden;
    }

    /* Owl Carousel Nav Customization */
    .owl-theme .owl-dots .owl-dot.active span {
      background: var(--primary-red) !important;
      width: 24px;
      border-radius: 10px;
    }

    /* Accordion Custom Styling */
    .accordion-button:not(.collapsed) {
      color: var(--primary-red);
      background-color: #fff0f3;
      box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 0.25rem rgba(217, 4, 41, 0.25);
      border-color: rgba(217, 4, 41, 0.5);
    }

    /* Cart Floating Badge */
    .cart-badge {
      font-size: 0.7rem;
      padding: 0.25em 0.5em;
    } 
    /*Top Information Bar */
    .top-bar {
      background-color: var(--navy-blue);
      font-size: 0.85rem;
    }

    /* Hero Banner for About Us */
    .about-hero-section {
      background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
      position: relative;
      overflow: hidden;
    }

    .about-hero-card {
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
      border: 1px solid #e9ecef;
      overflow: hidden;
    }

    /* Our Approach Cards */
    .approach-card {
      background: #ffffff;
      border-radius: 16px;
      border: 1px solid #e9ecef;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
      transition: all 0.3s ease;
      height: 100%;
    }
    .approach-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 14px 30px rgba(15, 42, 74, 0.08);
      border-color: rgba(217, 4, 41, 0.3);
    }

    .approach-icon-box {
      width: 60px;
      height: 60px;
      border-radius: 14px;
      background: rgba(15, 42, 74, 0.06);
      color: var(--navy-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      transition: all 0.3s ease;
    }
    .approach-card:hover .approach-icon-box {
      background: var(--primary-red);
      color: #ffffff;
    }

    /* Vision Mission Values styling */
    .value-item {
      font-weight: 600;
      color: var(--navy-blue);
    }

    /* Strawberry in Numbers Section */
    .numbers-banner {
      background-color: var(--navy-blue);
      border-radius: 20px;
      color: #ffffff;
      box-shadow: 0 20px 40px rgba(15, 42, 74, 0.2);
    }

    .number-box {
      border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    @media (max-width: 991px) {
      .number-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
      }
    }

    /* Red Contact Footer Bar from Flyer */
    .flyer-bottom-bar {
      background-color: var(--primary-red);
      color: #ffffff;
    }

    .cart-badge {
      font-size: 0.7rem;
      padding: 0.25em 0.5em;
    }
.navbar-brand{
    padding: 0;
}

.school-logo{
    height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}
@media (max-width:991px){
    .school-logo{
        height: 65px;
    }

    .navbar{
        min-height: 75px;
    }
}
.school-logo{
    height:70px;
    width:auto;
    object-fit:contain;
}
.navbar-nav .nav-item{
    margin: 0 10px;
}
/* Hero Banner for Events */
    .events-hero-section {
      background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
      position: relative;
      overflow: hidden;
    }

    .events-hero-card {
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
      border: 1px solid #e9ecef;
      overflow: hidden;
    }

    /* Event Cards */
   .event-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
    .event-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 14px 28px rgba(15, 42, 74, 0.1);
      border-color: rgba(217, 4, 41, 0.3);
    }

    .event-img-wrapper {
      position: relative;
      height: 180px;
      overflow: hidden;
    }
    .event-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .event-card:hover .event-img-wrapper img {
      transform: scale(1.06);
    }

   .date-badge {
    width: 100%;
    padding: 10px 15px;
    text-align: center;
    border-radius: 10px;
    font-family: var(--font-heading);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex-shrink: 0;
}

.date-badge span {
    display: inline-block !important;
}

.date-badge span:first-child {
    font-size: 26px;
    line-height: 1;
}

.date-badge span:nth-child(2) {
    font-size: 14px;
    font-weight: 700;
}

.date-badge span:nth-child(3) {
    font-size: 14px;
    opacity: 0.8;
}

    /* Gallery Grid Custom Masonry/Tiles Layout */
    .gallery-tile {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      display: block;
      height: 100%;
      min-height: 180px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    }
    .gallery-tile img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .gallery-tile:hover img {
      transform: scale(1.08);
    }
    .gallery-tile-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 42, 74, 0.65);
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-size: 1.8rem;
    }
    .gallery-tile:hover .gallery-tile-overlay {
      opacity: 1;
    }

    /* Learning Beyond Classrooms Banner */
    .beyond-banner {
      background-color: var(--navy-blue);
      border-radius: 20px;
      color: #ffffff;
      box-shadow: 0 15px 35px rgba(15, 42, 74, 0.2);
    }

    .beyond-pillar {
      border-left: 1px solid rgba(255, 255, 255, 0.15);
    }
    @media (max-width: 991px) {
      .beyond-pillar {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 15px;
      }
    }

    /* Subscription & Collaboration Callout Cards */
    .callout-card {
      background-color: #fff9e6;
      border-radius: 20px;
      border: 1px solid #ffe899;
      box-shadow: 0 8px 24px rgba(255, 193, 7, 0.12);
      transition: all 0.3s ease;
    }
    .callout-card:hover {
      box-shadow: 0 12px 30px rgba(255, 193, 7, 0.2);
    }

    .callout-icon-box {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background-color: #ffca28;
      color: var(--navy-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      flex-shrink: 0;
    }

    /* Red Footer Bar from Flyer */
    .flyer-bottom-bar {
      background-color: var(--navy-blue);
      color: #ffffff;
    }

    .cart-badge {
      font-size: 0.7rem;
      padding: 0.25em 0.5em;
    }
   /* Gallery Hero Banner */
    .gallery-hero-section {
      background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
      position: relative;
      overflow: hidden;
    }

    .gallery-hero-card {
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
      border: 1px solid #e9ecef;
      overflow: hidden;
    }

    /* Category Filter Navigation Bar */
    .filter-tab-bar {
      background: #ffffff;
      border-radius: 16px;
      padding: 10px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
      border: 1px solid #e9ecef;
    }

    .gallery-filter-btn {
      color: var(--navy-blue);
      font-weight: 600;
      border: 1px solid transparent;
      border-radius: 12px;
      padding: 8px 18px;
      font-size: 0.88rem;
      transition: all 0.3s ease;
      background: transparent;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .gallery-filter-btn:hover,
    .gallery-filter-btn.active {
      background-color: var(--navy-blue);
      color: #ffffff;
      border-color: var(--navy-blue);
      box-shadow: 0 4px 12px rgba(15, 42, 74, 0.2);
    }

    .gallery-filter-btn.active {
      background-color: var(--navy-blue) !important;
    }

    /* Gallery Image Cards */
    .gallery-card {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      background: #ffffff;
      border: 1px solid #e9ecef;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
      transition: all 0.3s ease;
      display: block;
      height: 200px;
    }

    .gallery-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .gallery-card:hover img {
      transform: scale(1.08);
    }

    .gallery-card-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 42, 74, 0.65);
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-size: 2rem;
    }

    .gallery-card:hover .gallery-card-overlay {
      opacity: 1;
    }

    /* CTA Journey Banner */
    .journey-banner {
      background-color: var(--navy-blue);
      border-radius: 20px;
      color: #ffffff;
      box-shadow: 0 15px 35px rgba(15, 42, 74, 0.2);
      position: relative;
      overflow: hidden;
    }

    /* Flyer Bottom Navy Bar */
    .flyer-bottom-bar {
      background-color: var(--navy-blue);
      color: #ffffff;
    }

    .cart-badge {
      font-size: 0.7rem;
      padding: 0.25em 0.5em;
    }
      /* Hero Banner for Contact Us */
    .contact-hero-section {
      background: linear-gradient(135deg, #f8f9fa 0%, #edf2f7 100%);
      position: relative;
      overflow: hidden;
    }

    /* Cards Styling */
    .contact-info-card, .contact-form-card {
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      border: 1px solid #e9ecef;
      height: 100%;
    }

    .info-icon-box {
      width: 46px;
      height: 46px;
      border-radius: 12px;
      background: rgba(15, 42, 74, 0.08);
      color: var(--navy-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1.2rem;
    }

    .form-control, .form-select {
      background-color: #f8f9fa;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 0.95rem;
      transition: all 0.2s ease;
    }
    .form-control:focus, .form-select:focus {
      background-color: #ffffff;
      border-color: var(--primary-red);
      box-shadow: 0 0 0 0.25rem rgba(217, 4, 41, 0.15);
    }

    /* Map Overlay Styling */
    .map-container {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      border: 1px solid #e9ecef;
    }
    
    .map-card-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #ffffff;
      padding: 20px 28px;
      border-radius: 16px;
      box-shadow: 0 12px 30px rgba(0,0,0,0.15);
      text-align: center;
      max-width: 380px;
      width: 90%;
      z-index: 2;
      border-top: 4px solid var(--primary-red);
    }

    /* Red Contact Footer Bar from Flyer */
    .flyer-bottom-bar {
      background-color: var(--primary-red);
      color: #ffffff;
    }

    .cart-badge {
      font-size: 0.7rem;
      padding: 0.25em 0.5em;
    }
    .gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
}
/* about */
.about-dropdown {
    min-width: 205px;
    padding: 8px 0;
    margin-top: 0;
    background: #ffffff;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}


/* Main dropdown items */
.about-dropdown > li > .dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 16px;

    color: #d90429;
    font-size: 14px;
    font-weight: 700;

    background: transparent;
    white-space: nowrap;
}


/* Hover */
.about-dropdown .dropdown-item:hover {
    color: #d90429;
    background: #fff5f7;
}


/* Small red/pink circle */
.menu-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;

    border: 2px solid #d90429;
    border-radius: 50%;

    display: inline-block;
}

/* director */

.dropdown-submenu {
    position: relative;
}


/* Director submenu */
.director-dropdown {
    position: absolute;

    top: 0;
    left: 100%;

    min-width: 235px;

    margin: 0;
    padding: 8px 0;

    background: #ffffff;

    border-radius: 6px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;

    display: none;
}


/* Show submenu on hover */
.dropdown-submenu:hover > .director-dropdown {
    display: block;
}


/* Submenu items */
.director-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 16px;

    color: #d90429;
    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    background: transparent;
}


/* Submenu hover */
.director-dropdown .dropdown-item:hover {
    color: #d90429;
    background: #fff5f7;
}


/* director */

.director-toggle {
    position: relative;
    padding-right: 30px !important;
}


/* Right arrow */
.submenu-arrow {
    position: absolute;

    right: 15px;

    font-size: 19px;
    font-weight: 700;

    line-height: 1;

    color: #d90429;
}
.branch-dropdown {
    min-width: 190px;
    padding: 8px 0;
    margin-top: 0;
    background: #fff;
    border: 0;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.branch-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #d90429;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.branch-dropdown .dropdown-item:hover {
    color: #d90429;
    background: #fff5f7;
}

.menu-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border: 2px solid #d90429;
    border-radius: 50%;
    display: inline-block;
}
/* =========================
   ACADEMICS DROPDOWN
========================= */

.academics-dropdown {
    min-width: 210px;
    padding: 8px 0;
    margin-top: 0;
    background: #fff;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.academics-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 16px;

    color: #d90429;
    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}

.academics-dropdown .dropdown-item:hover {
    color: #d90429;
    background: #fff5f7;
}
.font-heading {
  font-family: 'Outfit', sans-serif, system-ui;
}

.tracking-wide {
  letter-spacing: 1px;
}

.card {
  transition: transform 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-5px);
}
.about-nav-wrapper {
    display: flex;
    align-items: center;
}

.about-main-link {
    padding-right: 4px !important;
}

.about-arrow {
    border: 0;
    background: transparent;
    color: #0f2a4a;
    padding: 0 8px;
    font-size: 10px;
    cursor: pointer;
}

.about-arrow:hover {
    color: #d90429;
}

.academics-main-link {
    padding-right: 4px !important;
}

.academics-arrow:hover {
    color: #d90429;
}
/* Curriculum Page Custom Styles */
.about-hero-section {
  background-color: #f8f9fa;
}

.about-hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.font-heading {
  font-family: inherit; /* default heading font */
}

.text-navy {
  color: #0b1f3f !important; /*primary navy color */
}

.text-red {
  color: #e31b23 !important; /*primary red color */
}

.bg-navy {
  background-color: #0b1f3f !important;
}

.bg-red {
  background-color: #e31b23 !important;
}

.bg-yellow {
  background-color: #ffc107 !important;
}

/* Activity Card Styling */
.activity-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #dee2e6;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.activity-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.activity-img {
  width: 100%;
  object-fit: cover;
}

.activity-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: bold;
}
/* Student Resources & Admission Page Custom Styles */
.about-hero-section {
  background-color: #f8f9fa;
}

.about-hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.font-heading {
  font-family: inherit;
}

.text-navy {
  color: #0b1f3f !important;
}

.text-red {
  color: #e31b23 !important;
}

.bg-navy {
  background-color: #0b1f3f !important;
}

.bg-red {
  background-color: #e31b23 !important;
}

.bg-yellow {
  background-color: #ffc107 !important;
}

/* Custom Image Size Class */
.admission-img {
  height: 280px;
  object-fit: cover;
}
/* Student Life Page Custom Styles */
.about-hero-section {
  background-color: #f8f9fa;
}

.about-hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.font-heading {
  font-family: inherit;
}

.text-navy {
  color: #0b1f3f !important;
}

.text-red {
  color: #e31b23 !important;
}

.bg-navy {
  background-color: #0b1f3f !important;
}

.bg-red {
  background-color: #e31b23 !important;
}

.bg-yellow {
  background-color: #ffc107 !important;
}

/* Custom Image Height Classes */
.student-life-sm-img {
  height: 180px;
  object-fit: cover;
}

.student-life-md-img {
  height: 200px;
  object-fit: cover;
}

.student-life-lg-img {
  height: 320px;
  object-fit: cover;
}
/* Kadwe Nagar Branch Page Custom Styles */
.about-hero-section {
  background-color: #f8f9fa;
}

.about-hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.font-heading {
  font-family: inherit;
}

.text-navy {
  color: #0b1f3f !important;
}

.text-red {
  color: #e31b23 !important;
}

.bg-navy {
  background-color: #0b1f3f !important;
}

.bg-red {
  background-color: #e31b23 !important;
}

.bg-yellow {
  background-color: #ffc107 !important;
}

/* Custom Image Classes */
.branch-head-img {
  height: 280px;
  object-fit: cover;
}

.branch-msg-img {
  max-height: 300px;
  object-fit: cover;
}
/* Metro Zone Branch Page Custom Styles */
.about-hero-section {
  background-color: #f8f9fa;
}

.about-hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.font-heading {
  font-family: inherit;
}

.text-navy {
  color: #0b1f3f !important;
}

.text-red {
  color: #e31b23 !important;
}

.bg-navy {
  background-color: #0b1f3f !important;
}

.bg-red {
  background-color: #e31b23 !important;
}

.bg-yellow {
  background-color: #ffc107 !important;
}

/* Custom Image Classes */
.metro-head-img {
  height: 280px;
  object-fit: cover;
}

.metro-msg-img {
  max-height: 300px;
  object-fit: cover;
}
/* Chehdi Branch Page Custom Styles */
.about-hero-section {
  background-color: #f8f9fa;
}

.about-hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.font-heading {
  font-family: inherit;
}

.text-navy {
  color: #0b1f3f !important;
}

.text-red {
  color: #e31b23 !important;
}

.bg-navy {
  background-color: #0b1f3f !important;
}

.bg-red {
  background-color: #e31b23 !important;
}

.bg-yellow {
  background-color: #ffc107 !important;
}

/* Custom Image Classes */
.chehdi-head-img {
  height: 280px;
  object-fit: cover;
}

.chehdi-msg-img {
  max-height: 300px;
  object-fit: cover;
}
/* Kadwe Nagar Branch Page Specific Styles */
.branch-hero-section {
  background-color: #f8f9fa;
}

.branch-hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.font-heading {
  font-family: inherit;
}

.text-navy {
  color: #0b1f3f !important;
}

.text-red {
  color: #e31b23 !important;
}

.bg-navy {
  background-color: #0b1f3f !important;
}

.bg-red {
  background-color: #e31b23 !important;
}

.bg-yellow {
  background-color: #ffc107 !important;
}

/* Custom Image Height Classes */
.branch-main-img {
  height: 320px;
  object-fit: cover;
}

.teacher-img {
  height: 220px;
  object-fit: cover;
}
 /* Top Information Bar */
    .top-bar {
      background-color: var(--navy-blue);
      font-size: 0.85rem;
    }

    /* Event Meta Icons Sidebar */
    .meta-icon-box {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background-color: var(--navy-blue);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1.1rem;
    }

    /* Add to Calendar Yellow Box */
    .calendar-card {
      background-color: #fdf8e7;
      border-radius: 16px;
      border: 1px solid #fce8ad;
      padding: 20px;
    }

    .calendar-btn {
      background: #ffffff;
      border: 1px solid #f2e2b6;
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--navy-blue);
      width: 100%;
      text-align: left;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all 0.2s ease;
      text-decoration: none;
    }
    .calendar-btn:hover {
      background-color: #ffffff;
      border-color: var(--primary-red);
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
      transform: translateY(-2px);
      color: var(--primary-red);
    }

    /* Quote Box */
    .event-quote-box {
      background-color: #f8f9fa;
      border-radius: 16px;
      border: 1px solid #e9ecef;
      padding: 24px;
      position: relative;
    }
    .event-quote-icon {
      font-size: 3rem;
      color: var(--primary-red);
      line-height: 1;
      font-family: Georgia, serif;
      font-weight: bold;
    }

    /* Highlights Circle Badges */
    .highlight-badge {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background-color: #fde8eb;
      color: var(--primary-red);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 10px;
      font-size: 1.6rem;
      transition: all 0.3s ease;
    }
    .highlight-item:hover .highlight-badge {
      background-color: var(--primary-red);
      color: #ffffff;
      transform: scale(1.08);
      box-shadow: 0 8px 18px rgba(217, 4, 41, 0.25);
    }

    /* Gallery Thumbnails */
    .event-thumb-card {
      border-radius: 12px;
      overflow: hidden;
      display: block;
      height: 110px;
      position: relative;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      border: 1px solid #e9ecef;
    }
    .event-thumb-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .event-thumb-card:hover img {
      transform: scale(1.1);
    }
    .event-thumb-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 42, 74, 0.6);
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-size: 1.4rem;
    }
    .event-thumb-card:hover .event-thumb-overlay {
      opacity: 1;
    }

    /* Bottom Blue Notification Card */
    .notify-card {
      background-color: #eef4fb;
      border-radius: 16px;
      border: 1px solid #d5e4f5;
      padding: 20px 24px;
    }

    .notify-icon-badge {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background-color: var(--navy-blue);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      flex-shrink: 0;
    }

    /* Footer Bar from Flyer */
    .flyer-bottom-bar {
      background-color: var(--navy-blue);
      color: #ffffff;
    }

    .cart-badge {
      font-size: 0.7rem;
      padding: 0.25em 0.5em;
    }
/* Preloader Styles*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; /* Clean white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* preloader */
.preloader-content {
    text-align: center;
} 

.strawberry-loader-large img {
    width: 120px; 
    height: auto;
    margin-bottom: 30px; 
    animation: subtle-pulse 1.5s infinite alternate; 
}

/* Spinner */
.spinner-minimal {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e31b23; 
    border-radius: 50%;
    margin: 0 auto 25px auto;
    animation: spin 1s linear infinite;
}

/* School Name Style */
.preloader-content h3 {
    font-size: 18px;
    color: #1a2b4c; 
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes subtle-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.05); opacity: 0.9; }
}

/* Loaded class to hide preloader */
body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

/* Floating WhatsApp Button Styling */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366; 
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover Animation */
.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1); /
}


@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
/*nav highlight*/

.navbar-nav .nav-link,
.navbar-nav .about-main-link,
.navbar-nav .academics-main-link,
.navbar-nav .branch-main-link {
    color: var(--navy-blue, #1a252f) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .about-main-link:hover,
.navbar-nav .academics-main-link:hover,
.navbar-nav .branch-main-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .about-main-link.active,
.navbar-nav .academics-main-link.active,
.navbar-nav .branch-main-link.active {
    color: var(--primary-red, #e74c3c) !important;
}

.gallery-category-block.d-none {
  display: none !important;
}
  .mfp-counter {
    display: none !important;
  }

.error-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 55%, #fff5f6 100%);
    padding: 70px 20px;
    overflow: hidden;
}

.error-wrapper {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

/* 404 Number */
.error-number {
    font-size: 110px;
    line-height: 0.9;
    font-weight: 900;
    color: #e5092f;
    letter-spacing: -5px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 #ffc107;
}

/* School Icon */
.error-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 25px;
    background: #0f2a4a;
    color: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 12px 30px rgba(15, 42, 74, 0.18);
}

/* Heading */
.error-wrapper h1 {
    font-size: 42px;
    font-weight: 800;
    color: #0f2a4a;
    margin-bottom: 15px;
}

.error-wrapper h1 span {
    color: #e5092f;
}

/* Description */
.error-wrapper p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #667085;
    font-size: 18px;
    line-height: 1.7;
}

/* Buttons */
.error-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 27px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-btn-primary {
    background: #e5092f;
    color: #fff;
    border: 2px solid #e5092f;
}

.error-btn-primary:hover {
    background: #b80322;
    border-color: #b80322;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 9, 47, 0.25);
}

.error-btn-secondary {
    background: #fff;
    color: #0f2a4a;
    border: 2px solid #0f2a4a;
}

.error-btn-secondary:hover {
    background: #0f2a4a;
    color: #fff;
    transform: translateY(-3px);
}

/* Small message */
.error-note {
    margin-top: 35px;
    font-size: 14px !important;
    color: #98a2b3 !important;
}

/* Decorative circles */
.error-page::before,
.error-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.error-page::before {
    width: 180px;
    height: 180px;
    background: rgba(255, 193, 7, 0.12);
    left: -70px;
    top: 25%;
}

.error-page::after {
    width: 220px;
    height: 220px;
    background: rgba(229, 9, 47, 0.06);
    right: -80px;
    bottom: 10%;
}

.error-wrapper {
    position: relative;
    z-index: 1;
}

/* Mobile */
@media (max-width: 767px) {

    .error-number {
        font-size: 80px;
        letter-spacing: -3px;
    }

    .error-wrapper h1 {
        font-size: 28px;
    }

    .error-wrapper p {
        font-size: 15px;
    }
}
.text-justify {
    text-align: justify;
}

  .privacy-section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .privacy-section h3.privacy-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy-blue, #0f2a4a);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
  }

  .privacy-section h3.privacy-title i {
    color: var(--primary-red, #d90429);
  }

  .privacy-section h4 {
    color: var(--navy-blue, #0f2a4a);
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 22px;
    margin-bottom: 8px;
  }

  .privacy-section h5 {
    color: var(--navy-blue, #0f2a4a);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 18px;
    margin-bottom: 5px;
  }

  .privacy-section p,
  .privacy-section li {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .privacy-section ul {
    padding-left: 25px;
  }

  .privacy-section li {
    margin-bottom: 6px;
  }

  .privacy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
  }

  .privacy-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red, #d90429);
  }

  .privacy-item i {
    color: var(--primary-red, #d90429);
    margin-top: 4px;
  }

  .privacy-item span {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .privacy-contact-box {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 18px;
    background: #f8f9fa;
    border: 1px solid #eee;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  }

  .banner-main-img {
    min-height: 360px;
    object-fit: cover;
  }

  @media (max-width: 991px) {

    .banner-main-img {
      min-height: 300px;
    }

    .privacy-section h3.privacy-title {
      font-size: 1.35rem;
    }

  }

  @media (max-width: 576px) {

    .banner-main-img {
      min-height: 230px;
    }

    .privacy-section p,
    .privacy-section li,
    .privacy-item span {
      font-size: 0.88rem;
    }

    .privacy-contact-box {
      padding: 22px;
    }

  }
/* terms and contions */ 
.terms-section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.terms-section h3.terms-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-blue, #0f2a4a);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f1f1;
}

.terms-section h3.terms-title i {
  color: var(--primary-red, #d90429);
}

.terms-section h4 {
  color: var(--navy-blue, #0f2a4a);
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 22px;
  margin-bottom: 8px;
}

.terms-section p,
.terms-section li {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.8;
}

.terms-section ul {
  padding-left: 25px;
}

.terms-section li {
  margin-bottom: 6px;
}

.terms-contact-box {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 18px;
  background: #f8f9fa;
  border: 1px solid #eee;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.banner-main-img {
  min-height: 360px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .banner-main-img {
    min-height: 300px;
  }
  .terms-section h3.terms-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 576px) {
  .banner-main-img {
    min-height: 230px;
  }
  .terms-section p,
  .terms-section li {
    font-size: 0.88rem;
  }
  .terms-contact-box {
    padding: 22px;
  }
}
/* Five Pillars */
.pillar-card {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {

    .pillars-row {
        display: flex;
        flex-direction: column;
    }

    .pillars-row > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

}
.statistics-card {
    height: 100%;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 575.98px) {

    .statistics-card {
        min-height: 110px;
        padding: 12px !important;
    }

    .statistics-card h3 {
        font-size: 23px;
        margin-bottom: 3px !important;
    }

    .statistics-card span {
        font-size: 14px;
        line-height: 1.35;
        display: block;
    }
}
/* Footer Logo */
.school-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

footer ul li a {
    transition: all 0.2s ease;
}

footer ul li a:hover {
    color: #ffc107 !important;
    padding-left: 3px;
}

@media (max-width: 767.98px) {

    footer {
        overflow: hidden;
    }

    footer .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    footer .row {
        margin-left: 0;
        margin-right: 0;
    }
    footer .col-lg-4:first-child {
        width: 100%;
        text-align: left;
    }

    .school-logo {
        width: 150px;
        max-width: 100%;
    }

    footer p {
        line-height: 1.6;
    }

    footer .col-6.col-md-3.col-lg-2 {
        width: 50%;
        padding-left: 0;
        padding-right: 10px;
    }

    footer .col-md-6.col-lg-4 {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    footer h6 {
        font-size: 16px;
        margin-bottom: 15px !important;
    }

    footer ul {
        margin-bottom: 0;
    }

    footer ul li {
        font-size: 14px;
    }

    footer .col-md-6.col-lg-4 p {
        font-size: 13px;
        line-height: 1.5;
    }

    footer .bg-navy-light {
        margin-top: 15px;
    }

    footer .pt-3.text-center {
        font-size: 12px;
    }
}

@media (max-width: 767.98px) {

    #contact-bar {
        padding: 18px 10px !important;
    }

    #contact-bar .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    #contact-bar .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        margin: 0 !important;
    }

    #contact-bar .row > div {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;
    }

    #contact-bar .row > div:nth-child(1) {
        gap: 10px !important;
    }

    #contact-bar .row > div:nth-child(1) span {
        max-width: 260px;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    #contact-bar .row > div:nth-child(2) {
        gap: 10px !important;
    }

    #contact-bar .row > div:nth-child(2) a {
        font-size: 13px !important;
    }
    #contact-bar .row > div:nth-child(3) {
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    #contact-bar .row > div:nth-child(3) span {
        font-size: 13px !important;
        margin-right: 4px !important;
    }

    /* Circle icons */
    #contact-bar .row > div .bg-white {
        flex-shrink: 0 !important;
    }

}


@media (max-width: 767.98px) {

  
    .about-hero-card .col-lg-6:last-child > div {
        width: 100%;
        border-radius: 16px !important;
    }

    .about-hero-card .col-lg-6:last-child img {
        width: 100% !important;
        height: 210px !important;
        min-height: 210px !important;
        object-fit: cover !important;
    }
    .about-hero-card .col-lg-6:last-child
    .position-absolute.bottom-0 {
        position: static !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        padding: 14px !important;
        background-color: #0f2a4a !important;
    }

    .about-hero-card .col-lg-6:last-child
    .position-absolute h6 {
        font-size: 16px !important;
        line-height: 1.2 !important;
        margin-bottom: 3px !important;
    }

    .about-hero-card .col-lg-6:last-child
    .position-absolute .extra-small {
        display: block !important;

        font-size: 14px !important;
        line-height: 1.55 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .about-hero-card .col-lg-6:last-child
    .position-absolute .badge {
        align-self: flex-start !important;

        white-space: nowrap !important;

        font-size: 11px !important;
        padding: 5px 9px !important;

        margin-top: 3px !important;
    }

}
@media (max-width: 767.98px) {

    #glimpses .col-md-5,
    #glimpses .col-md-7 {
        width: 100%;
    }

    #glimpses .col-md-7 .col-6 {
        width: 100%;
    }

    #glimpses .gallery-tile img {
        width: 100%;
        height: 220px;
        min-height: 220px !important;
        object-fit: cover;
        display: block;
    }

}
@media (max-width: 768px) {
    .popup-gallery .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .popup-gallery .row > div {
        flex: 0 0 50% !important; 
        max-width: 50% !important;
        padding: 5px !important;
    }

    .event-thumb-card img {
        height: 110px !important;
        object-fit: cover !important;
        border-radius: 8px;
    }
}
.branch-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.branch-msg-img {
    display: block;
    width: 100%;
    height: auto;
}

.branch-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: rgba(15, 42, 74, 0.92);
    color: #ffc107;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 576px) {
    .branch-msg-img {
        height: 200px !important;
        object-fit: cover !important;
        object-position: 55% center;
    }

    .branch-image-caption {
        padding: 6px 8px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}.metro-msg-img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .metro-msg-img {
        width: 100%;
        height: 200px !important;
        object-fit: cover !important;
        object-position: center center;
    }

    .metro-msg-img + div {
        padding: 6px 8px !important;
    }

    .metro-msg-img + div span {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}
.chehdi-msg-img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .chehdi-msg-img {
        width: 100%;
        height: 200px !important;
        object-fit: cover !important;
        object-position: center center;
    }

    .chehdi-msg-img + div {
        padding: 6px 8px !important;
    }

    .chehdi-msg-img + div span {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}
  .beyond-banner .row-cols-2 > .col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  .beyond-banner {
    padding: 1.5rem !important;
  }
}

@media (max-width: 767.98px) {

    .col-md-7 > .row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    .col-md-7 > .row > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .col-md-7 .gallery-tile {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .col-md-7 .gallery-tile img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

}
.gallery-main-img {
    width: 100%;
    height: 380px;
    display: block;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .gallery-main-img {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        object-fit: contain;
    }

    .gallery-tile {
        display: block;
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .about-nav-wrapper, 
    .academics-nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .about-main-link, 
    .academics-main-link {
        flex-grow: 1;
    }

    .navbar-collapse .dropdown-menu.show {
        display: block !important;
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 5px;
        box-shadow: none !important;
        background-color: transparent !important;
    }

    .dropdown-submenu .director-dropdown.show {
        display: block !important;
        position: static !important;
        left: 0 !important;
        width: 100%;
        box-shadow: none !important;
    }
}

.dropdown-menu {
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 8px !important;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.dropdown-menu .dropdown-item {
    font-family: 'Poppins', sans-serif; 
    font-size: 0.85rem;
    font-weight: 500;
    color: #333333;
    padding: 8px 20px;
    transition: all 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #fff5f5;
    color: #dc3545; 
    padding-left: 24px;
}

.menu-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #dc3545;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}
@media (max-width: 991.98px) {
    .about-nav-wrapper, 
    .academics-nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .about-main-link, 
    .academics-main-link {
        flex-grow: 1;
    }

    .about-arrow, 
    .academics-arrow {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

.about-nav-wrapper, 
.academics-nav-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.about-main-link, 
.academics-main-link {
    flex-grow: 1;
    padding-right: 2px !important;
}
.about-arrow, 
.academics-arrow {
    border: 0;
    background: transparent;
    color: #0f2a4a;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-arrow:hover, 
.academics-arrow:hover {
    color: #d90429;
}

.dropdown-menu.academics-dropdown,
.dropdown-menu {
    border-radius: 0 0 6px 6px;
    padding: 8px 0;
    margin-top: 5px !important;
    background: #fff;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}
@media (max-width: 991.98px) {
    .about-nav-wrapper, 
    .academics-nav-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    .navbar-collapse .dropdown-menu {
        display: none;
        position: static !important;
        float: none;
        width: 100%;
        box-shadow: none !important;
        background-color: #f8f9fa !important;
        padding-left: 15px;
    }

    .navbar-collapse .dropdown-menu.show {
        display: block !important;
    }
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

{
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-slide {
        background-size: contain !important;      
        background-position: top center !important; 
        background-repeat: no-repeat !important;
        min-height: 400px;                       
}

@media (max-width: 768px) {
  .hero-slide {
    height: auto !important;
    min-height: unset !important;
    background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
  }
  .hero-content {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .hero-section h1 {
    font-size: 1.3rem !important;
    line-height: 1.2;
  }
  .hero-section h2 {
    font-size: 1.0rem !important;
    margin-bottom: 0.5rem !important;
  }
  .hero-section p.lead {
    font-size: 0.8rem !important;
    line-height: 1.3;
    margin-bottom: 1rem !important;
  }
  .hero-section .badge {
    font-size: 0.55rem !important;
    padding: 0.25rem 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .hero-section .btn {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 991.98px) {

    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        padding: 5px 0 5px 15px;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        padding: 10px 15px;
        white-space: normal;
    }

    .navbar-nav .nav-item.dropdown {
        display: block !important;
        width: 100%;
    }

    .navbar-nav .nav-item.dropdown > .nav-link {
        display: inline-flex;
        align-items: center;
    }

    .navbar-nav .dropdown-toggle-split {
        padding-left: 5px !important;
        padding-right: 15px !important;
    }

    .navbar-nav .dropdown-submenu {
        position: relative;
    }

    .navbar-nav .dropdown-submenu > .director-dropdown {
        display: none;
        position: static !important;
        width: 100%;
        padding-left: 20px;
        margin: 0;
        background: transparent;
    }

    .navbar-nav .dropdown-submenu.show > .director-dropdown {
        display: block;
    }
    .navbar-nav .submenu-arrow {
        float: right;
        margin-left: auto;
        font-size: 20px;
    }
    .navbar-collapse {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    .navbar-collapse > .btn {
        width: 100%;
        margin-top: 15px !important;
    }
}