﻿/* ========================================
   ELPRO GLOBAL FONT IMPORT & ENFORCEMENT
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* --- GLOBAL BODY & PARAGRAPH --- */
*,
body,
p,
li,
span,
td,
th,
label,
input,
textarea,
select,
button,
.text-muted,
.footer-text,
.small-text,
.fs-5,
.fs-6,
.small {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* --- MAIN HEADINGS --- */
h1,
h2,
.display-3,
.display-4,
.display-5,
.display-6,
.banner-title,
.main-heading,
.admissions-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

/* --- SUBTITLES & SUBHEADINGS --- */
h3,
h4,
h5,
h6,
.subtitle,
.magic-title,
.subscribe-text,
.fw-bold,
.fw-semibold,
.letter-spacing-2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
}

/* --- NAVBAR LINKS --- */
.navbar-nav .nav-link,
.dropdown-item {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
}

/* --- BUTTONS --- */
.btn,
.btn-magic-orange,
.btn-outline-light,
.btn-outline-elpro {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* --- FOOTER --- */
footer,
footer p,
footer a,
footer li,
footer address,
.footer-text,
.f-links li a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
}

    footer h5,
    footer h6,
    .magic-title {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
    }
.bg-elpro {
    background-color: #0f4975 !important;
}

.text-orange {
    color: #f29111 !important;
}

/* NAV MAGIC: Horizontal Alignment & Interactive Hover */
/* ============================= */
/* 🔷 NAVBAR FINAL STYLING */
/* ============================= */

/* Navbar background (keep your theme) */
.bg-elpro {
    background-color: #0f4975 !important;
}

/* Nav Links (Menu Items) */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 1.0rem !important; /* Increased size */
    font-weight: 400 !important; /* Removed bold */
    padding: 10px 16px !important; /* Better spacing */
    margin: 0 6px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

    /* Hover Effect */
    .navbar-nav .nav-link:hover {
        color: #f29111 !important;
    }

/* ============================= */
/* 🔽 DROPDOWN ICON CUSTOM */
/* ============================= */

/* Remove default Bootstrap arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* Custom icon spacing */
.navbar .dropdown-toggle i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Rotate icon on open */
.navbar .dropdown.show .dropdown-toggle i {
    transform: rotate(180deg);
}

/* ============================= */
/* 📂 DROPDOWN MENU STYLING */
/* ============================= */

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px;
    border: none;
    font-size: 1.0rem;
}

/* Dropdown items */
.dropdown-item {
    padding: 10px 18px;
    transition: 0.3s;
}

    /* Hover effect */
    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #f29111;
    }
.navbar .dropdown-toggle i {
    font-size: 1.0rem !important; /* increase size (try 1.1rem / 1.2rem if needed) */
    margin-left: 8px;
}

/* ============================= */
/* 📏 NAVBAR HEIGHT */
/* ============================= */

.navbar {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* ============================= */
/* 📱 MOBILE FIX */
/* ============================= */

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 12px 10px !important;
        font-size: 1.0rem !important;
    }
}

/*.nav-magic {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 5px;
    display: flex !important;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s ease;
}

    .nav-magic:hover {
        color: #f29111 !important;
        transform: scale(1.05);
    }*/

/* DROPDOWN MAGIC: Glassmorphism */
/*.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px;
}*/

/* SUBMENU: Drop-side logic for Desktop */
/*@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        position: absolute;
        left: 100%;
        top: 0;
        margin-left: 5px;
    }
}*/

/* FOOTER WOW ELEMENTS */
.magic-title {
    color: #f29111;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.f-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.85;
}

    .f-links li a:hover {
        opacity: 1;
        color: #f29111;
        padding-left: 8px;
        transition: 0.3s;
    }

.footer-text {
    font-size: 1.05rem;
    line-height: 1.6;
}

.hover-orange:hover {
    color: #f29111 !important;
    transition: 0.2s;
}
/* --- CUSTOM OVERRIDES --- */

/* Change Home Page Headings to Brand Orange */
.bg-elpro-text {
    color: #f29111 !important; /* Forces the color change */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Adjust Hero Image Brightness */
.hero-overlay {
    background: rgba(15, 73, 117, 0.7); /* Slightly darker blue for better text contrast */
}

/* Custom Padding for Curriculums Section */
.curr-card {
    border-bottom: 4px solid #f29111; /* Adds a bottom bar to cards */
}
/* --- HERO BANNER STYLING --- */

/* ✅ COMPLETE FIX - replace your existing .hero-banner rule */
/* ✅ KEEP ONLY THIS - delete all other .hero-banner rules in site.css */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/Cover Image 1.jpeg') center center / cover no-repeat;
    height: 80vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    background-position: center center !important;
}

/* ✅ Mobile fix */
@media (max-width: 768px) {
    .hero-banner {
        height: 100svh !important;
        background-position: 65% center !important;
        background-attachment: scroll !important;
    }
}

.hero-overlay {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, rgba(15, 73, 117, 0.9), rgba(15, 73, 117, 0.2));
}

.banner-title {
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.text-orange {
    color: #f29111 !important;
}

.btn-magic-orange {
    background-color: #f29111 !important;
    color: white !important;
    border: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

    .btn-magic-orange:hover {
        background-color: #e08100 !important;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .hero-banner {
        height: 60vh;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtext {
        font-size: 1.1rem !important;
    }
}
/* --- COMPACT CENTERED SECTION STYLING --- */

.text-elpro {
    color: #0f4975 !important;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.fw-500 {
    font-weight: 500;
}

.small-text {
    line-height: 1.7;
    font-size: 1rem;
}

/* Centered Divider instead of Orange Accents */
.divider-line {
    width: 60px;
    height: 3px;
    background-color: #0f4975;
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0.3;
}

/* Reduced spacing for mobile */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.8rem;
    }
}
/* --- CAMPUS SECTION STYLING --- */

.campus-card-link {
    text-decoration: none;
}

.campus-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campus-img-container {
    position: relative;
    height: 250px; /* Compact height */
    width: 100%;
    overflow: hidden;
}

.campus-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Subtle Teal/Green Overlay matching your sample image */
.campus-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 73, 117, 0.8), rgba(0, 150, 136, 0.4));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.3s ease;
}

