  /* ===== CORE THEME & GRADIENTS ===== */
    :root {
      --primary: #ff1900;
      --secondary: #e67e22;
      --surface: #ffffff;
      --bg-light: #fafaf9;
      --text-main: #1c1917;
      --text-muted: #57534e;
      --radius: 15px;
    }

    body {
      font-family: 'Outfit', sans-serif;
      background-color: var(--surface);
      color: var(--text-main);
      overflow-x: hidden !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-family: 'Outfit', serif;
    }

    .grad-text {
      background: linear-gradient(90deg, rgb(238, 16, 5), #ff4d00, rgb(225 45 35));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .grad-bg {
      background: linear-gradient(90deg, rgb(238, 16, 5), #ff4d00, rgb(225 45 35));
      color: white;
    }

    .floating-btn {
      margin-bottom: -105px;
      margin-left: -32px;
    }

    @media (max-width : 567px) {
      .floating-btn {
        margin-bottom: -45px;
        margin-left: -12px;
      }
    }

    /* ===== MODERN UI ELEMENTS ===== */
    .section-label {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

    .glass-box {
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(0, 0, 0, 0.05);
      border-radius: var(--radius);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    }

    .glass-box p {
      font-size: 14px !important;
    }

    .pill-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: linear-gradient(135deg, rgba(192, 57, 43, 0.1), rgba(230, 126, 34, 0.1));
      padding: 0.4rem 1.2rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--primary);
    }

    /* ===== REVEAL ANIMATIONS ===== */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }

    /* ===== ABOUT SECTION (OVERLAPPING) ===== */
    .about-overlap {
      margin-top: -60px !important;
      position: relative;
      z-index: 10;
    }

    .about-img-main {
      width: 100%;
      height: 350px;
      object-fit: cover;
      border-radius: var(--radius);
    }

    /* ===== PROGRAMS (STICKY SCROLL) ===== */
    @media (min-width: 992px) {
      .sticky-col {
        position: sticky;
        top: 100px;
      }
    }

    .program-card {
      border-radius: var(--radius);
      border: none;
      background: var(--bg-light);
      transition: transform 0.4s;
      overflow: hidden;
    }

    .program-card:hover {
      transform: translateY(-10px);
    }

    .program-img {
      height: 250px;
      object-fit: cover;
      width: 100%;
      border-radius: var(--radius) var(--radius) 0 0;
    }

    /* ===== GALLERY (MASONRY) ===== */
    .masonry-grid {
      column-count: 1;
      column-gap: 1.5rem;
    }

    @media (min-width: 576px) {
      .masonry-grid {
        column-count: 2;
      }
    }

    @media (min-width: 992px) {
      .masonry-grid {
        column-count: 3;
      }
    }

    .masonry-item {
      break-inside: avoid;
      margin-bottom: 1.5rem;
      border-radius: 1rem;
      overflow: hidden;
    }

    .masonry-item img {
      width: 100%;
      display: block;
      transition: transform 0.5s;
    }

    .masonry-item:hover img {
      transform: scale(1.05);
    }

    /* ===== BENEFITS (HOVER GRID) ===== */
    .benefit-grid-item {
      background: var(--surface);
      border: 1px solid rgba(0, 0, 0, 0.05);
      border-radius: var(--radius);
      padding: 2rem;
      text-align: center;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .benefit-grid-item:hover {
      background: var(--primary);
      color: white;
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(192, 57, 43, 0.2);
    }

    .benefit-grid-item .icon-wrap {
      width: 64px;
      height: 64px;
      margin: 0 auto 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(192, 57, 43, 0.1), rgba(230, 126, 34, 0.1));
      color: var(--primary);
      font-size: 1.5rem;
      transition: all 0.4s;
    }

    .benefit-grid-item:hover .icon-wrap {
      background: rgba(255, 255, 255, 0.2);
      color: white;
    }

    .benefit-grid-item:hover .text-muted {
      color: rgba(255, 255, 255, 0.9) !important;
    }

    /* ===== FACULTY (HORIZONTAL SCROLL) ===== */
    .horizontal-scroll {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      padding-bottom: 2rem;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .horizontal-scroll::-webkit-scrollbar {
      display: none;
    }

    .faculty-card-horiz {
      min-width: 280px;
      scroll-snap-align: start;
      background: var(--surface);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .faculty-card-horiz img {
      height: 300px;
      width: 100%;
      object-fit: cover;
    }

    /* ===== COUNTER PARALLAX ===== */
    .stats-bar {
      background: rgba(17, 24, 39, 0.9);
      backdrop-filter: blur(10px);
      border-radius: var(--radius);
      color: white;
      transform: translateY(-50%);
      position: relative;
      z-index: 20;
    }

    .counter-num {
      font-size: 3.5rem;
      font-weight: 800;
      font-family: 'Outfit', serif;
      line-height: 1;
    }

    /* ===== HIGHLIGHTS (BENTO BOX) ===== */
    .bento-box {
      background: var(--bg-light);
      border-radius: var(--radius);
      padding: 3rem;
      height: 100%;
    }

    .check-list li {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .check-list i {
      color: var(--primary);
      font-size: 1.25rem;
      margin-top: 2px;
    }

    @media (max-width : 567px) {
      #about {
        text-align: start !important;
      }

      .premium-box {
        text-align: start;
      }

      #gallery {
        text-align: start !important;
      }
    }
     /* --- BENTO GRID CSS (8-Item Layout matched to image) --- */
      .bento-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
        gap: 1rem;
        width: 100%;
      }

      .bento-item {
        border-radius: 16px;
        overflow: hidden;
        position: relative;
      }

      .bento-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
      }

      .bento-item:hover img {
        transform: scale(1.05);
      }

      .bento-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
      }

      .bento-item:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
      }

      .bento-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
      }

      .bento-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
      }

      .bento-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
      }

      .bento-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
      }

      .bento-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
      }

      .bento-item:nth-child(8) {
        grid-column: span 2;
        grid-row: span 1;
      }

      @media (max-width: 991px) {
        .bento-grid {
          grid-template-columns: repeat(2, 1fr);
        }

        .bento-item:nth-child(1) {
          grid-column: span 2;
          grid-row: span 2;
        }

        .bento-item:nth-child(2) {
          grid-column: span 1;
          grid-row: span 1;
        }

        .bento-item:nth-child(3) {
          grid-column: span 1;
          grid-row: span 1;
        }

        .bento-item:nth-child(4) {
          grid-column: span 1;
          grid-row: span 1;
        }

        .bento-item:nth-child(5) {
          grid-column: span 1;
          grid-row: span 1;
        }

        .bento-item:nth-child(6) {
          grid-column: span 1;
          grid-row: span 1;
        }

        .bento-item:nth-child(7) {
          grid-column: span 1;
          grid-row: span 1;
        }

        .bento-item:nth-child(8) {
          grid-column: span 2;
          grid-row: span 1;
        }
      }

      @media (max-width: 575px) {
        .bento-grid {
          grid-template-columns: 1fr;
          grid-auto-rows: 250px;
        }

        .bento-item:nth-child(n) {
          grid-column: span 1;
          grid-row: span 1;
        }
      }
       /* --- PREMIUM HIGHLIGHTS CSS --- */
      .premium-box {
        background: #ffffff;
        border-radius: 24px;
        padding: 3rem 2.5rem;
        height: 100%;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(0, 0, 0, 0.03);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        position: relative;
        overflow: hidden;
      }

      .premium-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
      }

      .premium-box.dark-box {
        background: linear-gradient(145deg, #1f2937, #111827);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.05);
      }

      .premium-box.dark-box:hover {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
      }

      .premium-box::after {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 150px;
        height: 150px;
        background: linear-gradient(45deg, var(--secondary), var(--primary));
        border-radius: 50%;
        opacity: 0.05;
        z-index: 0;
      }

      .premium-box.dark-box::after {
        opacity: 0.1;
      }

      .feature-list {
        list-style: none;
        padding-left: 0;
        margin-top: 2rem;
        position: relative;
        z-index: 1;
      }

      .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 1.2rem;
        margin-bottom: 1.5rem;
        font-size: 1.05rem;
      }

      .feature-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 1.25rem;
        background: rgba(13, 110, 253, 0.08);
        color: var(--primary);
        transition: all 0.3s ease;
      }

      .dark-box .feature-icon {
        background: rgba(255, 255, 255, 0.05);
        color: var(--secondary);
      }

      .premium-box:hover .feature-icon {
        background: linear-gradient(45deg, var(--secondary), var(--primary));
        color: #ffffff;
        transform: scale(1.1) rotate(5deg);
      }

      .dark-box:hover .feature-icon {
        background: linear-gradient(45deg, var(--primary), var(--secondary));
      }

      .feature-text {
        padding-top: 0.5rem;
        line-height: 1.5;
      }
        .faculties-section {
        background-color: transparent;
      }

      .faculties-section .section-title {
        font-family: 'Outfit', sans-serif;
        font-size: 2rem;
        color: var(--black);
      }

      .new-style-card {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        height: 420px;
      }

      .new-style-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
      }

      .new-style-card:hover img {
        transform: scale(1.05);
      }

      .faculty-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;

        background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
        color: #fff;
      }

      .faculty-overlay h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
        font-weight: 600;
      }

      .faculty-overlay p {
        font-size: 0.9rem;
        margin: 0;
        opacity: 0.9;
      }

      .linkedin-btn {
        width: 40px;
        height: 40px;
        background: #fff;
        color: #0a66c2;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        text-decoration: none;
        transition: 0.3s ease;
      }

      .linkedin-btn:hover {
        background: #0a66c2;
        color: #fff;
      }

      .faculty-list-card {
        background: #fff;
        border-radius: 8px;
        padding: 24px 28px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.02);
        height: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .faculty-list-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
      }

      .faculty-name-small {
        font-family: 'Outfit', sans-serif;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--black);
        margin-bottom: 4px;
      }

      .faculty-role-small {
        font-size: 18px !important;
        color: var(--grey);
        margin-bottom: 0;
      }
      /* 1. Layout & Height Sync */
