/* HERO FULL-WIDTH CAROUSEL */
/* stretch the hero carousel beyond the centered container */
.hero {
    margin: 0;
}

.hero-carousel {
    position: relative;
    width: 100%;
    /* left: 50%; */
    /* right: 50%; */
    /* margin-left: -50vw; */
    /* margin-right: -50vw; */
    /* max-width: 100vw; */
    max-width: 100%;
    height: 470px;
    margin-top: 110px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .hero-carousel {
        height: 450px;
        margin-top: 120px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 45vh;
        margin-top: 180px;
        /* Adjusted for taller topbar + header */
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 300px;
        /* Max height for mobile corporate look */
        margin-top: 190px;
        /* Adjusted for taller topbar + header */
    }

    .carousel-slide img {
        object-fit: cover;
        /* Ensure cover on mobile to avoid black bars */
        object-position: center;
    }
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-position: center center;
}

/* CONTROLS */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: 0.3s;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* INDICATORS */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: #fff;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero-carousel {
        height: 156px;
        width: 100%;
        /* left: 50%; */
        /* right: 50%; */
        /* margin-left: -50vw; */
        /* margin-right: -50vw; */
        max-width: 100%;
    }

    .carousel-slide img {
        /* object-fit: contain; */
        object-position: center;
        background: #000;
    }

    .carousel-control {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }
}

/* Hero Content */

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-content {
    flex: 1;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    max-width: 600px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    margin-right: 50px;
}

.hero h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: float 3s ease-in-out infinite;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 20px;
    backdrop-filter: blur(5px);
    box-shadow: none;
}

/* Highlight Section Below Carousel */
.highlight {
    padding: 20px 0;
    background-color: #f8f9fa;
    color: #333;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.pro-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.pro-icon {
    color: #2e7d32;
    font-size: 1rem;
    margin-top: 4px;
}

.highlight-flex {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 20px;
    padding: 0 0 12px 0;
}

.highlight h2 {
    color: #2e7d32;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    white-space: normal;
}

.highlight-left {
    flex: 0.9;
    min-width: 260px;
}

.highlight-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.highlight-right img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.highlight-points {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 18px;
    text-align: justify;
}

.highlight-points li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #444;
    line-height: 1.4;
    position: relative;
    padding-left: 35px;
}

.green-check {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .highlight-flex {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 10px 15px;
    }

    .highlight-right {
        justify-content: center;
    }

    .highlight-left {
        width: 100%;
    }
}

.leading-packaging {
    padding: 15px 0;
    background: #fff;
}

.leading-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    align-items: center;
}

.leading-image {
    text-align: center;
}

.leading-image img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 0 !important;
    display: block;
    margin: 0 auto;
}

.leading-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #2e7d32;
    white-space: normal;
}

.leading-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
    text-align: justify;
}

.leading-bullets li {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    text-align: justify;
}

.leading-bullets .green-check {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary-color);
}

.products {
    padding: 1px 0;
    background-color: var(--white);
}

.products h2 {
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    position: relative;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 0;
    display: block;
    transition: none;
    background-color: #fff;
}

.product-card:hover img {
    transform: none;
}

.product-label {
    position: static;
    background: transparent;
    padding: 10px 15px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.product-card h3 {
    padding: 0;
    text-align: center;
    background-color: transparent;
    color: #333;
    margin: 0 0 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none;
}

.explore-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #00a651;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.product-card:hover .explore-text {
    color: #00803e;
}

.solutions-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.solutions-intro h3 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #2e7d32;
}

.solutions-intro p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #333;
    text-align: justify;
}

.solutions-decorator {
    background-color: #fdf9f0;
    border: 10px solid #d4c3a3;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    background-image: url('../images/home/leaves-pattern.png');
    /* Placeholder: Update with correct image path */
    background-size: 150px;
    background-repeat: repeat;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.solution-item {
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.solution-item.in-view {
    opacity: 1;
    transform: translateX(0);
}

.solution-item img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.solution-caption {
    padding: 0;
    text-align: left;
}

.solution-caption h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #00a651;
}

.solution-caption p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    align-items: center;
    padding: 4px 0%;
}

.customization {
    padding: 10px 0;
    background-color: #0b7a31;
    color: #fff;
}

.customization .container {
    max-width: 1200px;
}

.customization-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    align-items: center;
}

.customization-visual {
    display: flex;
    justify-content: center;
}

.customization-video-ring img {
    max-width: 70%;
    border-radius: 25px;
    display: block;
    margin: 0 auto;
}

.customization-copy {
    max-width: 520px;
}

.customization-copy .pro-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}

.customization-copy .pro-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #fff;
}

.customization-copy .pro-list li span:last-child {
    color: #fff;
}

.customization-copy .pro-icon {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 1rem;
    margin-top: 4px;
}

.customization-copy p {
    line-height: 1.8;
    margin-bottom: 0px;
    text-align: justify;
}

