/* --- CSS Variables for Header 2 --- */
:root {
    /* Header 2 Specific Variables */
    --h2-lime: #cbfb45; /* Bright lime green from mockup */
    --h2-dark-green: rgba(36, 68, 48, 0.85); /* Frosted dark green background */
    --h2-text-light: #ffffff;
    
    /* Variables migrated from old header to support other page elements */
    --primary-yellow: #f3d346;
    --primary-blue: #ffffff;
    --primary-green: #60b43a;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #fbfbfb;
    --hero-overlay-dark: rgba(0, 0, 0, 0.4);
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
}

/* Global Container (Restored from old header to fix structural layout) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Container */
.main-header2 {
    position: absolute;
    top: 25px; /* Floats down from top edge initially */
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    transition: all 0.4s ease;
}

/* Sticky Header State - Converts to a static top bar */
.main-header2.sticky {
    position: fixed;
    top: 0;
    padding: 0; /* Removes gap allowing edge-to-edge stretch */
    background-color: var(--h2-dark-green);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

/* Navbar Box (The floating pill) */
.navbar2 {
    width: 100%;
    max-width: 1200px;
    background-color: var(--h2-dark-green);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

/* When sticky, force the navbar to lose the pill shape and fill the bar */
.main-header2.sticky .navbar2 {
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    padding: 12px 40px; /* Slight horizontal padding adjust for wide edge-to-edge */
}


/* Logo Area */
.logo-area2 {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text2 {
    color: var(--h2-text-light);
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-main);
    letter-spacing: 0.5px;
}

/* Nav Links */
.nav-links2 {
    display: flex;
    align-items: center;
}

.nav-list2 {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.nav-list2 li a {
    text-decoration: none;
    color: var(--h2-text-light);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-main);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-list2 li a:hover,
.nav-list2 li a.active {
    color: var(--h2-lime);
}

.nav-arrow {
    font-size: 11px;
    margin-top: 2px;
    opacity: 0.8;
}

/* Lime Green Button */
.btn-trial {
    background-color: var(--h2-lime);
    color: #1a2a22; /* High contrast dark text */
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(203, 251, 69, 0.15);
}

.btn-trial:hover {
    background-color: #b8eb2c;
    transform: translateY(-2px);
}

/* Call Button (replaces Start Free Trial) */
.btn-call {
    background-color: var(--h2-lime);
    color: #1a2a22;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px; /* pill */
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(203, 251, 69, 0.15);
    transition: transform 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.btn-call:hover {
    background-color: #b8eb2c;
    transform: translateY(-2px);
}

.btn-call-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(6, 59, 39, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
}

.btn-call-icon i {
    color: #063b27;
    font-size: 16px;
}

.btn-call-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.btn-call-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.btn-call-number {
    font-size: 14px;
    font-weight: 800;
}

.nav-actions2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger2 {
    display: none;
    background: none;
    border: none;
    color: var(--h2-text-light);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .nav-links2 {
        display: none;
        position: absolute;
        top: 80px;
        left: 20px;
        right: 20px;
        background-color: var(--h2-dark-green);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 12px;
        padding: 20px;
        flex-direction: column;
        border: 1px solid rgba(255,255,255,0.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    .nav-links2.mobile-active {
        display: flex;
    }

    .nav-list2 {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .nav-list2 li {
        width: 100%;
    }

    .nav-list2 li a {
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .btn-trial { display: none; }

    .btn-call {
        padding: 9px 12px;
        gap: 10px;
    }

    .btn-call-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .btn-call-kicker {
        font-size: 9px;
        letter-spacing: 0.9px;
    }

    .btn-call-number {
        font-size: 13px;
    }

    .hamburger2 {
        display: block;
    }
    
    .logo-text2 {
        font-size: 20px;
    }
}

/* Extra-small phones: prevent header actions overflow */
@media (max-width: 480px) {
    .nav-actions2 {
        gap: 10px;
    }

    .btn-call {
        padding: 9px 10px;
    }

    .btn-call-text {
        display: none; /* icon-only on very small widths */
    }

    .btn-call-icon {
        margin: 0;
    }
}
