/* =========================================
   COMMON STYLES: Mobile-First Architecture
   ========================================= */
/* common.css OR style.css OR main.css */
:root {
    /* =========================================================
       Master Theme Tokens - TechCadd Professional Theme
       ========================================================= */

    /* 1. Brand Colors */
    --color-primary: #0284c7;
    /* TechCadd Primary Blue */
    --color-secondary: #0369a1;
    /* TechCadd Secondary Blue */
    --color-accent: #38bdf8;
    /* TechCadd Accent Blue */

    /* 2. Neutral Colors */
    --color-text-heading: #0f172a;
    /* Dark Navy / Slate 900 */
    --color-text-body: #334155;
    /* Slate 700 */
    --color-text-muted: #64748b;
    /* Slate 500 */

    --color-bg-body: #ffffff;
    /* Pure White */
    --color-bg-secondary: #f8fafc;
    /* Slate 50 (Light Gray) */
    --color-bg-tertiary: #f1f5f9;
    /* Slate 100 */

    --color-border: #e2e8f0;
    /* Slate 200 */
    --color-border-hover: #cbd5e1;
    /* Slate 300 */

    /* 3. Utility Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-success: #0ea5e9;
    /* Sky 500 (approximated for success/checkmarks) */
    --color-danger: #ef4444;
    /* Red 500 */

    /* 4. Gradients */
    --gradient-primary: linear-gradient(135deg, rgb(0, 86, 179), rgb(0, 162, 255));
    --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    /* Light Sky Gradient */
    --gradient-text: linear-gradient(90deg, var(--color-primary), var(--color-secondary));

    /* 5. Typography */
    --font-primary: "Poppins", "Outfit", system-ui, -apple-system, sans-serif;
    --font-secondary: "Inter", system-ui, sans-serif;
    /* For body text readability */

    /* 6. Spacing & Layout */
    --container-padding: 1.5rem;
    --nav-height: 80px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* 7. Shadows (Professional & Clean) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.15);
    /* Accent Glow */

    /* 8. Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* =========================================================
       Alias / Backward Compatibility
       ========================================================= */
    --text-primary: var(--color-text-heading);
    --text-secondary: var(--color-text-body);
    --accent-color: var(--color-accent);
    --accent-gradient: var(--gradient-primary);
    --theme-gradient: var(--gradient-hero);
    --bg-primary: var(--color-bg-body);
    --bg-secondary: var(--color-bg-secondary);
    --color-success-accent: var(--color-success);
    /* Keep for existing code */
    --color-info: var(--color-accent);
    --dark-bg-color: var(--color-bg-body);
    /* Alias */
    --bg-color-2: var(--color-bg-secondary);
    /* Alias */
}

/* RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family removed to avoid breaking icons */
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    font-family: var(--font-primary);
    /* Fluid Typography: 16px to 18px */
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Firefox Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #888 var(--bg-primary);
    /* Prevent content from hiding under fixed navbar on mobile */
    padding-top: 0;
}

/* Add padding on mobile when navbar is fixed */
@media (max-width: 767px) {
    body {
        padding-top: 65px;
    }
}

/* Theme background helper (used across pages) */
.theme-bg {
    background: var(--theme-gradient);
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* =========================================
   UTILITIES (Mobile First)
   ========================================= */

/* Container: Default is mobile-friendly (100% width, padded) */
.container {
    width: 100%;
    padding-inline: var(--container-padding);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    /* Stack by default */
    flex-wrap: wrap;
    gap: 2rem;
}

.text-center {
    text-align: center;
}

/* Grid Helper */
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    /* 1 col default */
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent-gradient);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 26px;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 24px rgba(0, 180, 255, 0.22);
}

.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(0, 180, 255, 0.28);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* =========================================
   SECTION HEADERS (Universal)
   ========================================= */
.section-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.section-header.center-text {
    text-align: center;
    max-width: 800px;
    /* Constrain width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.header-decoration {
    flex-shrink: 0;
}

.squiggle-svg {
    width: 60px;
    height: 100px;
    overflow: visible;
}

.squiggle-svg path {
    stroke-linecap: round;
    /* animation: snakeWiggle 3s ease-in-out infinite; */
    d: path("M10,10 Q30,30 10,50 T10,90");
    stroke: #2563eb;
    stroke-width: 8;
    fill: none;
}

@keyframes snakeWiggle {

    0%,
    100% {
        d: path("M10,20 Q25,10 40,20 T70,20 T100,20");
    }

    50% {
        d: path("M10,80 Q25,90 40,80 T70,80 T100,80");
    }
}

