/*
Theme Name: Click Solution Pro - Bulletproof Edition
Version: 30.0
*/

/* 1. RESET & FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Poppins:wght@700;800&display=swap');

:root {
    --navy: #003366;
    --navy-deep: #001D3D;
    --teal: #00C4B4;
    --white: #FFFFFF;
    --text: #2D3748;
    --gradient: linear-gradient(135deg, #003366 0%, #00C4B4 100%);
}

* { box-sizing: border-box !important; margin: 0; padding: 0; }

body { 
    font-family: 'Inter', sans-serif !important; 
    color: var(--text); 
    background: #fff; 
    line-height: 1.7; 
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif !important; color: var(--navy); font-weight: 800; }

.container { 
    width: 90% !important; 
    max-width: 1200px !important; 
    margin: 0 auto !important; 
}

/* 2. HEADER & NAVIGATION FIX (The most important part) */
header {
    background: #fff !important;
    padding: 15px 0 !important;
    position: fixed !important;
    width: 100% !important;
    top: 0;
    z-index: 9999 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
}

.header-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.logo { font-size: 26px !important; font-weight: 900 !important; color: var(--navy) !important; text-decoration: none !important; }
.logo span { color: var(--teal) !important; }

/* Forces the menu to be horizontal */
#primary-nav ul { 
    display: flex !important; 
    list-style: none !important; 
    gap: 20px !important; 
    margin: 0 !important; 
    padding: 0 !important;
    flex-direction: row !important;
}

#primary-nav li { list-style: none !important; display: inline-block !important; }

#primary-nav a { 
    text-decoration: none !important; 
    color: var(--navy) !important; 
    font-weight: 700 !important; 
    font-size: 13px !important; 
    text-transform: uppercase !important; 
}

#primary-nav a:hover { color: var(--teal) !important; }

.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--navy); }

/* 3. HERO SECTION */
.hero, .page-hero {
    background: var(--gradient) !important;
    padding: 180px 0 120px !important;
    color: white !important;
    text-align: center !important;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%) !important;
}

.hero h1 { color: #fff !important; font-size: 4rem !important; margin-bottom: 20px !important; }
.hero p { font-size: 1.3rem !important; opacity: 0.9 !important; margin-bottom: 40px !important; color: #fff !important;}

/* 4. BUTTONS */
.btn { 
    padding: 15px 35px !important; 
    border-radius: 50px !important; 
    text-decoration: none !important; 
    font-weight: 800 !important; 
    display: inline-block !important; 
    transition: 0.3s !important;
    border: none !important;
}
.btn-teal { background: var(--teal) !important; color: white !important; }
.btn-white { border: 2px solid white !important; color: white !important; }
.btn-teal:hover { background: var(--navy-deep) !important; transform: translateY(-3px) !important; }

/* 5. FOOTER FIX */
.site-footer { background: var(--navy-deep) !important; color: #cbd5e0 !important; padding: 80px 0 20px !important; }
.footer-grid { 
    display: grid !important; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; 
    gap: 40px !important; 
}

/* 6. MOBILE RESPONSIVE FIX */
@media (max-width: 991px) {
    .menu-toggle { display: block !important; }
    #primary-nav { 
        display: none; 
        position: absolute; top: 70px; left: 0; width: 100%; 
        background: #fff; padding: 20px; 
        box-shadow: 0 10px 10px rgba(0,0,0,0.1); 
    }
    #primary-nav.active { display: block !important; }
    #primary-nav ul { flex-direction: column !important; text-align: center !important; }
    .hero h1 { font-size: 2.5rem !important; }
}