
/* === Hero Section === */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 205px);
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: white;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: #5ca36d87; /* Green overlay */
    z-index: 1;
}

.overlay-2 {
    position: absolute;
    inset: 0;
    /*background-color: #5ca36d87; !* Green overlay *!*/
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 1;
    max-width: 600px;
    color: #000;
}

.hero-content h1 {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #bd850c;
    color: #000;
    font-weight: bold;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 20px;
}

.hero-content a:visited,
.hero-content .alink:visited {
    color: #000;
    text-decoration: none;
}

/* Logo box */
.logo-box {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    border: 2px solid #9900cc;
    padding: 10px 15px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.05);
    color: orange;
}

.logo-box strong {
    font-size: 14px;
}

.logo-sub {
    font-size: 11px;
    color: #cc99ff;
}

/* === Section: Installation === */
.green-section {
    background-color: #5b9b66;
}

.home-section {
    width: 80%;
    margin: 0 auto;
}

.home-section.home4 {
    width: 100%;
}

.installation-section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 50px;
    font-weight: 600;
}

.installation-section {
    text-align: center;
    margin-bottom: 100px;
}

.installation-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.slider img {
    width: 200px;
    height: auto;
    border-radius: 8px;
}

.nav-btn {
    font-size: 2rem;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* === Section: Why Choose === */
.why-heat-pump {
    font-family: sans-serif;
}

.why-heat-pump h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.icon-energy {
    background-image: url('../images/lower.png');
}

.icon-allinone {
    background-image: url('../images/allinone.png');
}

.icon-eco {
    background-image: url('../images/echo.png');
}

.icon-future {
    background-image: url('../images/future.png');
}

.feature-title h3 {
    font-size: 3.2rem;
    font-weight: bold;
    margin: 0;
}

.feature-description p {
    margin: 0;
    font-size: 2rem;
    line-height: 1.5;
}

/* === Section: Quote Services === */
.quote-services-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
    padding: 95px 0;
}

.quote-form {
    flex: 1 1 45%;
}

.quote-form h2 {
    color: #000;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.quote-form .amform-form .form-group,
.quote-form .rendered-form .fieldset .fields .field.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-form .amform-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 100px;
}

.quote-form .amform-form .control {
    flex: 1;
}

.quote-form .amform-form input {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    outline: none;
}

.quote-form .amform-form .amcform-toolbar{

}

.quote-form .amform-form .amcform-submit.action.submit.primary {
    color: #000;
    border: 1px solid #bd850c;
    float: left;
}

