/* Global Header and Footer Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #D5EBE4;
}

/* Top Bar Styles */
.top-bar {
    background: #28732C;
    color: white;
    padding: 12px 0;
    font-size: 14px;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: white;
}

.contact-item i {
    font-size: 16px;
}

.contact-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 14px;
}

/* Main Navigation Bar */
.main-nav {
    background: #F8F5E8;
    padding: 16px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.main-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #28732C;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.account-btn {
    background: #28732C;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.account-btn:hover {
    background: #1f5c24;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 115, 44, 0.25);
}

/* Bottom Navigation Bar */
.bottom-nav {
    background: #28732C;
    border-bottom: 2px solid #1f5c24;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.bottom-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-links li {
    flex: 0 0 auto;
}

.nav-links a {
    display: block;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

/* Footer Styles */
.footer-contact-bar {
    background: #2d2d2d;
    padding: 30px 20px;
}

.footer-contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

.footer-contact-icon {
    width: 50px;
    height: 50px;
    background: #28732C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-contact-icon i {
    font-size: 20px;
    color: white;
}

.footer-contact-text {
    font-size: 14px;
    color: #e0e0e0;
}

.footer-main {
    background: #28732C;
    padding: 50px 20px;
}

.footer-main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.footer-column a {
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-column a::before {
    content: '> ';
    margin-right: 5px;
}

.footer-bottom {
    background: #1a1a1a;
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

.footer-bottom a {
    color: #28732C;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        gap: 12px;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-item {
        font-size: 13px;
    }

    .logo-text {
        font-size: 20px;
    }

    .login-btn,
    .account-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .nav-links li {
        flex: 0 0 50%;
    }

    .nav-links a {
        font-size: 13px;
        padding: 14px 8px;
    }

    .footer-contact-container,
    .footer-main-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/* Mobile Responsiveness - Additional Styles */
.mobile-menu-toggle,
.download-app-mobile,
.mobile-overlay {
    display: none;
}

@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }

    .account-btn {
        display: none !important;
    }
    
    .download-app-mobile {
        display: flex !important;
        background: #28732C;
        color: white;
        padding: 8px 15px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        align-items: center;
        gap: 6px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #28732C;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .bottom-nav {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: #28732C !important;
        z-index: 999 !important;
        padding: 80px 0 20px !important;
        transition: left 0.3s ease !important;
    }
    
    .bottom-nav.active {
        left: 0 !important;
    }
}

/* Mobile Header Bar - Two Row Layout */
.mobile-header-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Show account button on mobile */
    .account-btn {
        display: block !important;
        font-size: 13px;
        padding: 8px 16px;
    }
    
    /* Mobile Header Green Bar */
    .mobile-header-bar {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background: #28732C;
        padding: 12px 20px;
    }
    
    .download-app-mobile {
        color: white !important;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        background: none !important;
        padding: 0 !important;
    }
    
    .mobile-menu-toggle {
        background: none !important;
        border: none;
        padding: 0 !important;
    }
    
    .mobile-menu-toggle span {
        background: white !important;
    }
}
