
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    
}

/* Header */
.header {
    width: 100%;
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 170px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
    z-index: 1000 !important;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mega-menu-section h4 {
    color: #1e5799;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.mega-menu-section ul {
    list-style: none;
}

.mega-menu-section li {
    margin: 8px 0;
}

.mega-menu-section a {
    color: #555;
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mega-menu-section a:hover {
    color: #1e5799;
    padding-left: 10px;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(45deg, #ff6b35, #ff8e53);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 100%);
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-item {
    margin: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    font-size: 18px;
    transition: padding-left 0.3s ease;
}

.mobile-nav-link:hover {
    padding-left: 20px;
}

.mobile-submenu {
    margin-left: 20px;
    margin-top: 10px;
}

.mobile-submenu a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-container {
        padding: 0 15px;
    }

    .logo img {
        width: 120px;
        height: auto;
    }

    .mega-menu {
        min-width: 300px;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }

    .mobile-nav {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (min-width: 1201px) {
    .header-container {
        max-width: 1400px;
        padding: 0 30px;
    }
}
/* Additional styles for the three action buttons */
    .action-buttons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .action-btn {
        padding: 10px 16px;
        border: none;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
        cursor: pointer;
        white-space: nowrap;
    }

    .btn-shahothon {
        background: linear-gradient(45deg, #ff6b6b, #ee5a52);
        color: white;
    }

    .btn-shahothon:hover {
        background: linear-gradient(45deg, #ee5a52, #dc4444);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    }

    .btn-marathon {
        background: linear-gradient(45deg, #4ecdc4, #44a08d);
        color: white;
    }

    .btn-marathon:hover {
        background: linear-gradient(45deg, #44a08d, #3a8b7a);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
    }

    .btn-donate {
        background: linear-gradient(45deg, #ffd93d, #ffcd02);
        color: #333;
    }

    .btn-donate:hover {
        background: linear-gradient(45deg, #ffcd02, #e6b800);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 217, 61, 0.3);
    }

    /* Mobile responsiveness */
    @media (max-width: 768px) {
        .action-buttons {
            flex-direction: column;
            gap: 8px;
            margin-top: 15px;
        }
        
        .action-btn {
            width: 100%;
            text-align: center;
            padding: 12px;
        }
    }

    @media (max-width: 1024px) {
        .action-btn {
            font-size: 13px;
            padding: 8px 12px;
        }
    }
    
    /* Make sure header/logo is always above hero slides */
header,
.header,
.navbar,
.logo img {
    position: relative;
    z-index: 9999 !important;
}
