/* ---------- DESKTOP ---------- */
.custom-about .subtitle {
    font-size: 18px;
}

.custom-about .experience-white h1 {
    color: #ffffff;
}

.custom-about .experience-white div {
    color: #ffffff;
}

.icofont-quote-left:before {
    color: #ffffff;
}

.testimonial-responsive .item h3 {
    color: #ffffff;
}

.testimonial-responsive .item span {
    color: #ffffff;
}

.custom-about h2 {
    font-size: 42px;
}

.custom-about p {
    font-size: 16px;
    line-height: 1.7;
}

/* ---------- TABLET (≤1024px) ---------- */
@media (max-width: 1024px) {

    .custom-about .subtitle {
        font-size: 17px;
        text-align: center;
    }

    .custom-about h2 {
        font-size: 48px;
        text-align: left;
    }

    .custom-about p {
        font-size: 16px;
        text-align: justify;
    }


}

/* ---------- MOBILE (≤768px) ---------- */
@media (max-width: 768px) {

    .custom-about {
        padding: 40px 15px;
    }

    .custom-about .subtitle {
        font-size: 16px;
        text-align: center;
    }

    .custom-about h2 {
        font-size: 40px;
        text-align: center;
    }

    .custom-about p {
        font-size: 16px;
        text-align: justify;
    }

    /* Experience box text only */
    .custom-about .experience-white h1 {
        font-size: 48px;
    }

    .custom-about .experience-white div {
        font-size: 14px;
    }
}

/* ---------- MOBILE (≤768px) ---------- */
@media (max-width: 500px) {

    .custom-about {
        padding: 30px 15px !important;
    }

    .custom-about .subtitle {
        font-size: 15px;
        text-align: center;
    }

    .custom-about h2 {
        font-size: 28px;
        text-align: center;
    }

    .custom-about p {
        font-size: 15px;
        text-align: justify;
    }

    /* Experience box text only */
    .custom-about .experience-white h1 {
        font-size: 48px;
    }

    .custom-about .experience-white div {
        font-size: 14px;
    }
}

/* ---------- SMALL MOBILE (≤425px) ---------- */
@media (max-width: 425px) {

    .custom-about h2 {
        font-size: 28px;
    }

    .custom-about .subtitle {
        font-size: 15px;
    }

    .custom-about p {
        font-size: 15px;
    }

    .custom-about .experience-white h1 {
        font-size: 40px;
    }
}

/* ---------- EXTRA SMALL (≤320px) ---------- */
@media (max-width: 320px) {

    .custom-about h2 {
        font-size: 28px;
    }

    .custom-about .subtitle {
        font-size: 15px;
    }

    .custom-about p {
        font-size: 15px;
    }

}


/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-responsive .sw-caption {
        padding: 100px 0 60px;
    }

    .hero-responsive h1 {
        font-size: 52px !important;
    }

    .hero-responsive .col-lg-4.hero-btn-wrap {
        max-width: 100%;
        width: 100%;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .hero-responsive .sw-caption {
        padding: 80px 0 40px;
    }

    .hero-responsive h1 {
        font-size: 36px !important;
        margin-bottom: 16px !important;
    }

    .hero-responsive .subtitle {
        font-size: 13px;
    }

    .hero-responsive p {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-responsive .col-lg-4.hero-btn-wrap {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
    }

    .hero-responsive .btn-main {
        width: 100%;
        text-align: center;
        display: block;
    }

    .hero-responsive .swiper-button-prev,
    .hero-responsive .swiper-button-next {
        display: none;
    }
}

.hero-responsive .container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 576px) {
    .hero-responsive .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 576px) {
    .hero-responsive .btn-main {
        width: auto !important;
        display: inline-block !important;
    }
}

@media (max-width: 576px) {
    .hero-responsive .btn-main {
        width: auto !important;
        display: inline-block !important;
    }

    .hero-responsive .swiper-button-prev,
    .hero-responsive .swiper-button-next {
        display: flex !important;
        top: 50%;
        transform: translateY(-100%);
    }

    .hero-responsive h1 {
        font-size: 34px !important;
    }
}

