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

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

/* NAV MAGIC: Horizontal Alignment & Interactive Hover */
.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 --- */

.hero-banner {
    /* Replace with your actual high-res campus image path */
    background: url('/images/campus-main.jpg') center center / cover no-repeat;
    height: 80vh; /* Banner takes up 80% of the screen height */
    position: relative;
}

.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;
}