.amcform-submit {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3e00d1;
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.services-list {
    flex: 1 1 45%;
    line-height: 36px;
}

.services-list h2 {
    font-size: 38px;
    margin-bottom: 30px;
    color: #000;
    font-weight: 600;
}

.service-item {
    margin-bottom: 20px;
}

.service-item .highlight {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.service-item p {
    margin: 0;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-services-section {
        flex-direction: column;
    }

    .quote-form,
    .services-list {
        flex: 1 1 100%;
    }

    .quote-form input {
        max-width: 100%;
    }
}

/* === Section: Testimonial === */
.testimonial-section {
    background-image: url('../images/background_review2.jpeg');
    color: white;
    background-size: cover;
    background-position: 100% 50%;
    padding: 50px 50px 20px 30px;
    min-height: 60vh;
    position: relative;
}

.testimonial-section .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    padding: 50px 0 10px;
    color: #000;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    min-height: 200px;
}

.stars {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.star {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 2px;
}

.star.full {
    background-image: url('../images/star.svg');
}

.star.outline {
    background-image: url('../images/star-outline.svg');
}

.testimonial-card h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #000;
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 15px;
    color: #000;
    text-align: justify;
}

.testimonial-card .author {
    margin-top: 15px;
    font-weight: bold;
    color: #000;
}

.footer-top2 img {
    max-width: 75px;
    padding: 0 20px;
}

.page-wrapper .page-footer .footer-wrapper.type1 .footer-columns {
    background-color: #5b9b66;
}
.page-wrapper .page-footer .footer-wrapper.type1 .footer-columns .content-main .item .item-inner > .title {
    color: #000;
}
.page-wrapper .page-footer .footer-wrapper.type1 .footer-top {
    background-color: #5b9b66 !important;
}
.page-wrapper .page-footer .footer-wrapper.type1 .footer-top2 {
    background-color: #000;
}

.page-wrapper .page-footer .footer-wrapper.type1 .footer-top2 {
    padding-top: 60px;
    padding-bottom: 60px;
    display: block;
    background: #fff;
    float: left;
    width: 100%;
    clear: both;
    border-top: 1px solid #66bf86;
}


.blogs-wrapper .owl-theme.owl-carousel .owl-nav > button.owl-prev, .blogs-wrapper .owl-theme.owl-carousel .owl-nav > button.owl-next {
    font-size: 50px;
    color: #000;
    top: 45%;
}

.testimonial-section .owl-theme.owl-carousel .owl-nav > button.owl-prev, .testimonial-section .owl-theme.owl-carousel .owl-nav > button.owl-next {
    font-size: 50px;
    color: #000;
}

.home-section .owl-theme.owl-carousel .owl-nav > button.owl-prev {
    left: -20px;
}

.home-section .owl-theme.owl-carousel .owl-nav > button.owl-next {
    right: -20px;
}

.footer-columns a, .alink {
    color: #000;
}


.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-logos img {
    max-height: 60px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.logo-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-align: center;
}

.logo-item img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

    /* Responsive - Mobile Optimization */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
    }
    .hero-content {
        position: absolute;
        top: 50%;
        left: 0;
        padding: 10px;
        transform: translateY(-50%);
        z-index: 2;
        max-width: 600px;
    }

    .hero-section h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 14px;
        padding: 12px 24px;
        display: inline-block;
        background: #bd850c; /* ✅ Màu gold */
        color: #000;         /* ✅ Chữ màu đen */
        text-decoration: none;
        border-radius: 4px;
        margin-top: 20px;
        font-weight: bold;

    }
    .hero-content a:visited, .hero-content .alink:visited {
        color: #000;
        text-decoration: none;
    }

    .features-grid {
        grid-template-columns: 1fr; /* 1 cột cho mobile */
    }
    .why-heat-pump h2 {
        font-size: 40px;
    }
    .feature-title h3 {
        font-size: 2.5rem;
    }

    .testimonial-section {
        padding: 40px 40px 30px 40px;
        min-height: 250px;
        display: block;
    }

    .testimonial-section .section-title {
        font-size: 24px;
        margin-bottom: 20px;
        margin-top: 20px;
        padding: 10px;
    }

    .testimonials-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0 36px;
    }

    .testimonial-card {
        padding: 20px;
        border-radius: 12px;
    }

    .testimonial-card h3 {
        font-size: 16px;
        margin: 16px 0 8px;
    }

    .testimonial-card .quote {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
        color: #f2f9f7;
    }

    .testimonial-card .author {
        margin-top: 12px;
        font-size: 14px;
    }

    .stars .star {
        width: 24px;
        height: 24px;
    }

    #home-blogslider.owl-theme.owl-carousel .owl-nav > button.owl-prev {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        left: -20px;
    }
    #home-blogslider.owl-theme.owl-carousel .owl-nav > button.owl-next {
        right: 0; /* Đưa nút gần lại bên phải */
        top: 50%; /* Căn giữa theo chiều dọc nếu cần */
        transform: translateY(-50%); /* Điều chỉnh vị trí dọc */
        right: -20px;
    }


    .installation-section-title div {
        font-size: 26px;
        text-align: center;
    }

    .content-main {
        padding: 0 10px;
    }

    .item-row .item {
        max-width: 100%;
        margin: 0 auto;
    }

    .item-row .item img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
        border-radius: 8px;
    }

    #home-blogslider .owl-nav {
        position: absolute;
        top: 45%;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
    }

    .owl-nav .owl-prev,
    .owl-nav .owl-next {
        background: rgba(255, 255, 255, 0.6);
        border-radius: 50%;
        padding: 5px;
    }

    .owl-nav .prev-arrow,
    .owl-nav .next-arrow {
        width: 24px;
        height: 24px;
    }

/*    why choose */
    .why-heat-pump {
        /*padding: 20px 15px;*/
    }

    .why-heat-pump h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 20px;
        text-align: center;
    }

    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .feature-item {
        padding: 10px;
        /*background-color: #f5f5f5;*/
        border-radius: 6px;
    }

    .feature-top {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        background-size: contain;
        background-repeat: no-repeat;
        flex-shrink: 0;
    }

    .feature-title h3 {
        font-size: 18px;
        margin: 0;
    }

    .feature-description p {
        font-size: 16px;
        line-height: 1.4;
        margin: 0;
        text-align: justify;
    }

    .quote-services-section {
        gap: 30px;
        padding: 30px 0;
        /* color: white; */
    }

    .page-wrapper .page-footer .footer-wrapper.type1 .footer-top2 {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .footer-logos {
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 10px 16px;
        scroll-padding-left: 16px;
        justify-content: start;
    }

    .logo-item {
        min-width: 100px;
        max-width: 120px;
        flex-shrink: 0;
    }
}