﻿:root {
    --primary: #3e3a7a;
    --bg: #F5F7FB;
}

[data-header-position="fixed"] .header {
    top: 20%;
}

.nav-header {
    margin-top: 70px;
}

.mainpage .dlabnav.beforelogin {
    margin-top: 70px;
    display: none;
}

.div_rc_Service h2 {
    font-size: 22px;
    font-weight: 700 !important;
    color: #3E3A7A;
    margin: 0;
    text-transform: capitalize;
    background-color: transparent;
    padding: 0;
}

.nav-header, .mainpage .dlabnav {
    max-width: 260px;
    width: 100%;
    background-color: #fff;
    margin-top: -17px;
}

[data-sibebarbg="color_1"][data-theme-version="dark"] .dlabnav .metismenu > li > a, [data-sibebarbg="color_1"] .dlabnav .metismenu > li > a {
    color: #3e3a7a;
    font-size: 14px !important;
    font-weight: 600;
    font-family: sans-serif;
}

[data-sibebarbg="color_1"][data-theme-version="dark"] .dlabnav .metismenu > li > a, [data-sibebarbg="color_1"] .dlabnav .metismenu > li + li {
    margin: 3px 0;
}

[data-sibebarbg="color_1"][data-theme-version="dark"] .dlabnav .metismenu > li > a, [data-sibebarbg="color_1"] .dlabnav .metismenu > li > a:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: 0.25s ease;
    transform: scale(1.05);
}

.dlabnav .metismenu {
    padding-top: 0;
}

[data-sibebarbg="color_1"][data-theme-version="dark"] .dlabnav .metismenu > li > a, [data-sibebarbg="color_1"] .dlabnav .metismenu > li > a.active {
    background: rgba(149, 144, 204, 0.14);
    padding: 20px;
    border-radius: 10px;
}

    [data-sibebarbg="color_1"][data-theme-version="dark"] .dlabnav .metismenu > li > a, [data-sibebarbg="color_1"] .dlabnav .metismenu > li > a.active::before {
        content: "";
        position: absolute;
        left: -2px;
        height: 54px;
        width: 7px;
        background: var(--primary);
        border-radius: 0 4px 4px 0;
        top: 4px;
    }


.nav-header, .mainpage .dlabnav {
    max-width: 260px;
    width: 100%;
    border-radius: 14px;
    background-color: #fff;
}

.nav-header {
    height: 0;
}

#div_login_user {
    display: none;
}

.div_wrapper .div_rc_Service ._srvc_tabs {
    background-color: #fff !important;
}

.div_rc_Service p {
    font-size: 13px;
    color: #64748b;
    margin: 5px 0 0;
    line-height: 1.4;
    padding: 0 0 8px 0;
}

[data-header-position="fixed"] .content-body {
    margin-top: 0px;
    padding-top: 0 !important;
    background-color: var(--bg);
}

    [data-header-position="fixed"] .content-body .div_wrapper {
        margin-top: 0;
        padding: 20px 15px 0 30px;
        background-color: #F5F7FB !important;
    }

[data-header-position="fixed"] .header {
    display: none;
}

.content-body {
    margin-left: 0;
}
/*[data-header-position="fixed"] .content-body .div_wrapper .col-md-12 .row .col-md-2 {
    display: none;
}*/
/*
[data-header-position="fixed"] .content-body .div_wrapper .col-md-12 .row .col-md-8 {
    margin-left: 25px;
}
*/
/*egpay new css */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue-primary: #3D3B7E;
    --blue-light: rgba(61, 59, 126, 0.65);
    --blue-pale: #C8DEFF;
    --blue-bg: #D6E8FF;
    --text-dark: #1A2340;
    --text-mid: #4A5578;
    --text-soft: #8A96B0;
    --white: #FFFFFF;
    --input-bg: #F4F8FF;
    --input-border: #DDEAFF;
    --shadow: 0 24px 64px rgba(26, 111, 244, 0.18);
}


/* Trigger button */
.open-btn {
    background: var(--blue-primary);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(26, 111, 244, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

    .open-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(26, 111, 244, 0.4);
    }

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 40, 90, 0.35);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .overlay.active {
        opacity: 1;
        padding: 30px;
        pointer-events: all;
    }

/* Modal */
.modal {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 860px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    transform: scale(0.93) translateY(20px);
    transition: transform 0.35s cubic-bezier(.23, 1.12, .62, 1), opacity 0.3s ease;
    opacity: 0;
    position: relative;
}

.overlay.active .modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Close */
.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--text-soft);
    line-height: 1;
    z-index: 10;
    transition: color 0.15s, transform 0.15s;
}

.btn-disabled {
    opacity: 0.5;
    filter: blur(1px);
    pointer-events: none;
}

.close-btn:hover {
    color: var(--blue-primary);
    transform: rotate(90deg);
}

/* Left panel — form */
.form-panel {
    padding: 44px 40px 40px;
    display: flex;
    flex-direction: column;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #E8EFFF;
    margin-bottom: 32px;
}

.tab {
    flex: 1;
    padding: 0 0 14px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

    .tab.active {
        color: var(--blue-primary);
    }

        .tab.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--blue-primary);
            border-radius: 2px;
        }

/* Form content */
.form-content {
    display: none;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

    .form-content.active {
        display: flex;
    }

.form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: -4px;
}

.field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: block;
}

