/* Gotham Thin */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Thin/Gotham Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

/* Gotham Thin Italic */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Thin Italic/Gotham Thin Italic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
}

/* Gotham Extra Light */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Extra Light/Gotham Extra Light.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

/* Gotham Extra Light Italic */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Extra Light Italic/Gotham Extra Light Italic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
}

/* Gotham Light */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Light/Gotham Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

/* Gotham Book */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Book/Gotham Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Gotham Regular */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Regular/Gotham Regular.otf') format('opentype');
  font-weight: 450;
  font-style: normal;
}

/* Gotham Italic */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Italic/Gotham Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

/* Gotham Medium */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Medium/Gotham Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Gotham Bold */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Bold/Gotham Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Gotham Bold Italic */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Bold Italic/Gotham Bold Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

/* Gotham ItalicBold */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham ItalicBold/Gotham ItalicBold.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
}

/* Gotham Black */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Black/Gotham Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* Gotham Ultra */
@font-face {
  font-family: 'Gotham';
  src: url('./font/Gotham Ultra/Gotham Ultra.otf') format('opentype');
  font-weight: 950;
  font-style: normal;
}

:root {
    /* --- FONTS --- */
    /* All font variables now point to Roboto */
    --font-main: 'Gotham', sans-serif;
--font-heading: 'Gotham', sans-serif;
--font-body: 'Gotham', sans-serif;
--font-roboto: 'Gotham', sans-serif;
--font-montserrat: 'Gotham', sans-serif;

    /* --- COLORS (Cleaned & Grouped) --- */
    --primary-blue: #a01c33; /* Note: Value is actually a burgundy/red */
    --accent-gold: #9f1c33; 
    --text-dark: #1a1a1a;
    --navy-dark: #0a0a1a;
    --bg: #FFFFFF;
    --bg2: #F7F7F7;
    
    /* Brand Colors */
    --crimson: #a01c33;
    --deep-crimson: #6B0F20;
    --crimson-dark: #6B1020;
    --gold: #C9A84C;
    --gold-light: #F0C87A;
    --gold-dim: rgba(200,154,48,0.1);
    
    /* Card/UI Accents */
    --card-purple: #7a31f4;
    --card-navy: #100c2e;
    --card-maroon: #5a0a0a;
    
    /* Text States */
    --text: #1A1A1A;
    --text-mid: #4a4a4a;
    --text-muted: #555555;
    --muted: #7A7A7A;
    
    /* Layout Elements */
    --divider-color: #000000;
    --border: rgba(0,0,0,0.08);
    --footer-bg: #050510;
    --footer-text: #b0b0b0;
    --cream: #FFF8E7;
    --cream-mid: #F5E8C0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}
/* Optional: Offset for fixed headers if you have one */
:target {
    scroll-margin-top: 100px;
}
body {
    margin: 0;
    font-family: var(--font-body);
    overflow-x: hidden !important;
}
p{
    font-family: var(--font-body) !important;
}
/* Hero Background Setup */
.hero-section {
    position: relative;
    height: auto;
    min-height: 600px;
    background: linear-gradient(rgb(176 38 62 / 26%), rgb(0 0 0)), url(./images/banner.webp); /* Replace with your actual image path */
    background-size: cover;
    background-position: center bottom;
    display: flex;
    flex-direction: column;
}

/* Navigation Styling */
.navbar-nav .nav-link {
    color: white !important;
    font-size: 0.9rem;
    margin: 0 10px;
    font-weight: 400;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 400 !important;
    letter-spacing: -2.5px !important;
    
}
/* Main wrapper for the row content */
.nav-branding-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Spreads logo and accreditations */
    width: 100%;
    flex-wrap: nowrap; /* Forces one line */
}

/* Container for the small accreditation logos */
.nav-accreditations {
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between icons */
}

/* Individual accreditation icon handling */
.nav-accreditation-item img {
    height: auto;
    width: 500px; /* Default desktop width */
    display: block;
}
.npf_wgts, .npf_wgts iframe {
    height: 400px !important;
}
@media (max-width: 767px) {
    .npf_wgts, .npf_wgts iframe {
        height: 520px !important;
    }
}
/* Specific size for the middle icon (if needed) */
.nav-accreditation-item:nth-child(2) img {
    width: 50px;
}

/* MOBILE RESPONSIVE TWEAKS */
@media (max-width: 767px) {
    .nav-branding-wrapper {
        gap: 10px;
    }

    .nav-accreditations {
        gap: 8px; /* Tighten gap for small screens */
    }

    /* Shrink the accreditation icons on mobile to fit the row */
    .nav-accreditation-item img {
        width: 100%; 
    }
    
    .nav-accreditation-item:nth-child(2) img {
      width: 180px;
    }
}

.brand-text span {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.ls-1 {
    letter-spacing: 2px;
    font-size: 0.6rem;
}

/* Content Layout */
.hero-container {
    flex-grow: 1;
}

.hero-subtitle {
    max-width: 400px;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}
.hero-admission-tag {
        display: inline-block;
        background-color: var(--accent-gold);
        color: white;
        padding: 5px 15px;
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
        font-family: var(--font-montserrat);
        text-transform: uppercase;
    }

    .hero-title {
        font-family: var(--font-heading);
        font-size: 58px;
        line-height: 1.1;
        margin-bottom: 20px;
        color: white;
            font-weight: 500 !important;
    }

    .program-list {
        font-family: var(--font-montserrat);
        font-weight: 600;
        color: #ffffff;
        background-color: var(--accent-gold);
        border-left: 3px solid var(--footer-text);
        /* padding-left: 20px; */
        margin-bottom: 25px;
        font-size: 1.1rem;
        padding: 6px ;
        display: inline-block;
        text-transform: uppercase;
    }

    .hero-description {
        font-size: 1rem;
        opacity: 0.9;
        line-height: 1.6;
        /* max-width: 600px; */
        margin-bottom: 30px;
    }
    .radar-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    margin-right: 6px;
}

