@media only screen and (max-width: 576px) {

    html,
    body {
        overflow-x: hidden;
    }

    .conthome {
        background-color: rgba(255, 255, 255, 0.71);
        width: 95%;
        height: 100%;
        border-radius: 18px;
        /* padding: 36px; */
    }

    .header-navbar {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
        padding: 28px;
        border-radius: 67px;
        position: relative !important;
        top: unset;
        background: #fff;
        margin-left: unset;
    }

    .news-image img {
        width: 325px;
        height: 298px;
        border-radius: 20px;
    }

    .sub-p {
        font-size: 24px;
        padding: 40px;
    }

    .form-input-box input {
        padding: 20px 10px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        width: 353px;
        border: none;
    }

    .page-banner-wrapper .section-title {
        display: flex;
        justify-content: center;
    }

    .page-banner-wrapper {
        padding-top: 165px;
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .btn-floating {
        position: fixed;
        right: 10px;
        overflow: hidden;
        width: 57px;
        height: 57px;
        border-radius: 100px;
        border: 0;
        z-index: 9999;
        color: white;
        transition: 0.2s;
        font-size: 22px;
    }

     .about-page .story-overlay {
        position: absolute;
        left: 10px;
        bottom: 55px;
        right: 0px;
        color: #fff;
        text-align: center;
    }

    .pattern1 {
        left: unset;
    }

    .left-dash {
        display: none;
    }

    .right-dash {
        display: none;
    }

    .pattern2 {
        right: unset;
    }

    .footer-contact {
        text-align: left;
    }

    .float-logo img {
        background: #fff;
        border-radius: 50%;
        margin-top: 9px;
        width: 100px;
    }

    .portfolio-title {
        font-size: 32px;
        font-weight: 700;
        color: #000;
        text-align: center;
    }

    .portfolio-desc {
        font-size: 14px;
        color: #555;
        text-align: center;
    }
    
    .about-page .overlay-tag {
    display: inline-block;
    /* background: rgba(217, 253, 118, 1); */
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 16px;
    /* width: 363px; */
}

    .ecom-p {
        display: flex;
        justify-content: center;
        margin-inline-start: unset;
        text-align: justify;
        width: unset;
    }

    .ecom-text {
        text-align: center;
        padding: 10px;
    }

    .float-logo img {
        display: none;
    }

    .footer-bottom p {
        font-size: 11px;
        color: #201a1a;
        font-weight: 600;
    }

    .description-image img {
        width: 336px;
    }

    .tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        justify-content: center;
        margin-top: 20px;
    }

    .product-description.open {
        max-height: 987px;
        opacity: 1;
        margin-top: 15px;
        padding: 30px;
        margin-right: 15%;
    }

    .banner-wrapper {
        height: 55vh;
    }

    .carousel-item .banner-image {
        height: 55vh;
        filter: brightness(0.5);
    }

    .carousel-caption .bar-head {
        background: rgba(217, 253, 118, 1);
        color: #000;
        font-size: 12px;
        width: auto;
        display: inline-block;
        font-weight: 600;
        padding: 4px 15px;
        border-radius: 20px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .product-card-wrapper {
        display: none;
    }

    .carousel-caption {
        position: absolute;
        right: 0;
        bottom: 2.25rem;
        left: 0;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        color: var(--bs-carousel-caption-color);
        text-align: center;
        width: 100%;
        padding-inline: 15px;
    }

    /* Duplicate bar-head rule removed/consolidated */
    .ban-title {
        font-family: "InriaSans-Regular", sans-serif;
        font-size: 24px;
        font-weight: 500;
        color: #fff;
        text-align: center;
        margin-top: 10px;
        line-height: 1.3;
    }

    .ban-desc {
        font-size: 14px;
        text-align: center;
        color: #eeeeee;
        font-weight: 100;
        margin-top: 10px;
        line-height: 1.5;
    }

    /* Testimonial Section Responsive */
    .testimonial-section {
        padding: 40px 0;
    }

    .testimonial-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .client-img img {
        margin: 0 auto 20px;
        max-width: 60%;
        width: auto;
    }

    .side-img {
        display: none;
        /* Hide side image on mobile to save space/clean layout, or we can keep it */
    }

    /* Or if we want to keep side image: */
    /*
    .side-img img {
        margin: 20px auto 0;
        max-width: 60%;
    }
    */
    .quote-box p {
        font-size: 16px;
        line-height: 1.6;
    }

    .quote {
        font-size: 40px;
    }

    .client-info strong {
        font-size: 16px;
    }

    .client-info span {
        font-size: 12px;
    }

    .prev-btn {
        display: none;
    }

    .next-btn {
        display: none;
    }

    .call-btns {
        display: flex;
        /* Show buttons but smaller */
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .call-btns a {
        padding: 8px 15px;
        font-size: 12px;
    }

    .ban-arrows {
        width: 20px !important;
        height: 20px !important;
    }

    .nav-link.active {
        color: #fff !important;
        background-color: #2e3192;
        border-radius: 5px;
        padding: 10px;
    }

    .scroll-top {
        display: none;
        cursor: pointer;
        position: fixed;
        bottom: 20px;
        right: 10px;
        z-index: 99;
        width: 51px;
        height: 51px;
        border-radius: 50%;
        background-color: rgb(12, 12, 12);
        color: white;
        border: none;
    }

    .page-banner-wrapper .page-banners-left h1 {
        font-weight: 500;
        font-size: 20px;
    }

    .header-top.header-add-class {
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        /* padding: 10px 0; */
    }

    .navbar-expand-lg .offcanvas .offcanvas-body {
        align-items: anchor-center;
        height: 516px;
        padding-bottom: 640px;
        background: #fff;
    }

    .solar-calculator-form .input-group {
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        width: auto;
    }

    .solar-row {
        display: unset;
    }

    .page-banner {
        height: 70vh;
        position: relative;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .cta-btn {
        margin-top: 18px;
        background: rgba(255, 255, 255, 0.95);
        color: #000;
        border-radius: 30px;
        padding: 3px 17px;
        display: inline-flex;
        gap: 8px;
        align-items: center;
        border: 1px solid #fff;
        margin-inline-start: unset;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .header-top.header-add-class {
        background-color: unset;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        /* padding: 10px 0; */
    }

    .page-banner-wrapper .section-title {
        display: flex;
        justify-content: center;
    }

    .call-btns a {
        border-radius: 50px;
        font-size: 13px;
        padding: 13px;
    }

    .header-navbar {
        position: unset !important;
    }

    .ban-arrows {
        display: none;
    }

    .ban-title {
        font-family: "InriaSans-Regular", sans-serif;
        font-size: 32px;
        font-weight: 500;
        color: #fff;
        text-align: left;
        margin-top: 15px;
    }

    .carousel-item .banner-image {
        height: 65vh;
        filter: brightness(0.5);
    }

    .banner-wrapper {
        height: 65vh;
    }

    .story-right .top-card {
        position: relative;
        border-radius: 14px;
        overflow: hidden;
        height: 300px;
        background: url(/assets/images/mks-ai.png);
        display: flex;
        align-items: center;
        justify-content: center;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .top-badge {
        display: none;
    }

    .ecom-text {
        text-align: center;
        margin-top: 35px;
    }

    .ecom-p {
        width: unset;
        display: flex;
        justify-content: center;
        margin-inline-start: 10%;
    }

    .title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 40px;
        text-align: center;
    }

    .tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        justify-content: center;
    }

    .next-btn {
        display: none;
    }

    .prev-btn {
        display: none;
    }

    .story-overlay {
        position: absolute;
        left: 145px;
        bottom: 55px;
        right: 25px;
        color: #fff;
        text-align: justify;
    }

    .page-banner {
        height: 70vh;
        position: relative;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .section-title {
        /* display: flex; */
        justify-content: center;
    }

    .cta-btn {
        margin-top: 18px;
        background: rgba(255, 255, 255, 0.95);
        color: #000;
        border-radius: 30px;
        padding: 3px 17px;
        display: inline-flex;
        gap: 8px;
        align-items: center;
        border: 1px solid #fff;
        margin-inline-start: unset;
    }

    .page-banner-right {
        text-align: center;
    }

    .page-banner-wrapper .page-banners-left h1 {
        font-weight: 500;
        font-size: 39px;
    }

    .about-page .story-overlay {
        position: absolute;
        left: 10px;
        bottom: 55px;
        right: 25px;
        color: #fff;
        text-align: left;
    }

    .pattern1 {
        left: unset;
    }

    .left-dash {
        display: none;
    }

    .right-dash {
        display: none;
    }

    .pattern2 {
        right: unset;
    }

    .footer-contact {
        text-align: left;
    }

    .nav-link.active {
        color: #fff !important;
        background-color: #2e3192;
        border-radius: 5px;
        padding: 10px;
    }

    .conthome {
        background-color: rgba(255, 255, 255, 0.71);
        width: 90%;
        height: 100%;
        border-radius: 18px;
    }

    .map {
        width: 745px;
    }

    .page-banner-wrapper {
        padding-top: 205px;
        position: relative;
        z-index: 2;
    }

    .navbar-expand-lg .offcanvas .offcanvas-body {
        align-items: anchor-center;
        height: 516px;
        padding-bottom: 640px;
        background: #fff;
    }
}

@media only screen and (min-width: 1024px) and (min-height: 1366px) {
    .call-btns a {
        border-radius: 50px;
        font-size: 13px;
        padding: 13px;
    }

    .navbar-nav {
        gap: 20px;
    }

    .header-navbar {
        position: unset !important;
    }

    .ban-arrows {
        display: none;
    }

    .ban-title {
        font-family: "InriaSans-Regular", sans-serif;
        font-size: 32px;
        font-weight: 500;
        color: #fff;
        text-align: left;
        margin-top: 15px;
    }

    .carousel-item .banner-image {
        height: 40vh;
        filter: brightness(0.5);
    }

    .banner-wrapper {
        height: 40vh;
    }

    .story-right .top-card {
        position: relative;
        border-radius: 14px;
        overflow: hidden;
        height: 300px;
        background: url(/assets/images/mks-ai.png);
        display: flex;
        align-items: center;
        justify-content: center;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .top-badge {
        display: none;
    }

    .ecom-text {
        text-align: center;
        margin-top: 35px;
    }

    .ecom-p {
        width: unset;
        display: flex;
        justify-content: center;
        margin-inline-start: 10%;
    }

    .title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 40px;
        text-align: center;
    }

    .tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        justify-content: center;
    }

    .next-btn {
        display: none;
    }

    .prev-btn {
        display: none;
    }

    .story-overlay {
        position: absolute;
        left: 145px;
        bottom: 55px;
        right: 25px;
        color: #fff;
        text-align: justify;
    }

    .page-banner {
        height: 42vh;
        position: relative;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .page-banner-wrapper.section-title {
        display: flex;
        justify-content: center;
    }

    .page-banner-wrapper {
        padding-top: 200px;
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .cta-btn {
        margin-top: 18px;
        background: rgba(255, 255, 255, 0.95);
        color: #000;
        border-radius: 30px;
        padding: 3px 17px;
        display: inline-flex;
        gap: 8px;
        align-items: center;
        border: 1px solid #fff;
        margin-inline-start: unset;
    }

    .page-banner-right {
        text-align: center;
    }

    .page-banner-wrapper .page-banners-left h1 {
        font-weight: 500;
        font-size: 39px;
    }

    .about-page .story-overlay {
        position: absolute;
        left: 10px;
        bottom: 55px;
        right: 25px;
        color: #fff;
        text-align: center;
    }

    .pattern1 {
        left: unset;
    }

    .left-dash {
        display: none;
    }

    .right-dash {
        display: none;
    }

    .pattern2 {
        right: unset;
    }

    .footer-contact {
        text-align: left;
    }

    .nav-link.active {
        color: #fff !important;
        background-color: #2e3192;
        border-radius: 5px;
        padding: 10px;
    }

    .conthome {
        background-color: rgba(255, 255, 255, 0.71);
        width: 90%;
        height: 100%;
        border-radius: 18px;
    }

    .map {
        width: 745px;
    }

    .float-logo img {
        display: none;
    }

    .image-box img {
        width: 100%;
        height: 270px !important;
        display: block;
    }

    .blog-section p {
        text-align: justify;
    }

    .header-top.header-add-class {
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        /* padding: 10px 0; */
    }

    .page-banner-wrapper .section-title {
        display: flex;
        justify-content: center;
    }

    .overlay-tag {
        display: inline-block;
        /* background: rgba(217, 253, 118, 1); */
        color: #ffffff;
        padding: 6px 14px;
        border-radius: 18px;
        font-weight: 700;
        font-size: 15px;
        /* width: 363px; */
    }
}

@media only screen and (width: 540px) and (min-height: 720px) {

    html,
    body {
        overflow-x: hidden;
    }

    .conthome {
        background-color: rgba(255, 255, 255, 0.71);
        width: 95%;
        height: 100%;
        border-radius: 18px;
        /* padding: 36px; */
    }

    .header-navbar {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
        padding: 28px;
        border-radius: 67px;
        position: relative !important;
        top: unset;
        background: #fff;
        margin-left: unset;
    }

    .news-image img {
        width: 325px;
        height: 298px;
        border-radius: 20px;
    }

    .sub-p {
        font-size: 24px;
        padding: 40px;
    }

    .form-input-box input {
        padding: 20px 10px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        width: 353px;
        border: none;
    }

    .page-banner-wrapper .section-title {
        display: flex;
        justify-content: center;
    }

    .page-banner-wrapper {
        padding-top: 165px;
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .cta-btn {
        margin-top: 18px;
        background: rgba(255, 255, 255, 0.95);
        color: #000;
        border-radius: 30px;
        padding: 3px 17px;
        display: inline-flex;
        gap: 8px;
        align-items: center;
        border: 1px solid #fff;
        margin-inline-start: unset;
    }

    .about-page .story-overlay {
        position: absolute;
        left: 10px;
        bottom: 55px;
        right: 25px;
        color: #fff;
        text-align: center;
    }

    .pattern1 {
        left: unset;
    }

    .left-dash {
        display: none;
    }

    .right-dash {
        display: none;
    }

    .pattern2 {
        right: unset;
    }

    .footer-contact {
        text-align: left;
    }

    .float-logo img {
        background: #fff;
        border-radius: 50%;
        margin-top: 9px;
        width: 100px;
    }

    .portfolio-title {
        font-size: 32px;
        font-weight: 700;
        color: #000;
        text-align: center;
    }

    .portfolio-desc {
        font-size: 14px;
        color: #555;
        text-align: center;
    }

    .ecom-p {
        display: flex;
        justify-content: center;
        margin-inline-start: unset;
        text-align: justify;
        width: unset;
    }

    .ecom-text {
        text-align: center;
        padding: 10px;
    }

    .float-logo img {
        display: none;
    }

    .footer-bottom p {
        font-size: 11px;
        color: #201a1a;
        font-weight: 600;
    }

    .description-image img {
        width: 336px;
    }

    .tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        justify-content: center;
        margin-top: 20px;
    }

    .product-description.open {
        max-height: 987px;
        opacity: 1;
        margin-top: 15px;
        padding: 30px;
        margin-right: 15%;
    }

    .banner-wrapper {
        height: 55vh;
    }

    .carousel-item .banner-image {
        height: 55vh;
        filter: brightness(0.5);
    }

    .product-card-wrapper {
        display: none;
    }

    .carousel-caption {
        position: absolute;
        right: 0;
        bottom: 2.25rem;
        left: 0;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        color: var(--bs-carousel-caption-color);
        text-align: center;
        width: 100%;
        padding-inline: 15px;
    }

    .carousel-caption .bar-head {
        background: rgba(217, 253, 118, 1);
        color: #000;
        font-size: 12px;
        width: auto;
        display: inline-block;
        font-weight: 600;
        padding: 4px 15px;
        border-radius: 20px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .ban-title {
        font-family: "InriaSans-Regular", sans-serif;
        font-size: 24px;
        font-weight: 500;
        color: #fff;
        text-align: center;
        margin-top: 10px;
        line-height: 1.3;
    }

    .ban-desc {
        font-size: 14px;
        text-align: center;
        color: #eeeeee;
        font-weight: 100;
        margin-top: 10px;
        line-height: 1.5;
    }

    .prev-btn {
        display: none;
    }

    .next-btn {
        display: none;
    }

    .call-btns {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .call-btns a {
        padding: 8px 15px;
        font-size: 12px;
    }

    .ban-arrows {
        width: 20px !important;
        height: 20px !important;
    }

    .nav-link.active {
        color: #fff !important;
        background-color: #2e3192;
        border-radius: 5px;
        padding: 10px;
    }

    .scroll-top {
        display: none;
        cursor: pointer;
        position: fixed;
        bottom: 20px;
        right: 10px;
        z-index: 99;
        width: 51px;
        height: 51px;
        border-radius: 50%;
        background-color: rgb(12, 12, 12);
        color: white;
        border: none;
    }

    .page-banner-wrapper .page-banners-left h1 {
        font-weight: 500;
        font-size: 20px;
    }

    .header-top.header-add-class {
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        /* padding: 10px 0; */
    }

    .navbar-expand-lg .offcanvas .offcanvas-body {
        align-items: anchor-center;
        height: 516px;
        padding-bottom: 640px;
        background: #fff;
    }
}