.input-wrap {
    position: relative;
}

    .input-wrap svg {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        color: var(--text-soft);
    }

    .input-wrap input {
        width: 100%;
        padding: 13px 14px 13px 42px;
        background: var(--input-bg);
        border: 1.5px solid var(--input-border);
        border-radius: 10px;
        font-family: inherit;
        font-size: 14px;
        color: var(--text-dark);
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .input-wrap input::placeholder {
            color: var(--text-soft);
        }

        .input-wrap input:focus {
            border-color: var(--blue-primary);
            box-shadow: 0 0 0 3px rgba(26, 111, 244, 0.12);
            background: #fff;
        }

.forgot {
    text-align: right;
    font-size: 13px;
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: -6px;
    cursor: pointer;
}

    .forgot:hover {
        text-decoration: underline;
    }

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 6px 20px rgba(26, 111, 244, 0.35);
    transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}

    .submit-btn:hover {
        background: rgba(60, 52, 117, 0.89);
        transform: translateY(-1px);
        box-shadow: 0 10px 28px rgba(26, 111, 244, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

/* Right panel — branding */
.brand-panel {
    background: linear-gradient(181deg, #8c83d0 0%, rgb(232 230 241 / 72%) 60%, rgba(60, 52, 117, 0.64) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    /* Decorative blobs */
    .brand-panel::before {
        content: '';
        position: absolute;
        width: 260px;
        height: 260px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 50%;
        bottom: -80px;
        right: -80px;
    }

    .brand-panel::after {
        content: '';
        position: absolute;
        width: 160px;
        height: 160px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        top: -40px;
        left: -40px;
    }

.brand-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.eg-inline-logo {
    height: 3.8rem;
    width: auto;
    vertical-align: middle;
    margin-left: -3px;
    display: inline-block;
}

.brand-title span {
    color: var(--blue-primary);
}

.brand-sub {
    font-size: 15px;
    color: var(--text-mid);
    font-weight: 500;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.wallet-img-wrap {
    position: relative;
    z-index: 1;
    width: 472px;
    height: 343px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .wallet-img-wrap img.wallet-main-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 16px 32px rgba(26, 111, 244, 0.22));
        animation: floatWallet 3.5s ease-in-out infinite;
    }

@keyframes floatWallet {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Sparkles */
.sparkle {
    position: absolute;
    z-index: 2;
    font-size: 20px;
    animation: sparkleAnim 2s ease-in-out infinite;
    opacity: 0.7;
}

    .sparkle:nth-child(1) {
        top: 60px;
        left: 30px;
        animation-delay: 0s;
    }

    .sparkle:nth-child(2) {
        top: 40px;
        right: 50px;
        animation-delay: 0.5s;
        font-size: 14px;
    }

    .sparkle:nth-child(3) {
        bottom: 70px;
        left: 20px;
        animation-delay: 1s;
        font-size: 16px;
    }

    .sparkle:nth-child(4) {
        bottom: 50px;
        right: 30px;
        animation-delay: 1.5s;
    }

@keyframes sparkleAnim {

    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@media (max-width: 640px) {
    .modal {
        grid-template-columns: 1fr;
        max-width: 358px;
        margin-bottom: 67px;
    }



    .brand-panel {
        display: none;
    }

    .form-panel {
        padding: 27px 22px 8px;
    }
}

/* Refined Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 1px solid var(--input-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-soft);
    z-index: 100;
    /* High z-index to stay above panels */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

    .close-btn:hover {
        background: #fff;
        color: var(--blue-primary);
        transform: rotate(90deg) scale(1.1);
        border-color: var(--blue-primary);
        box-shadow: 0 6px 16px rgba(61, 59, 126, 0.15);
    }

.mainlogo {
    height: 60px;
    width: auto;
}

@media (max-width: 576px) {
    span {
        font-size: 15px !important;
    }

    .mainlogo {
        height: 55px !important;
    }

    .m-name {
        font-size: 15px !important;
    }
}

/* User Dashboard Widget Styles */
.user-dashboard-widget {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-weight: 700;
    border-right: 2px solid #e2e8f0;
    padding-right: 15px;
}

.wallet-icon {
    font-size: 1.1rem;
}

.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-blue);
}

/* Dropdown Menu */
.dropdown-content {
    position: absolute;
    top: 120%;
    right: 0;
    width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
    /* Toggled via JS */
    flex-direction: column;
    padding: 10px 0;
    z-index: 1001;
}

    .dropdown-content.show {
        display: flex;
    }

    .dropdown-content a {
        padding: 10px 20px;
        text-decoration: none;
        color: var(--text-main);
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: background 0.2s;
    }

        .dropdown-content a:hover {
            background: #f1f5f9;
        }

.logout-link {
    color: #ef4444 !important;
}

.dropdown-content hr {
    margin: 5px 0;
    border: none;
    border-top: 1px solid #eee;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* REAL height */
    z-index: 9999;
    background: #fff;
}

@media screen and (max-width: 576px) {

    /* Navbar ko pura space use karne dein */
    .navbar {
        padding-top: env(safe-area-inset-top);
        /* Notch support */
        height: auto;
        min-height: 70px;
        display: flex;
        align-items: center;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        /* Logo left, Hamburger right */
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        position: relative;
    }

    /* Logo ko left mein fix karein */
    .logo {
        flex: 1;
        text-align: left;
    }

        .logo a {
            font-size: 1.5rem !important;
            /* Mobile par thoda chhota taaki space mile */
            white-space: nowrap;
        }


    /* Beech ke links hide karein jo desktop ke liye hain */
    .nav-links,
    .auth-group {
        display: none !important;
    }
}


#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    /* Higher than everything else */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3E3A7A;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.user-name {
    font-size: 15px !important;
    /* Pehle se bara */
    font-weight: 600 !important;
    color: var(--brand-blue);
    margin-right: 8px;
}

/* Wallet Balance (Desktop) */
.balance {
    font-size: 15px !important;
    /* Kaafi prominent dikhega */
    font-weight: 600 !important;
    color: #1e293b;
}

/* Mobile Specific (Jo humne naya add kiya tha) */
.nav-m-name {
    font-size: 15px !important;
    /* Pehle se bara */
    font-weight: 600 !important;
    color: #3E3A7A;
    line-height: 1.2;
}

.nav-m-balance {
    font-size: 15px !important;
    /* Mobile balance size */
    font-weight: 700;
    color: #10b981;
    /* Green color for money visibility */
}

/* Avatar size bhi thoda bara kar dete hain balance ke saath match karne ke liye */
.nav-avatar {
    width: 44px !important;
    height: 44px !important;
    border: 2px solid #3E3A7A;
}

/* Styling for the Navbar User Info (Mobile View) */
.mobile-nav-user {
    display: none;
    align-items: center;
    gap: 12px;
    /* Increased gap */
    margin-right: 41px;
    /* Space before hamburger */
}

@media (max-width: 992px) {
    .mobile-nav-user {
        display: flex;
    }
}

.nav-user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.3;
}

.nav-m-name {
    font-size: 15px;
    /* Increased from 13px */
    font-weight: 800;
    /* Extra bold for visibility */
    color: #3E3A7A;
    text-transform: capitalize;
}

.nav-m-balance {
    font-size: 14px;
    /* Increased from 11px */
    color: #1e293b;
    /* Darker color for better contrast */
    font-weight: 700;
}

    .nav-m-balance i {
        color: #413E7C;
        font-size: 12px;
    }

.nav-avatar {
    width: 40px;
    /* Increased from 32px */
    height: 40px;
    /* Increased from 32px */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3E3A7A;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile User Card Styling */
.mobile-user-card {
    background: linear-gradient(135deg, #3E3A7A, #5a54a8);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    color: white;
}

.m-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.m-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: white;
}

.m-details {
    display: flex;
    flex-direction: column;
}

.m-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.m-wallet {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.m-profile-btn {
    display: block;
    text-align: center;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 8px !important;
    font-size: 0.85rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none !important;
}

.m-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

/* Ensure mobile menu shows correctly on small screens */
@media (max-width: 480px) {
    .mobile-menu {
        width: 85%;
        /* Thoda zyada width mobile par */
    }
}

.mobile-header {
    font-size: 36px;
    color: #3E3A7A;
    font-weight: 700;
}

:root {
    --brand-blue: #3E3A7A;
    --text-main: #1e293b;
    --text-light: #64748b;
    --transition: all .3s ease;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
}

.navbar {
    position: sticky;
    top: 0;
    height: 70px;
    background: #fff;
    z-index: 1;
}

.nav-container {
    width: 100%;
    margin: auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* ðŸ”¥ VERY IMPORTANT */
}

.logo a {
    font-size: 2rem;
    font-weight: 750;
    color: var(--brand-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 700;
        font-size: 17px;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--brand-blue);
        }

.auth-group {
    display: flex;
    gap: 20px;
}

.btn-login {
    color: var(--text-main);
    font-weight: 400;
    text-decoration: none;
    margin-top: 12px;
}

.btn-signup {
    background: var(--brand-blue);
    color: #fff;
    padding: 7px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .5px;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

    .hamburger span {
        width: 24px;
        height: 2px;
        background: var(--text-main);
    }

/* BACKDROP */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1040;
}

    .menu-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    /* slightly wider */
    height: 100vh;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    border-radius: 0 15px 15px 0;
    /* rounded right corners */
    overflow-y: auto;
}

    .mobile-menu.show {
        right: 0;
    }

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.close-btn {
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .close-btn:hover {
        transform: rotate(90deg);
        color: var(--brand-blue);
    }

.mobile-links {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .mobile-links a {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 600;
        padding: 14px 20px;
        border-radius: 12px;
        background: #f9f9f9;
        transition: all 0.2s ease-in-out;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

        .mobile-links a:hover {
            background: var(--brand-blue);
            color: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: translateX(5px);
        }

        .mobile-links a.active {
            background: var(--brand-blue);
            color: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

.mobile-signup-btn {
    background: var(--brand-blue) !important;
    color: #fff !important;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1040;
}

    .menu-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu {
    scroll-behavior: smooth;
}

.mobile-links::-webkit-scrollbar {
    width: 6px;
}

.mobile-links::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .1);
    transition: var(--transition);
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

    .mobile-menu.show {
        right: 0;
    }

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.close-btn {
    font-size: 26px;
    cursor: pointer;
}

.mobile-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .mobile-links a {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 600;
        padding: 9px 10px;
        border-radius: 8px;
    }

        .mobile-links a:hover {
            background: #c1bfe4;
        }

.overlay.active .modal #form-signup .field-label {
    margin: 10px 5px;
}

/* RESPONSIVE */
@media (max-width:992px) {

    .nav-links,
    .auth-group {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 992px) {

    .nav-links,
    .auth-group {
        display: none;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
}

#brandSort {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #ddd;
    color: #3E3A7A;
    font-weight: 600;
    cursor: pointer;
}

/* Container padding to keep everything away from screen edges */
.ot-main-container {
    max-width: 1564px;
    margin: 0 auto;
    padding: 10px;
}

/* Full Width Banner Styling */
.ot-top-banner {
    width: 100%;
    margin-bottom: -19px;
    /* Space between banner and content */
    overflow: hidden;
}

/* Flexbox for Sidebar and Content */
.ot-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ot-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.ot-content-area {
    flex-grow: 1;
    min-width: 0;
    /* Prevents flex items from breaking layout */
}

@media screen and (min-width: 992px) {
    .ot-main-container {
        display: none !important;
    }
}


/* Responsive Adjustments for Mobile */
@media (max-width: 992px) {
    .ot-content-wrapper {
        flex-direction: column;
        /* Stacks sidebar and content */
    }


    .ot-sidebar,
    .ot-content-area {
        width: 100%;
    }

    .ot-main-container {
        padding: 10px;
        margin-left: 81px;
    }
}

/* Container */
.services-grid,
.spotlight-grid {
    display: flex;
    flex-wrap: wrap;
    /* Isse sorting ke waqt items apni sahi jagah par rahenge */
}

.spot-item {
    position: relative;
    /* Badge positioning ke liye */
}

@media screen and (min-width:992px) {
    .spot-item {
        display: none !important;
    }
}

.spot-badge {
    position: absolute;
    top: -2px;
    right: 5px;
    background: #413D7C;
    /* Flipkart Blue */
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    z-index: 5;
    text-transform: uppercase;
}

.spotlight-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px 8px !important;
    padding: 1px !important;
    background-color: #ffffff !important;
}

/* Square Box with Rounded Corners (Like Image) */
.spot-box {
    width: 80px;
    height: 90px;
    background-color: #f0f7ff;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    overflow: hidden;
}

    .spot-box img {
        width: 96%;
        height: 87%;
        object-fit: contain;
    }

/* Item Wrapper */
.spot-item {
    background: transparent;
    border: none;
    text-align: center;
}

/* Text label */
.spot-text {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Click Effect */
.spot-link:active .spot-box {
    transform: scale(0.95);
    background-color: #e6f2ff;
}

.mobile-only-slider {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    /* Matching your UI design */
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}


/* Updated Slider Track */
.slider-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 400%;
    /* Total width for 4 slides */
    animation: scroll 12s infinite linear;
}

.slide {
    /* Each slide is 1/4th of the 400% track, which equals 100% of the screen */
    width: 100%;
    flex-shrink: 0;
}

._slider_service .carousel-inner .carousel-item {
    margin-top: 0;
}

    ._slider_service .carousel-inner .carousel-item img {
        object-fit: contain;
        height: 400px;
    }
/* Animation remains the same */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    28% {
        transform: translateX(0);
    }

    33% {
        transform: translateX(-25%);
    }

    61% {
        transform: translateX(-25%);
    }

    66% {
        transform: translateX(-50%);
    }

    94% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(-75%);
    }
}

@media (max-width: 768px) {
    .mobile-only-slider {
        display: block;
    }
}

.menu-item {
    transition: transform 0.3s ease;
}


    .menu-item:hover {
        transform: scale(1.05);
    }

.service-item-link {
    display: block;
    transition: transform 0.2s ease;
    text-decoration: none;
}

    .service-item-link:hover {
        transform: translateY(-5px);
    }

.service-item {
    cursor: pointer;
}

.service-item {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.ebadge-new {
    position: absolute;
    top: 0;
    right: 0;
    background: #3E3A7A;
    color: white !important;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-bottom-left-radius: 12px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.card-content-wrapper img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Purani line hatane ke liye */
.service-link.service-disabled::before,
.service-link.service-disabled::after {
    display: none !important;
    /* Agar koi line CSS se bani hai toh wo hat jayegi */
}

.service-link.service-disabled {
    /* Thoda faded look dene ke liye */
    pointer-events: none;
    position: relative;
}

/* Naya Pyara Badge */
.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgb(186, 0, 0);
    /* Indigo Color */
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



.service-item img {
    filter: none !important;
    /* Icon clear dikhega */
}

.menu-group {
    border: none !important;
    box-shadow: none !important;
}

/* This will hide the footer on all pages when on mobile (under 576px) */
@media screen and (max-width: 576px) {

    .main-footer {
        display: none !important;
    }

    #brandSort {
        padding: 6px 85px;
        border-radius: 20px;
        border: 1px solid #ddd;
        color: #3E3A7A;
        font-weight: 600;
        cursor: pointer;
    }

    .coming-soon-badge {
        position: absolute;
        top: -6px;
        right: 10px !important;
        background-color: rgb(186, 0, 0);
        font-size: 8px !important;
    }

    .eg-signup-card {
        max-height: 90vh;
        /* Limits height to 90% of the screen */
        overflow-y: auto;
        /* Adds a scrollbar if the content is too long */
        display: flex;
        flex-direction: column;
    }

    .info-content {
        display: none;
    }


    /* Optional: Add padding to the bottom of the body 
       so your mobile menu doesn't cover content */
    body {
        padding-bottom: 70px;
    }
}

/* 1. Main Container: Base settings for all desktops */
.page-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    overflow: visible;
    align-items: flex-start;
    box-sizing: border-box;
    /* Laptop screens par safe side rehne ke liye default max-width */
    max-width: 1590px !important;
    margin-bottom: 90px;
}


/* 2. Sidebar: Width fix */
.sidebar {
    background: #ffffff;
    border-radius: 14px;
    padding: 15px;
    width: 260px;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    height: fit-content;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 3. Responsive Breakpoints (Fixing Inspect Mode Issues) */

/* Large Screens (Bade Monitors) */
@media (min-width: 1600px) {
    .page-layout {
        max-width: 1550px;
    }
}

/* Standard Laptops (Inspect 1440px to 1200px) */
@media (max-width: 1440px) {
    .page-layout {
        max-width: 1346px !important;
        padding: 20px 10px;
        /* Sides par thoda gap rakha */
    }
}

/* Small Laptops (Inspect 1200px to 992px) */
@media (max-width: 1200px) {
    .page-layout {
        max-width: 100%;
        /* Pura area use karega */
        gap: 15px;
    }

    .sidebar {
        width: 230px;
        /* Sidebar chota kiya taake content cut na ho */
    }

        .sidebar span {
            font-size: 13px;
        }
}

/* 4. Content Area: Ensuring it doesn't break */
.content-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}


/* 3. Mobile (768px) adjustments */
@media (max-width: 768px) {
    .page-layout {
        flex-direction: column !important;
        /* Mobile par sidebar upar aur content niche */
    }

    .sidebar {
        width: 100% !important;
        position: relative;
        /* Mobile par sticky hata dena behtar hota hai */
        top: 0;
        margin-bottom: 20px;
    }

    .menu-group {
        display: flex !important;
        flex-direction: row !important;
        /* Mobile par buttons ek line mein scroll honge */
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 5px;
    }

    .sidebar .menu-item {
        min-width: 120px;
        flex-direction: column !important;
        text-align: center;
    }
}

/* Mobile (768px se niche) aur Tablets (992px se niche) par banner hide karein */
@media (max-width: 992px) {
    .right-banner {
        display: none !important;
        /* !important lagane se ye lazmi hide ho jayega */
    }
}

/*.content-area {
    flex: 1;
    width: 100%;
}
*/

/* Mid section ke andar ka card bhi poori height le */
.services-card {
    width: 100%;
    margin-bottom: 0 !important;
    /* Extra gap hatane ke liye */
}

.banner-content {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
}

    .banner-content img {
        width: 106%;
        height: 89% !important;
        object-fit: cover !important;
        display: block;
    }

/* 3. Grid adjustment for narrow mid-section */
@media (min-width: 1200px) {
    .services-grid {
        /* Ab 4 ki jagah 2 ya 3 columns behtar lagenge kyunki width kam ho gayi hai */
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile par banner hide karne ke liye */
@media (max-width: 992px) {
    .right-banner {
        display: none;
    }
}

.detail-header {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Horizontal center */
    align-items: center;
    /* Vertical center */
    padding: 0;
    text-align: center;
}

.header-text {
    display: flex;
    /* Ensures we can control internal alignment */
    flex-direction: column;
    /* Keeps the title on top of the subtitle */
    align-items: flex-start;
    /* Forces children to the left/start */
    text-align: left;
    width: 100%;
    padding-left: 0;
}

.main-title {
    margin-bottom: 5px;
    font-size: 1.5rem;
    color: #2c3e50;
    text-align: left;
    /* Matching your dark blue-ish color */
}

.sub-title {
    font-size: 0.9rem;
    color: #666;
    /* 1. Change this from inline-block to block */
    display: block;
    /* 2. Force it to the start */
    text-align: left !important;
    /* 3. Remove any centering margins */
    margin-left: 0 !important;
    margin-right: auto;
    /* 4. Ensure it takes full width to align text inside */
    width: 100%;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.2rem;
    }

    .sub-title {
        font-size: 0.8rem;
        padding: 0 10px;
        /* Screen ke kinaro se bachane ke liye */
    }
}

.header-icon-box {
    width: 60px;
    height: 60px;
    background: #f0f3ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.1);
}

/* Mobile view (768px se kam screen) ke liye configuration */
@media (max-width: 768px) {
    .services-grid {
        display: none !important;
    }

    [data-header-position="fixed"] .header {
        display: none !important;
    }

    [data-header-position="fixed"] .content-body .div_wrapper {
        padding: 20px 30px;
    }

    .div_rc_Category .srvc {
        background: #f5f7fb;
    }

    .div_wrapper .div_rc_Category > ul > li > a.active {
        padding: 8px 15px;
        color: var(--secondary-color);
        border-radius: 0;
    }

        .div_wrapper .div_rc_Category > ul > li > a.active::before {
            content: none !important;
        }

    .service-item {
        text-align: center;
    }

        .service-item img {
            width: 81px;
            height: 63px;
            object-fit: contain;
        }

    .menu-item.active::before {
        content: "";
        position: absolute;
        left: -2px;
        height: 59px !important;
        width: 7px;
        background: var(--primary);
        border-radius: 0 4px 4px 0;
    }

    /* Images ko adjust karne ke liye taake wo choti screen par fit rahein */
    .service-item img {
        width: 100%;
        max-width: 106px;
        /* Aap apni pasand ke mutabiq size rakh sakte hain */
        height: auto;
    }

    /* Text chota karne ke liye taake 3 cards ek line mein fit ho sakein */
    .service-item p {
        font-size: 11px;
        line-height: 1.2;
        overflow-wrap: break-word;
    }
}

.header-icon-box img {
    width: 35px;
    height: 35px;
}

.main-title {
    font-size: 22px;
    font-weight: 700 !important;
    color: #3E3A7A;
    margin: 0;
    text-transform: capitalize;
    background: transparent;
    padding: 0;
}

.sub-title {
    font-size: 13px;
    color: #64748b;
    margin: 5px 0 0;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.header-line {
    width: 50px;
    height: 4px;
    background: #4f46e5;
    border-radius: 10px;
}

/* =======================
    MOBILE VERTICAL SIDEBAR
   ======================= */
@media (max-width: 768px) {

    /* Main wrapper for the sidebar and content */
    .page-layout {
        display: flex !important;
        flex-direction: row !important;
        /* Keep them side-by-side */
        height: calc(100vh - 60px);
        /* Fill screen minus bottom nav */
        overflow: hidden;
        padding-top: 12px;
    }


    .sidebar {
        width: 85px !important;
        /* Fixed narrow width for mobile */
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        /* Stack items vertically */
        overflow-y: auto !important;
        /* Scroll categories vertically */
        background: #f1f3f6 !important;
        /* Light grey background */
        position: relative !important;
        flex-shrink: 0;
        padding: 0 !important;
        border-right: 1px solid #ddd;
    }

    .menu-group {
        display: block !important;
        /* Remove horizontal flex */
        width: 100%;
    }

    .sidebar .menu-item {
        flex-direction: column !important;
        /* Stack icon and text */
        width: 100% !important;
        min-width: unset !important;
        padding: 12px 5px !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #e0e0e0;
        background: transparent !important;
    }

        .sidebar .menu-item.active {
            background: #ffffff !important;
            /* Active item looks white */
            /* border-left: 4px solid #2874f0 !important; */
            /* Blue indicator */
            border-radius: 10px !important;
            color: #3E3A7A;
        }

        .sidebar .menu-item img.menu-icon {
            width: 35px !important;
            height: 35px !important;
            margin-bottom: 5px;
        }

        .sidebar .menu-item a {
            font-size: 10px !important;
            white-space: normal !important;
            line-height: 1.2;
            margin-left: 0 !important;
            text-align: center;
            color: inherit;
        }

    /* Content Area Adjustment */
    .content-area {
        flex: 1;
        height: 100%;
        overflow-y: auto;
        /* Content scrolls independently */
        padding: 2px;
        background: #fff;
        border-radius: 9px;
    }

    .services-card {
        padding: 5px !important;
        /* Bilkul 1px se content chipak jata hai, 5px behtar hai */
        min-height: 100px !important;
        /* Unset ki jagah ek choti fixed value dein taake jump na kare */
        box-shadow: none !important;
        width: 100% !important;
        overflow: hidden !important;
        /* Taki andar ka content bahar nikal kar move na kare */
        box-sizing: border-box !important;
    }



    /* 1. Remove padding from the global container */
    .about-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* 2. Ensure the layout starts at the very top of its parent */
    .page-layout {
        padding-top: 10 !important;
        margin-top: 0 !important;
        display: flex;
        align-items: stretch;
        /* Ensures sidebar and content align at the top */
    }

    /* 3. Reset any default body/heading margins that might push content down */
    body {
        margin: 0;
        padding: 0;
    }

    /* 4. Adjust the sidebar specifically */
    .sidebar {
        top: 0 !important;
        /* If using sticky, ensure it sticks at 0 */
        padding-top: 10px;
        /* Minimal padding for visual breathing room */
    }
}

/* =======================
        GLOBAL CONTAINER
    ======================= */
/*.about-container {
    padding: 60px 30px;
    max-width: 1200px;
    margin: auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
}*/

@media screen and (max-width: 576px) {
    .about-container {
        padding: 20px 12px;
        margin-bottom: 40px;
    }

    .spot-badge {
        position: absolute;
        top: -10px;
        right: 13px;
        background: #413D7C;
        color: white;
        font-size: 9px;
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: 600;
        z-index: 5;
        text-transform: uppercase;
    }

    .mob {
        font-size: 152222222px !important;
    }

    .mobile-menu-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px !important;
    }
}



/* 3. Banner Card (Jo border aapne draw kiya tha) */
.banner-card {
    width: 100%;
    height: 100%;
    /* Parent ki poori height lega */
    min-height: 600px;
    /* Minimum itni lambi image hogi hi */
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
}

    /* 4. Image ko 'Fully Cover' karne ka magic */
    .banner-card img {
        width: 100%;
        height: 100% !important;
        /* Force height to match card */
        object-fit: cover !important;
        /* Isse image stretch nahi hogi balki box ko fill karegi */
        object-position: center;
        /* Image ka main part center mein rahega */
        display: block;
    }

/* =======================
        PAGE LAYOUT
    ======================= */



@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
        gap: 4px;
    }
}


@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .sidebar::-webkit-scrollbar {
            display: none;
        }

    .menu-group {
        display: flex;
        margin-bottom: 0 !important;
        gap: 10px;
    }
}

.sidebar .menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 13px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
}

    .sidebar .menu-item.active {
        background: rgba(149, 144, 204, 0.14);
    }

