@media (min-width: 1440px) {}

@media (min-width: 1600px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1420px !important;
    }
}

@media (min-width: 1850px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1600px !important;
    }

    header a.nav-link {
        font-size: var(--f18);
    }
}

@media (min-width: 2000px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1800px !important;
    }
}


/*ads footer*/


/* --- RESPONSIVE BREAKPOINTS --- */

       
        @media (max-width: 1200px) {
            .grid-item {
                flex: 1 1 calc(25% - 15px);
            }
        }

      
        @media (max-width: 992px) {
            .grid-item {
                flex: 1 1 calc(33.33% - 15px);
            }
        }

       
        @media (max-width: 600px) {
            .grid-item {
                flex: 1 1 calc(50% - 15px);
            }
        }

      
        @media (max-width: 400px) {
            .grid-item {
                flex: 1 1 100%;
            }
        }


@media (max-width: 1366px) {
    footer .col-3.get {
        width: 28%;
    }
}

@media (max-width: 1024px) and (min-width: 981px) {
    header a.nav-link {
        margin-right: 0;
        padding: var(--p10) !important;
        font-size: var(--f13);
    }

    header .col-5 {
        align-items: center;
        justify-content: center;
    }

    footer .col-12.md-12.sm-12 {
        gap: 20px;
    }

    footer {
        border-top: 0px solid;
    }

    header a.nav-link {
        margin-right: 0;
    }

    header .header-top .col-6 {
        width: 30%;
    }

    header .header-top .cont {
        width: 70%;
    }

    header.new-header ul.menu-bar {
        right: 30px;
    }

    footer .col-3 {
        width: 24%;
    }

    footer .col-3.quick {
        padding-left: var(--p12);
        width: 19%;
    }

    footer .col-3.get {
        width: 33%;
    }

    .copyright .col-6 {
        width: 100%;
        text-align: center;
    }

    footer .col-6.md-12.sm-12.right p {
        text-align: center;
    }
}