.header-content {
    text-align: left;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-header .section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 auto;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Icons / Check Lists */
.check-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* =========================================
   NAVBAR (Mobile First)
   ========================================= */

/* ============================= */
/* NAVBAR FIX */
/* ============================= */

header.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 60px;
    background: linear-gradient(180deg, rgb(47, 76, 158), #1d4ed8);
    height: 90px;
    /* Fixed positioning for mobile menu */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(33, 77, 182, 0.3);
}

header.navbar .logo img {
    height: 38px;
    width: auto;
    min-width: auto;
    /* Prevent compression */
    max-height: 50px;
    object-fit: contain;
    /* Maintain aspect ratio */
}

.logo {
    display: flex;
    align-items: center;
}

/* NAV LINKS - DESKTOP ONLY */
/* NAV LINKS - DESKTOP ONLY (Unwrapped) */
header.navbar nav {
    display: flex;
    align-items: center;
    gap: 32px;
    /* Reset previous absolute positioning for desktop defaults - Media Query will handle mobile */
    position: static;
    width: auto;
    height: auto;
    max-height: none;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    opacity: 1;
    overflow: visible;
}

/* NAV ITEM */
header.navbar nav a,
header.navbar nav .dropbtn {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    /* 🔥 PREVENT LINE BREAK */
    padding: 8px 0;
    position: relative;
    border-bottom: none;
    /* Reset mobile style */
    margin: 0;
    /* Reset */
    width: auto;
    /* Reset */
    display: inline-block;
}

/* ACTIVE / HOVER */
header.navbar nav a.active,
header.navbar nav a:hover,
header.navbar nav .dropbtn:hover {
    color: #38bdf8;
    background: transparent;
    /* Reset mobile hover bg */
}

/* DROPDOWN WRAPPER */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    width: auto;
    /* Reset */
}


/* BOOK DEMO BUTTON */
header.navbar .btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, rgb(0, 86, 179), rgb(0, 162, 255));
    color: #fff;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 25px rgba(0, 162, 255, 0.4);
}




/* Mobile: Navigation Menu (Hidden by default) */

/* Mobile styles removed */


/* =========================================
   INQUIRY MODAL (Common)
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    place-items: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-overlay.show {
    display: grid;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    /* White modal */
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}


.modal-form button {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================
   MEDIA QUERIES (Progressive Enhancement)
   ========================================= */

/* Tablet (Min 768px) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        flex-direction: row;
        align-items: flex-start;
    }

    .container.column {
        flex-direction: column;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer or specific columns */
    .col-img,
    .col-text {
        flex: 1;
        min-width: 300px;
    }
}

/* Desktop (Min 1024px) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
}

/* Wide Desktop (Min 1280px) */
@media (min-width: 1280px) {
    .container {
        max-width: 1400px;
    }
}


/* Mobile Navbar Styles */
@media (max-width: 1023px) {
    .menu-toggle {
        display: block;
    }

    header.navbar {
        padding: 15px 20px;
        height: 70px;
    }

    header.navbar .logo img {
        height: 32px;
    }


    .menu-toggle {
        display: block;
        position: fixed;
        top: 24px;
        right: 24px;
        z-index: 1201;
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(30, 41, 59, 0.45);
        z-index: 1200;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    header.navbar nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 85vw;
        max-width: 340px;
        height: 100vh;
        background: #fff;
        border-radius: 0 18px 18px 0;
        box-shadow: 2px 0 32px 0 rgba(30, 41, 59, 0.18);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 0 0 0;
        gap: 0;
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-100%);
        transition: all 0.3s cubic-bezier(.77, 0, .18, 1);
        z-index: 1300;
    }

    header.navbar nav.active {
        opacity: 1;
        pointer-events: all;
        transform: translateX(0);
    }

    header.navbar .logo {
        margin-left: 28px;
        margin-bottom: 18px;
    }

    header.navbar .logo img {
        height: 38px;
    }

    .mobile-close-btn {
        position: absolute;
        top: 18px;
        right: 18px;
        background: #fff;
        border: none;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        box-shadow: 0 2px 8px rgba(30, 41, 59, 0.10);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: #ef4444;
        z-index: 1400;
        cursor: pointer;
    }

    /* Mobile Dropdown Fix */
    .dropdown {
        width: 100%;
        display: block;
        margin-top: 0;
    }

    header.navbar nav a,
    header.navbar nav .dropbtn {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 16px;
        color: #1e293b;
        font-weight: 600;
        background: none;
        text-align: left;
        border-radius: 0;
        display: block;
    }

    header.navbar nav a::after {
        display: none;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        margin: 5px 0;
        padding: 10px 15px;
        background: #f8fafc;
        border-radius: 8px;
        display: none;
        box-shadow: none;
        border: 1px solid #e0e7ef;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown-content .row {
        flex-direction: column;
        gap: 1rem;
    }

    .dropdown-content .column {
        border-right: none !important;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .navbar .dropdown-content a {
        color: #475569;
        padding: 8px 0;
        font-size: 15px;
        font-weight: 500;
        border-bottom: none;
        margin-bottom: 0;
    }

    .dropdown-content a:hover {
        color: var(--color-primary);
        padding-left: 5px;
        background: rgba(0, 0, 0, 0.02);
    }
}