.radar-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: currentColor; /* inherits your tag's color */
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
}

.radar-ring {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.6;
    animation: radar 1.5s ease-out infinite;
    z-index: 0;
}

@keyframes radar {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

    .hero-cta-group {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
    .hero-form-card {
        background-color: #ffffff;
        padding: 25px;
        color: var(--text-dark);
        width: 100%;
        max-width: 370px;
        box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.2); /* Hard shadow style */
    }

    /* Strict No Border Radius */
    .hero-form-card, 
    .hero-form-card .form-control, 
    .hero-form-card .btn-submit-hero {
        border-radius: 0 !important;
    }

    .hero-form-card h3 {
        font-family: var(--font-heading);
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 10px;
        color: var(--primary-blue);
    }

    .hero-form-card p {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 25px;
    }

    .hero-form-card .form-control {
        background-color: #f8f9fa;
        border: 1px solid #e0e0e0;
        padding: 12px 15px;
        margin-bottom: 15px;
        font-size: 0.9rem;
    }

    .hero-form-card .form-control:focus {
        border-color: var(--accent-gold);
        box-shadow: none;
    }

    .btn-submit-hero {
        background-color: var(--accent-gold);
        color: white;
        width: 100%;
        border: none;
        padding: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: 0.3s;
        margin-top: 10px;
        font-family: var(--font-montserrat);
    }

    .btn-submit-hero:hover {
        background-color: var(--primary-blue);
        color: white;
         font-family: var(--font-montserrat)
    }

    /* Small note under form */
    .form-footer-note {
        display: block;
        text-align: center;
        margin-top: 15px;
        font-size: 0.75rem;
        color: #999;
    }

    .btn-hero {
        padding: 15px 30px;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        transition: 0.3s;
        border: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
         font-family: var(--font-montserrat)
    }

    .btn-apply-hero {
        background-color: white;
        color: var(--text-dark);
    }

    .btn-apply-hero:hover {
        background-color: var(--accent-gold);
        color: white;
    }

    .btn-brochure-hero {
        background-color: transparent;
        color: white;
        border: 1px solid rgba(255,255,255,0.4) !important;
    }

    .btn-brochure-hero:hover {
        background-color: rgba(255,255,255,0.1);
        border-color: white !important;
    }

    .priority-text {
        display: block;
        margin-top: 20px;
        font-size: 0.85rem;
        font-style: italic;
        opacity: 0.8;
        font-family: var(--font-body);
            margin-bottom: 30px;
    }

.arrow-icon i {
    border: 2px solid white;
    padding: 10px;
    display: inline-block;
    /* border-radius: 2px; */
}

/* Floating Info Card */
.info-card {
    background: white;
    /* border-radius: 12px; */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 280px;
    font-family: var(--font-heading); /* Stats use serif in image */
}

.card-img-wrapper img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    /* border-radius: 8px; */
}

.stars {
    font-size: 0.8rem;
    color: #b0263e;
}

.admission-text {
    font-size: 1.2rem;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        /* padding-bottom: 50px; */          
    }
    .hero-section .row{
    margin-top: 65px !important;
    }
    .section-display-title {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 28px !important;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 28px !important;
    margin: 0;
}
    .hero-title {
        font-size: 30px;
        font-weight: 400 !important;
    }
    .navbar {
        background-color: var(--bg) !important;
    }
    .circular-badge {
    position: absolute;
    top: -69px !important;
    right: 0px !important;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
}

/* Sticky Image Logic */
.sticky-top-container {
    position: -webkit-sticky;
    position: sticky;
    top: 50px; /* Adjust based on navbar height */
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
}