@media (max-width: 980px) {
    header.new-header {
        display: none;
    }

    header.mob {
        display: block !important;
        z-index: 999999;
        /* padding: var(--p15); */
    }

    header #main_nav {
        justify-content: center !important;
    }

    header li.nav-item {
        padding: 0 0px !important;
    }

    header.mob ul.navbar-nav {
        padding-top: var(--p1);
    }

    header img {
        width: 260px;
    }

    header a.logo {
        width: auto;
        padding: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
    }

    header a.nav-link {
        margin-right: 0px;
    }

    header a.nav-link:hover {
        border-color: var(--white-color);
        color: var(--white-color);
    }

    header nav.navbar.navbar-expand-lg.navbar-dark.bg-primary {
        border-bottom: 0px solid;
    }

    header div#menu-toggle1 {
        width: auto;
    }

    header .row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

   @media (max-width: 980px) {
    /* Main Header - Isko upar fix rakha hai */
    header.page-header.mob {
        display: block !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 9999; /* Slider se upar */
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    /* Black Overlay - Menu khulne par peeche ka area dark karne ke liye */
    div#tag1 {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5); 
        z-index: 10000 !important;
        visibility: hidden; /* Default hidden */
        opacity: 0;
        transition: 0.3s;
    }

    /* Jab Menu Active ho (JS se aayega) */
    div#tag1.active {
        visibility: visible;
        opacity: 1;
    }

    /* Left Sidebar Panel */
    div#tag1 .mobile-nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 280px; /* Sidebar ki width */
        height: 100vh;
        background: #fff !important; /* Blue color hatane ke liye */
        transform: translateX(-100%); /* Screen ke bahar rakho */
        transition: transform 0.4s ease;
        padding: 20px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    }

    div#tag1.active .mobile-nav {
        transform: translateX(0); /* Screen ke andar le aao */
    }

    /* Navbar styling fixes */
    header.mob .bg-primary {
        background-color: transparent !important; /* Blue box khatam */
    }

    header.mob .navbar-nav {
        padding: 0;
        margin-top: 2px;
        list-style: none;
    }

    header.mob .nav-item {
        border-bottom: 1px solid #eee;
    }

    header.mob .nav-link {
        color: #333 !important;
        padding: 15px 0 !important;
        display: block;
        font-weight: 600;
    }

    /* Logo & Close Button Alignment */
    .mobile-menu-logo {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    #close-menu1 {
        font-size: 24px;
        cursor: pointer;
        color: #000;
    }
}

    div#tag1 .mobile-nav {
        padding: 2rem 20px 20px;
        background: var(--white-color);
        text-align: center;
        width: 350px;
        height: 100vh;
        position: relative;
    }

    i#close-menu1 {
        cursor: pointer;
        font-size: var(--f28);
        color: var(--black-color);
    }

    #close-menu {
        right: 1rem;
        position: absolute;
        top: 10px;
    }

    nav.navbar.navbar-expand-lg.navbar-dark.bg-primary {
        display: block;
    }

    header a.nav-link {
        padding: 0px 0 !important;
        margin-bottom: var(--m5);
        margin-top: var(--m5);
        border-left: 0px solid;
        border-bottom: 1px dashed transparent;
    }

    div#mob_nav {
        margin-top: var(--m20);
    }

    .menu-toggle1 i {
        color: var(--black-color);
        font-size: var(--f28);
        cursor: pointer;
    }

    header li.nav-item.dropdown:hover ul.dropdown-menu {
        width: 100%;
        position: relative;
    }

    header li .dropdown-item {
        text-align: center;
        font-size: 14px;
        line-height: 24px;
    }

    header .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: relative;
    }

    section {
        padding: var(--p50) var(--p12);
    }

    /* footer responsive */
    footer img {
        width: 220px;
    }

    footer .logo {
        align-items: center;
    }

    footer .col-3.get {
        width: 50%;
    }

    footer .col-3.payments {
        width: 50%;
        margin-top: var(--m20);
    }

    footer .payments form input {
        border: 1px solid var(--black-color);
    }

    footer h4 {
        font-size: var(--f24);
    }

    footer {
        background-size: cover;
    }

    footer .col-3.first {
        width: 100%;
        margin-bottom: var(--m30);
    }

    footer .col-3.quick {
        width: 50%;
    }

    footer .col-3.news {
        width: 100%;
    }

    footer .row.upper-footer {
        flex-direction: column;
    }

    footer .col-6.md-6.sm-12.left {
        width: 100%;
        border-right: 0px solid var(--white-color);
    }

    footer .row.top,
    footer .newsletter {
        padding: var(--p20) 0;
    }

    footer .row.bottom {
        padding: var(--p30) var(--p48);
        border-top: 1px solid var(--white-color);
        border-bottom: 1px solid var(--white-color);
    }

    footer .col-6.md-6.sm-12.right {
        width: 100%;
    }

    footer .copyright .row {
        align-items: center;
        flex-direction: column;
    }

    footer .copyright .col-6 {
        flex: 0 0 auto;
        width: 100%;
    }

    footer .copyright p {
        text-align: center;
    }

    footer .col-6.md-12.sm-12.right p {
        text-align: center;
    }

    footer .col-4.get {
        width: 45%;
    }

    footer .col-4.quick {
        width: 24%;
    }

    footer .col-4.payments {
        width: 31%;
    }

    footer .payments img {
        width: 100%;
    }

    .banner h1 {
        font-size: var(--f32);
        margin-top: var(--m50);
    }

    .banner img.img-fluid,
    .banner,
    .banner .guides {
        height: 300px;
        max-height: 300px;
    }
}