.menu-item.active::before {
    content: "";
    position: absolute;
    left: -2px;
    height: 59px !important;
    width: 7px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
}

.sidebar .menu-item img.menu-icon {
    width: 40px;
    /* Width thodi badha di */
    height: 59px;
    /* Height 8px se badha kar 35px kar di */
    object-fit: contain;
    /* Isse icon stretch nahi hoga */
    /* Text aur icon mein gap ke liye */
}

.sidebar .menu-item a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    margin-left: -9px;
}


.services-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    height: auto;
    min-height: 583px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: none !important;
    transform: none !important;
    animation: none !important;
}

.contentCommonDiv .content-area .services-card .gift-card-header {
    margin-bottom: 25px;
}

.swiper-pagination {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    /* 4 cols Desktop */
    gap: 20px;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        ;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px !important;
    }
}

/* Fix for height alignment */
.service-link {
    text-decoration: none;
    display: flex;
}

.service-item {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgb(180, 175, 250);
    transition: 0.3s ease;
    width: 100%;
    /* Ensures card fills the grid slot */
    text-align: center;
}

/* Mobile view ke liye square cards */
@media (max-width: 768px) {




    .service-item {
        width: 93%;
        background: #fafafa;
        /* Styling adjustments */
        padding: 5px;
        background: #fff;
        /* Agar background color chahiye */
        border-radius: 12px;
        /* Thoda round corners ke liye */
        box-shadow: 0 5px 15px rgb(224 222 247);
        /* Halka sa shadow */
    }

        .service-item img {
            width: 40%;
            /* Image ko square ke hisab se chota kiya */
            height: auto;
            object-fit: contain;
        }

        .service-item p {
            font-size: 12px !important;
            /* Choti screen par text fit karne ke liye */
            text-align: center;
            margin: 0;
            font-weight: 700;
            line-height: 1.1;
        }
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.service-item p {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    color: #444;
}

.edu {
    display: none;
}

/* =======================
        SIDEBAR MOBILE FIX
    ======================= */
@media (max-width: 768px) {
    .sidebar {
        width: 102px !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        background: #f1f3f6 !important;
        position: relative !important;
        flex-shrink: 0;
        padding: 0 !important;
        border-right: 1px solid #ddd;
    }




    .menu-group {
        padding: -2px;
    }



    .sidebar::-webkit-scrollbar {
        display: none;
    }

    .menu-group {
        display: flex;
        flex-direction: row;
        margin-bottom: 0 !important;
        gap: 12px;
    }

    .sidebar .menu-item {
        flex-direction: column;
        /* Stack icon and text vertically for space */
        align-items: center;
        justify-content: center;
        min-width: 100px;
        /* Gives each item enough room */
        padding: 8px;
        gap: 11px;
        background: #fff;
        border: 1px solid #efefef;
    }

        .sidebar .menu-item img.menu-icon {
            width: 28px;
            /* Smaller icons for mobile row */
            height: 28px;
        }

        .sidebar .menu-item a {
            font-size: 13px !important;
            /* Smaller text to prevent wrapping */
            text-align: center;
            white-space: normal;
            /* Allow text to wrap to two lines if needed */
            width: 100%;
            font-size: 13px !important;
        }

    .edu {
        display: none;
    }

    .services-card {
        margin-bottom: 60px;
    }
}

.services-grid {
    margin-bottom: 30px;
}

.bottom-banner-slider {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    /* Smooth corners */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Optional subtle shadow */
}

    .bottom-banner-slider .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 10px;
    }

