/* Foundation Header Widget Styles */
.foundation-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* Container */
.foundation-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar Styles */
.foundation-header-top {
    background-color: #4a5568;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-us {
    font-weight: 500;
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #e53e3e;
}

.top-right .contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.contact-info i {
    font-size: 12px;
}

.language {
    cursor: pointer;
}

/* Main Header Styles */
.foundation-header-main {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #333333;
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: #666666;
    margin: 0;
    font-style: italic;
}

/* Menu Styles */
.foundation-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.menu-item {
    position: relative;
}

.menu-item a {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.menu-item a:hover {
    color: #e53e3e;
}

.menu-item.has-dropdown a i {
    font-size: 10px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.donation-btn {
    background-color: #e53e3e;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.donation-btn:hover {
    background-color: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.donation-btn i {
    font-size: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 3px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item a {
    display: block;
    padding: 15px 0;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.mobile-menu-item a:hover {
    color: #e53e3e;
}

.mobile-donation {
    margin-top: 20px;
    text-align: center;
}

/* Mobile Menu Active State */
.mobile-menu.active {
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .foundation-header .container {
        padding: 0 20px;
    }
    
    .menu-list {
        gap: 20px;
    }
    
    .contact-info {
        gap: 15px !important;
    }
    
    .contact-info span {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    /* Hide top bar on mobile */
    .foundation-header-top {
        display: none;
    }
    
    /* Hide desktop menu */
    .foundation-menu {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Adjust header content */
    .header-content {
        justify-content: space-between;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
    
    .donation-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .foundation-header .container {
        padding: 0 15px;
    }
    
    .logo-section {
        gap: 8px;
    }
    
    .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .donation-btn {
        padding: 8px 12px;
        font-size: 11px;
        gap: 5px;
    }
    
    .donation-btn i {
        font-size: 12px;
    }
}

/* Additional responsive adjustments */
@media (max-width: 360px) {
    .header-actions {
        gap: 10px;
    }
    
    .donation-btn span {
        display: none;
    }
    
    .donation-btn {
        padding: 8px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
}