/* NAVBAR - Desktop Mode */
@media (min-width: 1024px) {
    .navbar {
        padding: 1.5rem 3rem;
    }



    .navbar .btn {
        display: inline-block;
        /* Show button */
    }

    .navbar nav {
        position: static;
        width: auto;
        height: auto;
        max-height: none;
        background: transparent;
        flex-direction: row;
        padding: 0;
        border: none;
        box-shadow: none;
        opacity: 1;
        display: flex;
        overflow: visible;
        /* Fix desktop dropdown clipping */
    }

    .navbar nav a,
    .navbar nav .dropbtn {
        display: inline-block;
        width: auto;
        padding: 0;
        margin: 0 1.2rem;
        border: none;
        font-size: 1rem;
        background: transparent;
        color: #ffffff;
        position: relative;
    }

    /* Navbar Hover Effect */
    .navbar nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-color);
        transition: width 0.3s ease;
    }

    .navbar nav a:hover::after,
    .navbar nav a.active::after,
    .dropdown:hover .dropbtn::after {
        width: 100%;
    }

    /* Dropdowns (Desktop) */
    .dropdown {
        display: inline-block;
        width: auto;
        position: relative;
    }

    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: min(90vw, 800px);
        margin-top: 8px;
        background: #EEF8FF;
        backdrop-filter: none;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        padding: 40px;
        display: none;
        box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
        z-index: 9999;
    }

    /* CSS hover trigger (primary) + JS .show class (backup) */
    .dropdown:hover .dropdown-content,
    .dropdown-content.show {
        display: block;
    }

    .dropdown-content .row {
        display: flex;
        /* Ensure flex layout is active */
        flex-direction: row;
        gap: 2rem;
    }

    .dropdown-content .column {
        flex: 1;
        /* Allow columns to grow/shrink nicely */
        min-width: 0;
        /* Prevent overflow */
    }

    .navbar .dropdown-content a {
        display: block;
        /* Force vertical stacking */
        padding: 0.5rem 0;
        white-space: normal;
        /* Allow text to wrap if needed */
        color: var(--text-secondary);
        /* Dark text for white dropdown */
    }

    /* Remove underline from dropdown items if inherited */
    .dropdown-content a::after {
        display: none;
    }

    .dropdown-content a:hover {
        color: var(--color-primary);
        background: #f1f2f9;
        border-radius: 6px;
        padding-left: 0.75rem;
    }

    /* Mega Dropdown adjustments */
    #after12-dropdown,
    .mega-dropdown .dropdown-content {
        width: 96vw;
        max-width: 1400px;
        padding: 2.5rem;
        left: 50vw;
        transform: translateX(-50vw);
    }

    /* Column Headers for Mega Menu */
    .dropdown-header {
        font-size: 0.85rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--color-primary);
        /* TechCadd Blue */
        margin-bottom: 1.25rem;
        letter-spacing: 0.05em;
        display: block;
        border-bottom: 2px solid transparent;
        /* Align with design if needed */
    }

    .dropdown-content .column {
        padding-right: 1.5rem;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        /* Subtle separator */
    }

    .dropdown-content .column:last-child {
        padding-right: 0;
        border-right: none;
    }

    .simple-dropdown {
        width: 280px;
        text-align: left;
    }


}

/* Large Desktop (Min 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1600px;
        /* Increased from 1440px */
    }

    html {
        font-size: 18px;
        /* Slightly larger scale */
    }
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


/* Mobile Menu Toggle Styles */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
}

