/* ===== HEADER (UNIFIED) ===== */
header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    position: relative;
    z-index: 100;
}

.nav-with-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a1a6b;
    padding: 10px 5%;
    position: relative;
}

/* ===== DUAL LOGO SYSTEM ===== */
.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo img {
    height: 70px;
    width: auto;
}



/* ===== NAVIGATION ===== */
nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

nav a.active {
    background-color: rgba(255, 255, 255, 0.25);
}

/* ===== TITLE SECTION ===== */
.title-container {
    background-image: url('../images/Title-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.title-text-container {
    display: inline-block;
    padding: 20px 40px;
    background-color: rgba(10, 26, 107, 0.7);
    border-radius: 8px;
}

.title-container h1 {
    color: white;
    font-size: 2.5rem;
    margin: 0;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-top: 15px;
    position: relative;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .nav-with-logo {
        flex-direction: column;
        padding: 15px 5%;
    }
    
    .logo-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .nav-logo:not(:last-child)::after {
        display: none;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .title-container {
        padding: 60px 20px;
    }
    
    .title-container h1 {
        font-size: 2rem;
    }
    
    .title-text-container {
        padding: 15px 25px;
    }
}