/* Adjust height based on device */
@media (max-width: 768px) {
    .bottom-banner-slider {
        height: 150px;
    }
}

@media (min-width: 769px) {
    .bottom-banner-slider {
        height: 250px;
    }
}

.mobile-app-sidebar {
    display: none;
}

@media (max-width: 768px) {

    /* Desktop wala sidebar hide */
    .sidebar {
        display: none !important;
    }

    /* Naya Mobile Sidebar Fix */
    .mobile-app-sidebar {
        display: block;
        position: fixed;
        left: 5px;
        /* YAHAN CHANGE HAI: Header ki height ke mutabiq top margin dein */
        top: 70px;
        /* Agar aapka header bara hai to ise 80px ya 90px kar dein */
        bottom: 60px;
        width: 80px;
        background: #fff;
        border-right: 1px solid #ddd;
        z-index: 999;
        /* Header se thoda kam rakhein taaki header upar rahe */
        overflow-y: auto;
        padding-top: 10px;
    }

        /* Scrollbar hide karne ke liye */
        .mobile-app-sidebar::-webkit-scrollbar {
            display: none;
        }

    .mobile-menu-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .m-menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 12px 5px;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
        /* Halki line separation ke liye */
    }

        .m-menu-item img {
            width: 30px;
            height: 30px;
            object-fit: contain;
            margin-bottom: 4px;
        }

        .m-menu-item span {
            font-size: 10px;
            color: #666;
            font-weight: 500;
            display: block;
            line-height: 1.1;
        }

        .m-menu-item.active {
            background: #f0f4ff;
            border-radius: 0px 5px 5px 0px;
            border-left: 4px solid #3E3A7A;
        }

            .m-menu-item.active span {
                color: #3E3A7A;
                font-weight: 700;
            }
}

@media (max-width: 768px) {

    .mobile-app-sidebar .mobile-menu-group .m-menu-item span.mob {
        font-size: 13px !important;
    }
}

.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-mid);
}

    .form-footer span {
        color: var(--blue-primary);
        font-weight: 700;
        cursor: pointer;
        text-decoration: none;
        margin-left: 5px;
    }

        .form-footer span:hover {
            text-decoration: underline;
        }

input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3E3A7A;
}

/* 1. Backdrop/Container Setup */
.swal2-container,
.swal-overlay {
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    /* Centers vertically */
    justify-content: center !important;
    /* Centers horizontally */
}

/* 2. Actual Alert Box Setup */
.swal2-popup,
.swal-modal {
    z-index: 1000000 !important;
    /* Remove 'position: fixed' as it breaks flex-centering */
    position: relative !important;
    margin: auto !important;
}

/* Fix for background scroll issues */
body.swal2-shown:not(.swal2-no-backdrop) {
    overflow: hidden !important;
}

.footer-bottom-full {
    width: 100%;
    background-color: #3C3475;
    margin-top: 0px !important;
}

.footer-col {
    margin-bottom: 10px !important;
}

/* ===== Footer Base ===== */
.main-footer {
    position: relative;
    z-index: 200;
    background: #ffffff;
    width: 100%;
    padding: 50px 17px 0px;
    box-sizing: border-box;
}

.footer-top {
    max-width: 1372px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 110px;
    align-items: flex-start;
}

.main-footer .footer-top .footer-col h3 {
    background-color: transparent;
    font-size: 16px;
    color: #3E3A7A;
    padding: 0;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: sans-serif;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 10px;
    }

        .footer-col ul li a {
            text-decoration: none;
            color: #333;
            font-size: 14px;
            transition: 0.3s;
            font-family: sans-serif;
            font-weight: 600;
        }

            .footer-col ul li a:hover {
                color: #3E3A7A;
            }

/* ===== App Section ===== */
.app-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.qr-code {
    width: 90px;
    height: auto;
}

.store-buttons img {
    width: 120px;
    margin-bottom: 8px;
}

/* ===== Social Icons ===== */
.social-title {
    margin-top: 15px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

    .social-icons a {
        font-size: 18px;
        color: #333;
        transition: 0.3s;
    }

        .social-icons a:hover {
            color: #3E3A7A;
        }

/* ===== Tablet ===== */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 576px) {
    span {
        font-size: 13px !important;
    }

    /* Agar mobile footer hide nahi karna to remove display:none */
    .main-footer,
    .footer-bottom-full {
        display: none !important;
        padding: 40px 20px;
    }

    .eg-promo-section-logins {
        display: none !important;
    }

    .eg-signup-promo-side {
        display: none !important;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .app-section {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .eg-signup-card {
        max-height: 90vh !important;
        /* Limits height to 90% of the screen */
        overflow-y: auto;
        /* Adds a scrollbar if the content is too long */
        display: flex;
        flex-direction: column;
    }
}

.the_mobile_fooeter {
    position: fixed;
    /* 1. Remove the floating gap */
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    /* 2. Full width and square corners for the bottom */
    width: 100% !important;
    border-radius: 0 !important;
    /* Optional: Keep top corners rounded if you like the look */
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    /* 3. The magic fix for the white gap */
    padding-bottom: env(safe-area-inset-bottom) !important;
    /* 4. Increase height slightly to accommodate the padding */
    height: auto !important;
    min-height: 75px !important;
    background-color: #3E3A7A;
    z-index: 9999;
    display: flex;
    align-items: center;
}

    .the_mobile_fooeter .row {
        width: 100%;
        margin: 0;
        display: flex;
        /* Center icons vertically within the min-height */
        align-items: center;
        justify-content: space-around;
    }

    .the_mobile_fooeter .col {
        padding: 5px;
        flex: 1;
    }

    .the_mobile_fooeter a {
        color: rgba(255, 255, 255, 0.6) !important;
        /* Muted non-active links */
        text-decoration: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: all 0.3s ease;
    }

        .the_mobile_fooeter a.active {
            color: white !important;
            /* Gold/Yellow highlight, or use #fff */
            transform: translateY(-5px);
            /* Lift effect */
        }

            .the_mobile_fooeter a.active i {
                font-size: 22px;
                /* Slightly larger icon for active tab */
            }

    /* Ensure 5 columns fit well */
    .the_mobile_fooeter .col {
        padding: 2px;
        flex: 1;
    }

    .the_mobile_fooeter i {
        font-size: 18px;
        /* Standard app icon size */
        margin-bottom: 3px !important;
        display: block;
    }

    .the_mobile_fooeter small {
        font-size: 11px;
        /* Mobile apps ke liye perfect size */
        font-weight: 500;
        display: block;
    }

/* Desktop par hide karein */
@media (min-width: 992px) {
    .the_mobile_fooeter {
        display: none !important;
    }
}




.contact-section .callback-form-wrapper .col-6 {
    padding-right: 20px;
    padding-left: 20px;
    flex: 0 0 50%;
    max-width: 50%;
}

.contact-section .callback-form-wrapper .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-left: -20px;
    margin-bottom: 25px;
}

.page-title.text-center {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    font-size: 23px;
    font-weight: 600;
    display: block;
}

a i.fas.fa-arrow-left {
    display: none;
}

/* Default: Hidden on Desktop */
.mobile-back-btn {
    display: none !important;
}

/* Mobile Only (Screens smaller than 768px) */
@media (max-width: 767px) {
    .mobile-back-btn {
        display: flex !important;
        /* Centering Logic */
        justify-content: center !important;
        align-items: center !important;
        cursor: pointer !important;
        padding: 10px 20px !important;
        color: #433e7e !important;
        /* Button Styling */
        background: #f0eff8 !important;
        /* Very light purple/gray */
        border: 1px solid #e0def0 !important;
        border-radius: 50px !important;
        /* Rounded pill shape */
        /* Positioning */
        margin: 15px auto !important;
        /* Centers the div itself */
        width: fit-content !important;
        /* Only as wide as the text */
        min-width: 120px !important;
    }

        .mobile-back-btn i {
            font-size: 16px !important;
            margin-right: 8px !important;
        }

        .mobile-back-btn span {
            font-weight: bold !important;
            font-size: 15px !important;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
}

.menu-item {
    transition: transform 0.3s ease;
}


    .menu-item:hover {
        transform: scale(1.05);
    }

/* Styling for the mini version of the badge */
.service-item-mini .coming-soon-badge {
    position: absolute;
    background: #FF4747;
    /* Bright red to stand out in mini view */
    color: #fff;
    font-size: 7px;
    padding: 1px 4px;
    border-radius: 3px;
}

/* Fading the mini icon background */
.service-disabled .icon-bg {
    background-color: #f0f0f0 !important;
    filter: grayscale(100%);
    opacity: 0.6;
}

/* The crossed line specifically for mini items */
.service-item-mini.service-disabled::after {
    background: rgba(255, 0, 0, 0.5);
}

#savings-alert {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, rgb(224, 216, 252) 0%, #e8f5e9 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.15);
    padding: 12px 20px !important;
    transition: all 0.3s ease;
    animation: slideInBounce 0.5s ease;
}

    #savings-alert i {
        color: rgba(62, 58, 122, 0.73);
        font-size: 1.2rem;
        margin-right: 10px;
        filter: drop-shadow(0 0 5px rgba(80, 40, 167, 0.45));
    }