.campus-title {
    font-size: 1.25rem;
    margin: 0;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* Interaction Effects */
.campus-card:hover {
    /* REMOVED: transform: translateY(-8px); */
    transform: none !important; /* Forces the card to stay still */
    box-shadow: 0 15px 30px rgba(15, 73, 117, 0.2) !important;
}

    .campus-card:hover .campus-img {
        transform: scale(1.1);
    }

    .campus-card:hover .campus-overlay {
        background: linear-gradient(to top, rgba(15, 73, 117, 0.9), rgba(15, 73, 117, 0.2));
    }

.divider-line {
    width: 60px;
    height: 3px;
    background-color: #0f4975;
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0.3;
}
/* --- IMPACT STATS STYLING --- */

.stats-icon-box {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-elpro {
    color: #0f4975 !important;
}

.stats-icon-box i {
    transition: transform 0.3s ease;
}

.col-lg-3:hover .stats-icon-box i {
    transform: scale(1.2);
}

/* --- CURRICULUM MINI CARDS --- */

.curr-mini-card {
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

    .curr-mini-card:hover {
        transform: translateY(-5px);
        border-top: 4px solid #0f4975;
    }
/* --- CURRICULUM SECTION STYLING --- */

.text-elpro {
    color: #2b78c5 !important; /* Lighter shade of blue to match the image text */
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.fw-600 {
    font-weight: 600;
}

/* Logo Sizing to match image proportions */
.curr-logo {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

.curriculum-item h5 {
    font-size: 1.15rem;
    line-height: 1.4;
    min-height: 3.5rem; /* Keeps titles aligned */
}

/* Underlined Links from Image */
.learn-more-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
    margin-top: 10px;
    transition: 0.3s;
}

    .learn-more-link:hover {
        color: #2b78c5;
        border-color: #2b78c5;
    }

/* Animation for the Wow factor */
.curriculum-item {
    transition: transform 0.3s ease;
}

    .curriculum-item:hover {
        transform: translateY(-5px);
    }
/* --- SLIDER CSS --- */
.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-wrapper {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.testimonial-slide {
    min-width: 100%; /* Show one slide at a time on mobile */
}

@media (min-width: 992px) {
    .testimonial-slide {
        min-width: 100%; /* Keeps the focus on one parent story at a time */
    }
}

.testimonial-card-magic {
    background-color: #f8faff;
    border-bottom: 4px solid #0f4975 !important;
}

.btn-outline-elpro {
    border-color: #0f4975;
    color: #0f4975;
    width: 45px;
    height: 45px;
}

    .btn-outline-elpro:hover {
        background-color: #0f4975;
        color: white;
    }
/* --- INFINITE TUNNEL FLOW --- */

.testimonial-tunnel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0px 0;
}

    /* Gradients for "Tunnel" entry/exit */
    .testimonial-tunnel::before,
    .testimonial-tunnel::after {
        content: "";
        position: absolute;
        top: 0;
        width: 200px; /* Size of the tunnel shadow */
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .testimonial-tunnel::before {
        left: 0;
        background: linear-gradient(to right, white, rgba(255,255,255,0));
    }

    .testimonial-tunnel::after {
        right: 0;
        background: linear-gradient(to left, white, rgba(255,255,255,0));
    }

.tunnel-track {
    display: flex;
    /* (Card 550px + Margin 30px) * 6 cards = 3480px total */
    width: 3480px;
    animation: endlessScroll 40s linear infinite;
}

    .tunnel-track:hover {
        animation-play-state: paused; /* Allows parents to pause and read */
    }

@keyframes endlessScroll {
    0% {
        transform: translateX(0);
    }
    /* Math: Reset at exactly half (3 cards * 580px = 1740px) */
    100% {
        transform: translateX(-1740px);
    }
}

.tunnel-card {
    width: 550px;
    margin: 0 15px;
    flex-shrink: 0;
    white-space: normal;
}

.card-glass {
    background: #ffffff;
    padding:0px;
    border-radius: 25px;
    border-bottom: 6px solid #0f4975;
    height: 100%;
    min-height: 280px; /* Ensures full text fits */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-long-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.parent-img-tunnel {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
}
/* --- UNIVERSITY LOGO TUNNEL --- */

.logo-tunnel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
}

    /* Tunnel Gradient Fades */
    .logo-tunnel::before,
    .logo-tunnel::after {
        content: "";
        position: absolute;
        top: 0;
        width: 150px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .logo-tunnel::before {
        left: 0;
        background: linear-gradient(to right, #f8f9fa 10%, rgba(248,249,250,0));
    }

    .logo-tunnel::after {
        right: 0;
        background: linear-gradient(to left, #f8f9fa 10%, rgba(248,249,250,0));
    }

.logo-track {
    display: flex;
    width: max-content;
    /* Math: (Logo Width 180px + Margin 40px) * Number of items in one set (5) */
    animation: logoFlow 25s linear infinite;
}

@keyframes logoFlow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-1100px);
    }
    /* Negative width of one full set */
}

.logo-item {
    width: 180px;
    margin: 0 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-item img {
        max-width: 100%;
        height: auto;
        max-height: 80px;
        filter: grayscale(100%);
        opacity: 0.6;
        transition: all 0.4s ease;
    }

    .logo-item:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.1);
    }
/* --- ADMISSIONS BANNER STYLING --- */

.admissions-banner {
    height: 500px;
    background: url('/images/admissions-bg.jpg') center/cover no-repeat fixed; /* "Fixed" adds a parallax wow factor */
}

.admissions-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep brand blue overlay to make text readable */
    background: linear-gradient(to right, rgba(15, 73, 117, 0.9), rgba(15, 73, 117, 0.6));
}

.text-orange {
    color: #f29111 !important;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.btn-magic-orange {
    background-color: #f29111;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

    .btn-magic-orange:hover {
        background-color: #d8810e;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(242, 145, 17, 0.3);
        color: white;
    }

.btn-outline-light:hover {
    background-color: white;
    color: #0f4975 !important;
}

@media (max-width: 768px) {
    .admissions-banner {
        height: auto;
        padding: 80px 0;
    }
}
/* --- SOCIAL MEDIA STYLING --- */

.social-circle {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0f4975; /* Brand Blue */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
}

.social-icon-link {
    text-decoration: none;
}

    /* Hover "Magic" Effect */
    .social-icon-link:hover .social-circle {
        background-color: #0f4975;
        color: white;
        transform: translateY(-8px) scale(1.1);
        box-shadow: 0 10px 20px rgba(15, 73, 117, 0.2) !important;
    }

    /* Specific icon colors on hover (Optional) */
    .social-icon-link:hover .bi-facebook {
        color: white;
    }

    .social-icon-link:hover .bi-instagram {
        color: white;
    }

    .social-icon-link:hover .bi-youtube {
        color: white;
    }

    .social-icon-link:hover .bi-linkedin {
        color: white;
    }
/* --- PARTNER LOGO FLOW STYLING --- */

.partner-tunnel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

    /* Side Gradients for the Tunnel Effect */
    .partner-tunnel::before,
    .partner-tunnel::after {
        content: "";
        position: absolute;
        top: 0;
        width: 150px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .partner-tunnel::before {
        left: 0;
        background: linear-gradient(to right, #f8f9fa 15%, rgba(248,249,250,0));
    }

    .partner-tunnel::after {
        right: 0;
        background: linear-gradient(to left, #f8f9fa 15%, rgba(248,249,250,0));
    }

.partner-track {
    display: flex;
    width: max-content;
    /* Math: (Logo Width 200px + Margin 40px) * Number of items in ONE set (5) = 1200px */
    animation: partnerScroll 20s linear infinite;
}

    .partner-track:hover {
        animation-play-state: paused; /* Allows users to inspect partner logos */
    }

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }
    /* Reset at negative width of exactly one full set */
    100% {
        transform: translateX(-1200px);
    }
}

.partner-logo {
    width: 200px;
    margin: 0 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .partner-logo img {
        max-width: 80%;
        height: auto;
        filter: grayscale(100%);
        opacity: 0.5;
        transition: all 0.4s ease;
    }

    /* The Magic Hover */
    .partner-logo:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.1);
    }
/* --- FIX: MOBILE COLLAPSING & SECTION GAPS --- */

/* 1. Stop the 'Conveyor Belt' from squashing on mobile */
.tunnel-card, .logo-item, .partner-logo {
    flex-shrink: 0 !important; /* Forces items to keep their width on mobile */
}

/* 2. Ensure tracks don't wrap or collapse on small screens */
.tunnel-track, .logo-track, .partner-track {
    display: flex !important;
    width: max-content !important;
}

/* 3. Kill white gaps between sections */
section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
}

/* 4. Fix Hero Banner image not filling space (The screenshot issue) */
.hero-banner {
    background-size: cover !important;
    background-position: center !important;
    padding: 0 !important;
}

/* 5. Responsive Card Widths for Mobile */
@media (max-width: 768px) {
    .tunnel-card {
        width: 300px !important; /* Smaller but fixed width for phones */
        margin-right: 15px !important;
    }

    .card-glass {
        min-height: auto !important;
        padding: 20px !important;
    }

    .display-3 {
        font-size: 2.2rem !important; /* Shrinks the large 'International Curricula' text */
    }
}
/* --- SCREENSHOT FIXES: BANNER & MOBILE --- */

/* 1. Fix the white void in the Hero Section */
.hero-banner {
    background: url('/images/campus-main.jpg') center center / cover no-repeat !important;
    min-height: 80vh !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 100px !important; /* Prevents Navbar overlap */
    margin: 0 !important;
}

/* 2. Fix Button Visibility (The 'Explore Campus' button in your screenshot) */
.btn-outline-light {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    background: transparent !important;
}

    .btn-outline-light:hover {
        background: #ffffff !important;
        color: #0f4975 !important;
    }

/* 3. Mobile View Overlap & Squeezing Fix */
@media (max-width: 768px) {
    .hero-banner {
        padding-top: 120px !important; /* Extra space for the mobile menu toggle */
        height: auto !important;
        min-height: 60vh !important;
    }

    .banner-title {
        font-size: 2.2rem !important; /* Resizes 'International Curricula' for mobile */
        line-height: 1.2 !important;
    }

    /* Fix the 'Conveyor Belt' sections collapsing on mobile */
    .tunnel-track, .logo-track, .partner-track {
        display: flex !important;
        width: max-content !important;
    }

    .tunnel-card, .logo-item, .partner-logo {
        flex-shrink: 0 !important; /* This is the specific fix for mobile collapsing */
    }
}

/* 4. Kill White Gaps Between Sections */
section {
    margin: 0 !important;
    border: none !important;
}
/* --- CRITICAL LAYOUT FIXES --- */

/* 1. Kill the white gap between Navbar and Banner */
section {
    margin: 0 !important;
    padding: 60px 0; /* Standardized spacing */
    border: none !important;
}

/* 2. Fix the Hero Banner image scaling (Screenshot Issue) */
.hero-banner {
    padding: 0 !important;
    margin: 0 !important;
    /* Ensure image fills the space and touches the menu */
    background: url('/images/campus-main.jpg') center center / cover no-repeat !important;
    min-height: 80vh !important;
    display: flex !important;
    align-items: center !important;
}

/* --- CRITICAL MOBILE & GAP FIXES --- */

/* 1. Kill the white gap between Navbar and Hero Banner */
section {
    margin: 0 !important;
    padding: 60px 0; /* Standardized spacing for sections */
    border: none !important;
}

/* 2. Fix Hero Banner Image and Alignment */
.hero-banner {
    padding: 0 !important;
    margin: 0 !important;
    /* Forces the image to fill the space and touch the menu */
    background: url('/images/campus-main.jpg') center center / cover no-repeat !important;
    min-height: 80vh !important;
    display: flex !important;
    align-items: center !important;
}

/* 3. Mobile View Specific Adjustments */
@media (max-width: 768px) {
    .hero-banner {
        /* Pushes content down so it doesn't hide behind the sticky header */
        padding-top: 100px !important;
        min-height: 60vh !important;
        background-attachment: scroll !important; /* Fixed backgrounds can cause gaps on mobile */
    }

    .banner-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    /* Prevent the 'Conveyor Belt' sections from collapsing on small screens */
    .tunnel-track, .logo-track, .partner-track {
        display: flex !important;
        width: max-content !important;
    }

    .tunnel-card, .logo-item, .partner-logo {
        flex-shrink: 0 !important; /* Critical: stops items from squashing */
    }
}
/* --- ADD TO THE BOTTOM OF YOUR ORIGINAL CSS --- */

/* 1. Kill Blank Spaces: Forces colored sections to touch edge-to-edge */
section {
    margin: 0 !important;
    border: none !important;
    padding: 60px 0; /* Standardized spacing */
}

/* 2. Fix the Hero Banner: Ensures it touches the blue Navbar perfectly */
.hero-banner {
    margin-top: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center !important;
}

/* 3. Mobile Collapse Fix: Stops cards from squashing on small screens */
.tunnel-card, .logo-item, .partner-logo {
    flex-shrink: 0 !important; /* This is the critical line for mobile */
}

/* Ensure tracks stay in a horizontal line on mobile */
.tunnel-track, .logo-track, .partner-track {
    display: flex !important;
    width: max-content !important;
}

/* 4. Responsive Card Adjustments */
@media (max-width: 768px) {
    .tunnel-card {
        width: 300px !important; /* Smaller width for phone screens */
        margin-right: 15px !important;
    }

    .banner-title {
        font-size: 2.2rem !important; /* Prevents text overlap on mobile */
    }
}
/* --- FIX: ADMISSIONS SUBTEXT ON MOBILE --- */
@media (max-width: 768px) {
    /* Targets the subtext paragraph in the admissions banner */
    .admissions-banner p,
    .admissions-banner .fs-5 {
        font-size: 1rem !important; /* Reduces size so it doesn't overflow */
        line-height: 1.5 !important; /* Increases spacing between lines for readability */
        padding-left: 15px !important; /* Ensures text doesn't touch screen edges */
        padding-right: 15px !important;
        opacity: 1 !important; /* Makes it solid white for better contrast */
    }

    /* Adjusts the 'Admissions Open' heading size so the text below it has room */
    .admissions-banner h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }

    /* Centers the 'Enquire Now' button and gives it breathing room */
    .admissions-banner .cta-actions {
        margin-top: 20px !important;
    }
}
/* --- FINAL GAP-KILLER & BUTTON FIX --- */

/* 1. Force all sections to sit flush with NO bottom margin */
section,
.py-5,
.bg-white,
.bg-light {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 60px !important; /* Adjust this for internal spacing */
    border-bottom: 0 !important;
}

/* 2. Specific fix for the Admissions Banner text and button on mobile */
@media (max-width: 768px) {
    /* Ensure the Admissions text wraps and is visible */
    .admissions-banner p,
    .banner-subtext {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
        padding: 0 15px !important;
        display: block !important; /* Forces visibility */
    }

    /* Fix for the missing Enquiry Now button */
    .cta-actions,
    .d-flex.gap-3 {
        display: flex !important;
        flex-direction: column !important; /* Stacks buttons so they don't squash */
        align-items: center !important;
        width: 100% !important;
    }

    .btn-magic-orange,
    .btn-outline-light {
        width: 85% !important;
        margin-bottom: 10px !important;
        display: inline-block !important; /* Prevents button from disappearing */
        visibility: visible !important;
    }

    /* Admissions Banner Height Fix */
    .admissions-banner {
        height: auto !important;
        padding: 80px 0 !important;
    }
}
/* --- ULTIMATE MOBILE & GAP FORCE-FIX --- */

/* 1. Eliminate White Gaps Between Sections */
section,
main .bg-white,
main .bg-light {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    border: 0 !important;
    display: block !important;
    overflow: hidden; /* Keeps backgrounds contained */
}

/* 2. Fix Admissions Subtext & Enquiry Button on Mobile */
@media (max-width: 768px) {
    /* Targets the 'Join Pune's leading...' text specifically */
    .admissions-banner p.fs-5,
    .admissions-banner .opacity-90 {
        display: block !important;
        visibility: visible !important;
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
        padding: 0 10px !important;
    }

    /* Fixes the missing 'Enquiry Now' button by preventing vertical squeeze */
    .admissions-banner .cta-actions,
    .hero-banner .d-flex {
        display: flex !important;
        flex-direction: column !important; /* Stack vertically for space */
        align-items: center !important;
        height: auto !important;
        gap: 15px !important;
    }

    .btn-magic-orange,
    .btn-outline-light {
        width: 100% !important; /* Full width for easy tapping */
        max-width: 280px !important;
        display: inline-block !important;
        visibility: visible !important;
    }
}

/* 3. Stop Testimonials & Logos from Collapsing */
.tunnel-card, .logo-item, .partner-logo {
    flex-shrink: 0 !important; /* Prevents the 'squeezing' on mobile */
}
I understand that the gaps are still persisting. To completely remove the blank white lines between your blue, white, and light-grey sections while keeping your original 700-line CSS intact, we need to focus on Vertical Margin Collapse.

The gaps you see are usually caused by Bootstrap's py-5 class or default browser margins on headings and paragraphs that "push" outside their containers.

1. The "Zero-Gap" CSS Block
Add this to the very bottom of your site.css. It uses the highest priority to force all background colors to touch edge-to-edge.

CSS
/* --- ULTIMATE GAP REMOVAL --- */
/* 1. Force sections to sit flush with NO vertical margins */
section,
.bg-white,
.bg-light,
.bg-elpro,
.admissions-banner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    display: block !important;
    overflow: hidden !important; /* Prevents internal margins from 'leaking' out */
}

/* 2. Standardize internal spacing without using Bootstrap's py-5 */
section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* 3. Kill specific gap between the Blue Navbar and Hero Banner */
.hero-banner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 4. Fix for internal elements (like h2 or p) pushing the section edges */
section > .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* --- FINAL FORCE-FIX: GAPS & MOBILE --- */

/* 1. Eliminate White Gaps Between Sections */
section, .bg-white, .bg-light, .admissions-banner {
    margin: 0 !important;
    padding: 60px 0 !important; /* Standardized height */
    border: none !important;
    display: block !important;
    overflow: hidden !important;
}

.hero-banner {
    padding: 0 !important;
    margin: 0 !important;
    height: 80vh;
}

/* 2. Mobile Visibility: Button & Subtext */
@media (max-width: 768px) {
    .admissions-banner p.fs-5 {
        display: block !important;
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        padding: 0 15px !important;
    }

    .hero-banner .d-flex, .admissions-banner .cta-actions {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }

    .btn-magic-orange, .btn-outline-light {
        width: 90% !important;
        display: inline-block !important;
        visibility: visible !important;
    }
}

/* 3. Stop Mobile Collapsing */
.tunnel-card, .logo-item, .partner-logo {
    flex-shrink: 0 !important;
}
/* --- FINAL ZERO-GAP & MOBILE VISIBILITY FIX --- */

/* 1. FORCE SECTIONS TO TOUCH EDGE-TO-EDGE */
section,
.bg-white,
.bg-light,
.admissions-banner {
    margin: 0 !important;
    padding: 60px 0 !important; /* Unified internal spacing */
    border: 0 !important;
    display: block !important;
    position: relative;
    /* This prevents internal margins (h2, p) from creating white gaps */
    overflow: hidden !important;
}

/* 2. SPECIFIC HERO FIX: Remove top gap under Navbar */
.hero-banner {
    padding: 0 !important;
    margin: 0 !important;
    height: 80vh;
    background-size: cover !important;
}

/* 3. MOBILE TEXT & BUTTON VISIBILITY */
@media (max-width: 768px) {
    /* Fix: Admissions subtext visibility */
    .admissions-banner p.fs-5,
    .admissions-banner .opacity-90 {
        display: block !important;
        visibility: visible !important;
        font-size: 1.05rem !important;
        line-height: 1.5 !important;
        padding: 0 15px !important;
        margin-bottom: 20px !important;
    }

    /* Fix: Enquiry Now button missing/squashed */
    .hero-banner .d-flex,
    .admissions-banner .cta-actions {
        display: flex !important;
        flex-direction: column !important; /* Stacks buttons vertically */
        gap: 12px !important;
        align-items: center !important;
    }

    .btn-magic-orange,
    .btn-outline-light {
        width: 85% !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Prevent mobile 'Conveyor' cards from squeezing */
    .tunnel-card, .logo-item, .partner-logo {
        flex-shrink: 0 !important;
    }
}
/* --- THE GAP-KILLER: EDGE-TO-EDGE SECTIONS --- */

/* 1. Force background colors to meet perfectly */
section,
main section,
.admissions-banner {
    margin: 0 !important;
    padding: 60px 0; /* Standardized internal vertical space */
    border: none !important;
    display: block !important;
    position: relative;
    /* This prevents internal margins (h2, p) from creating white gaps */
    overflow: hidden !important;
}

/* 2. Remove the top gap under the Navbar */
.hero-banner {
    padding: 0 !important;
    margin: 0 !important;
}

/* --- MOBILE VISIBILITY & STABILITY --- */
@media (max-width: 768px) {
    /* Fix: Admissions subtext visibility and wrapping */
    .admissions-banner p.fs-5,
    .banner-subtext {
        display: block !important;
        visibility: visible !important;
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        padding: 0 15px !important;
        margin-bottom: 25px !important;
        opacity: 1 !important;
    }

    /* Fix: Missing 'Enquire Now' button by stacking vertically */
    .hero-banner .d-flex,
    .admissions-banner .cta-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .btn-magic-orange,
    .btn-outline-light {
        width: 85% !important;
        display: inline-block !important;
        visibility: visible !important;
    }

    /* Fix: Prevent 'Conveyor' sections from squashing */
    .tunnel-card, .logo-item, .partner-logo {
        flex-shrink: 0 !important;
    }
}
/* --- THE EMERGENCY GAP-KILLER --- */
section, .admissions-banner {
    margin: 0 !important;
    padding: 60px 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.hero-banner {
    margin-top: 0 !important;
    padding: 0 !important;
}

/* Fixes the squashed mobile buttons/text */
@media (max-width: 768px) {
    .hero-banner, .admissions-banner {
        height: auto !important;
        min-height: 450px;
    }

        .cta-actions, .hero-banner .d-flex {
            flex-direction: column !important;
            gap: 10px;
        }

    .btn-magic-orange, .btn-outline-light {
        width: 90% !important;
        display: inline-block !important;
    }
}
/* --- THE ULTIMATE ZERO-GAP RESET --- */

/* 1. Kill ALL internal and external space between sections */
section,
.bg-white,
.bg-light,
.admissions-banner,
.py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* 2. Fix the Hero Banner to ensure it touches the Navbar with 0 space */
.hero-banner {
    padding: 0 !important;
    margin: 0 !important;
    height: 80vh;
}

/* 3. MOBILE: Ensure buttons still show even with 0 padding */
@media (max-width: 768px) {
    .admissions-banner, .hero-banner {
        padding: 40px 15px !important; /* Some padding is needed on mobile so text doesn't hit screen edges */
        height: auto !important;
    }

        .cta-actions, .hero-banner .d-flex {
            flex-direction: column !important;
            gap: 10px;
        }
}
.about-banner-top {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0; /* Kills the tiny gap under the image */
}

.banner-img {
    height: 400px; /* You can adjust this height */
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .banner-img {
        height: 250px; /* Shorter for mobile */
    }
}
/* Ensure images fill the column perfectly */
.img-fluid {
    display: block;
}

.text-elpro {
    color: #0f4975 !important;
}

/* Mobile stacking fix */
@media (max-width: 768px) {
    section {
        padding: 0 !important; /* Touch edge-to-edge on mobile */
    }

    .col-md-6 {
        padding: 30px 20px !important; /* Add breathing room for text on mobile only */
    }
}
.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

    .value-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(15, 73, 117, 0.1) !important;
    }

.value-icon-box img {
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
}
.modal-content {
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.btn-link:hover {
    color: #f29111 !important;
    transition: 0.3s;
}

/* Ensure the modal image doesn't get too large on small screens */
@media (max-width: 768px) {
    .modal-body .col-md-4 {
        text-align: center;
    }

    .modal-body img {
        max-width: 200px;
        margin-bottom: 20px;
    }
}
/* Modal Styling */
.modal-xl {
    max-width: 1140px;
}

.modal-body img {
    max-height: 450px;
    object-fit: cover;
    width: 100%;
}

.modal-body h6 {
    color: #1872b8;
    margin-top: 1.5rem;
}

.modal-body hr {
    border-top: 2px solid #f29111;
    width: 50px;
    margin-left: 0;
    opacity: 1;
}

/* Ensure headings in modal use brand blue */
.modal-body h3, .modal-body h4 {
    color: #1872b8 !important;
}
/* Brand Heading Colour */
h2, h3, h4, h5, .modal-title {
    color: #1872b8 !important;
}

/* Modal and Image Styling */
.modal-content {
    overflow: hidden;
}

.btn-link {
    color: #1872b8;
}

    .btn-link:hover {
        color: #f29111; /* Brand Orange */
    }

/* CTA Banner Fix */
.admissions-cta {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* --- THE ULTIMATE IMAGE SIZE LOCK --- */

/* 1. Mission & Vision: Rectangular (Wide) */
.about-img-compact {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important; /* Forces a professional widescreen shape */
    object-fit: cover !important;
    border-radius: 8px;
}

/* 2. Board Members: Portrait (Tall) */
.portrait-img {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important; /* Forces a professional headshot shape */
    object-fit: cover !important;
    object-position: top;
    border-radius: 12px;
}

/* 3. Global Heading Brand Color (RGB 24, 114, 184) */
h2, h3, h4, h5, .text-elpro {
    color: #1872b8 !important;
}

/* 4. Small Description Fix */
.small-desc {
    font-size: 0.9rem !important;
    line-height: 1.5;
}
/* Body Text - Using Inter as primary, Roboto as fallback */
body {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 400; /* Regular */
    line-height: 1.6;
    color: #333;
}

/* Main Headings - Montserrat Bold/ExtraBold */
h1, h2, .main-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; /* ExtraBold */
    letter-spacing: -0.5px;
}

/* Subtitles / Details - Montserrat or Inter Medium */
h3, h4, .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium */
    color: #555;
}

/* Details/Small text specifically for Inter */
.text-detail {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}
/* Brand Colors for Icons */
.icon-facebook {
    color: #1877F2;
}

.icon-instagram {
    color: #E4405F;
}

.icon-youtube {
    color: #CD201F;
}

/* Social Box Styling */
.social-box {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

    /* Wow Hover Effect */
    .social-box:hover {
        transform: translateY(-5px) scale(1.1);
    }

.subscribe-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #f58220; /* Elpro Orange */
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* ==========================================================================
   ELPRO MASTER CONSOLIDATION - MARCH 2026 GO-LIVE
   ========================================================================== */

/* --- 1. GLOBAL TYPOGRAPHY HIERARCHY --- */
body, p, ul, ol, .text-muted, .footer-text, .small-text {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    font-size: 16px !important;
    color: #333 !important;
}

h1, h2, .display-3, .display-4, .banner-title, .main-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important; /* ExtraBold */
    letter-spacing: -0.5px !important;
    color: #1872b8 !important; /* Brand Blue */
}

h3, h4, h5, h6, .subtitle, .magic-title, .text-detail, .subscribe-text {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important; /* Medium */
}

/* --- 2. ZERO-GAP & EDGE-TO-EDGE SECTIONS --- */
section, .bg-white, .bg-light, .bg-elpro, .admissions-banner, .marquee-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    display: block !important;
    overflow: hidden !important; /* Kills white gaps from internal margins */
    position: relative;
}

.hero-banner {
    margin: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    height: 80vh;
}

/* --- 3. STILL-IMAGE & NO-MOVEMENT POLICY --- */
.campus-card, .award-card, .value-card, .campus-img, .img-fluid, .social-circle {
    transform: none !important; /* Stops all translateY or scale movement */
    transition: box-shadow 0.3s ease, background 0.3s ease !important;
}

    .campus-card:hover, .award-card:hover, .value-card:hover {
        transform: none !important;
        box-shadow: 0 15px 30px rgba(15, 73, 117, 0.2) !important;
    }

/* --- 4. NAVBAR & DROPDOWN MAGIC --- */
.bg-elpro {
    background-color: #0f4975 !important;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 1.0rem !important;
    padding: 10px 16px !important;
    transition: 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #f29111 !important;
    }

.dropdown-toggle::after {
    display: none !important;
}

.navbar .dropdown-toggle i {
    margin-left: 8px;
    font-size: 1.0rem !important;
    transition: transform 0.3s ease;
}

.navbar .dropdown.show .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- 5. IMAGE ASPECT RATIOS & ROUNDING --- */
.campus-card, .campus-img-container, .award-card, .wow-card {
    border-radius: 20px !important;
}

.about-img-compact {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.portrait-img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
}

/* --- 6. MOBILE COLLAPSE & SQUEEZE FIXES --- */
@media (max-width: 768px) {
    .hero-banner, .admissions-banner {
        height: auto !important;
        min-height: 450px;
        padding-top: 100px !important;
    }

        /* Fix: Admissions text and buttons disappearing */
        .admissions-banner p, .banner-subtext {
            display: block !important;
            font-size: 1.05rem !important;
            padding: 0 15px !important;
        }

        .cta-actions, .hero-banner .d-flex {
            flex-direction: column !important;
            gap: 12px !important;
            align-items: center !important;
        }

    .btn-magic-orange, .btn-outline-light {
        width: 85% !important;
        display: inline-block !important;
    }

    /* Prevent 'Conveyor' cards from squashing */
    .tunnel-card, .logo-item, .partner-logo, .wow-card {
        flex-shrink: 0 !important;
        width: 300px !important;
    }

    .tunnel-track, .logo-track, .partner-track, .marquee-content {
        display: flex !important;
        width: max-content !important;
    }
}

/* --- 7. BRAND ICON COLORS --- */
.icon-facebook {
    color: #1877F2;
}

.icon-instagram {
    color: #E4405F;
}

.icon-youtube {
    color: #CD201F;
}

.text-orange, .magic-title {
    color: #f29111 !important;
}
/* 1. Target the specific address tag with maximum priority */
address.footer-text,
footer address,
.footer-text {
    color: #ffffff !important; /* Forces white over the black default */
    opacity: 1 !important; /* Ensures it is not dimmed or hidden */
    font-style: normal !important; /* Removes default italics */
    font-family: 'Inter', sans-serif !important; /* Matches your brand approach */
    display: block !important;
}

    /* 2. Fix for any inherited link colors inside the address */
    footer address a,
    .footer-text a {
        color: #ffffff !important;
        text-decoration: none !important;
    }

        /* 3. Hover state to ensure it stays white or turns orange */
        footer address a:hover {
            color: #f29111 !important; /* Elpro Orange */
        }
/* 1. Target the Email and Copyright text specifically */
footer p,
.footer-text,
.opacity-75,
footer .small {
    color: #ffffff !important; /* Forces white over any black default  */
    opacity: 0.8 !important; /* Ensures it is bright enough to read  */
}

    /* 2. Fix for the email link if it's wrapped in an <a> tag */
    footer a,
    footer p a {
        color: #ffffff !important;
        text-decoration: none !important;
        transition: color 0.3s ease;
    }

        /* 3. Hover state for the email for better UX */
        footer a:hover {
            color: #f29111 !important; /* Elpro Orange  */
        }
h2.display-4.text-white,
.hero-banner h2.display-4,
.admissions-banner h2 {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3) !important; /* Adds depth against the background */
    font-family: 'Montserrat', sans-serif !important; /* Ensures your brand font is applied */
}