.customization-list {
    list-style: none;
    padding: 0;
    margin: 1px 0 0 0;
}

.customization-list li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1px;
    padding: 1px 0;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    color: #fff;
    opacity: 1;
}

.customization-list li a,
.customization-list li a:visited {
    color: inherit !important;
    text-decoration: none;
    opacity: 1;
}

.customization-list li:hover {
    transform: translateX(5px);
    color: #fbd14f;
}

.customization-list li:hover a {
    color: inherit;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
    .leading-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solutions-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-column-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-column-section.reverse {
        grid-template-areas: "top" "bottom";
    }

    .two-column-section.reverse .content-right {
        grid-area: top;
    }

    .two-column-section.reverse .content-left {
        grid-area: bottom;
    }

    .customization-layout {
        gap: 60px;
    }
}

@media (max-width: 768px) {

    h2,
    .leading-content h2,
    .solutions-intro h3 {
        font-size: 1.8rem;
    }



    .leading-grid {
        gap: 30px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .customization {
        padding: 80px 0;
    }

    .customization-layout {
        grid-template-columns: 1fr;
    }

    .customization-video-ring img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* ... existing 768px styles ... */

    /* Override strict image heights for mobile to prevent stretching */
    .corporate-img,
    .highlight-right img,
    .leading-image img,
    .customization-video-ring img {
        height: auto !important;
        max-height: 300px;
        width: auto;
        max-width: 100%;
        margin: 0 auto 20px;
        /* Add space below image */
    }

    .highlight-right,
    .highlight-left {
        width: 100%;
        text-align: left;
    }

    /* Ensure text aligns nicely on mobile */
    .highlight h2,
    .leading-content h2,
    .solutions-intro h3 {
        text-align: left !important;
    }

    .enquiry-button-container {
        justify-content: flex-start;
        display: flex !important;
        /* Re-enable flex for centering on mobile if needed, or keep block */
        text-align: left !important;
    }

    .enquiry-button-container .btn {
        margin: 0 !important;
    }

    .highlight-points,
    .leading-bullets {
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    .highlight-points li,
    .leading-bullets li {
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 24px !important;
        /* Adjusted for icon space */
    }

    .highlight-points li .pro-icon,
    .highlight-points li .green-check,
    .leading-bullets li .pro-icon,
    .leading-bullets li .green-check {
        position: absolute;
        left: 0;
        top: 4px;
    }
}

@media (max-width: 576px) {
    .highlight-points li {
        font-size: 0.95rem;
    }

    .leading-bullets li {
        font-size: 0.95rem;
    }

    .product-card img {
        height: 200px;
    }

    .solution-item {
        flex-direction: column;
        text-align: center;
    }

    .solution-item img {
        width: 100%;
        height: 150px;
    }

    .solution-caption {
        text-align: center;
    }

    .two-column-section {
        padding: 20px 1%;
    }

    .customization-copy p {
        text-align: left !important;
        font-size: 0.95rem;
    }

    .customization-list li {
        font-size: 1rem;
    }
}

.enquiry-button-container .btn {
    min-width: 220px;
    text-align: center;
}

@media (max-width: 992px) {
    .enquiry-button-container {
        margin: 20px auto;
    }

    .enquiry-button-container .btn {
        min-width: 200px;
        padding: 14px 22px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .enquiry-button-container {
        padding: 0 20px;
        margin: 25px auto;
    }

    .enquiry-button-container .btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 18px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
}

.pro-list {
    line-height: 1.8;
    margin-bottom: 0px;
    text-align: left;
}

.two-column-section .content-left .pro-list {
    list-style: none;
    padding-left: 0;
    padding: 0px 100px 0px 135px !important;
    margin: 22px 0 0;
    text-align: left;
}

@media (max-width: 1200px) {
    .two-column-section .content-left .pro-list {
        padding: 0px 60px 0px 80px !important;
    }
}

@media (max-width: 992px) {
    .two-column-section .content-left .pro-list {
        padding: 0px 25px 0px 25px !important;
    }
}

@media (max-width: 576px) {
    .two-column-section .content-left .pro-list {
        padding: 0px 10px 0px 10px !important;
    }
}

.two-column-section .content-left .pro-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.two-column-section .content-left .pro-icon {
    flex: 0 0 auto;
    font-size: 1.05rem;
    line-height: 1;
    margin-top: 3px;
}

.two-column-section .content-left .pro-list li span:last-child {
    font-size: 1.05rem;
    font-weight: 500;
    color: #222;
}

.two-column-section .content-left>.btn {
    display: block !important;
    width: fit-content;
    margin: 16px auto 0;
}

/* Enforce left alignment for enquiry buttons in specific sections */
.enquiry-button-container {
    text-align: left !important;
    display: block !important;
}

.enquiry-button-container .btn {
    display: inline-block !important;
    margin: 0 !important;
}

.button-icon {
    margin-right: 12px;
}

/* Dedicated class for Trusted & Premium section images */
.corporate-img {
    height: 400px !important;
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}