/* Tablet Styles (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    header.navbar {
        padding: 15px 30px;
        height: 75px;
    }

    header.navbar .logo img {
        height: 35px;
        min-width: 120px;
        /* Prevent logo compression */
    }

    header.navbar nav {
        gap: 20px;
    }

    header.navbar nav a,
    header.navbar nav .dropbtn {
        font-size: 14px;
    }

    header.navbar .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Mobile Styles (max-width: 767px) */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    /* Mobile Navbar Adjustments */
    header.navbar {
        padding: 12px 15px;
        height: 65px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
    }

    header.navbar .logo img {
        height: 30px;
        min-width: 100px;
        /* Prevent logo compression */
    }

    /* Hide Book Demo button on mobile */
    header.navbar .btn {
        display: none;
    }

    /* Mobile Navigation Menu */
    header.navbar nav {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        max-height: calc(100vh - 65px);
        background: linear-gradient(180deg, #1e3a8a, #1d4ed8);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 0;
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-100%);
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    /* Show navigation when active */
    header.navbar nav.active {
        opacity: 1;
        pointer-events: all;
        transform: translateX(0);
    }

    /* Mobile Nav Links */
    header.navbar nav a,
    header.navbar nav .dropbtn {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
        white-space: normal;
    }

    /* Remove underline animation on mobile */
    header.navbar nav a::after {
        display: none;
    }

    /* Mobile Dropdowns */
    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        display: none;
        box-shadow: none;
    }

    /* Show dropdown when parent has open class */
    .dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown-content .row {
        flex-direction: column;
        gap: 1rem;
    }

    .dropdown-content .column {
        border-right: none !important;
        padding-right: 0;
    }

    .navbar .dropdown-content a {
        color: #fff;
        padding: 8px 0;
        font-size: 14px;
    }

    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 10px;
    }

    /* Mobile Mega Dropdowns */
    .mega-dropdown {
        position: relative !important;
    }

    .mega-dropdown .dropdown-content,
    #after12-dropdown {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        left: 0 !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        margin-top: 10px;
    }

    .mega-dropdown .column {
        padding: 0 !important;
    }

    .mega-dropdown .dropdown-header {
        font-size: 14px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        color: #fff;
    }

    .mega-dropdown .column a {
        font-size: 13px;
        padding: 8px 0;
        color: #fff !important;
    }
}



/* MEGA MENU ALIGNMENT FIX - Desktop Only */
@media (min-width: 1024px) {
    .mega-dropdown {
        position: static;
    }

    .mega-dropdown .dropdown-content {
        left: 50vw;
        transform: translateX(-50vw);
        width: 96vw;
        max-width: 1400px;
        margin-top: 8px;
        border-radius: 12px;
    }

    /* ================= MEGA MENU STYLING (Redesign) ================= */
    .mega-dropdown .dropdown-content {
        background: #EEF8FF;
        padding: 40px;
        border: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        z-index: 9999;
    }
}

@media (min-width: 1024px) {
    .mega-dropdown .dropdown-header {
        color: #000;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 20px;
        letter-spacing: 0;
        text-transform: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }

    .mega-dropdown .column {
        border-right: none !important;
        padding: 0 30px;
    }

    .mega-dropdown .column:first-child {
        padding-left: 0;
    }

    .mega-dropdown .column:last-child {
        padding-right: 0;
    }

    .mega-dropdown .column a {
        color: #666;
        font-size: 15px;
        font-weight: 500;
        padding: 10px 0;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.2s;
    }

    .mega-dropdown .column a:hover {
        color: var(--primary);
        background: transparent;
        padding-left: 5px;
        font-weight: 600;
    }
}

/* Nav Badges */
.nav-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1;
    display: inline-block;
    text-transform: uppercase;
}

.nav-badge.purple {
    background: #E9D5FF;
    color: #7E22CE;
}

.nav-badge.pink {
    background: #FCE7F3;
    color: #BE185D;
}

/* Scroll Progress Button */
.progress-wrap {
    position: fixed;
    right: 20px;
    bottom: 20px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    background: #ffffff;
    /* White background */
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    content: '\f062';
    /* Arrow Up */
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    /* Arrow size */
    color: var(--color-primary);
    /* Blue arrow */
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
    font-weight: 900;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    content: '\f062';
    /* Arrow Up Hover */
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    opacity: 0;
    background: var(--color-primary);
    /* Blue bg on hover */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    transition: all 200ms linear;
    font-weight: 900;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--color-primary);
    /* Blue Progress Stroke */
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}