/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-roboto: 'Roboto', sans-serif;
}

/* ================= NAVBAR ================= */

.nav-wrapper {
    margin-top: 15px;
}

.custom-navbar {
    background: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
}

.logo img {
    height: 38px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-roboto);
    transition: 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: #0d6efd;
    color: #fff;
}

/* ================= BUTTON ================= */

.nav-btn a {
    background: linear-gradient(135deg, #7b00ff, #4b00ff);
    color: #fff;
    padding: 8px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
}

/* ================= MEGA MENU (DESKTOP) ================= */

.services-item {
    position: relative;
}


/* Invisible hover bridge */
.services-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 25px;
    /* hover gap fix */
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    /* gap hata diya */
    left: 150%;
    transform: translateX(-50%);
    margin-top: 18px;

    width: 1100px;
    max-width: 95vw;

    background: linear-gradient(135deg, #2437c6, #2f46da);
    border-radius: 18px;
    padding: 30px;

    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;

    z-index: 9999;
}

/* Hover open */
.services-item:hover .mega-menu,
.services-item:hover::after,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ================= LEFT ================= */

.mega-left h3 {
    color: #fff;
    margin-bottom: 15px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-box {
    background: #1e2ea3;
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    transition: 0.3s;
}
.service-box {
    color: #fff;
}

.service-box:hover {
    background: #3047e6;
    transform: translateY(-4px);
}

.service-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.service-box p {
    font-size: 14px;
    margin: 3px 0;
}

/* ===== FIX: SERVICE BOX LINK TEXT COLOR ===== */

.service-box a {
    display: block;
    /* poora box clickable */
    color: #ffffff !important;
    text-decoration: none;
}

/* safety: inside text */
.service-box a h4,
.service-box a p {
    color: #ffffff !important;
}

/* hover pe bhi white rahe */
.service-box:hover a,
.service-box:hover a h4,
.service-box:hover a p {
    color: #ffffff !important;
}

/* ===== REMOVE INNER BOX ISSUE ===== */

.service-box a {
    display: block;
    background: transparent !important;
    /* ❌ inner box remove */
    padding: 0;
    /* extra spacing remove */
    border-radius: 0;
    /* double rounding remove */
}
/* ================= EXPLORE ================= */

 .explore-box {
    margin-top: 20px;
    background: #16238a;
    padding: 15px;
    border-radius: 12px;
    color: #fff;
} 

.explore-box .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;

    background: linear-gradient(135deg, #ffffff, #e7e7ff);
    color: #2437c6;

    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;

    transition: 0.3s ease;
}

.explore-box .btn:hover {
    background: #ffffff;
    color: #1a2fdc;
    transform: translateY(-2px);
}

/* ================= RIGHT ================= */

.mega-right {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.mega-right img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* .cta-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: linear-gradient( blue);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
} */
 .cta-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;

     margin-top: 12px;
     padding: 10px 22px;

     background: linear-gradient(135deg, #1a2fdc, #4f6bff);
     color: #fff;

     font-size: 14px;
     font-weight: 600;
     border-radius: 25px;
     text-decoration: none;

     transition: 0.3s ease;
 }

 .cta-btn:hover {
     background: linear-gradient(135deg, #0d6efd, #1a2fdc);
     transform: translateY(-2px);
 }

 /* ===== FIX: CTA TEXT COLOR ===== */
 .mega-right .cta-btn {
     color: #ffffff !important;
 }

 .mega-right .cta-btn:hover {
     color: #ffffff !important;
 }



 /* .service-box p {
     position: relative;
     padding-bottom: 6px;
     margin-bottom: 6px;
     font-size: 14px;
 }

 .service-box p::after {
     content: "";
     position: absolute;
     left: 0;
     bottom: 0;
     width: 100%;
     height: 1px;
     background: rgba(255, 255, 255, 0.25);
 } */

/* ================= TABLET ================= */

@media (max-width: 991px) {

    .mega-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 85%;
        height: 100vh;
        border-radius: 0;
        grid-template-columns: 1fr;
        overflow-y: auto;
        transition: 0.4s ease;
    }

    .services-item:hover .mega-menu {
        right: 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 576px) {

    .nav-menu {
        display: none;
    }

    .mega-menu {
        width: 100%;
        padding: 20px;
    }

    .mega-right {
        margin-top: 20px;
    }
}


/* ================= MOBILE NAV ================= */

.mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

/* Hamburger */
.hamburger {
    width: 26px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    margin: 5px 0;
    border-radius: 5px;
}

/* Round gradient button */
.mobile-cta {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #7b00ff, #4b00ff);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
}

/* ================= MOBILE MENU SLIDE ================= */

@media (max-width: 768px) {

    .nav-btn {
        display: none;
    }

    .mobile-actions {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 90px 25px;
        gap: 18px;
        transition: 0.4s ease;
        z-index: 9999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu li a {
        font-size: 18px;
        padding: 10px 15px;
        border-radius: 10px;
    }

    /* Mobile pe mega menu band */
    .mega-menu {
        display: none !important;
    }
}