@media only screen and (min-width:300px) and (max-width:767px) {
    .po-icon2 {
        position: absolute;
        top: 186px;
        right: -105px;
        background: #ffbf0a;
        width: 35px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
    }
    .main-header .header-upper{ top:0px;}
    .main-header {
        position: relative !important; /* Stop overlapping the banner */
        z-index: 99;
    }
    .main-slider {
        margin-top: 0 !important;
    }
    section.main-slider {
        margin-top: -6em !important; /* Tuck slider neatly under header */
    }
    .subbanner img {
        width: 100%;
        margin-top: 0;
    }
    .subbanner {
        position: relative;
        height: 150px;  
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom;
    }
    .po-t {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
    }
    .service-sec .service .row {
        margin-bottom: 30px;
    }
    .po-s {
        margin-bottom: 30px;
    }
        .subbanner img{ display:none}
        .fullwidthbanner-container .fullwidthabanner {
            top: 0;
        }
    .white-bg {
        background: #fff;
        padding: 10px 20px;
        border-radius: 10px; /* Less rounded on mobile */
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        margin-top: 10px;
        position: relative; /* Base for absolute toggle */
        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .main-header .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }
    .logo-box img {
        width: 200px !important;
    }
    .tp-bgimg {
        top: 0px !important
    }
    .sub-bg {
        /* font-size: 27px; */
        font-size: 23px;
        margin: 15px 0;
        margin-bottom: 1em;
        padding-left: 50px;
        display: inline-block;
        text-align: center;
    }
    .sub-bg1 {
        font-size: 23px;
        margin: 15px 0;
        margin-bottom: 1em;
    }
    p.pl-50 {
        padding-left: 10px;
    }
    .sub-bg1:before {
        top: 50%;
        transform: translateY(-50%);
    }
        .sub-bg:before {
            top: 50%;
            left: 23px;
            transform: translate(-50%, -50%);
        }
    .btn-style-orange.ml-50 {
        margin-left: 10px;
    }
    .why-sec {
        margin-bottom: 30px;
    }
    .con-ser {
        margin-top: 0px;
    }
    .service-img:before {         
        left: 0;        
        right: 0;
        margin: auto;
    }

    .product-list:before {
        content: "";
        position: absolute;
        background: #09931fcf;
        width: 85%;
        height: 100%;
        top: 0;
        bottom: 0;
        margin: auto;
        left: 0;
        right: 0;
    }
    .product-list:after{ width:100%;}
    .product-con {
        padding: 0px 3em;
    }
    .min-add {
        margin-bottom: 30px;
    }

    .offset-2 {
        margin: auto;
        padding: 0px 3em;
    }
    .min-belive {
        margin-top: 0px;
        margin-bottom: 30px;
    }
    .event-s {
         margin-bottom: 30px;
    }
    .join-bg{ padding:3em}
    .min-bg-w .col-md-5{ display:none}
    .min-bg-w {
        background-color: rgb(255 255 255 / 93%);
        padding: 2em;
    }
    .event-det {
        background: rgb(242 153 74 / 86%);
        position: absolute;
        left: 0;
        top: 0;
        padding: 3em;
        bottom: 0;
        width: 86%;
        right: 0;
        margin: auto;
    }
    .pt-80 {
        padding-top: 30px;
    }
    .up-event{ margin-bottom:30px;}
     
    .blog-con {
        margin-top: 15px;
        width: 100%;
    }
    .contact-add {
        padding-left: 0px;
    }

    .main-menu .navigation > li > ul, .main-menu .navigation > li > ul > li > ul {
        display: block !important;
        visibility: hidden;
        opacity: 0;
    }

    .main-header .nav-outer .mobile-nav-toggler {
        display: block !important;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        z-index: 100;
    }
    .main-header .nav-outer {
        position: static;
        height: auto !important;
    }

    .logo-box img {
        width: 250px;
    }

    .main-slider h2 {
        font-size: 29px;
        line-height: 33px;
    }

     

    .footer-min .pl-30 {
        padding-left: 15px;
    }

    .footer-min .copy-one p {
        float: left;
    }

    .right.copy-one.wow.slideInUp {
        float: left;
        width: 100%;
        border-top: 1px solid #999;
    }

   

/* Removed redundant height rule */
     
    .text-line h1 {
        font-size: 48px !important;
    }

    .pl-70 {
        padding-left: 15px;
    }

    .pt-120 {
        padding-top: 50px;
    }

    .col-md-4 .fl-r {
        margin: 20px 0 !important;
    }

    .pr-40 {
        padding-right: 15px;
    }

    .pl-40 {
        padding-left: 15px;
    }

    .pr-0 {
        padding-right: 15px !important;
    }
 
    .pl-0 {
        padding-left: 15px;
    }
}