#savings-text {
    font-weight: 700;
    color: #3E3A7A;
    font-size: 14px;
    letter-spacing: 0.3px;
}


@keyframes slideInBounce {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    60% {
        transform: translateY(-5px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
    }
}

/* --- ERechargebyte Layout Fix --- */
:root {
    --primary: #3E3A7A;
    --accent: #ff7643;
    --bg-light: #f4f6ff;
    --border: #e5e7eb;
}

#plansDisplayArea {
    width: 100% !important;
    max-width: 739px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: none;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.input-group:focus-within {
    border-color: rgb(255, 255, 255);
}

/* Mobile centering fix */
@media screen and (max-width: 576px) {
    #plansDisplayArea {
        width: 109% !important;
        margin-left: 5px !important;
        margin-right: -21px !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
        float: none !important;
        box-sizing: border-box !important;
        margin-top: 20px;
    }
}


/* 4. Content Area: Ensuring it doesn't break */
.content-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Container (Arrows + Scroll) */
.horizontal-scroll-container {
    position: relative;
    width: 100%;
    margin: auto;
}

.horizontal-scroll-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    width: 100%;
    /* Changed from 95% to 100% for better control */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    display: flex;
    /* Added flex to allow centering of the inner grid */
    justify-content: center;
}

    .horizontal-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }



/* Services Row */
.services-grid-horizontal {
    display: flex;
    gap: 90px;
    justify-content: center;
    align-items: center;
    width: max-content;
    /* Keeps items in one row */
    margin: 0 auto;
    /* Extra safety centering */
}


/* Icon Card */
.service-item-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    cursor: pointer;
}

/* Icon Background */
.icon-bg {
    background: var(--bg-light);
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: 0.3s ease;
}

    .icon-bg img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

/* Text */
.service-item-mini p {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin: 0;
    text-align: center;
}

/* Active Line */
.active-line {
    width: 85%;
    max-width: 85%;
    height: 3px;
    background: #3e3a7a;
    border-radius: 10px;
    margin-top: 5px;
    display: none;
}

.service-link.active .active-line {
    display: block;
}

/* Scroll Arrows */
.scroll-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 18px;
    z-index: 5;
    transition: 0.3s;
}

    .scroll-arrow:hover {
        background: var(--accent);
        color: #fff;
    }

    .scroll-arrow.left {
        left: 5px;
    }

    .scroll-arrow.right {
        right: 60px;
    }

/* Mobile Responsive */
@media (max-width: 768px) {


    .scroll-arrow {
        display: flex !important;
        /* Forcefully show on mobile */
        align-items: center;
        justify-content: center;
    }

        .scroll-arrow.right {
            right: 5px;
        }

        .scroll-arrow.left {
            left: 5px;
        }

    .horizontal-scroll-wrapper {
        justify-content: flex-start !important;
        /* Force start alignment */
        padding-left: 15px;
        /* Standard mobile gutter */
        scroll-snap-type: x mandatory;
        /* Optional: adds a smooth "snap" effect */
    }

    .services-grid-horizontal {
        gap: 20px;
        /* Reduced gap for mobile */
        margin: 0;
    }

    .service-item-mini {
        scroll-snap-align: start;
        /* Works with scroll-snap-type */
    }

    .icon-bg {
        width: 50px;
        height: 50px;
    }

        .icon-bg img {
            width: 35px;
            height: 35px;
        }
}

/* 1. Main Container: Base settings for all desktops */
.page-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    overflow: visible;
    align-items: flex-start;
    box-sizing: border-box;
    /* Laptop screens par safe side rehne ke liye default max-width */
    max-width: 1568px !important;
}

/* 2. Sidebar: Width fix */
.sidebar {
    background: #ffffff;
    border-radius: 14px;
    padding: 15px;
    width: 260px;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    height: fit-content;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 3. Responsive Breakpoints (Fixing Inspect Mode Issues) */

/* Large Screens (Bade Monitors) */
@media (min-width: 1600px) {
    .page-layout {
        max-width: 1550px;
    }
}

/* Standard Laptops (Inspect 1440px to 1200px) */
@media (max-width: 1440px) {
    .page-layout {
        max-width: 1280px;
        padding: 20px 10px;
        /* Sides par thoda gap rakha */
    }
}

/* Small Laptops (Inspect 1200px to 992px) */
@media (max-width: 1200px) {
    .page-layout {
        max-width: 100%;
        /* Pura area use karega */
        gap: 15px;
    }

    .sidebar {
        width: 230px;
        /* Sidebar chota kiya taake content cut na ho */
    }

        .sidebar span {
            font-size: 13px;
        }
}

/* 4. Content Area: Ensuring it doesn't break */
.content-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}


/* 3. Mobile (768px) adjustments */
@media (max-width: 768px) {
    .page-layout {
        flex-direction: column !important;
        /* Mobile par sidebar upar aur content niche */
    }

    .sidebar {
        width: 100% !important;
        position: relative;
        /* Mobile par sticky hata dena behtar hota hai */
        top: 0;
        margin-bottom: 20px;
    }

    .menu-group {
        display: flex !important;
        flex-direction: row !important;
        /* Mobile par buttons ek line mein scroll honge */
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 5px;
    }

    .sidebar .menu-item {
        min-width: 120px;
        flex-direction: column !important;
        text-align: center;
    }
}

/* Mobile (768px se niche) aur Tablets (992px se niche) par banner hide karein */
@media (max-width: 992px) {
    .right-banner {
        display: none !important;
        /* !important lagane se ye lazmi hide ho jayega */
    }
}

.content-area {
    flex: 1;
    width: 100%;
}

/* 2. FORM & BANNER EQUAL HEIGHT */
.recharge-layout {
    display: flex !important;
    flex-direction: row;
    gap: 20px;
    align-items: stretch !important;
    /* IMPORTANT: Dono boxes ko barabar height deta hai */
    width: 100%;
}

#rechargeForm {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Content ko balance karne ke liye */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.offer-banner-container {
    flex: 1;
    display: flex;
}

    .offer-banner-container img {
        width: 100%;
        height: 100% !important;
        /* Form ki height ke mutabiq image phel jayegi */
        object-fit: cover !important;
        /* Image stretch nahi hogi, fit rahegi */
        border-radius: 14px;
    }

/* 3. MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .recharge-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100% !important;
        position: relative !important;
        top: 0;
    }
}

.step-box {
    display: none;
}


.sidebar .menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 13px !important;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
}

    .sidebar .menu-item.active {
        background-color: #F0EFF8 !important;
    }


    .sidebar .menu-item img.menu-icon {
        width: 40px;
        /* Width thodi badha di */
        height: 59px;
        /* Height 8px se badha kar 35px kar di */
        object-fit: contain;
        /* Isse icon stretch nahi hoga */
        /* Text aur icon mein gap ke liye */
    }

    .sidebar .menu-item a {
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        white-space: nowrap;
        margin-left: -9px;
    }


.services-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    /* FIX: Removed fixed 55vh. Now height adapts to content */
    height: auto;
    min-height: 583px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.swiper-pagination {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    /* 4 cols Desktop */
    gap: 20px;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}


/* --- Custom Radio Button Styling --- */
.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

    .radio-item input[type="radio"] {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        width: 20px !important;
        height: 20px !important;
        border: 2px solid #ccc !important;
        border-radius: 50% !important;
        outline: none !important;
        cursor: pointer !important;
        position: relative !important;
        background-color: #fff !important;
        margin: 0 !important;
    }

        /* Jab radio select ho jaye (Green Border) */
        .radio-item input[type="radio"]:checked {
            border-color: #4CAF50 !important;
        }

            /* Bich wala Green Dot */
            .radio-item input[type="radio"]:checked::after {
                content: "" !important;
                position: absolute !important;
                top: 50% !important;
                left: 50% !important;
                transform: translate(-50%, -50%) !important;
                width: 10px !important;
                height: 10px !important;
                background-color: #4CAF50 !important;
                border-radius: 50% !important;
            }

/* Wallet Toggle (Safe side verify) */
input:checked + .slider {
    background-color: #4CAF50 !important;
}

.banner-wrapper {
    flex: 1;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

#viewPlans {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    border: none;
    background-color: #3E3A7A;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 6px 18px rgb(62 58 122 / 12%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    #viewPlans:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgb(115 114 131 / 43%);
    }

    /* Active (tap) */
    #viewPlans:active {
        transform: scale(.98);
    }

    /* Disabled state */
    #viewPlans:disabled {
        background: #e5e7eb;
        color: #9ca3af;
        box-shadow: none;
        cursor: not-allowed;
    }

/* Mobile optimization */
@media (max-width: 480px) {
    #viewPlans {
        padding: 13px 14px;
        font-size: .95rem;
        border-radius: 14px;
    }
}


/* Banner ko bahut chota hone se rokega */


.banner-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
    /* Adjust based on your form height */
}

    .banner-wrapper a {
        display: block;
        width: 100%;
        height: 100%;
    }


/* Mobile par hamesha full width rahegi */
@media (max-width: 991px) {
    .recharge-layout {
        grid-template-columns: 1fr !important;
        /* Stack on mobile */
    }

    .offer-banner-container {
        /* Banner on top for mobile like the original app */
        margin-bottom: 20px;
    }

    .banner-wrapper {
        min-height: 200px;
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .recharge-layout {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .responsive-banner {
        height: 250px;
        /* Mobile par height fix ki */
    }
}

.banner-wrapper:hover .responsive-banner {
    transform: scale(1.02);
    /* Hover effect */
}

/* Mobile Fix */
@media (max-width: 900px) {
    .recharge-layout {
        grid-template-columns: 1fr;
        /* Mobile par ek ke niche ek */
    }

    .responsive-banner {
        height: 200px;
        /* Mobile par height fix */
    }
}

#rechargeForm {
    width: 100%;
}

/* Container Fix: Control the overall size */
.recharge-layout {
    display: grid !important;
    grid-template-columns: 0.35fr 0.65fr !important;
    /* Balanced 35/65 split */
    gap: 15px;
    /* Reduced gap from 24px */
    width: 100% !important;
    /* Reduced total width to prevent it from being "bohat bara" */
    margin: 15px auto;
    align-items: start;
    /* Prevents stretching if banner is very long */
}

/* Compact Form Card */
.recharge-card {
    background: #fff;
    border-radius: 12px;
    /* Slightly tighter corners */
    padding: 20px;
    /* Reduced padding from 30px */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

/* Compact Step Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 5px;
}

.step {
    width: 28px;
    /* Smaller circles */
    height: 28px;
    font-size: 12px;
    line-height: 28px;
}

/* Banner Side: Horizontal and Compact */
.offer-banner-container {
    display: flex !important;
    flex-direction: row !important;
    width: 98% !important;
    height: auto;
}

.banner-wrapper {
    width: 100%;
}

.responsive-banner {
    width: 100%;
    height: auto;
    min-height: 531px !important;
    max-height: 582px;
    object-fit: cover !important;
    border-radius: 12px;
}



@media (max-width: 991px) {
    .recharge-layout {
        grid-template-columns: 1fr !important;
        max-width: 95%;
    }
}

/* Mobile ke liye fix */
@media (max-width: 768px) {
    .recharge-layout {
        grid-template-columns: 1fr;
        gap: 0px !important;
    }

    .responsive-banner {
        height: 200px;
        min-height: auto;
    }
}

/* --- ERechargebyte Layout Fix --- */
:root {
    --primary: #3E3A7A;
    --accent: #ff7643;
    --bg-light: #f4f6ff;
    --border: #e5e7eb;
}

/* 4. Content Area: Ensuring it doesn't break */
.content-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 1. Horizontal Scroll Bar (Top Bar) */
.horizontal-scroll-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    width: 98%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox */
}

    .horizontal-scroll-wrapper::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

