nav {
    position: relative;
    z-index: 99;
    width: 100%;
    background: #fff;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
}
/* Default - Desktop */

.container-xl {
    max-width: 1250px !important;
}
.mobile-item.active{
    color: #8BC34A !important;
}

.main-nav {
    padding: 15px 0px;
}

nav .wrapper {
    position: relative;
    line-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrapper .logo a {
    color: #f2f2f2;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}

.wrapper .nav-links {
    display: inline-flex;
    margin-bottom: 0;
    padding-left: 0;
    gap:30px;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: #003300;
    text-decoration: none;
    font-size: 14pt;
    font-weight: 500;
    padding: 0px 0px 15px 0px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    background: transparent;
    color: ##003300;
}

.nav-links li a:after{
    content: "";
    display: block;
    margin: 0;
    height: 4px;
    width: 0;
    bottom: 0px;
    position: absolute;
    border: none;
    background: transparent;
    transition: all 0.3s;
}

/* Desktop nav hover + active */
.nav-links li a.desktop-item:hover::after,
.nav-links li a.desktop-item.active::after {
    width: 100%;
    background: #003300; /* Desktop underline color */
}

/* Mobile nav hover + active */
.nav-links li a.mobile-item:hover::after,
.nav-links li a.mobile-item.active::after {
    width: 100%;
    background: #8BC34A; /* Mobile underline color */
}

/* Optional: text color change for active */
.nav-links li a.desktop-item.active {
    color: #003300;
}


.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    background: #fff;
    width: 180px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    padding-left: 0;
    border-radius: 10px;
    padding-bottom: 10px;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    font-weight: 400;
    border-radius: 0px;
}

.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 0px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
}

.mega-box .content {
    background: #fff;
    padding: 25px 20px;
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: start;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.mega-box .content .row {
    width: calc(25% - 30px);
    line-height: 45px;
}

.content .row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content .row header {
    color: #000;
    font-size: 20px;
    font-weight: 500;
}

.content .row .mega-links {
    margin-left: 0px;
    border-left: 1px solid #141619;
}

.row .mega-links li {
    padding: 0 20px;
}

.row .mega-links li a {
    padding: 0px;
    padding: 0 20px;
    color: #000;
    font-size: 17px;
    display: block;
}

.row .mega-links li a:hover {
    color: #D51519;
}

.wrapper .btn {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

.wrapper .btn-primary {
    display: block;
    background-color: #D51519;
    border-color: #D51519;
    box-shadow: none;
    transition: .4s ease all;
    padding: 9px 30px;
    border-radius: 5px;
    font-size: 14pt;
}

.wrapper .btn-primary:hover {
    background-color: #70BC42;
    border-color: #70BC42;
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}


@media screen and (max-width: 1199px) {
    /*nav .wrapper {
        max-width: 100%;
        padding: 0px 10px;
    }*/
    .nav-links li a{
        font-size: 16px;
        padding: 10px;
    }
}
@media screen and (max-width: 1074px) {
    .nav-links li a{
        font-size:14px;
        padding:0px 5px;
    }
}
@media screen and (max-width: 970px) {
    .theme-btn {
        padding: 9px 16px !important;
        border-radius: 10px !important;
        
    }
    .ftco-section {
        padding-bottom: 0px !important;
        padding-top: 20px !important;
    }
    .contact-section {
        padding-bottom: 0px !important;
        padding-top: 20px !important;
    }
    .innersection {
        padding-bottom: 0px !important;
        padding-top: 20px !important;
    }
    /* #newpages-innersection--0 table td,
    #newpages-innersection--3 table td{
        display: block;
        max-width: 100%;
        width: 100%;
    } */
    .innersection table colgroup col {
        display: block;
    }
    #custom-column {
        padding: 5px;
    }
    .wrapper .btn {
        display: block;
        color: #141619;
    }

    .m-logo {
        position: absolute;
        left: 20px;
        top: 10px;
    }

    .wrapper .btn-primary {
        display: none;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100%;
        width: 100%;
        max-width: 100%;
        top: 0;
        left: -100%;
        background: #242526;
        display: block;
        padding: 50px 10px;
        line-height: 50px;
        overflow-y: auto;
        box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
        transition: all 0.3s ease;
    }

    .mobile-li{
        margin-top: 70px;
    }

    /* custom scroll bar */
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #242526;
    }

    ::-webkit-scrollbar-thumb {
        background: #3A3B3C;
    }

    #menu-btn:checked~.nav-links {
        left: 0%;
    }

    #menu-btn:checked~.btn.menu-btn {
        display: none;
    }

    #close-btn:checked~.btn.menu-btn {
        display: block;
    }

    .nav-links li {
        margin: 15px 10px;
    }

    .nav-links li a {
        padding: 0;
        display: block;
        font-size: 20px;
        color: #fff;
    }

    .row .mega-links li a {
        color: #fff;
        font-size: 16px;
    }

    /*#showMega:checked~.mega-box {
        max-height: 100%;
    }*/

    .showMega:checked ~ .mega-box {
        max-height: 100%;
        padding-left: 0;
        padding-right: 0;
        border-bottom: 1px solid #fff;
    }

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        padding-left: 0px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-links .mobile-item:hover {
        background: transparent;
    }

    .mega-box {
        position: static;
        top: 65px;
        opacity: 1;
        visibility: visible;
        padding: 0 20px;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .mega-box .content {
        box-shadow: none;
        flex-direction: column;
        padding: 20px 0px 0px;
        background: transparent;
        gap: 0;
    }

    .wrapper #menu-btn:checked~.nav-links .btn-primary {
        display: block;
        color: #fff;
    }

    .mega-box .content .row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid #f8f9fa;
        padding-top: 15px;
    }

    .mega-box .content .row:nth-child(1),
    .mega-box .content .row:nth-child(2) {
        border-top: 0px;
    }

    .content .row .mega-links {
        border-left: 0px;
        padding-left: 0px;
    }

    .row .mega-links li {
        margin: 0;
        padding-left: 0;
    }

    .content .row header {
        font-size: 18px;
        color: #fff;
    }

    .wrapper .btn.close-btn {
        color: #fff;
    }
}
nav input {
    display: none;
}

