/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body Styling */
body {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: #333;
    text-align: center;
    padding-top: 80px; /* Adjust to prevent content from hiding under the fixed header */
}

/* Centered Container */
.container {
    width: 70%;
    margin: 40px auto;
    background: rgb(255, 255, 255);
    margin-top: 4rem;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.container:hover {
    transform: scale(1.02);
}

/* Header Styling (Static) */
header {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 20px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.logo-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo {
    width: 50px;
    height: 50px;
}

/* Navigation Links */
nav {
    display: flex;
    gap: 20px;
}

/* Hidden by default, for mobile */
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 6px;
    transition: 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f2f2f2;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Mobile Menu (Hidden by default) */
nav.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
}

nav.mobile-menu a {
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        color: white;
    }

    nav {
        display: none; /* Hide nav links on mobile */
    }

    nav.mobile-menu {
        display: flex; /* Show mobile menu when toggled */
    }
}