/* 2. Updated Services Row */
.services-grid-horizontal {
    display: flex;
    gap: 48px;
    /* Reduced from 56px/90px to fit better on 1350px screens */
    align-items: center;
    width: max-content;
    padding: 10px 20px;
    /* This ensures that if the content is wider than the screen, 
       it stays at the start (left) instead of centering and cutting items off */
    justify-content: flex-start;
    margin: 0 auto;
}


@media (min-width: 1500px) {
    .services-grid-horizontal {
        display: flex;
        gap: 70px;
        /* Reduced from 56px/90px to fit better on 1350px screens */
        align-items: center;
        width: max-content;
        padding: 10px 20px;
        /* This ensures that if the content is wider than the screen, 
       it stays at the start (left) instead of centering and cutting items off */
        justify-content: flex-start;
        margin: 0 auto;
    }
}

/* 3. Ensure Items don't shrink */
.service-item-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    flex-shrink: 0;
    /* Important: prevents icons from squishing */
    cursor: pointer;
}

.icon-bg {
    background: var(--bg-light);
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: 0.3s ease;
}



.service-item-mini p {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin: 0;
}



.recharge-card,
.offer-box {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .recharge-layout {
        grid-template-columns: 1fr;
        /* Mobile par ek ke niche ek */
    }

    .horizontal-scroll-wrapper {
        border-radius: 15px;
        width: 99%;
        padding: 7px;
        /* Mobile par edge-to-edge better lagta hai */
    }
}



/* Container to align buttons side-by-side */
.step-actions {
    display: flex;
    justify-content: space-between;
    /* Pushes Back to left, Next to right */
    gap: 12px;
    margin-top: 20px;
}

/* Base button style (for both) */
.btn-next,
.btn-back {
    flex: 1;
    /* Makes both buttons equal width */
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s ease;
}

/* Specific Style for NEXT (Primary) */
.btn-next {
    background: #3E3A7A;
    color: #fff;
}

    .btn-next:hover {
        background: rgb(69, 65, 131);
    }

/* Specific Style for BACK (Secondary) */
.btn-back {
    background: #f1f3f7;
    /* Light grey background */
    color: #3E3A7A;
    /* Purple text */
    border: 1px solid #d1d5db;
}

    .btn-back:hover {
        background: #e5e7eb;
    }

.step-box.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.step {
    width: 30px;
    height: 30px;
    background: #ddd;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
}

    .step.active {
        background: #3E3A7A;
        color: #fff;
    }

@media (max-width: 576px) {
    .about-container {
        padding: 20px 12px;
        margin-bottom: 40px;
    }

    .content-area {
        flex: 1;
        width: 100%;
        margin-bottom: 50px;
    }

    .banner-wrapper {
        width: 100%;
        display: none;
    }
}

/* 1. Main Container: Base settings for all desktops */
.page-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    overflow: visible;
    align-items: flex-start;
    box-sizing: border-box;
    /* Laptop screens par safe side rehne ke liye default max-width */
    max-width: 1350px;
}

/* 2. Sidebar: Width fix */
.sidebar {
    background: #ffffff;
    border-radius: 14px;
    padding: 15px;
    width: 260px;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    height: fit-content;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 3. Responsive Breakpoints (Fixing Inspect Mode Issues) */

/* Large Screens (Bade Monitors) */
@media (min-width: 1600px) {
    .page-layout {
        max-width: 1550px;
    }
}

/* Standard Laptops (Inspect 1440px to 1200px) */
@media (max-width: 1440px) {
    .page-layout {
        max-width: 1280px;
        padding: 20px 10px;
        /* Sides par thoda gap rakha */
    }
}

/* Small Laptops (Inspect 1200px to 992px) */
@media (max-width: 1200px) {
    .page-layout {
        max-width: 100%;
        /* Pura area use karega */
        gap: 15px;
    }

    .sidebar {
        width: 230px;
        /* Sidebar chota kiya taake content cut na ho */
    }

        .sidebar span {
            font-size: 13px;
        }
}


@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
        gap: 0px;
    }
}


@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .sidebar::-webkit-scrollbar {
            display: none;
        }

    .menu-group {
        display: flex;
        margin-bottom: 0 !important;
        gap: 10px;
    }
}

.plan-card {
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    transition: 0.2s;
}

    .plan-card.selected {
        border-color: #007bff;
        background-color: #e0f0ff;
    }



.plan-card {
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    transition: 0.2s;
}

/* Ensure the payment section layout is clean */
.payment-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 10px 0;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Space between radio and text */
}

/* Force the radio button to be visible and correctly sized */
input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3E3A7A;
    /* Matches your wallet toggle */
}

.radio-item label {
    cursor: pointer;
    margin: 0;
    font-weight: 500;
}

.plan-card.selected {
    border-color: #007bff;
    background-color: #e0f0ff;
}

.sidebar .menu-item.active {
    background-color: #F0EFF8 !important;
}

.menu-item.active::before {
    content: "";
    position: absolute;
    left: -2px;
    height: 59px !important;
    width: 7px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
}



.sidebar .menu-item a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    margin-left: -9px;
}


.services-card {
    background: #ffffff;
    border-radius: 14px;
    /*padding: 13px 15px;*/
    padding: 0;
    height: auto;
    min-height: 642px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .services-card .fixedtop {
        padding: 13px 15px;
        position: sticky;
        top: 0;
        z-index: 2;
        background-color: #fff;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }

    .services-card .bodycontent {
        padding: 10px 20px 15px;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cols Desktop */
    gap: 20px;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Fix for height alignment */
.service-link {
    text-decoration: none;
    display: flex;
}

.service-item {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    transition: 0.3s ease;
    width: 100%;
    /* Ensures card fills the grid slot */
    text-align: center;
}

    .service-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border-color: #d1d9ff;
    }

    .service-item img {
        width: 75px;
        height: 75px;
        object-fit: contain;
        margin-bottom: 12px;
    }

    .service-item p {
        font-size: 13px;
        font-weight: 600;
        margin: 0;
        color: #444;
    }

.edu {
    display: none;
}

/* =======================
        SIDEBAR MOBILE FIX
    ======================= */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: static;
        display: flex;
        flex-direction: row;
        /* Keep it as a horizontal row */
        overflow-x: auto;
        /* Allow side-scrolling */
        gap: 12px;
        padding: 10px 15px;
        background: #f8f9fa;
        /* Light background to separate from content */
        border-radius: 0;
        /* Full width looks better on mobile */
        -ms-overflow-style: none;
        scrollbar-width: none;
        box-shadow: none;
        border-bottom: 1px solid #eee;
        display: none !important;
    }

        .sidebar::-webkit-scrollbar {
            display: none;
        }

    .menu-group {
        display: flex;
        flex-direction: row;
        margin-bottom: 0 !important;
        gap: 12px;
    }

    .sidebar .menu-item {
        flex-direction: column;
        /* Stack icon and text vertically for space */
        align-items: center;
        justify-content: center;
        min-width: 100px;
        /* Gives each item enough room */
        padding: 8px;
        gap: 5px;
        background: #fff;
        border: 1px solid #efefef;
    }

        .sidebar .menu-item img.menu-icon {
            width: 28px;
            /* Smaller icons for mobile row */
            height: 28px;
        }

        .sidebar .menu-item a {
            font-size: 11px;
            /* Smaller text to prevent wrapping */
            text-align: center;
            white-space: normal;
            /* Allow text to wrap to two lines if needed */
            width: 100%;
        }

    .edu {
        display: none;
    }
}

.submenusDiv .services-grid-horizontal .service-disabled .coming-soon-badge {
    top: -23px;
    left: -7px;
    width: fit-content;
}

/*sumenus slider */

.submenuslider .slide-container .prev,
.slide-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

    .submenuslider .slide-container .prev:hover,
    .slide-container .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
    }

.submenuslider .slide-container .prev {
    left: 2px;
}

.submenuslider .slide-container .next {
    right: 2px;
}

.submenuslider .dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

    .submenuslider .dots-container .dot {
        cursor: pointer;
        margin: 5px;
        width: 20px;
        height: 20px;
        color: #333;
        border-radius: 50%;
        background-color: #dfd6ce;
    }

        .submenuslider .dots-container .dot.active {
            border: 2px solid green;
        }

.submenuslider .slide-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    position: relative;
}

    .submenuslider .slide-container .slide {
        display: none;
        width: 100%;
    }

        .submenuslider .slide-container .slide.fade {
            animation: fade 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
        }

        .submenuslider .slide-container .slide img {
            width: 100%;
        }

.user-dashboard-widget a {
    text-decoration: none;
}

.recharge-layout .recharge-card img {
    height: 30px;
    width: 100%;
    margin-bottom: 10px !important;
    text-align: center;
    object-fit: contain;
}

.recharge-layout .recharge-card .payable {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px 10px;
    margin-top: -20px;
    margin-bottom: 5px;
}

    .recharge-layout .recharge-card .payable h6 {
        font-size: 16px;
    }

.recharge-layout .recharge-card input {
    background: #f9f9f9;
    border: 1px solid #dfdfdf;
    font-size: 13px;
}

.recharge-layout .recharge-card label {
    font-size: 14px;
    color: #323232;
    margin-bottom: 6px;
}

.content-area .horizontal-scroll-container .submenusDiv .service-link {
    position: relative;
}

.content-area .horizontal-scroll-container .submenusDiv .discountspan {
    position: absolute;
    right: 0;
    top: -17px;
    color: white;
    background: #BA2F41;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.orderhistory-page .ot-table-wrapper table thead tr th input, select {
    padding: 8px 10px;
}

.footer .copyright {
    display: none;
}

.right-banner {
    background: #fff;
    border-radius: 14px;
}

.div_wrapper .div_rc_Service {
    margin-left: 8px !important;
}