/* 2. Fix for the subtext below it to ensure it isn't also black */
.hero-banner p,
.admissions-banner p.fs-5 {
    color: #ffffff !important;
    opacity: 0.9 !important;
}
/* ==========================================================================
   ELPRO FINAL MASTER - NAV & DROPDOWN ENGINE
   ========================================================================== */

/* 1. CLICKS: Ensure dropdowns open and are visible */
.dropdown-menu {
    display: none;
    position: absolute !important; /* Prevents banner from pushing it */
    top: 100% !important;
    left: 0 !important;
    z-index: 99999 !important; /* Front-most layer */
    background-color: #ffffff !important;
    border-radius: 12px !important;
    min-width: 220px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    /* This is the magic class Bootstrap and our JS add on click */
    .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

/* 2. Z-INDEX WAR: Force Nav above the 100vh Hero Banner */
header, .navbar {
    z-index: 9000 !important;
}

.hero-banner {
    z-index: 1 !important; /* Keeps banner in the background */
}

/* 3. TYPOGRAPHY: Forces the white color you requested for Admissions */
h2.display-4.text-white,
.admissions-banner h2 {
    color: #ffffff !important;
    opacity: 1 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
}

/* 4. FOOTER: Force White (Address, Email, Copyright) */
address.footer-text,
.footer-text,
footer p,
footer .small {
    color: #ffffff !important;
    opacity: 1 !important;
    font-style: normal !important;
}

/* 5. MOBILE HAMBURGER FIX */
@media (max-width: 991px) {
    .navbar-collapse.show {
        background-color: #0f4975 !important;
        padding: 20px !important;
        border-radius: 0 0 20px 20px !important;
    }
}
/* ==========================================================================
   FINAL NAV FIX - MOVE TO BOTTOM OF CSS FILE
   ========================================================================== */

/* 1. Navbar Container Fix */
.navbar {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 9000 !important; /* Keep it above the hero banner */
}

/* 2. Nav Links Styling */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 1.0rem !important;
    font-weight: 400 !important;
    padding: 10px 16px !important;
    margin: 0 6px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #f29111 !important;
    }

