/* Global styles for the header */
header {
    background: white;
    padding: 15px 40px;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    position: relative;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo styling */
header .logo-container img {
    height: 100px;
}

/* Menu toggle styles */
header .menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

header .menu-toggle span {
    display: block;
    height: 3px;
    width: 25px;
    background: black;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Desktop navigation */
header .nav-container {
    display: flex;
}

header .nav-container ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

header .nav-container ul li a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Highlight on hover */
header .nav-container ul li a:hover,
header .nav-container ul li a:focus,
header .mobile-nav ul li a:active,
header .nav-container ul li a:active {
    color: #5360d6;
    font-weight: bold;
}

/* CTA button styles */
header .cta-container a {
    padding: 10px 20px;
    background: #5360d6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

header .cta-container a:hover {
    background: #a9a5f3;
    box-shadow: 0 6px 8px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

header .mobile-nav {
        display: none; /* Always hidden by default */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }

/* Mobile adjustments */
@media (max-width: 800px) {
    /* Hide desktop nav, show burger */
    header .nav-container {
        display: none;
    }

    header .menu-toggle {
        display: block;
    }

    header .mobile-nav {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }

    header .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    header .mobile-nav ul li a {
        text-decoration: none;
        color: black;
        font-size: 18px;
        font-weight: 500;
        padding: 10px;
        display: block;
        transition: background 0.3s ease, color 0.3s ease;
    }

    header .mobile-nav ul li a:hover, header .mobile-nav ul li a:active {
        background: #5360d6;
        color: white;
    }

    header .cta-container {
        text-align: center;
    }
}

@media (max-width: 400px) {
    header .logo-container img{
        height:60px;
    }

}