.div_rc_Service .xyz_recharge {
    padding: 20px 10px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    /*max-height: 350px;*/
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #3e3a7a #f0eff8;
}

    .div_rc_Service .xyz_recharge li a {
        background: #fafafa !important;
        border-radius: 12px !important;
        padding: 20px 10px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 1px solid #f0f0f0;
        transition: 0.3s ease;
        width: 100%;
        text-align: center;
        box-shadow: 0 5px 15px rgb(180, 175, 250);
        position: relative;
    }

        .div_rc_Service .xyz_recharge li a small {
            position: absolute;
            top: 0;
            right: 0;
            background: #3E3A7A;
            color: white !important;
            font-weight: bold;
            padding: 3px 8px;
            border-bottom-left-radius: 12px;
            box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
            z-index: 0;
        }

        .div_rc_Service .xyz_recharge li a span {
            font-size: 12px;
            font-weight: 600 !important;
            margin: -10px 0 0;
            color: #444;
            white-space: nowrap;
        }

.div_wrapper .div_rc_Service > ._srvc_tabs > ul > li a img {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    object-fit: contain;
}

/*home slider */

aside .slider-container {
    max-width: 100vw;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    z-index: 0;
    border: 15px solid #F0F2F5;
    animation: appear 1s ease-out;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

aside .slider-container .slider {
    position: relative;
    height: 400px;
    max-height: 400px;
    overflow: hidden;
}

aside .slider-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
    overflow: hidden;
    pointer-events: none;
}

    aside .slider-container .slide.active {
        opacity: 1;
        z-index: 2;
        pointer-events: auto;
    }

    aside .slider-container .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 8s ease-in-out;
    }

    aside .slider-container .slide.active img {
        transform: scale(1.1);
    }

    aside .slider-container .slide.active .slide-content {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.3s;
    }

    aside .slider-container .slide:hover .slide-content {
        transform: translateY(0);
        opacity: 1;
    }


aside .slider-container .slide-title {
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
    transition-delay: 0.2s;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

aside .slider-container .slide-description {
    transform: translateX(50px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
    transition-delay: 0.4s;
    font-size: 1rem;
    opacity: 0.9;
}

aside .slider-container .slide.active .slide-title,
.slide.active .slide-description {
    transform: translateX(0);
    opacity: 1;
}


aside .slider-container .navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    pointer-events: none;
}

aside .slider-container .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 30;
}

    aside .slider-container .nav-btn.prev {
        left: 10px;
    }

    aside .slider-container .nav-btn.next {
        right: 10px;
    }

    aside .slider-container .nav-btn:hover {
        background-color: rgba(255, 255, 255, 0.9);
        transform: translateY(-50%) scale(1.1);
    }

aside .slider-container .dots-container {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
}

aside .slider-container .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    aside .slider-container .dot.active {
        background-color: white;
        transform: scale(1.2);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1.2);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.homeslider {
    display: none;
}

.div_rc_Category > ul > li > a.active {
    background: #F0EFF8;
    padding: 17px 10px 17px 20px;
    border-radius: 10px;
}

.div_rc_Category .srvc {
    padding: 20px 15px;
    box-shadow: none;
}

.div_wrapper .div_rc_Category > ul > li > a.active:before {
    content: "";
    position: absolute;
    left: -2px;
    top: 5px;
    height: 50px;
    width: 7px;
    background: #433E7E;
    border-radius: 0 4px 4px 0;
    border: none;
}

.div_wrapper .div_rc_Category > ul > li > a.dwn:after {
    content: none;
}

.div_wrapper .div_rc_Category > ul > li > a {
    border-bottom: none;
    text-transform: capitalize;
    color: #000000;
    border-radius: 0;
}

    .div_wrapper .div_rc_Category > ul > li > a:hover {
        background: #f0eff8;
        border-radius: 10px;
        font-weight: 600;
    }

.div_rc_Service .xyz_recharge li a:hover {
    background-color: #f0f3ff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

    .div_rc_Service .xyz_recharge li a:hover span {
        color: #000;
    }

._srvc_tabs .cls_tbl_tab_service {
    margin-top: 20px;
    background-color: transparent;
}

    ._srvc_tabs .cls_tbl_tab_service .row .col-md-4 {
        background: #fff;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
    }

        ._srvc_tabs .cls_tbl_tab_service .row .col-md-4 h3 {
            font-size: 17px;
            font-family: sans-serif;
            text-align: center;
            font-weight: 600;
            color: #303030;
            position: relative;
            margin-bottom: 10px;
        }

            ._srvc_tabs .cls_tbl_tab_service .row .col-md-4 h3::after {
                content: '';
                height: 3px;
                width: 80px;
                background: #3e3a7a;
                position: absolute;
                left: 0;
                right: 0;
                margin: 0 auto;
                bottom: -5px;
            }

        ._srvc_tabs .cls_tbl_tab_service .row .col-md-4 .form-group input {
            padding: 5px 6px;
            width: 100%;
            border-radius: 8px;
            font-size: .95rem;
            outline: none;
            transition: .2s;
            border: 1px solid #d7d7d7;
            color: #686868;
        }

        ._srvc_tabs .cls_tbl_tab_service .row .col-md-4 .form-group select {
            padding: 5px 6px;
            width: 100%;
            border-radius: 8px;
            font-size: .95rem;
            outline: none;
            transition: .2s;
            border: 1px solid #d7d7d7;
            color: #686868;
        }

        ._srvc_tabs .cls_tbl_tab_service .row .col-md-4 .form-group label {
            font-size: 14px;
            color: #686868;
            font-family: sans-serif;
        }

        ._srvc_tabs .cls_tbl_tab_service .row .col-md-4 .form-group input[class="_btn"] {
            width: 100%;
            margin-top: 10px;
            padding: 14px;
            background: #3E3A7A;
            color: white;
            border: none;
            border-radius: 10px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
        }

    ._srvc_tabs .cls_tbl_tab_service .row ._slider_service {
        background: #fff;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
        height: 100%;
    }

.div_wrapper .row .col-md-10 .div_rc_Service ._srvc_tabs.active .xyz_recharge {
    display: flex !important;
    background: #fff;
    padding: 20px 20px !important;
    margin: 0;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    scrollbar-color: #c1bfe4 #f5f7fb;
}


    .div_wrapper .row .col-md-10 .div_rc_Service ._srvc_tabs.active .xyz_recharge li a {
        background: #f4f6ff !important;
        box-shadow: none;
        border: none;
        margin: 0;
        position: relative;
        gap: 0;
        padding: 8px !important;
    }

.div_wrapper .row .col-md-10 .div_rc_Service ._srvc_tabs.active {
    background-color: #F5F7FB !important;
    padding: 0 !important;
}

    .div_wrapper .row .col-md-10 .div_rc_Service ._srvc_tabs.active h2 {
        display: none;
    }

    .div_wrapper .row .col-md-10 .div_rc_Service ._srvc_tabs.active p {
        display: none;
    }

    .div_wrapper .row .col-md-10 .div_rc_Service ._srvc_tabs.active .xyz_recharge li a img {
        background: #F4F6FF;
        object-fit: contain;
        width: auto;
        height: 40px;
        padding: 5px;
        border-radius: 14px;
        transition: 0.3s ease;
        border: none;
        margin-bottom: 0 !important;
    }

    .div_wrapper .row .col-md-10 .div_rc_Service ._srvc_tabs.active .xyz_recharge li a.active:before {
        content: '';
        width: 100%;
        background: var(--primary);
        height: 3px;
        border-radius: 10px;
        position: absolute;
        bottom: -7px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

.othersection {
    background-color: var(--bg);
    margin-top: -40px;
    padding: 30px 0;
}

    .othersection .info-content {
        background-color: #ffff;
        padding: 20px;
        margin-left: 260px;
        margin-top: 30px;
        max-width: 80%;
        width: 100%;
        border-radius: 14px;
    }

.div_wrapper .row .col-md-10 .div_rc_Service ._srvc_tabs .cls_tbl_tab_service .form-group .cls_planFetch {
    white-space: nowrap;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--primary);
    font-weight: 700;
    text-transform: capitalize;
    bottom: -10px;
    right: 8%;
}

.giftcard-page .submenusDiv {
    margin: 0 auto 20px;
    width: 100%;
}

.giftcard-page .recharge-layout {
    margin: 0px auto;
}

    .giftcard-page .recharge-layout .recharge-card .input-group {
        flex-direction: column;
    }

    .giftcard-page .recharge-layout .recharge-card .payable h6, h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

.aboutpage .contact-faq-wrapper {
    gap: 0;
}

    .aboutpage .contact-faq-wrapper p {
        font-size: 15px;
    }

        .aboutpage .contact-faq-wrapper p strong {
            color: var(--primary);
        }

    .aboutpage .contact-faq-wrapper h2 {
        font-size: 18px;
        background: var(--bg);
        display: block;
        width: 100%;
        padding: 0px 10px;
        border-radius: 3px;
        font-weight: 600;
        font-family: sans-serif;
        margin-bottom: 8px;
        color: #000;
    }

    .aboutpage .contact-faq-wrapper ul {
        padding-left: 20px;
    }

.aboutPage {
    height: 100%;
    width: 100%;
}

    .aboutPage .about-container {
        padding: 0;
        overflow: hidden;
        scrollbar-width: thin;
        scrollbar-color: #3e3a7a #f0eff8;
        display: flex;
        flex-direction: column;
        height: 90vh;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

        .aboutPage .about-container .about-fixed-header {
            padding: 20px 25px;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            gap: 15px;
            background: #fff;
            z-index: 10;
        }

    .aboutPage .content-area .about-container .about-scroll-content .contact-faq-wrapper ul {
        padding-left: 25px;
    }

.content-area .privacy-section {
    background-color: #fff;
    border-radius: 14px;
    padding: 15px 20px;
}

    .content-area .privacy-section h1 {
        text-align: center;
        font-size: 25px;
        margin-bottom: 20px;
    }

    .content-area .privacy-section p {
        margin: 0;
        font-size: 16px;
        line-height: 1.8;
        color: #5e5e5e;
        padding-left: 7px;
    }

    .content-area .privacy-section h3, h2 {
        background: var(--bg);
        border-radius: 8px;
        padding: 3px 10px;
        margin: 5px 0;
        font-size: 18px;
    }

    .content-area .privacy-section ul {
        list-style: none;
        padding-left: 7px;
    }

        .content-area .privacy-section ul li {
            margin: 0;
            font-size: 16px;
            line-height: 1.8;
            color: #5e5e5e;
        }

            .content-area .privacy-section ul li::before {
                content: '\2713';
                padding-right: 6px;
                color: var(--primary);
            }

#desktop-grid {
    margin: 25px 0;
}

.contact-faq-wrapper .faq-section .section-title, .contact-section .section-title {
    font-size: 18px;
    background-color: transparent;
    padding: 0;
}

.rc_offer_div_Modal .rc_offer_div .rc_offer_header {
    background-color: var(--bg);
    height: auto;
    padding: 6px 0 12px;
}

    .rc_offer_div_Modal .rc_offer_div .rc_offer_header .tblClass tbody tr td p {
        font-size: 16px;
        white-space: nowrap;
        margin: 1px 0 0;
        font-weight: 600;
    }

    .rc_offer_div_Modal .rc_offer_div .rc_offer_header .tblClass {
        max-width: 95%;
        width: 100% !important;
        margin: 0 auto;
        margin-left: auto !important;
    }

        .rc_offer_div_Modal .rc_offer_div .rc_offer_header .tblClass tbody tr td select {
            font-size: 13px;
            padding: 7px 10px;
            height: auto;
        }

        .rc_offer_div_Modal .rc_offer_div .rc_offer_header .tblClass tbody tr td input {
            font-size: 13px;
            padding: 7px 10px;
            height: auto;
            max-width: 75%;
            width: 100%;
        }

.rc_offer_div_Modal .rc_offer_div .closebtn_2 {
    top: 10px;
}

.closebtn_2 p {
    margin: 0;
    line-height: 1.5;
}

.rc_offer_div_Modal .rc_offer_div .PanelBox .box_L ul li a {
    padding: 11px 15px;
    color: var(--primary);
    font-size: 13px !important;
    font-family: sans-serif;
    text-transform: capitalize;
}

    .rc_offer_div_Modal .rc_offer_div .PanelBox .box_L ul li a:hover {
        background: var(--primary) !important;
        color: #fff;
    }

    .rc_offer_div_Modal .rc_offer_div .PanelBox .box_L ul li a.active {
        background: var(--primary) !important;
        color: #fff;
    }

body .rc_offer_div_Modal .rc_offer_div .PanelBox .box_R table tr td {
    color: #2a2a2a !important;
    line-height: 1.7;
}

    body .rc_offer_div_Modal .rc_offer_div .PanelBox .box_R table tr td a[class="btnamt"] {
        background: var(--primary) !important;
        color: #fff;
        border: none;
        padding: 2px 15px;
        border-radius: 3px;
    }

        body .rc_offer_div_Modal .rc_offer_div .PanelBox .box_R table tr td a[class="btnamt"]:before {
            content: '\20B9';
            padding-right: 3px;
        }

    body .rc_offer_div_Modal .rc_offer_div .PanelBox .box_R table tr td.text-center {
        display: none;
    }

.recharge-process .row .card .card-header {
    border: none;
    padding-bottom: 0;
    padding-left: 0;
    justify-content: center;
}

.recharge-process .row .card {
    max-width: 80%;
    width: 100%;
    margin: 0 auto;
}

    .recharge-process .row .card .card-header h3 {
        font-size: 22px;
        color: var(--primary);
        position: relative;
    }

        .recharge-process .row .card .card-header h3::after {
            content: '';
            height: 3px;
            width: 80px;
            position: absolute;
            bottom: -10px;
            background: var(--primary);
            left: 0;
            right: 0;
            margin: 0 auto;
        }

    .recharge-process .row .card .card-body table tbody tr td b {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-family: roboto;
        font-weight: 500;
        letter-spacing: .5px;
    }

    .recharge-process .row .card .card-body table tbody tr td input {
        width: fit-content;
    }

    .recharge-process .row .card .card-body table tbody tr td label {
        margin: 0;
        font-size: 15px;
        font-family: 'Cairo';
    }

    .recharge-process .row .card .card-body table tbody tr .promocode {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 10px;
    }

.swal2-backdrop-show .swal2-popup .swal2-title {
    background: transparent;
    font-size: 23px;
}

.swal2-backdrop-show .swal2-popup button.swal2-confirm.swal2-styled {
    background-color: var(--brand-blue);
}

.recharge-process .row .card .card-body table tbody tr td input[type="submit"] {
    float: right;
}

.cls_tbl_tab_service .form-group.paywallet {
    margin: 8px 0 0;
}

.operatordetails {
    display: none;
}

.notification-icon {
    display: none;
}

@media only screen and (min-width:1700px) {
    .div_wrapper .row .div_rc_Category.fixed {
        position: fixed;
        left: 15px;
        max-width: 278.95px;
        width: 100%;
        top: 11%;
        z-index: 999;
    }

    .div_wrapper .div_rc_Category.scrolltop {
        max-width: 278.95px;
        width: 100%;
    }
}

/*large desktop*/
@media only screen and (min-width:1366px) {
    .othersection .info-content {
        margin-left: 19.2%;
        max-width: 80%;
    }

    .aboutPage .about-container {
        height: 100vh;
    }

    #main-wrapper .content-body {
        min-height: 600px !important;
    }

    .supportPage .about-container {
        max-width: 100%;
        width: 100%;
    }

    ._srvc_tabs .cls_tbl_tab_service {
        margin-bottom: 30px;
    }

    .rc_offer_div_Modal {
        z-index: 9999 !important;
    }

    .content-area .dashboard-container {
        max-width: 100%;
    }

        .content-area .dashboard-container .main-column .eg-profile-container {
            max-width: 100%;
        }

    .nav-header .brand-logo > img {
        display: none;
    }
}
/*mobile view custom */