/* 3. Dropdown Menu - THE FIX */
.dropdown-menu {
    display: none; /* Let Bootstrap/JS toggle this */
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
    padding: 10px !important;
    border: none !important;
    font-size: 1.0rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    z-index: 9999 !important; /* Front-most layer */
    position: absolute !important;
}

    /* Force show when Bootstrap adds the class */
    .dropdown-menu.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

/* 4. Dropdown Items */
.dropdown-item {
    padding: 10px 18px !important;
    transition: 0.3s;
    color: #333 !important;
}

    .dropdown-item:hover {
        background-color: #f8f9fa !important;
        color: #f29111 !important;
    }

/* 5. Dropdown Icon Customization */
.dropdown-toggle::after {
    display: none !important;
}

.navbar .dropdown-toggle i {
    margin-left: 8px;
    font-size: 1.0rem !important;
    transition: transform 0.3s ease;
}

.navbar .dropdown.show .dropdown-toggle i {
    transform: rotate(180deg);
}

/* 6. Mobile Fix */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 12px 10px !important;
        font-size: 1.0rem !important;
    }

    .navbar-collapse {
        background-color: #0f4975 !important;
        margin-top: 10px;
        border-radius: 10px;
        padding: 10px;
    }
}
/* --- EMERGENCY DROPDOWN VISIBILITY --- */
.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    z-index: 999999 !important; /* Set extremely high */
    background-color: #ffffff !important;
    pointer-events: auto !important;
    top: 100% !important;
}