@media only screen and (min-width:550px) and (max-width:767px) {
    .main-header .nav-outer .mobile-nav-toggler {
        display: block;
    }
}

@media only screen and (min-width:320px) and (max-width:557px) {
.btn-style-one {
     
    width: 59px;
    height: 59px;
}
     
    .top-bar {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .main-header .header-upper {
        top: 0px;
    }

    .main-slider {
        margin-top: 0 !important;
    }

    .subbanner img {
        width: 100%;
        margin-top: 0;
    }

    .subbanner {
        position: relative;
        height: 200px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom;
    }

    .po-t {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
    }

    .service-sec .service .row {
        margin-bottom: 30px;
    }

    .po-s {
        margin-bottom: 30px;
    }

    .subbanner img {
        display: none
    }

    .fullwidthbanner-container .fullwidthabanner {
        top: 0;
    }

    .white-bg {
        background: #fff;
        padding: 12px 0;
    }

    .tp-bgimg {
        top: 0px !important
    }

    .sub-bg {
        font-size: 27px;
        margin: 15px 0;
        margin-bottom: 1em;
    }
    .sub-bg1 {
        font-size: 23px;
        margin: 15px 0;
        margin-bottom: 1em;
    }
    p.pl-50 {
        padding-left: 10px;
    }

    .sub-bg {
        padding-left: 60px !important;
        padding-right: 0 !important;
    }
    .sub-bg1 {
        padding-left: 110px !important;
        padding-right: 0 !important;
    }
    .sub-bg:before, .sub-bg1:before {
        left: 0 !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    .btn-style-orange.ml-50 {
        margin-left: 10px;
    }

    .why-sec {
        margin-bottom: 30px;
    }

    .con-ser {
        margin-top: 0px;
    }

       
    .min-add {
        margin-bottom: 30px;
    }

    .tp-bgimg{ top:0px !important}
    .service-box {
        padding: 20px;
    }
    .heading-s h2 {
        font-size: 30px;
    }
    .feature-bottom {
        padding: 10px;
    }
    .join-bg {
        padding: 3em;
    }
    .min-bg-w .col-md-5{ display:none}
    .min-bg-w .col-md-7 {
        width: 100%;
        min-width: 100%;
    }
    .min-bg-w {
        background-color: rgb(255 255 255 / 93%);
            }
    .event-det {
        width: 59%;
        /* padding: 2em; */
        background: rgb(242 153 74 / 92%);
           }
    .social-t li a {
        float: left;
        width: 35px;
        height: 35px;
        box-shadow: 0px 5px 19.53px 1.47px rgb(85 80 98 / 19%);
        display: block;
        margin-left: 3px;
        border-radius: 50%;
        line-height: 35px;
        color: #fff;
    }
    .beiefet-t {
        padding-top: 0px;
    }
    .up-event {
        background: #fff;
        padding: 15px;
        position: relative;
    }
    .upcoming-event .col-md-3 {
        padding: 0px 5px;
    }
    .blog-con {
        margin-top: 0;
        width: 56%;
    }
    .top-bar {
        display: none
    }
     
    .pb-90 {
        padding-bottom: 40px;
    }

    .pt-90 {
        padding-top: 40px;
    }
     
    .pl-100 {
        padding-left: 50px;
    }
  
    .pt-60 {
        padding-top: 30px;
    }

    .pb-60 {
        padding-bottom: 30px;
    }
  
    .text-line h1 {
        font-size: 75px !important;
        color: #fff;
    }

    .sub-banner {
        padding: 100px 0;
        margin-bottom: 50px;
    }

    .pl-70 {
        padding-left: 30px;
    }

    .pt-120 {
        padding-top: 10px;
    }

    p {
        font-size: 16px !IMPORTANT;
        line-height: 23px !IMPORTANT;
    }
 

    .pr-40 {
        padding-right: 15px;
    }

    .pl-40 {
        padding-left: 15px;
    }
 
    .main-header .nav-outer .mobile-nav-toggler {
        display: block !important;
        position: relative;
        top: 0;
        right: 0;
        color: #de8d38;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
        z-index: 100;
    }
    .nav-outer {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-top: 5px;
    }
    .white-bg {
        padding: 10px 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .logo-box img {
        max-width: 180px !important;
    }
    .min-s h3, .why-sec h3 {
        font-size: 19px;
    }
    .pb-170 {
        padding-bottom: 100px;
    }
    .min-s p, .con-ser p{
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        white-space: normal;
        overflow: hidden;
    }
    .Contact-det .col-md-6:last-child {
        display: none;
    }
    .Contact-det .col-md-6:first-child {
        width: 100% !IMPORTANT;
        max-width: 100% !IMPORTANT;
        flex: 100%;
    }
    .main-menu .navbar-collapse {
        display: none !important;
    }

    .main-menu .navigation > li > ul, .main-menu .navigation > li > ul > li > ul {
        display: block !important;
        visibility: hidden;
        opacity: 0;
    }

    .main-menu .navigation > li {
        margin-right: 18px;
        margin-left: 0px;
    }

        .main-menu .navigation > li > a {
            font-size: 14px;
        }

        .po-icon2 {
            position: absolute;
            top: 181px;
            right: -105px;
            background: #ffbf0a;
            width: 35px;
            height: 35px;
            line-height: 35px;
            text-align: center;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
        }

}

@media only screen and (min-width:992px) and (max-width:1349px) {
    .reshead {
        margin-top: 5em;
    }
    .white-bg {
        padding: 12px 25px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        border-radius: 40px !important;
        width: 98% !important;
        margin: 15px auto !important;
    }
    .logo-box img {
        max-width: 160px !important;
    }
    .main-menu .navigation > li {
        margin-right: 12px !important;
        margin-left: 0px !important;
    }
    .main-menu .navigation > li > a {
        font-size: 13px !important;
        padding: 5px 0 !important;
    }
    .nav-icon {
        margin-right: 3px !important;
        font-size: 12px !important;
    }
    .po-icon2 {
        position: absolute;
        top: 263px;
        right: -105px;
        background: #ffbf0a;
        width: 35px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
    }
}
@media only screen and (min-width:768px) and (max-width:1024px) {
    .sub-bg {
        padding-left: 60px !important;
        padding-right: 0 !important;
    }
    .sub-bg:before {
        left: 0 !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    .sub-bg1 {
        font-size: 23px;
        padding-left: 110px !important;
        padding-right: 0 !important;
        margin: 15px 0;
        margin-bottom: 1em;
    }
    .sub-bg1:before {
        left: 15px !important;
        top: 50% !important;
        right: auto !important;
        transform: translateY(-50%) !important;
    }
    .reshead{
        margin-top: 5em;
    }
}
@media only screen and (min-width:360px) and (max-width:896px) {

.play-i a {
    background: #09931f;
    padding: 10px 12px;
    color: #fff;
    border-radius: 5px;
    font-size: 22px;
}

}

/* ============================================================
   SLIDER & BANNER - RESPONSIVE FIXES (all breakpoints)
   ============================================================ */

/* Product slider card - mobile stacked layout */
@media only screen and (max-width: 767px) {
    .service-carousel .item.row {
        flex-direction: column !important;
        margin: 10px 5px 20px 5px;
        min-height: unset;
    }
    .service-carousel .item.row .col-md-5,
    .service-carousel .item.row .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .service-img {
        min-height: 220px !important;
    }
    .con-ser {
        padding: 24px 20px !important;
        border-left: none !important;
        border-top: 4px solid #09931f;
    }
    .con-ser h3 { font-size: 18px; }
    .con-ser p { font-size: 14px; }
}

/* Remove any gap between slider and content */
.parallax { margin-top: 80px; }

/* Small phones: <= 480px (iPhone SE etc.) */
@media only screen and (max-width: 480px) {

    .main-sliderr { 
        height: 260px !important; 
        margin-top: 0 !important;
    }
    .untitled { height: 260px !important; }
    .untitled__slides { height: 260px !important; }
    .untitled__slideBg { height: 260px !important; }

    .untitled__slideContent {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        padding: 10px 14px !important;
        width: 90% !important;
        border-radius: 6px !important;
    }
    .untitled__slide.active .untitled__slideContent span:first-child {
        font-size: 24px !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    .untitled__slide.active .sub-header,
    .sub-header {
        font-size: 24px !important;
        padding-top: 5px !important;
        max-width: 100% !important;
    }

    .slider-controls { padding: 0 8px; }
    .control-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
        border-radius: 4px !important;
    }
}

/* Large phones: 481px - 767px */
@media only screen and (min-width: 481px) and (max-width: 767px) {

    .main-sliderr { 
        height: 360px !important; 
        margin-top: 0 !important;
    }
    .untitled { height: 360px !important; }
    .untitled__slides { height: 360px !important; }
    .untitled__slideBg { height: 360px !important; }

    .untitled__slideContent {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        padding: 14px 20px !important;
        width: 82% !important;
    }
    .untitled__slide.active .untitled__slideContent span:first-child {
        font-size: 30px !important;
        max-width: 100% !important;
    }
    .untitled__slide.active .sub-header,
    .sub-header { 
        font-size: 30px !important;
        max-width: 100% !important;
    }

    .slider-controls { padding: 0 12px !important; }
    .control-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }
}
@media (min-width: 1027px) and (max-width: 1365px) {
    .contain_1 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
        padding-bottom: 10px;
    }
    .cert-box {
        flex: 0 0 auto;
    }
    .cert-box .image {
        width: 120px;
    }
}
@media (min-width: 1024px) and (max-width: 1100px) {
    .contain_1 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        padding-bottom: 10px;
    }
    .cert-box {
        flex: 0 0 auto;
    }
    .cert-box .image {
        width: 105px;
    }
}
@media (min-width: 1000px) and (max-width: 1100px) {
    .contain_1 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 5px;
    }
    .cert-box {
        flex: 0 0 auto;
    }
    .cert-box .image {
        width: 105px;
        height: auto;
    }
}
@media (min-width: 1150px) and (max-width: 1200px) {
    .contain_1 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
        padding: 10px;
    }
    .cert-box {
        flex: 0 0 auto;
    }
    .cert-box .image {
        width: 130px;
        height: auto;
    }
}
/* Tablet: 768px - 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {

    .main-sliderr { 
        height: 460px !important; 
        margin-top: 0 !important;
    }
    .untitled { height: 460px !important; }
    .untitled__slides { height: 460px !important; }
    .untitled__slideBg { height: 460px !important; }

    .untitled__slideContent {
        top: 55% !important;
        padding: 18px 28px !important;
        width: 75% !important;
    }
    .untitled__slide.active .untitled__slideContent span:first-child {
        font-size: 38px !important;
        max-width: 100% !important;
    }
    .untitled__slide.active .sub-header,
    .sub-header { 
        font-size: 38px !important;
        max-width: 100% !important;
    }

    .control-btn {
        width: 48px !important;
        height: 48px !important;
        font-size: 17px !important;
    }
    .slider-controls { padding: 0 16px !important; }
    .control-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
    }
}

/* Desktop: >= 992px */
@media only screen and (min-width: 992px) {
    .main-sliderr { 
        height: 700px !important;
        margin-top: 0 !important;
    }
    .untitled { height: 700px !important; }
    .untitled__slides { height: 700px !important; }
    .untitled__slideBg { height: 700px !important; }
}
/* iPad Pro Portrait & Landscape */
@media only screen and (min-width:1024px) and (max-width:1366px) {
    .white-bg {
        max-width: 1200px !important;
        margin: 20px auto !important;
        padding: 18px 40px !important;
        border-radius: 40px !important;
        flex-wrap: nowrap !important;
        width: 98vw !important;
    }
    .main-header {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        position: fixed !important;
        z-index: 1000;
    }
    .main-menu .navigation > li {
        margin-right: 18px !important;
    }
    .main-menu .navigation > li > a {
        font-size: 17px !important;
    }
    .logo-box img {
        max-width: 180px !important;
    }
    .main-slider, .fullwidthbanner-container, .subbanner {
        margin-top: 0 !important;
        width: 100vw !important;
        left: 0 !important;
    }
}
@media (min-width: 1027px) and (max-width: 1365px) {

    .table-responsive {
        overflow-x: auto;
    }

    table {
        min-width: 900px; /* prevents cutting */
        width: 100%;
    }

    th, td {
        font-size: 13px;
        padding: 10px;
    }

    /* Reduce container padding */
    .container {
        padding: 0 15px;
    }
}
/* Google Nest Hub (1024x600) */
@media only screen and (min-width:1000px) and (max-width:1100px) and (max-height:700px) {
    .white-bg {
        max-width: 100vw !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        border-radius: 0 !important;
    }
    .main-header {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        position: fixed !important;
        z-index: 1000;
    }
    .main-menu .navigation > li > a {
        font-size: 15px !important;
    }
    .logo-box img {
        max-width: 120px !important;
    }
    .main-slider, .fullwidthbanner-container, .subbanner {
        width: 100vw !important;
        margin: 0 !important;
        left: 0 !important;
    }
}

