/* General Styles */
body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
#custom-header {
    background-color: #0d3869;
    color: white;
    padding: 10px 0;
}

.custom-container {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-navbar {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.custom-nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
}

.custom-nav-links li {
    position: relative;
}

.custom-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.custom-contact-info {
    font-size: 14px;
}

.custom-contact-info a {
    color: white;
    text-decoration: none;
}

.custom-contact-btn {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

/* Dropdown */
.custom-dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    color: black;
    list-style: none;
    padding: 5px 0;
    width: 150px;
    top: 100%;
    left: 0;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    z-index: 1000000;
}

.custom-dropdown-menu li a {
    color: black;
    padding: 8px 12px;
    display: block;
}

.custom-dropdown:hover .custom-dropdown-menu {
    display: block;
}

/* Hamburger Menu (Mobile) */
.custom-hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-nav-links {
        display: none;
        flex-direction: column;
        background: #0d3869;
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        padding: 10px;
        z-index: 100000;
    }

    .custom-nav-links.custom-active {
        display: flex;
    }

    .custom-hamburger {
        display: block;
    }

    .custom-contact-info {
        display: none;
    }
}

        /* Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Navbar */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #fff;
            padding: 15px 20px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 100;
            gap:15px;
        }

        /* Logo */
        .logo img {
            height: 50px;
            width: auto;
        }

        /* Navigation Links */
        .nav-links {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
        }

        .nav-links li {
            position: relative;
        }

        .nav-links a {
            color: #333;
            text-decoration: none;
            padding: 10px 15px;
            display: block;
            font-size: 16px;
            font-weight: 900;
            transition: color 0.3s ease-in-out;
        }

        .nav-links a:hover {
            color: #007bff;
        }
        .no-style{
            list-style-type:none;
           
        }
        .no-style li{
             border-bottom: 1px solid #ddd;
        }

        /* Dropdown & Mega Menu - Initially Hidden */
        .dropdown, .mega-content {
            display: none;  /* FIX: Hidden by default */
            position: absolute;
            background: white;
            top: 100%;
            left: 0;
            min-width: 200px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            padding: 10px;
            z-index: 10;
        }

        /* Two-Column Services Submenu */
        .services-menu {
            display: flex;
            flex-wrap: wrap;
            width: 400px;
        }

        .dropdown-column {
            width: 50%;
            list-style: none;
        }

        .dropdown-column li {
            border-bottom: 1px solid #ddd;
        }

        .dropdown-column li:last-child {
            border-bottom: none;
        }

        .dropdown-column li a {
            color: #333;
            padding: 10px;
            font-size: 14px;
            display: block;
        }

        .dropdown-column li a:hover {
            background: #f8f9fa;
        }

        /* Mega Menu */
        .mega-content {
            display: flex;
            width: 450px;
            background: white;
            padding: 15px;
            color: black;
            border-radius: 5px;
            flex-wrap: wrap;
        }

        .mega-column {
            width: 50%;
            padding: 10px;
        }

        .mega-content h3 {
            margin-bottom: 10px;
            font-size: 16px;
            font-weight: bold;
        }

        /* Mobile Menu */
        .menu-toggle {
            display: none;
            font-size: 24px;
            cursor: pointer;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                background: #fff;
                position: absolute;
                top: 80px;
                left: 0;
                width: 100%;
                box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
                z-index: 10;
            }
           

            .nav-links li {
                width: 100%;
            }

            .menu-toggle {
                display: block;
            }

            /* Submenu Full Width on Mobile */
            .services-menu {
                flex-direction: column;
                width: 100%;
            }

            .mega-content {
                flex-direction: column;
                width: 100%;
            }

            .mega-column {
                width: 100%;
            }
            .dropdown-column{
                width: 100%;
            }
            .dropdown-column li:last-child{
            border-bottom: 1px solid #ddd;
            }
        }
        .apply-now-container {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .apply-now-button {
            animation: dancing-button 1s infiniteease-in-out, periodic-shake 5s infiniteease-in-out;
        }
        .apply-now-button {
            background-color: #ff9800;
            color: white;
            border: none;
            padding: 12px 20px;
            font-size: 16px;
            font-weight: bold;
            border-radius: 25px;
            cursor: pointer;
            text-decoration: none;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3sease-in-out;
            display: inline-block;
            text-align: center;
            white-space: nowrap;
        }
         a.register {
    color: #3370b6;
    margin-left: 0.75rem;
    text-decoration: underline;
    font-weight:700;
  }
   :root { --bg: #0b62a4; --text: #fff; --accent: #ffd54f; }
    .ticker {
    overflow: hidden;
    background: var(--bg);
    color: var(--text);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: block;
  }
  .track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    /* adjust duration for speed (longer = slower) */
    animation: scroll-left 28s linear infinite;
  }

  /* Pause animation when hovering the wrapper or any child (including the link) */
  .ticker:hover .track,
  .ticker:focus-within .track {
    animation-play-state: paused;
  }

  .message { font-weight: 600; font-size: 1rem; margin-right: 1.1rem; }
  a.register {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 700;
    margin-left: .5rem;
  }
  a.register:focus { outline: 3px solid #ffd54f66; outline-offset: 3px; }
  @keyframes scroll-left {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }

  /* Duplicate content to create seamless loop (optional) */
  .track > span { padding-right: 3rem; }
  
      /* Premium Glassmorphism Container */
    .vdu-widget-container {
        position: fixed;
        bottom: 30px;
        left: 30px;
        width: 320px;
        background: rgba(15, 42, 85, 0.95); /* Deep Vidhyadeep Navy */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        z-index: 2147483647; /* Absolute maximum z-index to guarantee visibility */
        color: white;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        opacity: 1 !important; /* Forces visibility */
        display: block;
        animation: slideUpFade 0.6s ease-out forwards;
    }

    /* Minimal Close Button */
    .vdu-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px; /* Increased size for the text character */
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s ease;
}

.vdu-close-btn:hover {
    color: #ffb400; /* Turns gold on hover */
    transform: scale(1.1);
}

    /* Golden Badge */
    .vdu-badge {
        background: linear-gradient(135deg, #ffb400 0%, #ff8c00 100%);
        color: #000;
        font-size: 11px;
        font-weight: 800;
        padding: 4px 10px;
        border-radius: 50px;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 12px;
        box-shadow: 0 4px 10px rgba(255, 180, 0, 0.3);
    }

    /* Typography */
    .vdu-title {
        font-size: 22px;
        font-weight: 800;
        margin: 0 0 8px 0;
        color: #ffffff;
        letter-spacing: 0.5px;
    }

    .vdu-desc {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.75);
        margin: 0 0 20px 0;
        line-height: 1.5;
    }

    /* Interactive Premium Button */
    .vdu-apply-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 15px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .vdu-apply-btn i {
        font-size: 22px;
        background: #fff;
        color: #0f2a55;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease;
    }

    .vdu-apply-btn:hover {
        background: linear-gradient(135deg, #ffb400 0%, #ff8c00 100%);
        border-color: transparent;
        color: #000;
        box-shadow: 0 8px 20px rgba(255, 180, 0, 0.4);
    }

    .vdu-apply-btn:hover i {
        background: #000;
        color: #fff;
        transform: translateX(4px);
    }

    /* Safe Entry Animation */
    @keyframes slideUpFade {
        0% { transform: translateY(50px); opacity: 0; }
        100% { transform: translateY(0); opacity: 1; }
    }

    /* Mobile Handling */
    @media (max-width: 768px) {
        .vdu-widget-container {
            left: 20px;
            bottom: 20px;
            width: calc(100% - 40px);
            max-width: 320px;
            padding: 20px;
        }
    }