/* Ensure the navbar doesn't clip the dropdown */
.navbar, .container-fluid, .navbar-collapse {
    overflow: visible !important;
}
/* --- BRUTE FORCE OVERFLOW FIX --- */
header,
.navbar,
.container-fluid,
.navbar-collapse,
.nav-item {
    overflow: visible !important; /* Forces the menu to break out of its container */
}

/* Ensure the dropdown itself is at the absolute front of the stack */
.dropdown-menu {
    display: none;
    position: absolute !important;
    z-index: 999999 !important;
    background-color: #ffffff !important;
    visibility: hidden;
}

    /* This is what our script will trigger */
    .dropdown-menu.force-show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        top: 100% !important;
        left: 0 !important;
    }
/* ==========================================================================
   FINAL NAV FIX - MOVE TO THE VERY BOTTOM OF site.css
   ========================================================================== */

/* 1. Navbar Container height & position */
.navbar {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* 2. Nav Links (Menu Items) Styling */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 1.0rem !important;
    font-weight: 400 !important;
    padding: 10px 16px !important;
    margin: 0 6px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

    /* Hover Effect for Nav Links */
    .navbar-nav .nav-link:hover {
        color: #f29111 !important;
    }

/* 3. Dropdown Menu - THE BACKGROUND FIX */
.dropdown-menu {
    /* We add !important here to force the transparent blue over any old white rule */
    background: rgba(15, 73, 117, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
    padding: 10px !important;
    border: none !important;
    font-size: 1.0rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    /* Ensure it is at the front of the stack on the Index page */
    z-index: 9999 !important;
}

/* 4. Dropdown Items (The links inside the menu) */
.dropdown-item {
    padding: 10px 18px !important;
    transition: 0.3s;
    /* Ensure text is white against the blue background */
    color: #ffffff !important;
}

    /* Hover effect for Dropdown Items */
    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #f29111 !important;
    }

/* 5. Dropdown Icon Customization */
.dropdown-toggle::after {
    display: none !important;
}

.navbar .dropdown-toggle i {
    margin-left: 8px;
    font-size: 1.0rem !important;
    transition: transform 0.3s ease;
}

/* Rotate icon when menu is open */
.navbar .dropdown.show .dropdown-toggle i {
    transform: rotate(180deg);
}

/* 6. Mobile View Fix */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 12px 10px !important;
        font-size: 1.0rem !important;
    }
    /* Ensure the mobile collapse background matches the navbar */
    .navbar-collapse {
        background-color: #0f4975 !important;
        margin-top: 10px;
        border-radius: 10px;
        padding: 10px;
    }
}
/* ==========================================================================
   ELPRO DROPDOWN OVERRIDE - MATCHING SCREENSHOT THEME
   ========================================================================== */