@media (max-width: 540px) {
    div#tag1 .mobile-nav {
        width: 52%;
    }

    section {
        padding: var(--p40) var(--p12);
    }

    h1 {
        font-size: var(--f40);
    }

    h2 {
        font-size: var(--f28);
    }

    h3 {
        font-size: var(--f25);
    }

    h4 {
        font-size: var(--f22);
    }

    h5 {
        font-size: var(--f20);
    }

    h6 {
        font-size: var(--f20);
    }


    header img {
        width: 80px;
    }

    .video-cont h1:before {
        display: none;
    }

    .menu-toggle1 i {
        font-size: var(--f22);
    }

    header a.nav-link {
        font-size: var(--f14);
    }

    footer .row.top,
    footer .newsletter,
    footer .row.bottom {
        padding: var(--p24) var(--p24);
        gap: 15px;
    }

    .footer_links h4 {
        font-size: var(--f21);
    }

    footer .row.top .col-6.md-6.sm-12 {
        padding: 0px;
        width: 100%;
    }

    footer .col-12.md-12.sm-12 {
        display: flex;
        padding: 0px;
        gap: 10px;
        flex-direction: column;
    }

    header img {
        width: 160px;
    }

    /* footer */
    footer {
        padding-top: var(--p40);
    }

    footer ul.social-md a {
        font-size: var(--f18);
        width: 40px;
        height: 40px;
    }

    footer ul.social-md {
        display: flex;
        gap: 10px;
    }

    footer img {
        width: 100%;
    }

    footer .logo {
        padding-bottom: var(--p30);
    }

    footer .detail {
        padding-top: var(--p30);
        gap: 20px;
    }

    footer .col-3.quick {
        width: 100%;
        padding-left: 12px;
    }

    footer .col-3.payments {
        width: 100%;
        margin-top: 0;
    }

    footer .button {
        width: 100%;
        margin: 0px;
    }

    footer .col-3.get {
        width: 100%;
    }

    footer .newsletter {
        gap: 0px;
        padding: var(--p20) 0;
    }

    .copyright {
        margin-top: var(--m20);
    }

    footer form {
        gap: 10px;
        flex-direction: column;
    }

    footer .social.row a {
        padding: var(--p30) var(--p30);
    }

    footer .social.row a i {
        font-size: var(--f25);
    }

    footer input.form-control {
        width: 100%;
    }

    footer .col-6 {
        width: 70%;
    }

    footer .col-4.get,
    footer .col-4.quick,
    footer .col-4.payments {
        width: 100%;
    }

    footer .payments img {
        width: 220px;
    }

    footer .icons {
        width: 30%;
    }

    footer .col-md-4 {
        width: 100%;
        padding: 0;
    }

    .copyright p {
        margin: auto;
        font-size: 14px !important;
    }

    .head-sec span {
        font-size: var(--f25);
    }

    .banner h1 {
        font-size: var(--f28);
        text-align: center;
        padding-left: var(--p12);
        padding-right: var(--p12);
        margin-top: var(--m60);
    }

    .banner img.img-fluid,
    .banner,
    .banner .guides {
        height: 250px;
        max-height: 250px;
    }

    .breadcrumb {
        padding-left: 0px;
        font-size: 13px;
    }

    .breadcrumb-wrap .container {
        padding: 0px;
    }

    .btn_4.learn-more .button-text {
        font-size: var(--f14);
    }

    footer i.flaticon-right-chevron {
        font-size: 14px;
    }

    footer .footer-logo img {
        width: 100px;
    }

    footer .newsletter p {
        font-size: var(--f18);
    }

    footer.footer .col-3.info {
        padding: 0;
        border-right: 0px solid #e4e0da;
        width: 100%;
    }

    footer.footer .other-details {
        padding: 0;
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: var(--f36);
    }

    h2 {
        font-size: var(--f25);
    }

    h3 {
        font-size: var(--f22);
    }

    h4 {
        font-size: var(--f19);
    }

    h5 {
        font-size: var(--f17);
    }

    h6 {
        font-size: var(--f17);
    }

    .head-sec p {
        font-size: 14px;
        line-height: 1.3;
    }

    footer h4 {
        font-size: var(--f18);
    }

    footer .social.row a i {
        font-size: var(--f22);
    }

    footer .newsletter p {
        font-size: var(--f17);
    }
}

@media (max-width: 320px) {

    footer .footer_link a,
    footer .footer_link li,
    footer ul.quick-links a {
        font-size: var(--f12);
    }

    footer ul.social-md a {
        font-size: var(--f14);
        width: 30px;
        height: 30px;
    }
}


/*new responsive css*/


@media (max-width: 768px) {
    header.new-header {
        z-index: 99999 !important;
        position: fixed !important;
        background: #fff !important; 
    }


    .header-centre {
        display: none; 
        position: fixed; 
        top: 70px; 
        left: 0;
        width: 100vw; 
        height: 100vh; 
        background: white !important;
        z-index: 999999 !important; 
        flex-direction: column;
        padding: 30px 20px;
        overflow-y: auto; 
    }

    .header-centre.active {
        display: flex !important;
    }

    .header-wrapper {
        z-index: 100000;
    }
}


/*new adse section responsive*/



/*mo-header*/

@media (max-width: 980px) {
    /* Main Navigation List */
    .navbar-nav {
        padding: 0 10px;
        
    }

    .nav-item {
        border-bottom: 1px solid #f1f1f1;
        margin-bottom: 2px;
    }

    /* Parent Link Wrapper */
    .nav-link-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        /*padding: 12px 5px;*/
    }

    .nav-link-flex .nav-link {
        font-size: 16px;
        font-weight: 600;
        color: #333 !important;
        padding: 0 !important;
        text-transform: capitalize;
    }

    .mob-drop-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        border-radius: 50%;
        transition: 0.3s;
    }

    .mob-drop-icon[aria-expanded="true"] {
        background: #0a54bc; 
    }

    .mob-drop-icon[aria-expanded="true"] i {
        color: #fff;
        transform: rotate(180deg);
    }

    .mob-sub-list {
       
        border-left: 4px solid #0a54bc; 
        margin: 5px 0 15px 10px;
        height: auto
        border-radius: 4px;
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
    }

    .mob-sub-list .nav-link.sub-link {
        padding: 12px 20px !important;
        font-size: 15px !important;
        height: auto
        height: 100% !important;
        color: #555 !important;
        font-weight: 400;
        border-bottom: 1px solid #f9f9f9;
        display: block;
    }

    .mob-sub-list .nav-link.sub-link:last-child {
        border-bottom: none;
    }

   
}


