/* W3Schools Sticky Header Implementation - Clean Version */
.header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #028a42, #016835) !important;
    box-shadow: 0 2px 15px rgba(2, 138, 66, 0.2) !important;
    transition: all 0.3s ease !important;
}

/* When header becomes sticky, enhance shadow */
.header.scrolled {
    box-shadow: 0 4px 25px rgba(2, 138, 66, 0.3) !important;
}

/* Ensure nav container has proper height and flex */
.nav-container {
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Logo styling - ensure it's clickable */
.logo {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    color: white !important;
    text-decoration: none !important;
    font-family: 'Oswald', 'Arial Black', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.logo:hover {
    transform: scale(1.05) !important;
    color: white !important;
    text-decoration: none !important;
}

.logo img {
    height: 65px !important;
    width: 65px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.logo:hover img {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Navigation links */
.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 2.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    white-space: nowrap !important;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

.nav-links a::after {
    content: '' !important;
    position: absolute !important;
    width: 0 !important;
    height: 2px !important;
    bottom: 2px !important;
    left: 50% !important;
    background-color: #dc2626 !important;
    transition: all 0.3s ease !important;
}

.nav-links a:hover::after {
    width: 100% !important;
    left: 0 !important;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Two column layouts fix */
.about-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
    margin-top: 3rem !important;
}

.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    margin-top: 2rem !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-container {
        height: 80px !important;
        padding: 0 1rem !important;
    }

    .logo {
        font-size: 1.4rem !important;
    }

    .logo img {
        height: 50px !important;
        width: 50px !important;
    }

    .nav-links {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    /* Mobile menu when open - compact style */
    .nav-links.mobile-open {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #028a42 !important;
        padding: 0.5rem !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        gap: 0 !important;
    }

    .nav-links.mobile-open a {
        font-size: 1rem !important;
        padding: 8px 16px !important;
        font-weight: 500 !important;
        text-align: center !important;
        margin: 0 !important;
        border-radius: 4px !important;
    }

    /* Mobile two-column layouts */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}