/* --- Global Reset & Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* --- Header & Branding --- */
.main-header {
    position: relative;
    z-index: 1030; /* Ensures language dropdown stays above Navbar */
    background: #ffffff;
    padding: 15px 0;
}

.main-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 5vw, 2.5rem); /* Responsive font size */
    color: #0a192f;
    letter-spacing: -1px;
    line-height: 1.1;
}

.reg-no {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #28a745; /* Success green for registration text */
}

.main-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* --- Language Dropdown Fixes --- */
.header-right-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.dropdown-menu {
    z-index: 1050 !important;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
}

.dropdown-item.active {
    background-color: #28a745;
}

/* --- Navigation Bar --- */
.custom-nav {
    background-color: #0a192f !important;
    border-bottom: 4px solid #28a745;
    z-index: 1020; /* Lower than header for dropdown flow */
    padding: 10px 0;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85) !important;
    letter-spacing: 0.5px;
    padding: 10px 18px !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #28a745 !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.sticky-top {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Hero Slider --- */
.slider-overlay {
    height: 85vh; /* Slightly taller for more impact */
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Dark overlay gradient for text readability */
.slider-overlay::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}

.slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* --- Animations --- */
.slide-in-top {
    animation: slideTop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-in-bottom {
    animation: slideBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes slideTop {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideBottom {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Utilities --- */
.ls-2 { letter-spacing: 2px; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .main-header { text-align: center; }
    .header-right-wrapper { 
        justify-content: center; 
        margin-top: 15px; 
    }
    .slider-overlay { height: 60vh; }
    .main-title { font-size: 1.8rem; }
}