/* Circular Badge Styling */
.circular-badge {
    position: absolute;
    top: -40px;
    right: -40px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.circular-badge text {
    font-family: var(--font-body);
    font-size: 9px;
    fill: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Right Content Column */
.establish-box h2 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 100px;
}

.ls-2 { letter-spacing: 3px; }

.lead-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

/* Feature Cards */
.feature-card {
    background-color: #f4f4f4; /* Matches light grey in image */
    /* border-radius: 12px; */
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h5 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

/* Buttons and Profile */
.btn-about {
    background-color: var(--accent-gold);
    color: white;
    padding: 12px 30px;
    /* border-radius: 6px; */
    font-weight: 500;
    display: flex;
    align-items: center;
    font-family: var(--font-montserrat) !important;
    text-transform: uppercase;
}

.btn-about:hover {
    background-color: #8a1d30;
    color: white;
}



/* Mobile Responsiveness */
@media (max-width: 991px) {
    .sticky-top-container {
        position: relative;
        top: 0;
        margin-bottom: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .circular-badge {
        right: 10px;
        top: 10px;
    }
}
/* Animation for the rotating text */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.circular-badge {
    position: absolute;
    top: -40px;
    right: -40px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* Ensures the inner elements stay centered */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.circular-badge svg {
    /* Apply the animation here */
    animation: rotate 10s linear infinite;
    transform-origin: center;
}

/* Optional: Pause the rotation when the user hovers over it */
.circular-badge:hover svg {
    animation-play-state: paused;
}

.academics-section {
    background-color: #fff9f9; /* Light pinkish bg from image */
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-blue);
}


/* Explore Button */
.btn-explore {
    background-color: var(--accent-gold);
    color: white;
    padding: 15px 35px;
    /* border-radius: 8px; */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    transition: 0.3s;
}

.btn-explore:hover {
    background-color: var(--primary-blue);
    color: white;
}

.invert { filter: invert(1); }

/* Responsive adjustments */
@media (max-width: 991px) {
    .card-undergrad { min-height: 300px; }
    .card-student-img { height: 70%; }
}
.campus-life-section {
    background-color: #ffffff;
    overflow: hidden;
}

/* Typography */
.main-display-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6.5rem);
    color: var(--primary-blue);
    line-height: 1;
}



/* Button with no border radius */
.btn-explore-now {
    background-color: var(--accent-gold);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-family: var(--font-montserrat);
    border-radius: 0 !important; /* Force square corners */
}

.arrow-box {
    background: white;
    color: var(--accent-gold);
    margin-left: 15px;
    padding: 2px 8px;
    font-weight: bold;
}

.faculties-section {
    background-color: #fff;
}

.faculties-title {
    font-family: var(--font-heading);
    font-size: 56px;
    color: var(--accent-gold);
    line-height: 60px;
    font-weight: 300!important;
}

.faculties-desc {
    color: #666;
    max-width: 450px;
    font-size: 1rem;
}

/* Button Styling (Square as requested previously) */
.btn-faculty-explore {
    background-color: var(--accent-gold);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-montserrat);
    text-transform: uppercase;
    border-radius: 0;
}

.btn-faculty-explore .arrow-box {
    background: white;
    color: var(--accent-gold);
    margin-left: 15px;
    padding: 2px 8px;
}

/* Faculty Grid Layout */
.faculty-grid {
    display: flex;
    gap: 20px;
    height: 500px;
}

.faculty-card {
    position: relative;
    flex: 1;
    overflow: hidden;
    /* Removed border-radius as per previous instruction */
    border-radius: 0; 
}

.faculty-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: 0.5s ease;
}

.faculty-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.5);
}


/* Mobile View: Cards Stack, Text Stays Vertical */
@media (max-width: 768px) {
    p{
        font-size: 13px !important;
    }
    li{
        font-size: 11px !important;
    }
    .faculty-grid {
        flex-direction: column;
        height: auto;
        display: none;
    }
    .priority-text {
        
            margin-bottom: 0px !important;
    }
.faculties-section {
    margin-bottom: -67px !important;
    background-color: #fff;
}
.btn-about
 {
    font-size: 11px !important;
}
    .faculty-card {
        height: 400px;
        width: 100%;
    }

    .faculties-title {
        font-size: 28px !important;
    }

    .rotated-label {
        font-size: 1.5rem;
        left: 20px; /* Moves text to the side on mobile for better visibility */
        transform: rotate(180deg);
    }
}
.professors-section {
    background-color: #fffafa; /* Subtle off-white bg */
}
/* Container must hide the overflowing content */
.prof-img-container {
    overflow: hidden; /* Optional: matches your design */
}

/* Initial state of the overlay (Hidden below the image) */
.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 95%;
    height: 95%;
    background: rgb(255, 255, 255); /* Dark semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(100%); /* Start off-screen */
    transition: all 0.4s ease-in-out;
    /* border: 0.4px solid var(--accent-gold); */
    box-shadow: 0 0 3px rgb(227, 227, 227);
    z-index: 2;
}

/* Show overlay and change button icon on hover */
.professor-card:hover .overlay-content {
    opacity: 1;
    transform: translateY(0); /* Slide up into view */
}

/* Optional: Rotate the plus icon to an 'x' on hover */
.professor-card:hover .expand-btn i {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Styling for the list inside */
.overlay-content ul li {
    font-size: 11px;
    font-family: var(--font-montserrat);
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid var(--gold);
    font-weight: 500;
    text-align: left;
}
li{
    font-family: var(--font-body);
}
/* Update the UL to allow space for bullets */
.overlay-content ul {
    list-style-type: disc; /* Enables the standard bullet */
    padding-left: 20px;    /* Adds space so bullets don't cut off */
    margin-bottom: 0;
}

/* Update the LI for specific bullet styling */
.overlay-content ul li {
    font-size: 11px;
    font-family: var(--font-montserrat);
    text-transform: uppercase;
    padding: 5px 0;
    border-bottom: 1px solid var(--gold);
    font-weight: 600;
    text-align: left;
}

/* Customizing the bullet color specifically (Optional) */
.overlay-content ul li::marker {
    color: var(--gold); 
    font-size: 14px;
}

/* Ensure your expand button stays on top */
.expand-btn {
    z-index: 3;
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.section-display-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-blue);
    font-weight: 400 !important;
}

.prof-img-container {
    overflow: hidden;
}

.prof-img-container img {
    height: 350px;
    object-fit: cover;
    border-radius: 0 !important; /* Strictly no border radius */
    transition: transform 0.5s ease;
}

.professor-card:hover img {
    transform: scale(1.05);
}