.body-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 30px;
}

.body-text div {
    font-size: 45px;
    font-weight: 600;
}

.package-table th:not(:last-child),
.package-table td:not(:last-child) {
    border-right: 3px solid #d721266e;
}
.package-table td{
    border-top: 2px solid #7dc45738;
}

.row > [class*='col-'] {
        padding-right: 8px;
      padding-left: 8px;
    }


/* Table responsive */
.package-table {
    width: 100%;
    border-collapse: collapse;
}

/* Make table horizontally scrollable on small screens */
@media (max-width: 768px) {
    .package-table {
        display: block;
        overflow-x: hidden;
        white-space: nowrap;
        overflow-y: hidden;
    }

    /* Adjust table cells for better readability */
    .package-table th,
    .package-table td {
        padding: 8px;
        font-size: 14px;
        width: 100%;
    }

    .feature-table td {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        text-align: left; /* left align everything */
      }
    
      .feature-item {
        flex-direction: row; /* image left, text right */
        justify-content: flex-start; /* left aligned */
        gap: 10px;
      }
    
      .feature-item h4 {
        font-size: 13px;
        text-align: left; /* heading left */
      }
    
      .feature-item p {
        font-size: 11px;
        text-align: left; /* description left */
      }
}

/* Optional: make text wrap nicely on very small screens */
@media (max-width: 480px) {
    .package-table th,
    .package-table td {
        /* font-size: 12px; */
        padding: 6px;
    }
}

.imageboxs {
    transition: all 0.5s ease; /* smooth hover effect */
}
.imageboxs:hover {
    -webkit-box-shadow: 4px 4px 15px -4px #000;
    box-shadow: 4px 4px 15px -4px #000;
    border-radius: 15px;
    -ms-transform: scale(1.03);
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    color: #000;
}

