﻿/* --- ELPRO INTERNATIONAL SCHOOL CUSTOM STYLES --- */

:root {
    --elpro-blue: #0d4a7d;
    --elpro-dark-blue: #0a3a62;
    --elpro-orange: #f37021;
    --elpro-text-white: #ffffff;
}

/* --- GLOBAL SETTINGS --- */
body {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard */
}

/* Allow selection inside forms so users can still type normally */
input, textarea {
    -webkit-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}

.bg-elpro {
    background-color: var(--elpro-blue) !important;
}

/* --- ACCESSIBILITY: SKIP LINK --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--elpro-orange);
    color: white;
    padding: 12px 24px;
    z-index: 10000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}

    .skip-link:focus {
        top: 0;
        outline: 3px solid var(--elpro-blue);
    }

/* --- NAVIGATION & NAVBAR --- */
.navbar {
    padding: 0 !important;
    min-height: 80px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
}

/* --- DESKTOP NAVIGATION (992px+) --- */
@media (min-width: 992px) {
    .nav-item.dropdown {
        display: flex;
        align-items: center;
        height: 80px;
    }

    .dropdown-menu {
        margin-top: 0 !important;
        top: 100% !important;
        background-color: var(--elpro-blue) !important;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 0 0 8px 8px;
        padding: 0;
    }

    .dropdown-submenu {
        position: relative;
    }

        .dropdown-submenu > .dropdown-menu {
            top: 0 !important;
            left: 100% !important;
            border-radius: 0 8px 8px 8px;
        }

    .dropdown-item {
        padding: 12px 25px;
        color: var(--elpro-text-white) !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

        .dropdown-item:hover {
            background-color: var(--elpro-orange) !important;
            color: #fff !important;
        }
}

/* --- MOBILE NAVIGATION (Max 991px) --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--elpro-blue) !important;
        padding: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-nav .nav-link,
    .navbar-nav .dropdown-item,
    #hinjawadiMobile {
        color: var(--elpro-text-white) !important;
        font-weight: 500;
    }

    .dropdown-menu {
        background-color: var(--elpro-dark-blue) !important;
        border: none !important;
        margin-top: 0 !important;
    }

    #hinjawadiMenu.show {
        display: block !important;
        position: static !important;
        border-left: 2px solid var(--elpro-orange) !important;
        margin-left: 10px;
    }

    .dropdown-item:active,
    .dropdown-item:hover {
        background-color: var(--elpro-orange) !important;
    }
}

/* --- UTILITIES & WIDGETS --- */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 95px;
    right: 25px;
    z-index: 9998;
    background-color: var(--elpro-orange);
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
}

    #backToTopBtn:hover {
        background-color: var(--elpro-dark-blue);
        transform: translateY(-3px);
    }

/* TATA WHATSAPP WIDGET FIX */
#ttl-whatsapp-67c16127b8d456fa6493d809 {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 9999 !important;
}

/* FOOTER STYLES */
address {
    font-style: normal;
}

.hover-orange:hover {
    color: var(--elpro-orange) !important;
}
<style >
/* 1. PREMIUM GLASS PILL MENU (NON-STICKY) */
.floating-menu-wrapper {
    position: relative;
    z-index: 990 !important;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 30px;
    pointer-events: none;
}

.glass-pill {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 5px 10px;
    pointer-events: auto;
    max-width: 100%;
    position: relative;
}

/* 2. Mobile Swipe Styling */
.swipe-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: center;
    flex-wrap: nowrap;
}

    .swipe-nav::-webkit-scrollbar {
        display: none;
    }

/* 3. Main Menu Buttons */
.glass-pill .nav-link {
    color: #555;
    font-weight: 600;
    border-radius: 40px;
    margin: 0 3px;
    padding: 8px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

    .glass-pill .nav-link:hover, .glass-pill .nav-link.active {
        background-color: #f58220 !important;
        color: white !important;
        box-shadow: 0 4px 10px rgba(245, 130, 32, 0.3);
        transform: translateY(-1px);
    }

.campus-badge {
    background-color: #1a62a9;
    color: white;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* 4. THE POP-OUT MOBILE DROPDOWN */
.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    padding: 10px;
    min-width: 240px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.08);
    z-index: 1000;
}

    .custom-dropdown-menu.show {
        display: block;
        animation: dropFade 0.3s ease forwards;
    }

@@keyframes dropFade {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* 🚀 FIX FOR WHITE TEXT IN DROPDOWN: Forces text to be dark grey */
#curriculumsMenu .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    color: #333 !important;
    padding: 12px 20px;
    transition: 0.2s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

    #curriculumsMenu .dropdown-item:hover, #curriculumsMenu .dropdown-item.active {
        background-color: rgba(26, 98, 169, 0.1) !important;
        color: #1a62a9 !important;
    }

/* 5. Section Spacing & Animations */
.tab-pane {
    padding-top: 20px;
    padding-bottom: 80px;
    min-height: 60vh;
    animation: fadeIn 0.4s ease forwards;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Premium Title Gradient */
.alumni-title-wow {
    background: linear-gradient(135deg, #1a62a9 0%, #f58220 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800 !important;
}

/* Base Card Styling */
.wow-card {
    background: #ffffff;
    width: 450px;
    flex-shrink: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    border-bottom: 5px solid transparent;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    padding: 2.5rem !important;
}

    .wow-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 30px 60px rgba(26, 98, 169, 0.15);
        border-bottom: 5px solid #f58220;
        z-index: 10;
    }

.wow-avatar {
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px #1a62a9;
    padding: 2px;
    transition: transform 0.3s ease;
}

.wow-card:hover .wow-avatar {
    transform: rotate(5deg) scale(1.1);
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0 60px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-content {
    display: inline-flex;
    width: max-content;
    animation: scrollMarquee 45s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ✅ VIDEO MODAL FIX */
.video-modal .modal-dialog {
    max-width: 900px;
    width: 95%;
    margin: auto;
}

.video-modal video {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
}

.video-modal .modal-content {
    background: transparent;
    border: none;
}

.video-modal .modal-body {
    padding: 10px;
    position: relative;
}

/* ✅ CLOSE BUTTON FIX */
.video-modal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000 !important;
    /* FIX ICON */
    filter: invert(1); /* makes cross white */
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ✅ MOBILE FIX (BIGGER VIDEO) */
@@media (max-width: 576px) {
    .video-modal .modal-dialog {
        max-width: 100%;
        margin: 0;
    }

    .video-modal .modal-body {
        padding: 5px;
    }

    .video-modal video {
        max-height: 85vh;
    }
}