/* Square Plus Button */
.expand-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 0 !important; /* Square corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.expand-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.prof-info h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.prof-info p {
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .section-display-title {
        font-size: 2.5rem;
    }
}
.section-display-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-gold);
}

/* Event Row Styling */
.event-row {
    background-color: var(--bg-soft-pink);
    border-radius: 0 !important; /* Strictly no border radius */
    transition: transform 0.2s ease, background-color 0.3s ease;
    border-left: 0px solid var(--accent-gold);
}
.event-list{
    padding-left: 80px;
    padding-right: 90px;
}
.event-row:hover {
    background-color: #ffeef0;
    transform: scale(1.01);
}

.event-title h5 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-blue);
    line-height: 1.4;
}

.event-date, .event-location {
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.location-link {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--primary-blue);
}

/* Join Now Button Styling */
.btn-join {
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid #ecc9ce;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-montserrat);
    border-radius: 0 !important; /* Square corners */
}

.btn-join .arrow-box {
    background: var(--accent-gold);
    color: white;
    margin-left: 12px;
    padding: 2px 8px;
    display: inline-block;
}

.btn-join:hover {
    background-color: var(--accent-gold);
    color: white;
}

.btn-join:hover .arrow-box {
    background: white;
    color: var(--accent-gold);
}

/* Vertical Dividers for Desktop */
@media (min-width: 992px) {
    .event-date, .event-location {
        border-left: 1px solid #ecc9ce;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .event-row {
        text-align: left;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    .event-date, .event-location {
        padding-left: 0;
        border-left: none;
    }
    .event-action {
        width: 100%;
        text-align: left !important;
    }
}
.admission-section {
    background-color: var(--navy-dark);
    min-height: 800px;
}

/* Background Scrolling Text Effect */
.bg-scrolling-text {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 200%;
    font-size: 10rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05); /* Faint outline look */
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.admission-title {
    font-family: var(--font-heading);
    line-height: 1;
}

.admission-img-wrapper img {
    border-radius: 0 !important; /* Sharp corners */
}

/* White Form Card */
.admission-form-card {
    background-color: white;
    border-radius: 0 !important; /* Sharp corners */
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.form-title {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 2rem;
}

/* Form Inputs styling */
.admission-form-card .form-control {
    border-radius: 0 !important;
    border: 1px solid #eee;
    padding: 12px;
    font-size: 0.9rem;
}

.admission-form-card .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-gold);
}

.btn-submit-form {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 0 !important;
}

.btn-submit-form:hover {
    background-color: var(--accent-gold);
}