.mega-box {
    display: none;
}

.gallery-container img {
    height: 100% !important;
}
.social {
    text-align: center;
}

.bfooter .social > a > i {
    color: #7f858f !important;
    font-size: 20px;
    margin: 0 2px;
}
/* Loader background */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Circle spinner */
.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top: 6px solid #6dbd42;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* modal css  start*/
.callbackmodal .modal-dialog {
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

.callbackmodal .modal-header {
    border-bottom: none;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 9;
}

.callbackmodal .modal-content {
    background-color: #fff0;
    border: none;
    outline: 0;
    height: 100%;
    border-radius: 0;
}

.callbackmodal .modal-body {
    padding: 20px !important;
    height: 100%;
    display: flex;
    align-items: center;
}

.callbackmodal {
    background-color: rgb(255 255 255 / 84%);
}
.callbackmodal .contact-section{
    background-color: #fff;
    border-radius: 10px;
}
/* modal css end */

@media (max-width: 1199px) {

     /* Heading Section */
    .heading-section {
        font-size: clamp(22px, 3.5vw, 32px) !important;
        line-height: clamp(1.2, 2vw, 1.4) !important;
    }

    .heading-section * {
        font-size: inherit !important; /* agar h2 ke andar spans ya strong ho */
    }

    /* Text (testimonial ya content text) */
    .text {
        font-size: clamp(12px, 1.8vw, 14px) !important;
        line-height: clamp(1.4, 1.5vw, 1.7) !important;
    }

    .text * {
        font-size: inherit !important; /* spans, strong, em etc inherit */
    }
 table td {
        text-align: center !important;
        vertical-align: middle !important;
    }

     .imageboxs {
        display: flex !important;
        flex-direction: column !important;
        width: auto !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px; /* space between image and text */
    }

    table td .imageboxs p {
        text-align: center !important;
        font-size: clamp(12px, 1.8vw, 14px) !important; /* responsive text */
        margin: 0 !important;
    }

    table td .imageboxs img {
        max-width: 100%; /* responsive image */
        height: auto;
    }


    /* ===============================
       Featured Carousel Arrows / Dots
       =============================== */
    .featured-carousel .owl-nav button {
        font-size: clamp(14px, 2.5vw, 20px) !important;
        padding: clamp(8px, 2vw, 13px) clamp(10px, 3vw, 15px) !important;
    }

    .custom-dots .dot {
        width: clamp(8px, 1.5vw, 12px) !important;
        height: clamp(8px, 1.5vw, 12px) !important;
        margin: 0 clamp(2px, 0.5vw, 5px) !important;
    }

    .custom-dots .dot.active {
        padding: clamp(3px, 1vw, 5px) clamp(10px, 3vw, 30px) !important;
    }

    /* ===============================
       Testimonial Section
       =============================== */
    .heading-section {
        font-size: clamp(22px, 3.5vw, 32px) !important;
    }

    .testimony-wrap {
        padding: clamp(15px, 2vw, 25px) !important;
        height: auto !important;
    }

    .testimony-wrap .user-img {
        width: clamp(35px, 4vw, 50px) !important;
        height: clamp(35px, 4vw, 50px) !important;
    }

    .testimony-wrap .name {
        font-size: clamp(12px, 2vw, 15px) !important;
    }

    .testimony-wrap .position {
        font-size: clamp(11px, 1.8vw, 13px) !important;
    }

    .testimony-wrap .text {
        font-size: clamp(12px, 1.8vw, 14px) !important;
        line-height: clamp(1.4, 1.5vw, 1.7) !important;
        margin-top: clamp(5px, 1vw, 10px) !important;
    }
}

@media (min-width: 992px) {
  .content-area p, .bannersection-pra p {
    font-size: 18px !important;
        line-height: 1.5 !important;
  }
  .content-area p, .content-area ul li, .content-area ol li {
    font-size: 18px !important;
        line-height: 1.5 !important;
  }
}

/* Tablet */
@media (max-width: 991px) {
    .theme-btn, .tab-btn  {
      font-size: 16px !important;
    }

    .content-area p, .bannersection-pra p {
        font-size: 18px !important;
            line-height: 1.5 !important;
      }
      .content-area p, .content-area ul li, .content-area ol li {
        font-size: 18px !important;
            line-height: 1.5 !important;
      }
      
      .great-features {
        text-align: left !important;
      }

      .great-features table tr {
        width: 50% !important; 
    }

    /* Table ke andar ka text bhi left aligned */
    .great-features table td p {
        text-align: left !important;
        font-size: 14px !important;
      }
      .great-features table td strong {
        font-size: 12pt !important; /* Tablet font size */
    }

    .contact-form .btn-submit {
        width: 45% !important;
    }
    
    .footertext {
        text-align: left;
    }
  }
  
/* Mobile */
@media (max-width: 575px) {
.theme-btn, .tab-btn  {
    font-size: 14px !important;
}

.content-area p, .bannersection-pra p {
    font-size: 16px !important;
    line-height: 1.5 !important;
}
.content-area p, .content-area ul li, .content-area ol li {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.great-features table td strong {
    font-size: 12pt !important; /* Mobile font size */
}


#newpages-innersection--0 table td,
#newpages-innersection--3 table td{
    display: block;
    max-width: 100%;
    width: 100%;
}   
}		

/* Mobile devices */
@media (max-width: 767px) {
    
    .bannersection-pra h2 span, .bannersection h2 span{
        font-size: 24px !important;
    }

    .innersection .content-area br,
    .innersection .content-area br span {
        display: none;
    }

    .innersection .content-area h1,
    .innersection .content-area h1 span,
    .innersection .content-area h2,
    .innersection .content-area h2 span,
    .innersection .content-area h3,
    .innersection .content-area h3 span,
    .innersection .content-area h4,
    .innersection .content-area h4 span,
    .innersection .content-area h5,
    .innersection .content-area h5 span,
    .innersection .content-area h6,
    .innersection .content-area h6 span,
    .contact-section h3{
        font-size: 30px !important;
    }

    .innersection .content-area p,
    .innersection .content-area p span,
    .innersection .content-area ul li,
    .innersection .content-area ul li span{
        font-size: 14px !important;
    }

    .bannersection .cbheading h1,
    .bannersection .cbheading h1 span {
        font-size: 30px !important;
    }

    .bannersection .cbheading h1 br {
        display: none;
    }

    .bannersection .bannersection-pra p,
    .bannersection .bannersection-pra p span,
    .bannersection .bannersection-pra ul li,
    .bannersection .bannersection-pra ul li span {
        font-size: 14px !important;
    }

    .bannersection-pra ul li{
        margin-bottom: 10px !important;
    }

    .bannersection .new-page-bannerbtn {
        font-size: 14px;
        padding: 10px 20px;
    }

    img, video, iframe {
        block-size: auto;
    }

    .contact-form .btn-submit {
        width: 45% !important;
    }

    .callbackmodal .modal-body {
        padding: 8px !important;
    }

    .logo img {
        width: 100px;
    }
    .contact-info-mobile {
        display: block !important;
    }
    .contact-info{
        display: none !important;
    }
    .add {
        padding-top: 0px !important;
    }.btn-package {
        margin-top: 0px !important;
    }.package-card { 
        height: 455px !important
    }.col h6, h4 {
        font-size: 14px;
    }.contact-form {
        padding-right: 0px;
        padding-left: 0px;
        padding-bottom: 0px;
    }.addr-text {
        font-size: 16px;
    }

}

/* Desktop default */
@media (min-width: 768px) {

    #newpages-innersection--1 {
        display: block;
    }

    /* #newpages-innersection--2 {
        display: none !important;
    } */

    .bannersection-pra h2 span, .bannersection h2 span, .content-area h2 span {
        font-size: 42px !important;
        
    }
}

.great-features tr {
border-color: transparent;
}