.event-scroller-section {
    background-color: #fff;
    padding: 60px 0;
}

.event-scroller-section .row {
    /* Hard limit for the section height */
    height: 400px; 
    align-items: stretch;
}

/* 2. Left Image Styling (Compact) */
.main-event-wrapper {
    position: relative;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.main-event-wrapper:hover .featured-img {
    transform: scale(1.04);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 25px; /* Tighter padding for shorter height */
}

.overlay-content h2 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 5px;
}

/* 3. Scroller Frame (The "Window") */
.dual-scroller-frame {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: 400px;
    overflow: hidden;
    position: relative;
    /* Edge fading */
    mask-image: linear-gradient(transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(transparent, black 15%, black 85%, transparent);
}

.scroll-col {
    overflow: hidden;
}

.scroll-content {
    display: flex;
    flex-direction: column;
}

/* 4. Thinner Event Boxes */
.event-box {
    background: #f9f9f9;
    border: 1px solid #efefef;
    border-radius: 15px;
    padding: 18px 15px; /* Reduced padding to fit more in 400px */
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.event-box:hover {
    background: #ffffff;
    border-color: #ed2222;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.event-box span {
    font-size: 9px;
    font-weight: 800;
    color: #ed2222;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.event-box h6 {
    font-size: 14px; /* Scaled down for the 400px frame */
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

/* 5. Faster Infinite Animations */
.up {
    animation: scrollInfiniteUp 18s linear infinite; /* Faster for shorter distance */
}

.down {
    animation: scrollInfiniteDown 18s linear infinite;
}

@keyframes scrollInfiniteUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollInfiniteDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Pause on hover */
.dual-scroller-frame:hover .scroll-content {
    animation-play-state: paused;
}

/* 6. Responsive Tweaks */
@media (max-width: 991px) {
    .event-scroller-section .row { height: auto; }
    .main-event-wrapper { height: 300px; margin-bottom: 20px; }
    .dual-scroller-frame { height: 350px; }
}

@media (max-width: 576px) {
    .dual-scroller-frame { gap: 10px; height: 320px; }
    .event-box { padding: 12px; margin-bottom: 12px; }
    .event-box h6 { font-size: 12px; }
}