.handwriting-text {
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5rem;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .bg-scrolling-text {
        font-size: 5rem;
    }
    .admission-title {
        font-size: 2.5rem;
    }
}
        /* Strict No Border Radius */
        .unipix-newsletter * {
            border-radius: 0 !important;
        }

        .unipix-newsletter {
            padding: 10px;
            background-color: #fff;
            font-family: var(--font-body);
        }

        /* Main Container Box */
        .newsletter-box {
            background-color: var(--bg);
            padding: 40px;
            color: var(--text);
            display: flex;
            align-items: center;
        }

        /* Campus Image Styling */
        .campus-promo-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            min-height: 400px;
        }

        /* Text Content */
        .newsletter-content {
            padding-left: 50px;
        }

        .newsletter-content h2 {
            font-family: var(--font-heading);
            font-size: 3.5rem;
            line-height: 1.1;
            margin-bottom: 25px;
            color: var(--accent-gold);
        }

        .newsletter-content p {
            font-size: 1rem;
            opacity: 0.9;
            margin-bottom: 40px;
            max-width: 500px;
        }

    
        /* Responsive Fixes */
        @media (max-width: 991px) {
            .newsletter-box {
                flex-direction: column;
                padding: 20px;
            }
            .newsletter-content {
                padding-left: 0;
                padding-top: 30px;
                text-align: center;
            }
            .subscribe-form {
                flex-direction: column;
                gap: 10px;
                background-color: transparent;
                padding: 0;
            }
            .subscribe-form input {
                background: white;
            }
            .section-head h2{
                font-size: 28px !important;
            }
        }
        .unipix-footer-slim {
        background-color: var(--navy-dark);
        color: white;
        padding: 30px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        font-family: var(--font-body);
    }

    /* Strict No Border Radius */
    .unipix-footer-slim * {
        border-radius: 0 !important;
    }

    .footer-brand-small {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        text-decoration: none;
        color: white;
    }

    .footer-copy {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.6);
        margin: 0;
    }

    .footer-social-slim {
        display: flex;
        gap: 15px;
    }

    .social-link-slim {
        color: white;
        text-decoration: none;
        font-size: 0.9rem;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .social-link-slim:hover {
        background-color: var(--accent-gold);
        border-color: var(--accent-gold);
        color: white;
    }
    #scrollToTopBtn {
        display: none; /* Hidden by default */
        position: fixed;
        bottom: 75px;
        right: 30px;
        z-index: 99;
        border: none;
        outline: none;
        background-color: var(--accent-gold);
        color: white;
        cursor: pointer;
        padding: 0;
        width: 45px;
        height: 45px;
        /* Strict No Border Radius */
        border-radius: 0 !important;
        transition: background-color 0.3s, opacity 0.3s, transform 0.3s;
        box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
    }

    #scrollToTopBtn:hover {
        background-color: var(--primary-blue);
        transform: translateY(-5px);
    }

    .arrow-up {
        font-size: 20px;
        font-weight: bold;
    }


    /* ========================================admission process============================== */
    .section-head {
    text-align: center;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.6s ease 0.1s forwards;
  }

  .section-head .tag {
    display: inline-block;
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid rgba(200,154,48,0.3);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 14px;
    margin-bottom: 14px;
  }

  .section-head h2 {
    font-family: 'Gotham', sans-serif;
    font-size: 56px;
    /* font-weight: 700; */
    color: var(--bg);
    /* line-height: 1.15; */
    margin-bottom: 8px;
  }

  .section-head h2 span { color: var(--gold-light); }

  .section-head p {
    font-size: 16px;
    color: var(--gold-light);
    /* max-width: 420px; */
    /* margin: 0 auto; */
    /* line-height: 1.7; */
  }

  /* ── Steps grid ── */
  .steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
  }

  /* ── Individual card ── */
  .card {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 26px 18px 24px;
    position: relative;
    overflow: hidden;
    cursor: default;
    opacity: 0;
    transform: translateY(22px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, background 0.3s;
  }

  .card:nth-child(1) { animation: rise 0.5s ease 0.25s forwards; }
  .card:nth-child(2) { animation: rise 0.5s ease 0.35s forwards; }
  .card:nth-child(3) { animation: rise 0.5s ease 0.45s forwards; }
  .card:nth-child(4) { animation: rise 0.5s ease 0.55s forwards; }
  .card:nth-child(5) { animation: rise 0.5s ease 0.65s forwards; }
  .card:nth-child(6) { animation: rise 0.5s ease 0.65s forwards; }

  .card:hover {
    transform: translateY(-5px);
    border-color: rgba(139,26,46,0.2);
    box-shadow: 0 14px 36px rgba(139,26,46,0.08);
    background: #fff;
    z-index: 1;
  }

  /* shimmer sweep */
  .card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(139,26,46,0.04) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
  }
  .card:hover::before { transform: translateX(100%); }

  /* top accent bar */
  .card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--crimson);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
  }
  .card:hover::after,
  .card.highlight::after { transform: scaleX(1); }

  /* highlight card */
  .card.highlight {
    background: var(--crimson);
    border-color: var(--bg);
  }

  .card.highlight:hover {
    transform: translateY(-5px);
    border-color: var(--gold-light);
    box-shadow: 0 14px 40px rgba(139,26,46,0.28);
    background: var(--deep-crimson);
  }

  .card.highlight::after {
    background: var(--gold-light);
  }

  /* connector dot */
  .arrow {
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--crimson);
    opacity: 0.2;
    z-index: 2;
    transition: opacity 0.3s;
  }
  .card:hover .arrow { opacity: 0.6; }
  .card:last-child .arrow { display: none; }

  /* card content */
  .c-num {
    font-family: 'Gotham', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: rgba(139,26,46,0.1);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.3s;
  }
  .card:hover .c-num { color: rgba(139,26,46,0.22); }
  .card.highlight .c-num { color: rgba(255,255,255,0.18); }
  .card.highlight:hover .c-num { color: rgba(255,255,255,0.3); }

  .c-label {
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 7px;
    font-family: var(--font-body);
  }
  .card.highlight .c-label { color: var(--gold-light); }

  .c-title {
    font-family: 'Gotham', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 8px;
    transition: color 0.3s;
  }
  .card:hover .c-title { color: var(--crimson); }
  .card.highlight .c-title { color: #fff; }

  .c-desc {
    font-size: 10.5px;
    color: var(--muted);
    line-height: 1.65;
    font-family: var(--font-body);
  }
  .card.highlight .c-desc { color: rgba(255,255,255,0.72); }

  /* ── Animations ── */
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── Responsive ── */
  @media (max-width: 900px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 600px) {
    .steps { grid-template-columns: 1fr 1fr; }
    .card:nth-child(5) { grid-column: 1 / -1; }
  }

  @media (max-width: 400px) {
    .steps { grid-template-columns: 1fr; }
    .card:nth-child(5) { grid-column: auto; }
  }

  /* =====================================placement==================================== */

   /* ─── MAIN SECTION ─── */
  .placements-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 420px;
    /* border-top: 1px solid #e0d5c0; */
  }

  /* ─── LEFT PANEL ─── */
  .left-panel {
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-right: 1px solid #e8e0d0;
    
  }

  .tag {
    display: inline-block;
    background: var(--cream-mid);
    color: var(--crimson);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 18px;
    width: fit-content;
    font-family: var(--font-montserrat);
  }

  .headline {
    font-family: var(--font-heading);
    font-size: 56px;
    line-height: 1.08;
    color: var(--text-dark);
    margin-bottom: 20px;
  }

  .headline em {
    font-style: italic;
    color: var(--crimson);
  }

  .sub-text {
    font-size: 12px;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 32px;
    font-family: var(--font-body);
  }

  .apply-btn {
    display: inline-block;
    background: var(--crimson);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 14px 28px;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font-montserrat);
  }

  .apply-btn:hover { background: var(--crimson-dark); }

  /* ─── MIDDLE PANEL – Placement Figures ─── */
  .mid-panel {
    background: var(--crimson);
    padding: 30px 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .panel-title {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--cream);
    margin-bottom: 6px;
  }

  .panel-title em { color: var(--gold-light); font-style: italic; }

  .chart-container {
    flex: 1;
    position: relative;
    min-height: 200px;
  }

  .students-note {
    font-size: 13px;
    color: var(--cream);
    margin-top: 10px;
    font-family: var(--font-body);
  }

  .students-note strong {
    font-size: 28px;
    font-family: var(--font-heading);
    display: block;
    color: #fff;
    line-height: 1;
  }

  /* ─── RIGHT PANEL – Internship Stipends ─── */
  .right-panel {
    padding: 30px 28px 24px;
    background: #fff;
    border-left: 1px solid #e8e0d0;
  }

  .right-panel .panel-title {
    color: var(--text-dark);
    margin-bottom: 4px;
  }

  .right-panel .panel-title em { color: var(--crimson); }

  .per-month-note {
    font-size: 9px;
    font-weight: 700;
    color: var(--crimson);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: right;
    margin-bottom: 2px;
  }

  .partners-note {
    font-size: 10px;
    color: #888;
    text-align: right;
    margin-bottom: 12px;
      font-family: var(--font-body);
  }

  .partners-note strong { color: var(--text-dark);  font-family: var(--font-body); }

  .stipend-bar-container {
    position: relative;
    height: 200px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 12px;
  }

  /* Y-axis labels */
  .y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-bottom: 2px;
    padding-right: 6px;
  }

  .y-axis span {
    font-size: 9px;
    color: #aaa;
    text-align: right;
  }

  .bars-area {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    height: 100%;
    position: relative;
  }

  /* Horizontal grid lines */
  .bars-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      #f0e9d8 0px, #f0e9d8 1px,
      transparent 1px, transparent 25%
    );
    pointer-events: none;
  }

  .bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: 8px;
    flex: 1;
    position: relative;
  }

  .bar {
    width: 100%;
    border-radius: 2px 2px 0 0;
    position: relative;
    transition: opacity 0.2s;
  }

  .bar:hover { opacity: 0.9; }

  .bar-highest { background: var(--gold-light); height: 100%; }
  .bar-avg { background: var(--gold-light); height: 31.5%; }
  .bar-median { background: var(--gold-light); height: 30%; }

  .bar-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #888;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  /* Big value inside bar */
  .bar-value-inside {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .bar-value-inside .bar-name {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--crimson);
    display: block;
    margin-bottom: 4px;
  }

  .bar-value-inside .bar-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--crimson);
    display: block;
  }

  /* Smaller card overlay for avg/median */
  .small-card {
    background: var(--gold-light);
    border-radius: 2px;
    padding: 8px 10px;
    text-align: center;
    width: 100%;
  }

  .small-card .s-name {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--crimson);
    display: block;
    margin-bottom: 2px;
  }

  .small-card .s-val {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--crimson);
  }

  /* ─── RECRUITERS BANNER ─── */
  .recruiters-section {
    background: var(--crimson);
    padding: 20px 32px 18px;
    overflow: hidden;
  }

  .recruiters-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .recruiters-title {
    font-family: var(--font-heading);
    font-size: 56px;
    color: var(--cream);
    white-space: nowrap;
  }

  .recruiters-title em { color: var(--gold-light); font-style: italic; }

  .live-note {
    font-size: 13px;
    color: var(--gold-light);
    font-family: var(--font-body);
    /* font-weight: 500; */
  }

  .live-note strong { font-weight: 700; }

  /* Carousel */
  .carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  }

  .carousel-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: scrollLeft 28s linear infinite;
  }

  .carousel-track:hover {
    animation-play-state: paused;
  }

  @keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @keyframes scrollRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }

  .carousel-reverse {
    animation: scrollRight 28s linear infinite;
  }

  .carousel-reverse:hover {
    animation-play-state: paused;
  }

  .recruiter-tag {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 10px;
    /* font-weight: 600; */
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 2px;
    white-space: nowrap;
    cursor: default;
    transition: background 0.2s, border-color 0.2s;
    font-family: var(--font-montserrat);
  }

  .recruiter-tag:hover {
    background: rgba(255,255,255,0.22);
    border-color: var(--gold-light);
    color: var(--gold-light);
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    .placements-section {
      grid-template-columns: 1fr;
    }

    .left-panel {
      border-right: none;
      border-bottom: 1px solid #e8e0d0;
      padding: 32px 20px;
      gap: 28px;
    }

    .headline {
      font-size: 34px;
    }

    .mid-panel {
      padding: 28px 20px 20px;
    }

    .chart-container {
      min-height: 220px;
    }

    .right-panel {
      border-left: none;
      border-top: 1px solid #e8e0d0;
      padding: 28px 20px;
    }

    /* Stack the title + notes vertically on mobile */
    .right-panel > div:first-child {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 6px;
    }

    .per-month-note,
    .partners-note {
      text-align: left;
    }

    /* Stipend bars area: reduce height slightly */
    .right-panel > div:nth-child(2) {
      height: 210px !important;
    }

    .panel-title {
      font-size: 22px;
    }

    .recruiters-section {
      padding: 20px 16px 16px;
    }

    .recruiters-top {
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
    }

    .recruiters-title {
      font-size: 22px;
    }

    .live-note {
      font-size: 10px;
      white-space: normal;
    }
  }

  @media (max-width: 480px) {
    .headline {
      font-size: 28px;
    }

    .panel-title,
    .recruiters-title {
      font-size: 20px;
      letter-spacing: 0px !important;
    }

    .bar-value-inside .bar-num {
      font-size: 17px;
    }
  }

  /* ─── BAR GROW ANIMATION ─── */
  .anim-bar {
    background: var(--gold-light);
    height: 0%;
    position: relative;
    overflow: hidden;
  }

  /* Counter fade-in */
  .bar-count {
    opacity: 0;
    transform: translateY(6px);
  }

   .logo-slider {
    width: 100%;
    background: var(--crimson);
    padding: 40px 0;
    text-align: center; /* Centers the heading text */
  }

  .logo-slider__viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 20px;
  }

  .logo-slider__track {
    display: flex;
        background-color: white;
    /* (Width 200px * 20 images) */
    width: calc(200px * 20); 
    animation: infiniteScroll 40s linear infinite;
    white-space: nowrap;
  }

  .logo-slider__track img {
    width: 200px;
    flex-shrink: 0;
    padding: 0 20px; /* Adjusted padding for better spacing */
    /* Optional: filter: grayscale(100%); if you want a uniform look */
  }

  @keyframes infiniteScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      /* Reset after the first 10 images */
      transform: translateX(calc(-200px * 10)); 
    }
  }

  /* Pause when user interacts */
  .logo-slider__viewport:hover .logo-slider__track {
    animation-play-state: paused;
  }
  /* ============================================key heighlight=============================================== */
  /* Block: Main Section */
  .features-grid {
    width: 100%;
    padding: 60px 20px; /* Reduced padding for mobile */
    font-family: 'Poppins', sans-serif;
  }

  /* Element: Grid Container */
  .features-grid__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
  }

  /* Block: Individual Card */
  .feature-card {
    position: relative;
    padding: 24px 20px;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #1e1e1e;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #fff; /* Ensures visibility on light backgrounds */
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: #f0c87a;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .feature-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 28px; height: 28px;
    border-top: 3px solid transparent;
    border-right: 3px solid transparent;
    transition: border-color 0.3s ease 0.15s;
  }

  .feature-card:hover {
    background: #9f1c33;
    transform: translateY(-6px);
    z-index: 2;
    border-color: #2a2a2a;
    box-shadow: 0 7px 30px rgba(0,0,0,0.3), 0 0 0 1px #f0c87a;
  }

  .feature-card:hover::before { width: 100%; }
  .feature-card:hover::after { border-top-color: #f0c87a; border-right-color: #f0c87a; }

  /* Element: Icon Wrapper */
  .feature-card__icon-box {
    width: 64px; height: 64px;
    background: #9f1c33;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
    transition: background 0.3s ease;
  }

  .feature-card__icon-box::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 32px; height: 2px;
    background: #f0c87a;
    transition: width 0.3s ease;
  }

  .feature-card:hover .feature-card__icon-box { background: #1f1a10; }
  .feature-card:hover .feature-card__icon-box::after { width: 64px; }

  .feature-card__icon-box svg {
    width: 32px; height: 32px;
    fill: #f0c87a;
    transition: transform 0.3s ease;
  }

  .feature-card:hover .feature-card__icon-box svg { transform: scale(1.1); }

  /* Element: Counter/Index */
  .feature-card__index {
    position: absolute;
    top: 20px; right: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.2em;
    color: #333;
    transition: color 0.3s ease;
  }

  .feature-card:hover .feature-card__index { color: #f0c87a; }

  /* Element: Title */
  .feature-card__heading {
    font-family: var(--font-heading);
    font-size: 20px; font-weight: 500;
    color: #000;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.99px !important;
    transition: color 0.3s ease;
  }

  .feature-card:hover .feature-card__heading { color: #ffffff; }

  /* Element: Description Body */
  .feature-card__description {
    font-family: var(--font-body);
    font-size: 13.5px; font-weight: 300;
    line-height: 1.75;
    color: #666;
    transition: color 0.3s ease;
  }

  .feature-card:hover .feature-card__description { color: #ccc; }

  /* Element: CTA Link */
  .feature-card__link {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2a2a2a;
    transition: color 0.3s ease, gap 0.3s ease;
  }

  .feature-card:hover .feature-card__link { color: #f0c87a; gap: 14px; }

  .feature-card__link svg {
    width: 16px; height: 16px;
    fill: none; stroke: currentColor; stroke-width: 2;
    flex-shrink: 0;
  }

  /* Entrance Animations */
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .feature-card { animation: slideUp 0.6s ease both; }
  .feature-card:nth-child(1) { animation-delay: 0.10s; }
  .feature-card:nth-child(2) { animation-delay: 0.22s; }
  .feature-card:nth-child(3) { animation-delay: 0.34s; }
  .feature-card:nth-child(4) { animation-delay: 0.46s; }
  .feature-card:nth-child(5) { animation-delay: 0.58s; }
  .feature-card:nth-child(6) { animation-delay: 0.70s; }

  /* ===== RESPONSIVE BREAKPOINTS ===== */

  /* Tablets and small laptops */
  @media (max-width: 1024px) {
    .features-grid__container {
      grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        padding: 40px 30px;
    }
  }

  /* Mobile Devices */
  @media (max-width: 640px) {
    .features-grid__container {
      grid-template-columns: 1fr;
    }
    .features-grid {
      padding: 30px 20px;
    }
    .feature-card__heading {
      font-size: 18px;
    }
  }
  /* ===================================event gallery===================================== */
  .events-marquee {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

/* Base Track Styling */
.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

/* Directional Modifiers */
.marquee-wrapper--rtl .marquee-track {
    animation-direction: normal; /* Moves Left */
}

.marquee-wrapper--ltr .marquee-track {
    animation-direction: reverse; /* Moves Right */
}

/* Pause on Hover */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Card Styling */
.event-card {
    position: relative;
    width: 320px;
    height: 220px;
    flex-shrink: 0; /* Slightly sharper for a professional look */
    overflow: hidden;
    border: 1px solid #eee;
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 26, 16, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.event-card__label {
    color: #f0c87a; /* Gold accent color from your cards */
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Infinite Scroll Animation */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); } /* Offset based on gap */
}

/* Responsive */
@media (max-width: 768px) {
    .event-card {
        width: 260px;
        height: 180px;
    }
    .marquee-track {
        animation-duration: 20s; /* Faster on mobile */
    }
    #scrollToTopBtn {
        display: none;
    }
    .card {
    padding: 7px 18px 9px !important;}
.btn-apply { background: white; 
    font-size: 9px !important;
        padding: 15px 25px !important;
        width: 40%;
     }
.btn-brochure { border: 1px solid white; 
    font-size: 9px !important;
        width: 50%;
   }
   .btn-phone
 {
    background: var(--crimson, #dc3545);
    color: white;
    width: 44px !important;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
}
.fixed-action-bar {
    position: fixed;
    bottom: -100px; /* Start below the screen */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s ease-in-out; /* Smooth transition */
    display: flex;
    justify-content: start;
}

/* This class will be added via JavaScript on scroll */
.fixed-action-bar.show {
    bottom: 0px;
    opacity: 1;
}
/* Container for the buttons (Add this to your wrapper class) */
.fixed-action-bar .container {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    width: 100%;
}

/* Base Button Styles */
.btn-apply, .btn-brochure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px; /* Fixed height makes them equal */
    padding: 0 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-montserrat);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

/* Highlighted Apply Now Button */
.btn-apply {
    background: #ffffff;
    color: #000000;
    font-size: 12px !important;
    border: 2px solid #ffffff;
    /* Adding a subtle glow/shadow to highlight it */
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-apply:hover {
    background: var(--crimson, #dc3545);
    color: white;
    border-color: var(--crimson, #dc3545);
}

/* Brochure Button */
.btn-brochure {
    background: transparent;
    border: 1px solid white;
    color: white;
    font-size: 11px !important; /* Slightly smaller to fit long text */
    width: 20%;
}

/* Phone Button */
.btn-phone {
    background: var(--crimson, #dc3545);
    color: white;
    width: 45px; /* Match height of other buttons */
    height: 45px;
    border-radius: 50%;
    display: flex;
    flex-shrink: 0; /* Prevents circle from squishing */
    align-items: center;
    justify-content: center;
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
    .btn-apply, .btn-brochure {
        font-size: 9px; /* Smaller text for mobile */
        padding: 0 10px;
    }
    
    .btn-brochure {
        width: 50%; /* Adjusting width for small screens */
    }
    
    .btn-apply {
                width: 55%;
        font-weight: bolder;
    }

    .btn-phone {
        width: 40px;
        height: 43px;
    }
    .event-tit{
        font-size: 25px !important;
    }
    .newsletter-content h2{
        font-size: 25px !important;
    }
}
/* Custom Card Elevation & Brand Accents */
.program-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    border-top: 5px solid var(--crimson);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(160, 28, 51, 0.15) !important;
    border-color: var(--crimson);
}

.card-category {
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}

.program-title {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    font-weight: 700;
    line-height: 1.2;
    min-height: 3rem; /* Keeps titles aligned */
}

/* Button Styling */
.btn-primary-brand {
    background-color: var(--crimson);
    color: white;
    border: none;
    transition: background 0.3s;
}

.btn-primary-brand:hover {
    background-color: var(--deep-crimson);
    color: white;
}

.btn-outline-specialized {
    border: 1.5px solid var(--gold);
    color: var(--text-dark);
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-specialized:hover {
    background-color: var(--gold);
    color: white;
}
/* Container to force 5 in a row */
.five-cols {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .five-cols .col-custom {
        flex: 0 0 20%;
        max-width: 20%;
        padding: 10px;
    }
}

.program-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    border-top: 5px solid var(--crimson);
    border-radius: 12px;
    background: #fff;
    height: 100%; /* Force equal height */
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1) !important;
}

.program-title {
    font-weight: 800;
    color: var(--text-dark);
    /* Ensures titles occupy the same vertical space */
    min-height: 50px; 
    display: flex;
    align-items: center;
}

/* Standardization for the bottom labels */
.level-indicator {
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-top: auto;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* Enhanced Program Card */
.program-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 6px solid var(--crimson); /* Thicker top accent */
    border-radius: 16px; /* Smoother corners */
    background: linear-gradient(180deg, #ffffff 0%, #fdfdfd 100%);
    position: relative;
    z-index: 1;
}

/* Subtle "Watermark" or Background Detail for static depth */
.program-card::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: var(--gold-dim);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

/* Your Hover - Keeping it intact as requested */
.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(160, 28, 51, 0.12) !important;
    border-color: var(--crimson);
}

/* Typography Refinements */
.program-title {
    font-weight: 800;
    color: var(--navy-dark);
    font-size: 1.25rem;
    letter-spacing: -0.5px !important;
    min-height: 60px;
    line-height: 1.2;
}

.card-body {
    padding: 2rem !important;
}

/* Premium Badge for static visual interest */
.program-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gold-dim);
    color: var(--crimson);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

/* Level Indicator Styling */
.level-indicator {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.25rem;
    margin-top: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--crimson);
    letter-spacing: 1px;
}

/* Specialized Buttons for Multi-Program cards */
.btn-special-path {
    background: #f8f9fa;
    border: 1px solid var(--gold-light);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.btn-special-path:hover {
    background: var(--gold);
    color: white;
}