:root {
        /* ========================================
        LEGACY VARIABLES (Keep for compatibility)
        ======================================== */
        --theme: #0B54FE;
        --prime-gradient: radial-gradient(circle at center, #7DF9FF, #0B54FE);
        --primary-color: #0B54FE;
        --secondary-clr: #FF1493;
        --heading-font: 'IBM Plex Sans', sans-serif;
        --paragraph-font: "Open Sans", sans-serif;
        --faq-font: 'JetBrains Mono', monospace;
        --body-bg: #ffeef4;
        --border-clr: lightgrey;
        --light-filler-clr: #fcc5f1;
        --filler-clr: #ef9651;
        --white-clr: #fff;
        --black-text-clr: #2e2e2e;
        --para-clr: #5e5e5e;
        --yellow-clr: yellow;
        --light_purple: #fbfbfb;

        /* ========================================
        HEADER & NAVIGATION VARIABLES
        ======================================== */
        --accent-color: #3498DB;
        --tertiary-color: #9B59B6;

        /* --- BUTTON COLORS --- */
        --btn-blue-bg: linear-gradient(135deg, #0B54FE 0%, #3B82F6 50%, #06B6D4 100%);
        --btn-blue-bg-hover: linear-gradient(135deg, #FF1493 0%, #F472B6 50%, #FB7185 100%);
        --btn-pink-bg: linear-gradient(135deg, #FF1493 0%, #F472B6 50%, #FB7185 100%);
        --btn-pink-bg-hover: linear-gradient(135deg, #0B54FE 0%, #3B82F6 50%, #06B6D4 100%);
        --btn-shadow-blue: rgba(11, 84, 254, 0.5);
        --btn-shadow-pink: rgba(255, 20, 147, 0.5);

        /* --- TEXT COLORS --- */
        --menu-text-clr: #2C3E50;
        --menu-text-hover: #FF1493;
        --dropdown-text-clr: #34495E;
        --dropdown-text-hover: #0B54FE;

        /* --- BACKGROUND COLORS --- */
        --header-bg: rgba(255, 255, 255, 0.15);
        --dropdown-bg: rgba(255, 255, 255, 0.98);
        --mobile-header-bg: rgba(255, 255, 255, 0.25);

        /* --- GLASSMORPHISM EFFECTS --- */
        --glass-bg-light: rgba(255, 255, 255, 0.3);
        --glass-bg-medium: rgba(255, 255, 255, 0.2);
        --glass-border: rgba(255, 255, 255, 0.35);
        --glass-backdrop: blur(12px);

        /* --- GRADIENT BACKGROUNDS --- */
        --gradient-orb-1: linear-gradient(135deg, #FF1493 0%, #0B54FE 100%);
        --gradient-orb-2: linear-gradient(135deg, #0B54FE 0%, #9B59B6 100%);
        --gradient-underline: linear-gradient(90deg, #FF1493, #0B54FE);

        /* --- SHADOW COLORS --- */
        --shadow-light: rgba(0, 0, 0, 0.08);
        --shadow-medium: rgba(0, 0, 0, 0.1);
        --shadow-heavy: rgba(0, 0, 0, 0.2);
        --shadow-primary: rgba(11, 84, 254, 0.25);
        --shadow-secondary: rgba(255, 20, 147, 0.35);

        /* --- BORDER COLORS --- */
        --border-light: rgba(255, 255, 255, 0.4);
        --border-dropdown: #f0f0f0;

        /* --- ICON COLORS --- */
        --icon-green: #25D366;
        --icon-orange: #ff5722;
    }


    body {
        margin: 0;
        font-family: var(--paragraph-font);
        background-color: var(--body-bg);
        color: var(--para-clr);
        /* Adding height so we can scroll and test the effect */
        min-height: 200vh;
    }

    /* --- 2. HEADER LAYOUT --- */
    .yn-header {
        /* Default: Transparent/Glassy */
        background: rgba(255, 255, 255, 0.05); 
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        padding: 5px 20px;
        box-shadow: 0 8px 32px var(--shadow-light), inset 0 1px 0 rgba(255, 255, 255, 0.5);
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 1px solid var(--border-clr);
        border-top: 1px solid var(--border-light);
        
        /* Smooth Transition for the color change */
        transition: background-color 0.4s ease, box-shadow 0.4s ease;
    }

    /* --- NEW SCROLLED STATE (Solid White) --- */
    .yn-header.scrolled {
        background-color: var(--white-clr) !important;
        backdrop-filter: none; /* Optional: Remove blur if solid opacity is 1 */
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }

    /* Add floating circles in body for glassmorphism effect */
    body::before {
        content: '';
        position: fixed;
        width: 500px;
        height: 500px;
        /* background: var(--gradient-orb-1); */
        border-radius: 50%;
        top: -200px;
        left: -200px;
        z-index: -1;
        filter: blur(80px);
        opacity: 0.5;
    }

    body::after {
        content: '';
        position: fixed;
        width: 400px;
        height: 400px;
        background: var(--gradient-orb-2);
        border-radius: 50%;
        bottom: -150px;
        right: -150px;
        z-index: -1;
        filter: blur(80px);
        opacity: 0.5;
    }

    .yn-navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1400px;
        margin: 0 auto;
    }

    /* --- 3. LOGO IMAGE STYLES --- */
    .yn-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .yn-logo-img {
        height: 50px;
        width: auto;
        display: block;
        object-fit: contain;
        filter: drop-shadow(0 2px 6px var(--shadow-light));
    }

    /* --- 4. MENU STYLES (DESKTOP) --- */
    .yn-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 10px;
    }

    .yn-menu-item {
        position: relative;
    }

    .yn-menu-link {
        text-decoration: none;
        color: var(--primary-color);
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: all 0.3s;
        cursor: pointer;
        padding: 8px 10px;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }

    .yn-menu-link:hover {
        color: var(--menu-text-hover);
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 8px;
    }

    .yn-menu-link i {
        font-size: 10px;
        color: var(--primary-color);
        transition: transform 0.3s;
    }

    /* Hover State for Desktop */
    .yn-menu-item:hover .yn-menu-link {
        background-color: rgba(255, 255, 255, 0.3);
        color: var(--menu-text-hover);
        border-radius: 8px 8px 0 0;
    }

    .yn-menu-item:hover .yn-menu-link i {
        transform: rotate(180deg);
    }

    /* --- 5. DROPDOWNS (DESKTOP) - HOVER TRIGGERED --- */
    .yn-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 220px;
        background: var(--dropdown-bg);
        backdrop-filter: var(--glass-backdrop);
        border-top: 3px solid var(--secondary-clr);
        box-shadow: 0 10px 30px var(--shadow-primary);
        border-radius: 0 0 12px 12px;
        padding: 10px 0;
        list-style: none;
        z-index: 1100;
    }

    .yn-menu-item:hover .yn-dropdown-menu {
        display: block;
        animation: fadeIn 0.3s;
    }

    .yn-drop-link {
        display: block;
        padding: 10px 20px;
        color: var(--dropdown-text-clr);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .yn-drop-link:hover {
        color: var(--secondary-clr);
        padding-left: 28px;
        background: linear-gradient(90deg, rgba(45, 62, 80, 0.1), transparent);
    }

    /* MEGA MENU - HOVER TRIGGERED */
    .yn-mega-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: -150px;
        width: 1000px;
        background: var(--dropdown-bg);
        backdrop-filter: var(--glass-backdrop);
        border-top: 3px solid var(--secondary-clr);
        box-shadow: 0 15px 40px var(--shadow-primary);
        border-radius: 0 0 12px 12px;
        padding: 30px;
        z-index: 1100;
        /* --- CHANGED TO 4 COLUMNS HERE --- */
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .yn-menu-item:hover .yn-mega-menu {
        display: grid;
        animation: fadeIn 0.3s;
    }

    .mega-col h4 {
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--black-text-clr);
        margin: 0 0 15px 0;
        padding-bottom: 5px;
        position: relative;
        letter-spacing: 0.5px;
        font-family: var(--heading-font);
    }

    .mega-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 3px;
        background: var(--gradient-underline);
        border-radius: 2px;
    }

    .mega-col a {
        display: block;
        color: var(--dropdown-text-clr);
        text-decoration: none;
        font-size: 13px;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }

    .mega-col a:hover {
        color: var(--secondary-clr);
        padding-left: 6px;
        font-weight: 600;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* --- 6. RIGHT ACTIONS & BUTTONS (DESKTOP) --- */
    .yn-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Common Button Styles */
    .cursor {
        display: inline-block;
        width: 2px;
        height: 14px;
        background-color: var(--white-clr);
        margin-left: 4px;
        animation: blink 0.8s infinite;
        vertical-align: middle;
    }

    @keyframes blink {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0;
        }
    }

    .btn-header-blue {
        background: var(--btn-blue-bg);
        color: var(--white-clr);
        padding: 8px 16px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 12px;
        text-decoration: none;
        text-transform: uppercase;
        box-shadow: 0 4px 15px var(--btn-shadow-blue);
        min-width: 190px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 36px;
        transition: all 300ms ease;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .btn-header-blue .cursor {
        background-color: var(--white-clr);
    }

    .btn-header-blue:hover {
        background: var(--btn-blue-bg-hover);
        box-shadow: 0 6px 20px var(--btn-shadow-pink);
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.4);
        color: var(--white-clr);
    }

    .btn-header-pink {
        background: var(--btn-pink-bg);
        color: var(--white-clr);
        padding: 8px 20px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 12px;
        text-decoration: none;
        text-transform: uppercase;
        box-shadow: 0 4px 15px var(--btn-shadow-pink);
        min-width: 145px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 36px;
        transition: all 300ms ease;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .btn-header-pink .cursor {
        background-color: var(--white-clr);
    }

    .btn-header-pink:hover {
        background: var(--btn-pink-bg-hover);
        box-shadow: 0 6px 20px var(--btn-shadow-blue);
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.4);
        color: var(--white-clr);
    }

    /* ESTIMATE COST DROPDOWN */
    .estimate-dropdown-wrapper {
        position: relative;
        display: inline-block;
    }

    /* ESTIMATE COST DROPDOWN - EXACT SAME AS CONTACT */
    .estimate-dropdown {
        display: none;
        position: absolute;
        top: 50px;
        right: -80px;
        width: 290px;
        background: var(--white-clr);
        border-radius: 16px;
        box-shadow: 0 12px 48px var(--shadow-primary);
        padding: 20px;
        z-index: 1200;
        border-top: 4px solid var(--secondary-clr);
    }

    .estimate-dropdown-wrapper:hover .estimate-dropdown {
        display: block;
        animation: fadeIn 0.3s;
    }


    .estimate-dropdown h4 {
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--black-text-clr);
        margin: 0 0 15px 0;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--border-dropdown);
        font-family: var(--heading-font);
    }

    .estimate-row {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        gap: 15px;
        padding: 10px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .estimate-row:hover {
        background: rgba(11, 84, 254, 0.05);
    }

    .estimate-row:last-child {
        margin-bottom: 0;
    }

    .estimate-icon-box {
        width: 42px;
        height: 42px;
        background: var(--white-clr);
        border: 1px solid var(--border-dropdown);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--primary-color);
    }

    .estimate-info p {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: var(--black-text-clr);
    }

    .estimate-info a {
        text-decoration: none;
        color: var(--black-text-clr);
        transition: color 0.3s;
    }

    .estimate-info a:hover {
        color: var(--primary-color);
    }



    .action-pill-container {
        background: var(--glass-bg-light);
        backdrop-filter: var(--glass-backdrop);
        border-radius: 50px;
        padding: 4px 4px 4px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 4px 16px var(--shadow-medium);
        border: 1px solid var(--glass-border);
    }

    .header-icon-btn {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 12px;
        text-decoration: none;
        transition: all 0.3s;
    }

    .header-icon-btn:hover {
        background: var(--white-clr);
        transform: scale(1.15);
        color: var(--secondary-clr);
        box-shadow: 0 3px 10px var(--shadow-secondary);
    }

    /* CONTACT DROPDOWN (DESKTOP) - HOVER TRIGGERED */
    .contact-dropdown {
        display: none;
        position: absolute;
        top: 50px;
        right: -80px;
        width: 290px;
        background: var(--white-clr);
        border-radius: 16px;
        box-shadow: 0 12px 48px var(--shadow-primary);
        padding: 20px;
        z-index: 1200;
        border-top: 4px solid var(--secondary-clr);
    }

    .icon-dropdown-wrapper.active {
        display: block;
        animation: fadeIn 0.2s;
    }

    .icon-dropdown-wrapper:hover .contact-dropdown {
        display: block;
        animation: fadeIn 0.2s;
    }

    /* SHARED CONTACT STYLES */
    .contact-row {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        gap: 15px;
    }

    .contact-row:last-child {
        margin-bottom: 0;
    }

    .contact-icon-box {
        width: 42px;
        height: 42px;
        background: var(--white-clr);
        border: 1px solid var(--border-dropdown);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .contact-info p {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: var(--black-text-clr);
    }

    .icon-dropdown-wrapper {
        position: relative;
    }

    .text-green {
        color: var(--icon-green);
        font-size: 10px;
        font-weight: 800;
        margin: 0;
    }

    .text-orange {
        color: var(--icon-orange);
        font-size: 10px;
        font-weight: 800;
        margin: 0;
    }

    /* --- 7. MOBILE SPECIFIC ELEMENTS --- */
    .mobile-menu-header,
    .mobile-menu-footer,
    .mobile-contact-overlay {
        display: none;
    }

    .mobile-toggle {
        display: none;
        font-size: 28px;
        color: var(--menu-text-clr);
        cursor: pointer;
        filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 0.5));
    }

    /* --- 8. MOBILE CONTACT POPUP STYLES --- */
    .mobile-contact-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 3000;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(4px);
    }

    .mobile-contact-overlay.active {
        display: flex;
        animation: fadeIn 0.3s;
    }

    .mobile-contact-box {
        background-color: var(--white-clr);
        width: 85%;
        max-width: 320px;
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0 20px 60px var(--shadow-heavy);
        position: relative;
        text-align: left;
    }

    .mobile-popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-dropdown);
    }

    .mobile-popup-title {
        font-size: 16px;
        font-weight: 800;
        color: var(--black-text-clr);
        margin: 0;
        font-family: var(--heading-font);
    }

    .mobile-popup-close {
        font-size: 24px;
        color: var(--secondary-clr);
        cursor: pointer;
        line-height: 1;
    }

    /* --- 9. RESPONSIVE CSS --- */
    @media (max-width: 1250px) {
        .yn-actions {
            display: none;
        }

        .mobile-toggle {
            display: block;
        }

        /* Full Screen Mobile Menu */
        .yn-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--white-clr);
            flex-direction: column;
            padding: 0;
            z-index: 2000;
            overflow-y: auto;
        }

        .yn-menu.show-mobile {
            display: flex;
            animation: fadeIn 0.2s;
        }

        /* Mobile Header inside menu */
        .mobile-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            background: var(--mobile-header-bg);
            backdrop-filter: var(--glass-backdrop);
            border-bottom: 1px solid var(--border-clr);
        }

        .mobile-close {
            font-size: 32px;
            color: var(--menu-text-clr);
            cursor: pointer;
            line-height: 1;
            filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5));
        }

        .yn-logo-img {
            height: 40px;
        }

        .yn-menu-item {
            width: 100%;
            border-bottom: 1px solid var(--border-dropdown);
        }

        .yn-menu-link {
            padding: 15px 20px;
            font-size: 16px;
            justify-content: space-between;
            color: var(--black-text-clr);
            text-shadow: none;
        }

        .yn-menu-link i {
            color: var(--para-clr);
        }

        /* Mobile uses click instead of hover */
        .yn-menu-item:hover .yn-dropdown-menu,
        .yn-menu-item:hover .yn-mega-menu {
            display: none;
        }

        .yn-menu-item:hover .yn-menu-link {
            background-color: rgba(231, 76, 60, 0.08);
            color: var(--secondary-clr);
            border-radius: 0;
        }

        .yn-dropdown-menu,
        .yn-mega-menu {
            position: static;
            width: 100%;
            box-shadow: none;
            border: none;
            background-color: #fcfcfc;
            padding-left: 20px;
            display: none;
            backdrop-filter: none;
        }

        .yn-menu-item.active .yn-dropdown-menu {
            display: block;
        }

        .yn-menu-item.active .yn-mega-menu {
            display: grid;
            grid-template-columns: 1fr;
        }

        .mega-col {
            margin-bottom: 20px;
        }

        /* Mobile Footer */
        .mobile-menu-footer {
            display: flex;
            flex-direction: column;
            gap: 15px;
            padding: 20px;
            margin-top: auto;
            background-color: var(--white-clr);
        }

        .btn-mobile-blue {
            display: block;
            width: 100%;
            background: var(--btn-blue-bg);
            color: var(--white-clr);
            text-align: center;
            padding: 14px;
            border-radius: 50px;
            font-weight: 800;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 14px;
            box-shadow: 0 5px 20px var(--btn-shadow-blue);
        }

        .mobile-footer-row {
            display: flex;
            align-items: center;
            gap: 12px;
            background-color: var(--white-clr);
            border: 1px solid rgba(231, 76, 60, 0.1);
            border-radius: 50px;
            padding: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        }

        .mobile-icon-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(231, 76, 60, 0.08);
            color: var(--black-text-clr);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            text-decoration: none;
            flex-shrink: 0;
            cursor: pointer;
        }

        .btn-mobile-pink {
            flex-grow: 1;
            background: var(--btn-pink-bg);
            color: var(--white-clr);
            text-align: center;
            padding: 12px;
            border-radius: 50px;
            font-weight: 800;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 14px;
        }
    }