/* ==================== HEADER STYLES ==================== */
/* Common header styles for all pages */

:root {
    --primary: #15803d;
    --primary-dark: #14532d;
    --primary-light: #16a34a;
    --gold: #d4af37;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --light: #f8f9fa;
    --white: #ffffff;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Support both nav-container and nav */
.nav-container,
.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--dark);
}

.logo img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

/* Support both nav-links and nav-menu */
.nav-links,
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a,
.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 17px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after,
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Support both cta-btn and btn-primary for consistency */
.cta-btn,
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white) !important;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(21, 128, 61, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(21, 128, 61, 0.4);
}

.cta-btn::after,
.btn-primary::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-links,
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 90px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active,
    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }
}
