:root {
    --primary: #84bcdd;
    --primary-dark: #2c7bac;
    --primary-light: #A3D4EE;
    --secondary: #00E5D4;
    --accent: #FFC107;
    --dark: #000000;
    --light: #FFFFFF;
    --bg-light: #f1f2f4;
    --bg-white: #ffffff;
    --text-dark: #212121;
    --text-main: #424242;
    --text-medium: #555555;
    --text-light: #757575;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-white: #ffffff;
    --heading-color: var(--text-white);
    --gradient-primary: linear-gradient(135deg, #84bcdd 0%, #6BA4C5 100%);
    --gradient-secondary: linear-gradient(90deg, #212121 0%, #424242 100%);
    --gradient-hero: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-cta: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-blue: linear-gradient(135deg, #3949ab, #5c6bc0);
    --container-max-width: 1400px;
    --section-padding-large: 100px 0;
    --section-padding-medium: 80px 0;
    --section-padding-small: 50px 0;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 50px;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* ================= HEADER ================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 5000;
    background: transparent;
}

.main-header {

    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 50px;
}

.main-header.scrolled {
    background-color: #ffffff;
    /* change to whatever color you want */
}

.logo-section img {
    height: 50px;
}

/* ================= MAIN NAV ================= */

#navMenu {
    list-style: none;
    display: flex;
    gap: 34px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #2284C3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-toggle {
    display: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* ================= DESKTOP MEGA MENU ================= */

.has-mega-menu {
    position: static;
}

.mega-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: radial-gradient(circle at top, #1b1b1b, #000);
    padding: 120px 0 70px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .25s ease;
    z-index: 4999;
}

.has-mega-menu:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-container {
    max-width: 1500px;
    margin: auto;
    display: flex;
    padding: 0 60px;
}

.mega-intro {
    width: 300px;
    color: #aaa;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, .2);
}

.mega-columns {

    padding-left: 30px;
}

.mega-intro h3 {
    font-family: "Playfair Display", serif;
    color: #fff;
    font-size: 34px;
}

.mega-columns {
    flex: 1;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    column-gap: 70px;
}

.mega-columns.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.mega-col h4 {
    font-family: "Playfair Display", serif;
    color: #fff;
    font-size: 26px;
    margin-bottom: 24px;
}

.mega-col h4::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, .4);
    margin-top: 12px;
}

.mega-col h4 a {
    color: #fff;
}

.mega-col h4 a:hover {
    color: var(--primary);
}

.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-col li a {
    display: block;
    padding: 7px 0;
    color: #e0e0e0;
    font-size: 15px;
}

.mega-col li a:hover {
    color: var(--primary);
}

/* AI & ML 2 column split */

.col-split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.nav-contact-btn a {

    border: solid 2px #2284C3;
    padding: 4px 4px;
    border-radius: 10px;

    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;


    color: #2284C3;

}

/* ================= MOBILE MENU ================= */

@media (max-width: 992px) {


    #navMenu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        max-width: 85%;
        /* background: rgba(34,34,34,0.3);  */
        flex-direction: column;
        padding: 85px 20px 20px;
        transform: translateX(100%);
        transition: .35s ease;
        overflow-y: auto;
        z-index: 99999;
        box-shadow: none;
    }

    header {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        /* background: #ff000026 !important; Make header itself transparent on mobile */
        box-shadow: none !important;
    }

    #navMenu.active {
        transform: translateX(0);
        background-color: #1b1b1b;
    }

    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 100001;
        background: rgba(34, 34, 34, 0.7);
        border-radius: 6px;
        padding: 6px 12px;
        box-shadow: none;
    }

    nav li {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        padding: 12px 0;
    }

    nav a {
        font-size: 16px;
        text-transform: none;
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* background: rgba(34,34,34,0.5); More transparent for links */
        border-radius: 4px;
        padding: 8px 12px;
        margin-bottom: 6px;
        box-shadow: none;
    }

    .mobile-submenu-toggle {
        display: inline;
        color: #fff;
        font-size: 18px;
    }

    /* Sub menu */

    .mega-menu-wrapper {
        position: static;
        display: none;
        padding: 8px 0 8px 12px;
        background: transparent;
        border-left: 2px solid var(--primary);
        margin-top: 6px;
    }

    .mega-menu-wrapper.show {
        display: block;
    }

    .mega-intro {
        display: none;
    }

    .mega-columns {
        display: block;
    }

    .mega-col {
        margin-bottom: 12px;
    }

    .mega-col h4 {
        color: #fff;
        font-size: 15px;
        margin: 10px 0;
        font-family: inherit;
    }

    .mega-col-content {
        padding-left: 10px;
    }

    .mega-col ul li {
        border: none;
        padding: 5px 0;
    }

    .mega-col ul li a {
        font-size: 14px;
        color: #ffffff;
        font-weight: 400;
    }

    .mega-col ul li a:hover {
        color: var(--primary);
    }

    /* vertical list for sub-sub */

    .col-split-inner {
        display: block;
    }

    .main-header {
        padding: 20px 15px !important;
    }

    /* Fix mobile menu when header is scrolled */
    .main-header.scrolled #navMenu {
        background-color: #1b1b1b !important;
    }

    .main-header.scrolled #navMenu.active {
        background-color: #1b1b1b !important;
    }

    .main-header.scrolled #navMenu a {
        color: #fff !important;
    }

    .main-header.scrolled .mega-col h4 a {
        color: #fff !important;
    }

}