.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: radial-gradient(circle at 10% 0%, rgba(36, 215, 234, 0.13), transparent 30%), radial-gradient(circle at 90% 0%, rgba(169, 76, 242, 0.14), transparent 30%), rgba(9, 14, 24, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    opacity: 0.65;
    background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--green), var(--purple), transparent);
}

.site-header .container {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar {
    position: relative;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-right: 20px;
    padding-left: 20px;
}

.brand {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.brand:hover {
    transform: translateY(-2px);
}

.brand img {
    height: 100px;
    padding: 10px 0;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

.nav-links a {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #24d7ea ;
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.nav-links a.active {
    color: #07131c;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    box-shadow: 0 8px 22px rgba(36, 215, 234, 0.17);
}

.nav-links a::after,
.nav-links a:hover::after,
.nav-links a.active::after {
    display: none;
}

.nav-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.nav-actions .btn {
    border-radius: 12px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #ffffff;
    font-size: 19px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(36, 215, 234, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 1000px) {
    .navbar {
        gap: 18px;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links a {
        padding: 0 13px;
        font-size: 12px;
    }

    .nav-actions .btn {
        padding: 0 15px;
    }
}

@media (max-width: 830px) {
    .navbar {
        min-height: 76px;
    }

    .brand img {
        width: 88px;
        height: 85px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        padding: 14px;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transform-origin: top;
        background: radial-gradient(circle at 90% 10%, rgba(169, 76, 242, 0.13), transparent 35%), rgba(10, 16, 27, 0.99);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 0;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.36);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-links.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: 0 17px;
        font-size: 13px;
        border-radius: 11px;
    }

    .nav-links a.active {
        color: #07131c;
    }
}

@media (max-width: 560px) {
    .navbar {
        min-height: 72px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .brand img {
        width: 82px;
        height: 80px;
    }

    .menu-toggle {
        width: 43px;
        height: 43px;
        font-size: 18px;
    }

    .nav-links {
        right: 15px;
        left: 15px;
    }
}

.simple-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.simple-dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.simple-dropdown-trigger>i {
    font-size: 9px;
    transition: transform 0.25s ease;
}

.simple-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 1200;
    width: 285px;
    padding: 8px 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 45px rgba(11, 16, 26, 0.18);
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.simple-dropdown-menu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 14px;
}

.simple-dropdown:hover .simple-dropdown-menu,
.simple-dropdown:focus-within .simple-dropdown-menu,
.simple-dropdown.open .simple-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.simple-dropdown:hover .simple-dropdown-trigger>i,
.simple-dropdown:focus-within .simple-dropdown-trigger>i,
.simple-dropdown.open .simple-dropdown-trigger>i {
    transform: rotate(180deg);
}

.nav-links .simple-dropdown-menu>a {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 21px;
    color: #202938;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.45;
    text-align: left;
    background: #ffffff;
    border-radius: 0;
    transition: color 0.22s ease, background 0.22s ease, padding-left 0.22s ease;
}

.nav-links .simple-dropdown-menu>a:hover {
    color: var(--blue);
    background: #f2f6ff;
    padding-left: 25px;
}

.simple-dropdown-menu::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--purple));
}

@media (max-width: 830px) {
    .simple-dropdown {
        width: 100%;
        display: block;
    }

    .simple-dropdown-trigger {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .simple-dropdown-menu {
        position: relative;
        top: auto;
        width: 100%;
        max-height: 0;
        margin-top: 0;
        padding: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        background: #ffffff;
        border: 0;
        border-radius: 10px;
        box-shadow: none;
        transform: none;
        transition: max-height 0.35s ease, margin-top 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    .simple-dropdown:hover .simple-dropdown-menu,
    .simple-dropdown:focus-within .simple-dropdown-menu {
        max-height: 0;
        margin-top: 0;
        padding: 0;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    /* Open through JavaScript */
    .simple-dropdown.open .simple-dropdown-menu {
        max-height: 450px;
        margin-top: 7px;
        padding: 7px 0;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .simple-dropdown-menu::before {
        display: none;
    }

    .nav-links .simple-dropdown-menu>a {
        min-height: 44px;
        padding: 9px 17px;
        color: #202938;
        font-size: 12px;
    }

    .nav-links .simple-dropdown-menu>a:hover {
        padding-left: 21px;
    }
}

/* ===== Wide Services Mega Menu ===== */
@media (min-width:831px) {
    .mega-services {
        position: static
    }

    .mega-services .mega-menu {
        left: 50%;
        top: calc(100% + -15px);
        width: min(1120px, calc(100vw - 40px));
        padding: 20px;
        display: grid;
        grid-template-columns: 1.55fr .85fr;
        gap: 18px;
        border: 1px solid rgba(36, 98, 213, .14);
        border-radius: 20px;
        background: linear-gradient(145deg, #fff 0%, #f7faff 100%);
        box-shadow: 0 28px 70px rgba(6, 15, 30, .24);
        transform: translateX(-50%) translateY(-8px)
    }

    .mega-services:hover .mega-menu,
    .mega-services:focus-within .mega-menu,
    .mega-services.open .mega-menu {
        transform: translateX(-50%) translateY(0)
    }

    .mega-menu-group {
        padding: 20px;
        border-radius: 15px;
        background: #fff;
        border: 1px solid #e7edf7
    }

    .mega-menu-heading {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
        color: #111827;
        font-weight: 800;
        font-size: 14px
    }

    .mega-menu-heading i {
        color: #2563eb
    }

    .mega-menu-links {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px
    }

    .mega-menu-links>a,
    .nav-links .mega-menu-links>a {
        min-height: 38px !important;
        padding: 8px 10px !important;
        border-radius: 9px !important;
        background: transparent !important;
        font-size: 12px !important;
        color: #3b4657 !important
    }

    .mega-menu-links>a:hover,
    .nav-links .mega-menu-links>a:hover {
        background: #eaf1ff !important;
        color: #155bd7 !important;
        padding-left: 10px !important
    }

    .digital-group {
        background: linear-gradient(145deg, #f0fbff, #f8f5ff)
    }

    .digital-group .mega-menu-links {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:830px) {
    .mega-services .simple-dropdown-menu {
        background: #fff;
        padding: 0 !important
    }

    .mega-services.open .simple-dropdown-menu {
        max-height: min(56vh, 520px);
        overflow: auto;
        padding: 10px !important
    }

    .mega-menu {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px
    }

    .mega-menu-group {
        padding: 10px;
        background: #f7f9fd;
        border: 1px solid #e9edf4;
        border-radius: 10px
    }

    .mega-menu-heading {
        display: flex;
        align-items: flex-start;
        gap: 7px;
        margin-bottom: 8px;
        font-size: 11px;
        line-height: 1.35;
        font-weight: 800;
        color: #111827
    }

    .mega-menu-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px
    }

    .nav-links .mega-menu-links>a {
        min-height: 34px !important;
        padding: 6px 8px !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
        border-radius: 7px !important
    }
}

@media(max-width:520px) {
    .mega-menu-group {
        padding: 8px
    }

    .nav-links .mega-menu-links>a {
        font-size: 12px !important;
        padding: 5px 6px !important
    }
}

/* Updated Logo Makers 24x7 logo */
.brand img {
    filter: drop-shadow(0 6px 16px rgba(39, 214, 232, .13));
    border-radius: 10px;
}

/* =========================================
   MOBILE MENU FIX + MOBILE QUOTE BUTTON
========================================= */

.mobile-quote-btn {
    display: none !important;
}

/* exact toggle click area */
.menu-toggle {
    position: relative;
    z-index: 1005;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    flex: 0 0 46px;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    overflow: hidden;
    touch-action: manipulation;
}

/* no invisible extended click area */
.menu-toggle::before,
.menu-toggle::after {
    content: none !important;
    display: none !important;
}

/* icon itself should not capture click */
.menu-toggle i {
    pointer-events: none;
}


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

@media (max-width: 830px) {

    /*
       Desktop quote hide.
       Quote will now appear inside mobile menu.
    */
    .nav-actions>.btn {
        display: none !important;
    }

    .menu-toggle {
        display: inline-flex;
    }


    /* Closed navigation must not receive clicks */
    .nav-links:not(.open) {
        pointer-events: none;
    }

    .nav-links.open {
        pointer-events: auto;
    }


    /* Mobile Get Quote Button */
    .nav-links .mobile-quote-btn {
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 18px;
        padding: 15px 20px !important;
        color: #06111a !important;
        font-size: 14px;
        font-weight: 800;
        background: linear-gradient(90deg, var(--cyan), var(--green)) !important;
        border: 0 !important;
        border-radius: 14px !important;
        box-shadow: 0 14px 34px rgba(36, 215, 234, 0.18);
        transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .nav-links .mobile-quote-btn:hover {
        color: #06111a !important;
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(36, 215, 234, 0.24);
    }

    .nav-links .mobile-quote-btn i {
        font-size: 12px;
        transition: transform 0.22s ease;
    }

    .nav-links .mobile-quote-btn:hover i {
        transform: translateX(3px);
    }
}


/* desktopમાં mobile quote ક્યારેય show નહીં થાય */
@media (min-width: 831px) {

    .mobile-quote-btn {
        display: none !important;
    }
}