/* Custom styles for overlay menu */
#mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease-in-out;
    z-index: 100; /* Increased z-index to ensure mobile menu stays on top */
}

#mobile-menu.active {
    left: 0;
}

.hamburger {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger.active {
    transform: rotate(90deg);
}

#mobile-menu ul li {
    margin: 20px 0;
    font-size: 24px;
    text-align: center;
}

#close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: white;
}

/* Banner Section: Ensure it has a lower z-index than the mobile menu */
section.relative {
    z-index: 1; /* Lower z-index for the banner section */
}

/* Styles for desktop menu */
.desktop-menu {
    display: none;
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
    }

    #menu-btn {
        display: none;
    }
}

/* Apply a dark indigo gradient fading to a lighter indigo from corner to corner */
body {
    background: linear-gradient(to bottom right, #1d1b7f, #3b82f6); /* Dark indigo to light indigo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}



/* Ensure content text is above the overlay */
body * {
    position: relative;
}

/* Custom styling for header */
header {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

/* Set title text to white */
h2 {
    color: white; /* Title text is now white */
}

/* Hover effect for nav links */
nav ul li a:hover {
    color: #fbbf24;
    transition: color 0.3s ease;
}

/* Style for buttons and links */
a:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}
