/* ===== BASE STYLES ===== */
:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #2c3e50;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER STYLES ===== */
    /* Updated Header Styles */
    header {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        position: sticky;
        top: 0;
        z-index: 100;
        transition: all 0.3s ease;
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }
    
    .logo {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--dark);
        text-decoration: none;
        display: flex;
        align-items: center;
    }
    
    .logo span {
        color: var(--primary);
        position: relative;
    }
    
    .logo span::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), rgba(52, 152, 219, 0.3));
        border-radius: 3px;
    }
    
    nav ul {
        display: flex;
        list-style: none;
        align-items: center;
    }
    
    nav ul li {
        margin-left: 20px;
        position: relative;
    }
    
    nav ul li a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
        transition: all 0.3s;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 0.95rem;
    }
    
    nav ul li a:hover {
        color: var(--primary);
        background-color: rgba(52, 152, 219, 0.1);
    }
    
    .nav-cta {
        background: linear-gradient(135deg, var(--primary) 0%, #2980b9 100%);
        color: white;
        padding: 10px 20px;
        border-radius: 6px;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
        transition: all 0.3s;
    }
    
    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        background: linear-gradient(135deg, #2980b9 0%, var(--primary) 100%);
    }
    
    /* Mobile menu button (hidden by default) */
    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--dark);
        cursor: pointer;
    }
    
    /* Scrolled header effect */
    header.scrolled {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        background-color: rgba(255, 255, 255, 0.98);
    }


/* ===== FOOTER STYLES ===== */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}