/* Google Nest Hub Max/Pro (1280x800) */
@media only screen and (min-width:1200px) and (max-width:1300px) and (max-height:900px) {
    .white-bg {
        max-width: 100vw !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 14px 0 !important;
        border-radius: 0 !important;
    }
    .main-header {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        position: fixed !important;
        z-index: 1000;
    }
    .main-menu .navigation > li > a {
        font-size: 16px !important;
    }
    .logo-box img {
        max-width: 140px !important;
    }
    .main-slider, .fullwidthbanner-container, .subbanner {
        width: 100vw !important;
        margin: 0 !important;
        left: 0 !important;
    }
}
@media only screen and (min-width:1024px) and (max-width:1366px),
       only screen and (min-width:1000px) and (max-width:1100px) and (max-height:700px),
       only screen and (min-width:1200px) and (max-width:1300px) and (max-height:900px) {
    body, html {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #f8e9f0; /* keep your background color */
        overflow-x: hidden !important;
    }
    #main, .container, .main-container, .site-main, .content, .wrapper {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}
@media only screen and (min-width:1024px) and (max-width:1366px),
       only screen and (min-width:1000px) and (max-width:1100px) and (max-height:700px),
       only screen and (min-width:1200px) and (max-width:1300px) and (max-height:900px) {
    .main-slider, .fullwidthbanner-container, .subbanner, .banner, .section, .content, .site-main, .main-container, .container, .wrapper {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .main-slider img, .fullwidthbanner-container img, .subbanner img, .banner img {
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        display: block;
        object-fit: cover;
    }
    .white-bg {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .section, .content, .site-main, .main-container, .container, .wrapper {
        padding-left: 0px !important;
        padding-right: 20px !important;
    }
    .row, [class*="col-"] {
        box-sizing: border-box !important;
    }
}
