@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Header Styles */
.header-container {
    display: flex;
    text-align: center;
    height: 220px;
    align-items: center;
    justify-content: center;
    background-color: #ba1b18;
}

.header-container img {
    width: auto;
    height: 100%;
}

/* Navbar */
.navbar {
    background-color: #ba1b18;
    padding: 10px 10px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    background-color: #ba1b18;
}

/* Navigation List */
.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.nav-list li {
    position: relative;
    margin: 0 20px;
}

.nav-list a {
    text-decoration: none;
    color: white;
    padding: 12px 20px;
    display: block;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.nav-list a:hover {
    background-color: #9e1d18;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333333;
    list-style: none;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: white;
    padding: 10px 20px;
    width: 100%;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #9e1d18;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* --- Responsive Styles --- */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
}

.menu-toggle div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px;
}
/* Mobile View */
@media (max-width: 768px) {

    .header-container {
        height: 300px;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #ba1b18;
        text-align: center;
    }

    .nav-list.active {
        display: flex;
        z-index: 2000;
    }

    .nav-list li {
        margin: 10px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #9e1d18;
        width: 100%;
        text-align: center;
        z-index: 2001;
    }
}