@media only screen and (max-width:768px) {

    header .nav-container .hamburger {
        left: auto;
    }

    .div_wrapper .div_rc_Category > ul > li > a {
        border-bottom: none;
        text-transform: capitalize;
        padding: 8px 15px;
        border-radius: 0;
    }

    .div_rc_Category > ul > li > a {
        background-color: #fff;
    }

    .soon-chip {
        display: none;
    }

    #tab_Recharge h2, p {
        display: none;
    }

    .notification-icon {
        display: block;
        background: #f2f5ff;
        padding: 2px 8px;
        border-radius: 3px;
    }

        .notification-icon button {
            border: none;
            background: transparent;
        }

        .notification-icon i {
            font-size: 22px;
        }

    .nav-container .mobile-nav-user .nav-user-details {
        display: none;
    }

    body .recharge-success {
        max-width: 100%;
        width: 100%;
    }
}

#main-wrapper .content-body main .horizontal-scroll-container #servicesScroll #desktop-grid a .service-item {
    height: 120px;
    width: 160px;
    max-width: 160px;
}

    #main-wrapper .content-body main .horizontal-scroll-container #servicesScroll #desktop-grid a .service-item .card-content-wrapper img {
        height: 40px;
        width: auto;
        object-fit: contain;
    }

.recharge-success {
    max-width: 40%;
    width: 100%;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 8px;
}

    .recharge-success .card .card-header img {
        height: 70px;
        width: auto;
    }

    .recharge-success .card .card-header h3 {
        font-size: 20px;
        margin: 15px 0 10px;
    }

    .recharge-success .card .card-header h6 {
        font-size: 15px;
        color: #404040;
        margin: 0;
    }

    .recharge-success .card .card-body {
        background-color: #f6f6f6;
        margin: 10px 0 0;
        border: 1px solid #e1e1e1;
        border-radius: 5px;
        padding: 20px;
    }

        .recharge-success .card .card-body .data-fields {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

            .recharge-success .card .card-body .data-fields h6 {
                font-size: 15px;
                color: var(--primary);
                text-transform: capitalize;
            }

            .recharge-success .card .card-body .data-fields p {
                font-size: 13px;
            }

                .recharge-success .card .card-body .data-fields p.status {
                    color: green;
                    font-weight: 600;
                }

                    .recharge-success .card .card-body .data-fields p.status.pending {
                        color: #ebb30f;
                    }

                    .recharge-success .card .card-body .data-fields p.status.pending {
                        color: #fd6a00;
                    }

                    .recharge-success .card .card-body .data-fields p.status.failed {
                        color: red;
                    }

    .recharge-success .card .backbtn {
        margin-top: 25px;
    }

        .recharge-success .card .backbtn a {
            background-color: #3E3A7A;
            color: #fff;
            text-decoration: none;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 15px;
        }

#div_wrapper {
    position: relative;
}

.div_rc_Category.fixed {
    position: fixed;
    left: 15px;
    max-width: 222.66px;
    width: 100%;
    top: 14%;
    z-index: 2;
}

.div_rc_Category.scrolltop {
    position: absolute;
    left: 15px;
    max-width: 222px;
    width: 100%;
    bottom: 30px;
}

.congratulations-card {
    background: linear-gradient(45deg, #E1DAFB, #E7F3E9);
    padding: 8px 10px;
    border-radius: 10px;
    margin: 10px 0 0;
    display: flex;
    gap: 13px;
    align-items: center;
}

    .congratulations-card h6 {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: #3e3a7a;
    }

        .congratulations-card h6 strong {
            color: #28a745;
            font-weight: 600;
        }

    .congratulations-card i {
        transform: scale(1.5);
        color: #3e3a7a;
    }

.verifyotp {
    position: relative;
}

.sendotp {
    position: relative;
}

.verifyotp input[type='submit'] {
    position: absolute;
    background: #f0f0f0;
    padding: 4px 7px 3px;
    right: 8px;
    top: 0px;
    color: #3e3a7a;
    font-size: 11px;
    font-family: poppins;
    font-weight: 700;
}

.sendotp input[type='submit'] {
    position: absolute;
    background: #f0f0f0;
    padding: 4px 7px 3px;
    right: 8px;
    top: 1px;
    color: #3e3a7a;
    font-size: 11px;
    font-family: poppins;
    font-weight: 700;
}

.orderhistory-page .card-heading {
    text-align: center;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: white;
    padding: 7px 8px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

    .orderhistory-page .card-heading h2 {
        font-size: 20px;
        margin: 0;
        background: #fff;
    }

.orderhistory-page .ot-table-wrapper table thead {
    position: sticky;
    top: 7%;
    left: 0;
    right: 0;
    z-index: 1;
}

.loginsignup-form .modal {
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    height: 85%;
}

/*profile popup*/

.profile-update {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    max-width: 400px;
    height: auto;
    width: 100%;
    z-index: 1;
    background: #fff;
    margin: 14% auto;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

    .profile-update i {
        font-size: 32px;
        display: inline-block;
        height: 70px;
        width: 70px;
        background: #f0eff8;
        text-align: center;
        line-height: 2.3;
        border-radius: 50px;
        color: #3e3a7a;
    }

        .profile-update i.bi-x-square-fill {
            background: none;
            display: inline;
            color: red;
            font-size: 23px;
            position: absolute;
            right: 0;
            top: 0;
            cursor: pointer;
        }

    .profile-update h6 {
        font-size: 18px;
        font-weight: 600;
        margin: 20px 0 0;
        color: #000000;
        letter-spacing: .5px;
    }

    .profile-update button {
        background-color: #3e3a7a;
        color: #fff;
        border: none;
        padding: 4px 20px;
        text-transform: uppercase;
        margin: 10px 0;
        border-radius: 3px;
    }

/*services width set*/

.content-body .col-md-12 .div_wrapper .row .col-md-10 .div_rc_Service div:nth-child(n+3) .xyz_recharge {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
}

.content-body .col-md-12 .div_wrapper .row .col-md-10 .div_rc_Service > div:nth-child(n+3) ul li a {
    padding: 20px 8px !important;
}

.aboutPage.commoncontent {
    background: white;
    padding: 20px;
    border-radius: 13px;
    margin: -5px 0 0;
}