@media (max-width: 980px) {
    .header-wrapper-mob {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        align-items: center !important; 
        justify-content: space-between !important;
        padding: 10px 15px !important;
        height: 70%; 
        width: 100%;
    }

    .header-left {
        display: flex;
        align-items: center;
    }

    .header-left .logo img {
        max-height: 40px;
        width: auto;
    }

    .header-right.header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 20px; 
        margin-bottom: 0 !important; 
    }

    .translator-btn button {
        background: #0a54bc; 
        color: #fff;
        border: none;
        border-radius: 25px;
        padding: 6px 18px;
        display: flex;
        align-items: center;
        padding-right: 10px;
        gap: 10px;
        font-size: 13px;
        line-height: 1; 
    }

    .search-box-mob i, 
    #menu-toggle1 i {
        font-size: 20px;
        color: #333;
        display: flex;
        align-items: center;
        height: 100%;
    }
}


@media (max-width: 980px) {
    .menu-bar-in {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px; 
        height: 100vh !important; 
        z-index: 9999;
        background: #fff;
        
        overflow-y: auto !important; 
        overflow-x: hidden;
        
        /* Smooth scrolling ke liye */
        -webkit-overflow-scrolling: touch; 
    }

    .mobile-nav {
        height: auto;
        padding-bottom: 50px; 
    }

    .menu-bar-in::-webkit-scrollbar {
        width: 4px;
    }
    .menu-bar-in::-webkit-scrollbar-thumb {
        background: #0a54bc; 
        border-radius: 10px;
    }
}




@media (max-width: 980px) {
    .nav-item.has-dropdown {
        height: auto !important;
        display: block !important;
        position: relative !important;
        clear: both;
    }

    .mob-sub-list.collapse, 
    .mob-sub-list.collapsing, 
    .mob-sub-list.show {
        position: relative !important; 
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        display: none;
        transform: none !important;
        background: #fdfdfd !important;
        visibility: visible !important;
    }

    .mob-sub-list.show {
        display: block !important;
    }

    .mob-sub-list ul {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        display: block !important; 
    }

    .mob-sub-list .nav-item {
        border: none !important;
        width: 100% !important;
        display: block !important;
    }

    .mob-sub-list .nav-link.sub-link {
        padding: 12px 20px !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important; 
        color: #444 !important;
        border-bottom: 1px solid #eee !important;
        height: auto !important;
    }

    .nav-link-flex {
        width: 100%;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 4px 5px !important;
    }
}


@media (max-width: 980px) {
    .menu-bar-in, .mobile-nav {
        height: 100vh !important; 
        max-height: 100vh !important;
        overflow-y: auto !important; 
        display: block !important;
    }

    .nav-item.has-dropdown {
        height: auto !important; 
        display: block !important;
        position: relative !important;
    }

    .mob-sub-list.collapse.show {
        display: block !important;
        height: auto !important;
        position: relative !important; 
        visibility: visible !important;
        clear: both;
        overflow: visible !important;
    }

    .mob-sub-list ul {
        height: auto !important;
        display: block !important;
        padding-left: 0 !important;
    }

    .mob-sub-list .nav-link.sub-link {
        height: auto !important;
        padding: 12px 20px !important;
        display: block !important;
        border-bottom: 1px solid #f1f1f1;
    }

    .menu-bar-in {
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
}


@media (max-width: 540px) {
    div#tag1 .mobile-nav {
        width: 66%;
    }
}



@media (max-width: 1350px) {
    .nav-link {
        padding: 10px 10px !important; 
        font-size: 14px; 
    }
    
    header img {
        margin-right: 15px;
    }

    .search-box {
        width: 160px; 
    }

    .translator-btn button {
        padding: 8px 16px;
    }
    
    .translator-btn button {
        margin: 8px 16px;
    }
    
    .header-right {
        gap: 10px; 
    }
}

@media (max-width: 1440px) {
    .header-right {
        gap: 10px; 
        padding-right: 20px; 
    }
}


@media (max-width: 1120px) {

    header.new-header {
        padding: 0 10px;
    }
    .container-fluid{
        padding-left: 0px !important;
        padding-right 0px !important;
    }
    .header-centre{
      padding-left: 1.5em;
    }
  
    header img {
        max-height: 50px; 
        margin-right: 15px;
    }

   
    .menu-bar {
        gap: 5px;
    }

    .nav-link {
        padding: 8px 10px !important;
        font-size: 13px; 
    }

  
    .search-box {
        width: 140px;
        margin-left: 5px;
    }


    .header-right {
        gap: 8px;
        padding-left: 0; 
        margin-right: 10px ;
    }


    .translator-btn button {
        padding: 8px 15px;
        font-size: 13px;
    }
}