/* 1. FORCE DARK BACKGROUND & DIMENSIONS */
.navbar-nav .dropdown-menu {
    background-color: #0d1b2a !important; /* Dark Navy matching your screenshot */
    border: none !important;
    border-radius: 8px !important;
    padding: 20px 10px !important; /* Spacing inside the menu */
    min-width: 240px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    /* Ensure visibility when 'show' is active */
    display: none;
    position: absolute !important;
    z-index: 99999 !important;
}

    /* 2. FORCE SHOW CLASS */
    .navbar-nav .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

/* 3. MENU ITEM STYLING (The White Text) */
.dropdown-item {
    color: #ffffff !important; /* White text matching screenshot */
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    padding: 12px 20px !important; /* Spacing between items */
    background: transparent !important;
    transition: all 0.3s ease;
}

    /* 4. HOVER EFFECT (Optional Orange highlight) */
    .dropdown-item:hover {
        color: #f29111 !important; /* Elpro Orange on hover */
        background-color: rgba(255, 255, 255, 0.05) !important;
        padding-left: 25px !important; /* Subtle slide effect */
    }

/* 5. FIX OVERFLOW (Prevents menu from being cut off) */
.navbar, .container-fluid, .navbar-collapse {
    overflow: visible !important;
}
/* --- FIX FOR CONTENT GOING BEHIND FIXED NAVBAR --- */
main {
    padding-top: 100px !important; /* Adjust this value to match your navbar height */
}