@media (max-width: 576px) {
    .hero-responsive .swiper-button-prev {
        display: flex !important;
        left: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .hero-responsive .swiper-button-next {
        display: flex !important;
        right: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .hero-responsive .sw-caption .container {
        padding-left: 45px !important;
        padding-right: 45px !important;
    }

    .hero-responsive h1 {
        font-size: 34px !important;
    }

    .hero-responsive .btn-main {
        width: auto !important;
        display: inline-block !important;
    }
}

@media (max-width: 576px) {
    .hero-responsive .swiper-button-prev {
        display: flex !important;
        left: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .hero-responsive .swiper-button-next {
        display: flex !important;
        right: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .hero-responsive .sw-caption .container {
        padding-left: 45px !important;
        padding-right: 45px !important;
    }

    .hero-responsive h1 {
        font-size: 34px !important;
    }

    .hero-responsive .btn-main {
        width: auto !important;
        display: inline-block !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .hero-responsive .swiper-button-prev {
        display: flex !important;
        left: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .hero-responsive .swiper-button-next {
        display: flex !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .hero-responsive .sw-caption .container {
        padding-left: 55px !important;
        padding-right: 55px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-responsive .swiper-button-prev {
        display: flex !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .hero-responsive .swiper-button-next {
        display: flex !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .hero-responsive .sw-caption .container {
        padding-left: 65px !important;
        padding-right: 65px !important;
    }
}


/* Mobile */
@media (max-width: 576px) {

    section.services-responsive .col-lg-6 h2,
    section.services-responsive h2.wow {
        font-size: 28px !important;
    }

    section.services-responsive .col-lg-6 p,
    section.services-responsive p.lead {
        font-size: 15px !important;
        text-align: justify !important;
    }
}

/* 768px Tablet */
@media (min-width: 577px) and (max-width: 768px) {

    section.services-responsive .col-lg-6 h2,
    section.services-responsive h2.wow {
        font-size: 40px !important;
    }

    section.services-responsive p.lead {
        text-align: justify !important;
    }
}

/* 1024px Tablet */
@media (min-width: 769px) and (max-width: 1024px) {

    section.services-responsive .col-lg-6 h2,
    section.services-responsive h2.wow {
        font-size: 48px !important;
    }

    section.services-responsive p.lead {
        text-align: center !important;
    }
}


/* 1024px Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    section.services-responsive .col-lg-6 {
        width: 100% !important;
        max-width: 80% !important;
        flex: 0 0 100% !important;
    }

    section.services-responsive h2 {
        font-size: 48px !important;
    }

    section.services-responsive p.lead {
        text-align: center !important;
    }
}

/* 1024px Tablet */
@media (min-width: 769px) and (max-width: 1280px) {
    section.services-responsive .col-lg-6 {
        width: 100% !important;
        max-width: 80% !important;
        flex: 0 0 100% !important;
    }

    section.services-responsive h2 {
        font-size: 48px !important;
    }

    section.services-responsive p.lead {
        text-align: center !important;
    }
}



/* Mobile */
@media (max-width: 576px) {
    section.projects-responsive h2 {
        font-size: 28px !important;
    }

    section.projects-responsive p.lead {
        font-size: 15px !important;
        text-align: justify !important;
    }
}

/* 1024px Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    section.projects-responsive .col-lg-6 {
        width: 100% !important;
        max-width: 80% !important;
        flex: 0 0 100% !important;
    }

    section.projects-responsive h2 {
        font-size: 48px !important;
    }

    section.projects-responsive p.lead {
        text-align: center !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    section.why-solar-responsive .subtitle {
        font-size: 16px !important;
        text-align: center !important;
        display: block !important;
        padding-top: 30px;
    }

    section.why-solar-responsive h2 {
        font-size: 28px !important;
        text-align: center !important;
    }

    section.why-solar-responsive p {
        font-size: 15px !important;
        text-align: justify !important;
    }

    section.why-solar-responsive .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    section.why-solar-responsive .w-90 {
        width: 100% !important;
    }

    section.why-solar-responsive .w-50.abs {
        position: relative !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    section.why-solar-responsive .mb-min-50 {
        margin-bottom: 0 !important;
    }
}

/* 768px Tablet */
@media (min-width: 577px) and (max-width: 768px) {
    section.why-solar-responsive h2 {
        font-size: 40px !important;
    }

    section.why-solar-responsive .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    section.why-solar-responsive .w-90 {
        width: 100% !important;
    }

    section.why-solar-responsive .w-50.abs {
        position: relative !important;
        width: 60% !important;
        margin-top: 15px !important;
    }
}

/* 1024px Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    section.why-solar-responsive h2 {
        font-size: 48px !important;
    }

    section.why-solar-responsive p {
        text-align: justify !important;
    }
}

@media (max-width: 576px) {
    section.why-solar-responsive .col-lg-6 .relative h4 {
        text-align: center !important;
        margin-top: 20px;
    }

    section.why-solar-responsive .col-lg-6 .relative p {
        text-align: center !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    section.about-responsive .subtitle.id-color {
        text-align: center !important;
        display: block !important;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    section.about-responsive .subtitle.id-color {
        text-align: left !important;
        display: block !important;
    }


}

@media (max-width: 768px) {
    section.about-responsive .subtitle.id-color {
        text-align: center !important;
        display: block !important;
    }


}


@media (max-width: 768px) {
    .testimonial-text {
        font-size: 16px !important;
    }

    .client-name {
        font-size: 14px !important;
    }
}


@media (max-width: 768px) {

    /* Reset the relative container */
    .why-solar-responsive .col-lg-6:first-child .relative {
        position: relative !important;
        width: 100% !important;
        height: 320px !important;

    }

    /* Main large image - top left */
    .why-solar-responsive .rounded-1.w-90 {
        width: 70% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1 !important;
    }

    .why-solar-responsive .rounded-1.w-90 img {
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
    }

    /* Bottom right small image */
    .why-solar-responsive .rounded-1.w-50.abs.mb-min-50 {
        width: 55% !important;
        position: absolute !important;
        top: 80px !important;
        right: 0 !important;
        bottom: unset !important;
        z-index: 2 !important;
    }

    .why-solar-responsive .rounded-1.w-50.abs.mb-min-50 img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
    }

    /* 80% badge - bottom left */
    .why-solar-responsive .bg-blur.abs {
        position: absolute !important;
        width: 110px !important;
        bottom: 0 !important;
        left: 0 !important;
        top: unset !important;
        margin: 0 !important;
        padding: 8px !important;
        z-index: 4 !important;
    }

    .why-solar-responsive .bg-blur h2 {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }

    .why-solar-responsive .bg-blur p {
        font-size: 10px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }
}


@media (max-width: 768px) and (min-width: 768px) {

    .why-solar-responsive .wow {
        visibility: visible !important;
        animation: none !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 {
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0 !important;
        margin: 0 !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 .col-lg-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 30px !important;
        margin: 0 !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 .h-100,
    .why-solar-responsive .col-lg-6:last-child .row.g-4 .relative {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .why-solar-responsive .col-lg-6:last-child .subtitle,
    .why-solar-responsive .col-lg-6:last-child h2,
    .why-solar-responsive .col-lg-6:last-child .row.g-4 .relative {
        text-align: center !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 h4 {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
    }
}


@media (max-width: 480px) {

    .why-solar-responsive .wow {
        visibility: visible !important;
        animation: none !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 {
        --bs-gutter-y: 0 !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 .h-100,
    .why-solar-responsive .col-lg-6:last-child .row.g-4 .relative {
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (max-width: 576px) {

    .why-solar-responsive .wow {
        visibility: visible !important;
        animation: none !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 .h-100,
    .why-solar-responsive .col-lg-6:last-child .row.g-4 .relative {
        height: auto !important;
        min-height: 0 !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 {
        --bs-gutter-y: 0 !important;
    }

    @media (max-width: 576px) {

        .why-solar-responsive .col-lg-6:last-child .row.g-4 .col-lg-6 {
            padding-bottom: 15px !important;
        }

    }
}

@media (max-width: 576px) {

    .why-solar-responsive .wow {
        visibility: visible !important;
        animation: none !important;
    }



    .why-solar-responsive .col-lg-6:last-child .row.g-4 {
        --bs-gutter-y: 0 !important;
    }

    .why-solar-responsive .col-lg-6:last-child .row.g-4 .h-100,
    .why-solar-responsive .col-lg-6:last-child .row.g-4 .relative {
        height: auto !important;
        min-height: 0 !important;
    }

}

@media (max-width: 768px) and (min-width: 577px) {

    .why-solar-responsive .col-lg-6:last-child .subtitle {
        text-align: center !important;
        display: block !important;
    }

}

@media (max-width: 576px) {

    .testimonial-responsive .item h3 {
        font-size: 20px !important;
    }

    .testimonial-responsive .item span {
        color: #ffffff !important;
    }

}

@media (max-width: 768px) {

    .testimonial-responsive .item h3 {
        font-size: 20px !important;
    }

    .testimonial-responsive .item span {
        color: #ffffff !important;
    }

}

@media (max-width: 1024px) {

    .testimonial-responsive .item h3 {
        font-size: 22px !important;
    }

    .testimonial-responsive .item span {
        color: #ffffff !important;
    }

}


/* ===================== */
/* TABLET (768px–1024px) */
/* ===================== */
@media (min-width: 768px) and (max-width: 1024px) {

    /* spacing */
    .contact-color {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* center content properly */
    .grid-divider .d-flex {
        justify-content: flex-start !important;
    }

    /* icon size adjust */
    .fs-60 {
        font-size: 45px;
    }

    /* text spacing */
    .grid-divider h4 {
        font-size: 18px;
    }

    .grid-divider p {
        font-size: 14px;
        text-align: left;
    }
}


/* ===================== */
/* MOBILE (<768px) */
/* ===================== */
@media (max-width: 767px) {

    /* show stacked layout */
    .grid-divider {
        display: block !important;
    }

    .contact-color {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* center each item */
    .grid-divider .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 40px;
    }

    .grid-divider .ms-3 {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    /* icon */
    .fs-60 {
        font-size: 40px;
    }

    /* spacing between items */
    .mb-sm-30 {
        margin-bottom: 20px;
    }

    .grid-divider h4 {
        font-size: 16px;
    }

    .grid-divider p {
        font-size: 14px;
    }
}


/* ===================== */
/* SMALL MOBILE (<480px) */
/* ===================== */
@media (max-width: 480px) {

    .fs-60 {
        font-size: 35px;
    }

    .grid-divider h4 {
        font-size: 15px;
    }

    .grid-divider p {
        font-size: 13px;
        text-align: center;
    }
}

/* MOBILE + TABLET */
@media (max-width: 1024px) {

    /* remove left border */
    .grid-divider>div {
        border-left: none !important;
    }

    /* add bottom border */
    .grid-divider>div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        /* adjust color if needed */

    }

    /* remove border from last item */
    .grid-divider>div:last-child {
        border-bottom: none;
    }
}

/* MOBILE + TABLET */
@media (max-width: 1024px) {

    /* remove any left border */
    .grid-divider>div,
    .grid-divider>div * {
        border-left: none !important;

    }

    /* 🔥 kill vertical divider (pseudo elements) */
    .grid-divider::before,
    .grid-divider::after,
    .grid-divider>div::before,
    .grid-divider>div::after {
        display: none !important;
        content: none !important;
        border: none !important;
        background: none !important;
    }

    /* add bottom divider */
    .grid-divider>div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;

    }

    /* remove last one */
    .grid-divider>div:last-child {
        border-bottom: none !important;
    }
}

/* ===================== */
/* TABLET (768px–1024px) */
/* ===================== */
@media (min-width: 768px) and (max-width: 1024px) {

    /* 🔥 force show */
    .sm-hide {
        display: block !important;
        visibility: visible !important;
    }

}

/* ===================== */
/* TABLET (768px–1024px) */
/* ===================== */
@media (min-width: 768px) and (max-width: 1024px) {

    /* show section */
    .grid-divider.sm-hide {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: left;
    }

    /* default: 2 columns */
    .grid-divider>div {
        width: 50%;
        border-left: none !important;
    }

    /* center content inside */
    .grid-divider .d-flex {
        justify-content: center;
        text-align: left;
    }

    /* 🔥 last item full width + centered */
    .grid-divider>div:last-child {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 0px;
    }

    /* optional: control inner width so it doesn't stretch too much */
    .grid-divider>div:last-child .d-flex {
        max-width: 300px;
        width: 100%;
    }

    /* bottom borders */
    .grid-divider>div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 15px;


        /* remove last border */
        .grid-divider>div:last-child {
            border-bottom: none;
        }
    }


    /* ===================== */
    /* TABLET (768px – 1024px) */
    /* ===================== */
    @media (min-width: 900px) and (max-width: 1024px) {
        #subheader .container {
            padding-left: 50px;
            padding-right: 50px;
        }
    }

    /* Target only this section */
    @media (max-width: 768px) {

        section .col-lg-6:last-child .subtitle,
        section .col-lg-6:last-child h2 {
            text-align: center;
        }

    }

    /* ===================== */
    /* 768px ONLY (all sides padding) */
    /* ===================== */
    @media (min-width: 768px) and (max-width: 991px) {
        #subheader .container {
            padding: 0px 50px 50px 50px;
            /* top right bottom left */
        }
    }

    /* ===================== */
    /* MOBILE (<768px) */
    /* ===================== */
    @media (max-width: 767px) {
        #subheader .container {
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    /* ===================== */
    /* SMALL MOBILE (<480px) */
    /* ===================== */
    @media (max-width: 480px) {
        #subheader .container {
            padding-left: 12px;
            padding-right: 12px;
        }
    }


    @media (max-width: 768px) {
        .sw-caption .d-flex {
            gap: 12px;
            flex-wrap: wrap;
        }

        .sw-caption .d-flex h6 {
            margin-bottom: 0;
        }
    }

    @media (max-width: 768px) {
        .sm-hide {
            display: none !important;
        }
    }

    @media (max-width: 768px) {
        .custom-about .relative {
            min-height: 320px;
        }
    }


    /* ===================== */
    /* TABLET (768px–1024px) */
    /* ===================== */
    @media (min-width: 768px) and (max-width: 1024px) {

        /* spacing */
        .contact-color {
            padding-left: 20px;
            padding-right: 20px;
        }

        /* center content properly */
        .grid-divider .d-flex {
            justify-content: flex-start !important;
        }

        /* icon size adjust */
        .fs-60 {
            font-size: 45px;
        }

        /* text spacing */
        .grid-divider h4 {
            font-size: 18px;
        }

        .grid-divider p {
            font-size: 14px;
            text-align: left;
        }
    }


    /* ===================== */
    /* MOBILE (<768px) */
    /* ===================== */
    @media (max-width: 767px) {

        /* show stacked layout */
        .grid-divider {
            display: block !important;
        }

        .contact-color {
            padding-left: 15px;
            padding-right: 15px;
        }

        /* center each item */
        .grid-divider .d-flex {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .grid-divider .ms-3 {
            margin-left: 0 !important;
            margin-top: 10px;
        }

        /* icon */
        .fs-60 {
            font-size: 40px;
        }

        /* spacing between items */
        .mb-sm-30 {
            margin-bottom: 20px;
        }

        .grid-divider h4 {
            font-size: 16px;
        }

        .grid-divider p {
            font-size: 14px;
        }
    }


    /* ===================== */
    /* SMALL MOBILE (<480px) */
    /* ===================== */
    @media (max-width: 480px) {

        .fs-60 {
            font-size: 35px;
        }

        .grid-divider h4 {
            font-size: 15px;
        }

        .grid-divider p {
            font-size: 13px;
            text-align: center;
        }
    }

    /* MOBILE + TABLET */
    @media (max-width: 1024px) {

        /* remove left border */
        .grid-divider>div {
            border-left: none !important;
        }

        /* add bottom border */
        .grid-divider>div {
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            /* adjust color if needed */
            padding-bottom: 15px;
            margin-bottom: 15px;
        }

        /* remove border from last item */
        .grid-divider>div:last-child {
            border-bottom: none;
        }
    }

    /* MOBILE + TABLET */
    @media (max-width: 1024px) {

        /* remove any left border */
        .grid-divider>div,
        .grid-divider>div * {
            border-left: none !important;
        }

        /* 🔥 kill vertical divider (pseudo elements) */
        .grid-divider::before,
        .grid-divider::after,
        .grid-divider>div::before,
        .grid-divider>div::after {
            display: none !important;
            content: none !important;
            border: none !important;
            background: none !important;
        }

        /* add bottom divider */
        .grid-divider>div {
            border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
            padding-bottom: 15px;
            margin-bottom: 15px;
        }

        /* remove last one */
        .grid-divider>div:last-child {
            border-bottom: none !important;
        }
    }

    /* ===================== */
    /* TABLET (768px–1024px) */
    /* ===================== */
    @media (min-width: 768px) and (max-width: 1024px) {

        /* 🔥 force show */
        .sm-hide {
            display: block !important;
            visibility: visible !important;
        }

    }

    /* ===================== */
    /* TABLET (768px–1024px) */
    /* ===================== */
    @media (min-width: 768px) and (max-width: 1024px) {

        /* show section */
        .grid-divider.sm-hide {
            display: flex !important;
            flex-wrap: wrap;
            justify-content: left;
        }

        /* default: 2 columns */
        .grid-divider>div {
            width: 50%;
            border-left: none !important;
        }

        /* center content inside */
        .grid-divider .d-flex {
            justify-content: center;
            text-align: left;
        }

        /* 🔥 last item full width + centered */
        .grid-divider>div:last-child {
            width: 100%;
            display: flex;
            justify-content: center;

        }

        /* optional: control inner width so it doesn't stretch too much */
        .grid-divider>div:last-child .d-flex {
            max-width: 300px;
            width: 100%;
        }

        /* bottom borders */
        .grid-divider>div {
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);

        }

        /* remove last border */
        .grid-divider>div:last-child {
            border-bottom: none;
            margin-bottom: 0px;
        }
    }


    /* ===================== */
    /* TABLET (768px – 1024px) */
    /* ===================== */
    @media (min-width: 900px) and (max-width: 1024px) {
        #subheader .container {
            padding-left: 50px;
            padding-right: 50px;
        }
    }

    /* Target only this section */
    @media (max-width: 768px) {

        section .col-lg-6:last-child .subtitle,
        section .col-lg-6:last-child h2 {
            text-align: center;
        }

    }

    /* ===================== */
    /* 768px ONLY (all sides padding) */
    /* ===================== */
    @media (min-width: 768px) and (max-width: 991px) {
        #subheader .container {
            padding: 0px 50px 50px 50px;
            /* top right bottom left */
        }
    }

    /* ===================== */
    /* MOBILE (<768px) */
    /* ===================== */
    @media (max-width: 767px) {
        #subheader .container {
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    /* ===================== */
    /* SMALL MOBILE (<480px) */
    /* ===================== */
    @media (max-width: 480px) {
        #subheader .container {
            padding-left: 12px;
            padding-right: 12px;
        }
    }
}

/* ===================== */
/* MOBILE SECTION SPACING REDUCTION */
/* ===================== */
@media (max-width: 768px) {
    section.services-responsive,
    section.why-solar-responsive,
    section.projects-responsive,
    section.testimonial-responsive {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

@media (max-width: 500px) {
    section.services-responsive,
    section.why-solar-responsive,
    section.projects-responsive,
    section.testimonial-responsive {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* ============================================ */
/* INSTAPOST SECTIONS                           */
/* ============================================ */

/* === SHARED: slide images === */
.insta-sidebyside .swiper-slide,
.insta-lowbill .swiper-slide,
.insta-fullwidth .swiper-slide {
    background: transparent;
}

.insta-slide-img {
    width: 80%;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    background: transparent;
    transition: transform 0.4s ease;
}

.insta-slide-img:hover {
    transform: translateY(-4px);
}

/* === SHARED: pagination bullets === */
.insta-pagination {
    bottom: 8px !important;
    text-align: center;
}

.insta-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.35;
    background: #fff;
    transition: all 0.3s ease;
}

.insta-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 26px;
    border-radius: 5px;
}

/* Light-bg section pagination */
.insta-fullwidth .insta-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

/* === SHARED: nav buttons === */
.insta-nav-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.insta-nav-btn:hover {
    background: #166b36 !important;
}

.insta-nav-btn:after {
    font-size: 16px !important;
    font-weight: 700;
}


/* ============================================ */
/* SECTION 1: SIDE-BY-SIDE                      */
/* ============================================ */
.insta-sidebyside {
    overflow: hidden;
}

.insta-sidebyside .insta-swiper-delay {
    overflow: hidden;
    padding-bottom: 45px;
    position: relative;
}

.insta-sidebyside .sbs-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
}

.insta-sidebyside .sbs-stat h3 {
    font-size: 36px;
    font-weight: 700;
}

.insta-sidebyside .sbs-stat p {
    font-size: 14px;
    opacity: 0.7;
}


/* ============================================ */
/* SECTION 2: SIDE-BY-SIDE — LOW BILL           */
/* ============================================ */
.insta-lowbill {
    overflow: hidden;
    background: #f9f9f9;
}

.insta-lowbill .insta-swiper-lowbill {
    overflow: hidden;
    padding-bottom: 45px;
    position: relative;
}

/* Feature items */
.sticky-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.sticky-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sticky-feature-item:last-child {
    border-bottom: none;
}

.sticky-feature-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-feature-item h5 {
    margin-bottom: 4px;
    font-size: 16px;
}

.sticky-feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}


/* ============================================ */
/* SECTION 3: FULL-WIDTH CAROUSEL               */
/* ============================================ */
.insta-fullwidth {
    overflow: hidden;
}

.insta-fullwidth .insta-swiper-invest {
    overflow: hidden;
    padding-bottom: 50px;
    position: relative;
}


/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */

/* --- Tablet (max 1024 / below lg) --- */
@media (max-width: 991px) {
    /* Side-by-side stacks */
    .insta-sidebyside .col-lg-5,
    .insta-sidebyside .col-lg-7 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .insta-sidebyside .col-lg-5 {
        text-align: center;
        margin-bottom: 30px;
    }

    /* Low bill section stacks */
    .insta-lowbill .col-lg-5,
    .insta-lowbill .col-lg-7 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .insta-lowbill .col-lg-5 {
        text-align: center;
        margin-bottom: 30px;
    }

    /* Features list center on tablet */
    .sticky-features {
        align-items: center;
    }

    .sticky-feature-item {
        text-align: left;
    }

    /* Image size on tablet */
    .insta-slide-img {
        width: 90%;
    }
}

/* --- Mobile (max 768) --- */
@media (max-width: 768px) {
    .insta-sidebyside h2,
    .insta-lowbill h2,
    .insta-fullwidth h2 {
        font-size: 28px !important;
    }

    .insta-sidebyside p,
    .insta-lowbill p {
        font-size: 15px;
    }

    .insta-fullwidth p.lead {
        font-size: 15px !important;
    }

    .insta-sidebyside .sbs-stat h3 {
        font-size: 28px;
    }

    .insta-nav-btn {
        width: 34px !important;
        height: 34px !important;
    }

    .insta-nav-btn:after {
        font-size: 13px !important;
    }

    .insta-slide-img {
        width: 95%;
    }

    .sticky-feature-num {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
}

/* --- Small mobile (max 500) --- */
@media (max-width: 500px) {
    .insta-sidebyside h2,
    .insta-lowbill h2,
    .insta-fullwidth h2 {
        font-size: 24px !important;
    }

    .insta-nav-btn {
        display: none !important;
    }

    .sticky-feature-item {
        padding: 10px 0;
    }

    .insta-slide-img {
        width: 100%;
        border-radius: 10px;
    }

    .insta-sidebyside .sbs-stat {
        padding: 12px;
    }

    .insta-sidebyside .sbs-stat h3 {
        font-size: 24px;
    }
}

.video-section {
  height: 500px; /* adjust height */
  position: relative;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ════════════════════════════════════════
   PM SURYA GHAR — VIDEO SECTION
════════════════════════════════════════ */
.pmsg-section {
  padding: 80px 0;
  background: #f8fdf9;
}

.pmsg-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Video */
.pmsg-video {
  flex: 0 0 48%;
  max-width: 48%;
}

.pmsg-video-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  background: #000;
}

.pmsg-video-box video {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.pmsg-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: rgba(46, 158, 79, 0.85);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(46, 158, 79, 0.4);
}

.pmsg-play-btn i {
  margin-left: 3px;
}

.pmsg-play-btn:hover {
  background: #2e9e4f;
  transform: translate(-50%, -50%) scale(1.1);
}

.pmsg-play-btn.is-playing {
  width: 48px;
  height: 48px;
  font-size: 16px;
  top: auto;
  bottom: 16px;
  left: auto;
  right: 16px;
  transform: none;
  background: rgba(255, 255, 255, 0.9);
  color: #2e9e4f;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.pmsg-play-btn.is-playing i {
  margin-left: 0;
}

.pmsg-play-btn.is-playing:hover {
  background: #2e9e4f;
  color: #fff;
  transform: scale(1.05);
}

/* Content */
.pmsg-content {
  flex: 1;
}

.pmsg-content h2 {
  font-size: 32px;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.3;
}

.pmsg-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 22px;
}

.pmsg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmsg-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
}

.pmsg-list li i {
  color: #2e9e4f;
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
  .pmsg-wrap {
    flex-direction: column;
    gap: 32px;
  }

  .pmsg-video {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .pmsg-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .pmsg-section {
    padding: 50px 0;
  }

  .pmsg-video-box video {
    height: 320px;
  }

  .pmsg-content h2 {
    font-size: 24px;
  }

  .pmsg-list li {
    font-size: 14px;
  }

  .pmsg-play-btn {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }
}


/* ════════════════════════════════════════
   PROMO / WHY NUERA — VIDEO SECTION
════════════════════════════════════════ */
.promo-vid-section {
  padding: 80px 0;
  background: #fff;
}

.promo-vid-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
}

.promo-vid-content { flex: 1; }

.promo-vid-content h2 {
  font-size: 32px;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.3;
}

.promo-vid-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 22px;
}

.promo-vid-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-vid-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
}

.promo-vid-list li i {
  color: #2e9e4f;
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.promo-vid-box-outer {
  flex: 0 0 48%;
  max-width: 48%;
}

.promo-vid-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  background: #000;
}

.promo-vid-box video {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.promo-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: rgba(46, 158, 79, 0.85);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(46, 158, 79, 0.4);
}

.promo-play-btn i { margin-left: 3px; }

.promo-play-btn:hover {
  background: #2e9e4f;
  transform: translate(-50%, -50%) scale(1.1);
}

.promo-play-btn.is-playing {
  width: 48px; height: 48px; font-size: 16px;
  top: auto; bottom: 16px; left: auto; right: 16px;
  transform: none;
  background: rgba(255,255,255,0.9);
  color: #2e9e4f;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.promo-play-btn.is-playing i { margin-left: 0; }

.promo-play-btn.is-playing:hover {
  background: #2e9e4f; color: #fff; transform: scale(1.05);
}

@media (max-width: 991px) {
  .promo-vid-wrap { flex-direction: column; gap: 32px; }
  .promo-vid-box-outer { flex: none; max-width: 100%; width: 100%; order: -1; }
  .promo-vid-content h2 { font-size: 28px; }
}

@media (max-width: 600px) {
  .promo-vid-section { padding: 50px 0; }
  .promo-vid-box video { height: 320px; }
  .promo-vid-content h2 { font-size: 24px; }
  .promo-vid-list li { font-size: 14px; }
  .promo-play-btn { width: 52px; height: 52px; font-size: 16px; }
}