/* If you have a Hero Banner on the Index page, we don't want padding there */
.hero-banner {
    margin-top: -100px !important;
}
/* ==========================================================================
   THE "BROWN-KILLER" FIX - FORCING ELPRO BLUE
   ========================================================================== */

/* This prefix (.navbar-nav) makes this rule stronger than the brown one */
.navbar .navbar-nav .dropdown-menu {
    background-color: #0f4975 !important; /* THE SOLID BLUE */
    background: #0f4975 !important; /* Double-check for gradients */
    /* Shape from your screenshot */
    border-radius: 0 0 15px 15px !important;
    border: none !important;
    padding: 0 !important;
    min-width: 240px !important;
    /* Ensure it's not transparent */
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
}

/* Ensure the links inside are bold white */
.navbar .navbar-nav .dropdown-item {
    color: #ffffff !important;
    background-color: transparent !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    padding: 15px 25px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

    /* Hover state: Bright Elpro Orange */
    .navbar .navbar-nav .dropdown-item:hover {
        background-color: #f29111 !important;
        color: #ffffff !important;
    }
/* Wrapper */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 5px 0; /* ⬇ was 10px 0 */
}

    /* Fade edges */
    .marquee-wrapper::before,
    .marquee-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .marquee-wrapper::before {
        left: 0;
        background: linear-gradient(to right, #ffffff, transparent);
    }

    .marquee-wrapper::after {
        right: 0;
        background: linear-gradient(to left, #ffffff, transparent);
    }

/* Track */
.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee-ltr 5s linear infinite;
}

.marquee-reverse .marquee-track {
    animation: marquee-rtl 5s linear infinite;
}

/* Logo item */
.partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 195px;
    height: 75px; /* ⬇ was 100px */
    padding: 5px 25px; /* ⬇ was 10px 25px */
    margin: 0 15px;
    background: transparent;
    transition: transform 0.3s ease;
}

    .partner-logo:hover {
        transform: translateY(-3px);
    }

    .partner-logo img {
        max-width: 150px;
        max-height: 80px;
        object-fit: contain;
        filter: grayscale(30%);
        transition: filter 0.3s ease, transform 0.3s ease;
        display: block;
    }

    .partner-logo:hover img {
        filter: grayscale(0%);
        transform: scale(1.05);
    }

/* Animations */
@keyframes marquee-ltr {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Pause on hover */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}
/* ================================================
   ADMISSIONS BANNER
   ================================================ */
.admissions-banner {
    background-image: url('/images/Webiste.JPG'); /* 👈 your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 450px;
    position: relative;
}

.admissions-overlay {
    min-height: 450px;
    width: 100%;
    background: linear-gradient(rgba(15, 73, 117, 0.5), rgba(15, 73, 117, 0.5));
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .admissions-banner {
        background-attachment: scroll; /* Fixed bg causes issues on mobile */
        min-height: 350px;
    }

    .admissions-overlay {
        min-height: 350px;
        padding: 60px 15px;
    }

    .admissions-title {
        font-size: 1.8rem !important;
    }
}
/* ================================================
   ELPRO FONT FIX - ADD AT VERY BOTTOM OF site.css
   Fixes all font inconsistencies found in browser
   ================================================ */

/* FIX 1: Body/paragraph text - force 1rem (16px) */
body, p, li, td, th, label, address,
.footer-text, .f-links li a {
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important; /* Force 16px */
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

/* FIX 2: Bootstrap .fs-5 overrides (was 1.25rem = 20px, too big) */
.fs-5 {
    font-size: 1.05rem !important; /* 16.8px - subtle */
}

.fs-6 {
    font-size: 0.9rem !important;
}

/* FIX 3: banner-subtext specifically */
.banner-subtext,
.admissions-banner p,
.hero-banner p {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: #ffffff !important;
}

/* FIX 4: Dropdown font-size */
.dropdown-item {
    font-size: 1rem !important; /* Force 16px */
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
}

/* FIX 5: Headings - consistent sizes */
h1, .banner-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
}

h2, .display-5, .display-6 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2.2rem !important;
}

h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important;
}

h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

/* FIX 6: section overflow - allow dropdowns to show */
/* Keep overflow:hidden only where needed for marquee/tunnels */
section {
    overflow: visible !important;
}

/* Re-apply hidden only to marquee/tunnel sections */
.testimonial-tunnel,
.marquee-wrapper,
.logo-tunnel,
.partner-tunnel {
    overflow: hidden !important;
}

/* FIX 7: Mobile font sizes */
@media (max-width: 768px) {
    h1, .banner-title {
        font-size: 2.2rem !important;
    }

    h2, .display-5, .display-6 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    p, body {
        font-size: 0.95rem !important;
    }
}
.btn-reject-cookie {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: #ffffff !important;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

    .btn-reject-cookie:hover {
        background: rgba(255,255,255,0.15);
        border-color: #ffffff;
    }