/* --------------------------------------------------------------------------
   Homepage Specific Styles
   -------------------------------------------------------------------------- */

.homepage-hero-banner {
    min-height: 100vh;
    width: 100%;
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: flex-end;
}

.homepage-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.hero-col-1 {
    width: 50%;
    max-width: 475px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Push items down to fit leaf above */
    padding-bottom: 60px;
    position: relative;
    z-index: 10;
}

.hero-leaf-overlay {
    position: absolute;
    bottom: 90%;
    left: -110px;
    width: 120%;
    max-width: 350px;
    height: auto;
    pointer-events: none;
    z-index: -1;
}

.hero-col-2 {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-fg-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 5;
    display: inline-block;
}

.hero-fg-image {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: bottom right;
    display: block;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-white);
}

.hero-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-white);
    color: #dadada;
}

.hero-text p {
    margin: 0;
}

.hero-icons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.hero-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.hero-icon-img {
    max-height: 30px;
    max-width: 30px;
    height: 100%;
    width: auto;
}

.hero-icon-txt {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: var(--color-white);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: var(--color-white);
    color: var(--color-green);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    align-self: flex-end;
}

.hero-btn img {
    height: 16px;
}

.hero-btn:hover {
    background-color: #efefef;
}

/* Pulsing Point — outer has no transform so .hero-popup position:fixed uses the viewport */
.hero-pulsing-point {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
    cursor: pointer;
    z-index: 20;
}

.hero-pulse-visual {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
}

.pulse-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: #FFC107;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.8);
    background-color: rgba(255, 193, 7, 0.3);
    z-index: 2;
    animation: pulse 2s infinite ease-out;
}

.pulse-ring.circle-2 {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }

    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/* Popup Content */
.hero-popup {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(246, 248, 239, 0.51);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #BCC2B4;
    padding: 15px 20px;
    border-radius: 8px;
    width: max-content;
    max-width: 350px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 4;

    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    color: var(--color-white);
    text-align: left;
}

/* Popup tail */
.hero-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(246, 248, 239, 0.51) transparent transparent transparent;
    border-bottom: none;
}

.hero-popup::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 9px;
    border-style: solid;
    border-color: #BCC2B4 transparent transparent transparent;
    border-bottom: none;
    z-index: -1;
    margin-top: 1px;
}

.hero-pulsing-point:hover .hero-popup {
    opacity: 1;
    visibility: visible;
}

.hero-popup p {
    margin-bottom: 8px;
}

.hero-popup p:last-child {
    margin-bottom: 0;
}

.hero-popup ul {
    margin-left: 0;
    padding-left: 20px;
    margin-bottom: 8px;
}

.hero-popup ul:last-child {
    margin-bottom: 0;
}

.hero-popup li {
    margin-bottom: 4px;
}

.hero-popup li:last-child {
    margin-bottom: 0;
}

@media (max-width: 450px) {
    .hero-popup {
        max-width: calc(100vw - 30px) !important;
        left: 15px;
    }
    .hero-popup::before, .hero-popup::after {
        left: calc(50% - 16px);
    }
}

/* --------------------------------------------------------------------------
   Rotating Texts Banner
   -------------------------------------------------------------------------- */
.homepage-rotating-text-banner {
    background-color: var(--color-green);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* Adjust timing for smoother or faster scroll depending on item count - linear is critical */
    animation: marquee-scroll 60s linear infinite;
}

.marquee-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 40px;
    color: var(--color-separator);
    margin: 0 45px;
    /* Creates the space to either side of the word */
}

/* Provide width and height matching user spec */
.marquee-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Negative 100% transform creates the endless seamless scroll effect */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --------------------------------------------------------------------------
   Product Slider Section
   -------------------------------------------------------------------------- */
.homepage-products-section {
    position: relative;
    background-color: var(--color-bg-light);
    padding: 100px 0 80px;
    overflow: hidden;
}

.products-section-bg-blob-desktop {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: auto;
    z-index: 0;
    pointer-events: none;
    display: block;
}

.products-section-bg-blob-mobile {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: auto;
    z-index: 0;
    pointer-events: none;
    display: none;
}

.products-bg-leaf {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    max-width: 400px;
    pointer-events: none;
}

.products-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.products-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 64px;
    color: var(--color-green);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.products-slider {
    min-height: 420px;
    padding-bottom: 50px !important;
    /* Space for pagination */
    overflow: hidden;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-image-wrap {
    text-align: center;
    margin-bottom: 25px;
}

.product-image-wrap img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 15px;
}

.product-price {
    background-color: var(--color-white);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-green);
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.product-price del {
    color: var(--color-muted);
    text-decoration: line-through;
}

.product-price ins {
    text-decoration: none;
    color: inherit;
}

.product-action-buttons {
    display: flex;
    gap: 10px;
}

.btn-eye {
    width: 40px;
    height: 40px;
    border: 1px solid #E1E8DB;
    background-color: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-eye:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-cart {
    width: 40px;
    height: 40px;
    background-color: var(--color-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-cart:hover {
    background-color: #4a633c;
}

.btn-cart.error {
    background-color: #8b2e2e;
}

.product-spectrum-label {
    align-self: flex-start;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    background-color: var(--color-green);
    /* Fallback */
    display: inline-block;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-green);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-short-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--color-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars img {
    width: 14px;
    height: 14px;
}

.rating-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--color-muted);
}

/* Pagination Adjustments */
.products-slider .swiper-pagination,
.blog-slider .swiper-pagination {
    bottom: 0;
}

.products-slider .swiper-pagination-bullet,
.blog-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: var(--color-green);
    opacity: 0.15;
    transition: all 0.3s ease;
    margin: 0 4px !important;
}

.products-slider .swiper-pagination-bullet:has(+ .swiper-pagination-bullet-active),
.products-slider .swiper-pagination-bullet-active+.swiper-pagination-bullet,
.blog-slider .swiper-pagination-bullet:has(+ .swiper-pagination-bullet-active),
.blog-slider .swiper-pagination-bullet-active+.swiper-pagination-bullet {
    width: 50px;
    background-color: var(--color-green)33;
    /* User requested color variable approximation representing transparent green */
    opacity: 1;
}

.products-slider .swiper-pagination-bullet-active,
.blog-slider .swiper-pagination-bullet-active {
    width: 87px;
    background-color: var(--color-green);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Media Queries (Descending Order)
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    .homepage-hero-banner {
        background-image: var(--bg-tablet);
        background-position: center center;
        min-height: max(100vh, 600px);
    }

    .homepage-hero-banner::before {
        inset: 0;
        width: auto;
        height: auto;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(0, 0, 0, 0.58) 100%
        );
        mix-blend-mode: normal;
    }

    .hero-container {
        flex-direction: column;
        justify-content: flex-end;
        /* Push items down on mobile */
        min-height: max(100vh, 600px);
        height: auto;
        padding-top: 120px;
        /* Space for header and pulse dot popup avoiding overlap */
        padding-bottom: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-col-1 {
        width: 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
        /* Center everything */
        padding-top: 140px;
    }

    .hero-leaf-overlay {
        display: none;
    }

    .hero-title {
        font-size: 48px;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-btn {
        align-self: center;
        /* Override the desktop end alignment */
    }

    .hero-col-2 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 15;
    }

    .hero-fg-wrapper {
        width: 100%;
        height: 100%;
    }

    .hero-fg-image {
        display: none;
    }

    .hero-pulsing-point {
        pointer-events: auto;
        top: 33% !important;
        left: calc(50% - 16px) !important;
    }

    .hero-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 0px;
        width: 100%;
    }

    .hero-icon-item {
        flex: 1;
        max-width: 160px;
    }

    .marquee-text {
        font-size: 26px;
        margin: 0 30px;
    }

    .marquee-icon {
        width: 40px;
        height: 40px;
    }

    .homepage-rotating-text-banner {
        padding: 15px 0;
    }

    /* Target Product Slider Section Mobile Layout */
    .products-section-bg-blob-desktop {
        display: none;
    }

    .products-section-bg-blob-mobile {
        display: block;
    }

    .products-bg-leaf {
        width: 200px;
        height:auto;
    }

    .homepage-products-section {
        padding: 50px 0 80px;
    }

    .products-section-title {
        font-size: 36px;
        margin-top: 0px;
        margin-bottom: 40px;
    }

    .products-container {
        padding: 0 15px;
    }
}

@media (max-width: 500px) {
    .homepage-hero-banner {
        background-image: var(--bg-mobile);
    }

    .homepage-hero-banner::before {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.42) 48%,
            rgba(0, 0, 0, 0.68) 100%
        );
    }

    .hero-title {
        font-size: 38px;
    }

    .marquee-text {
        font-size: 20px;
        margin: 0 20px;
    }

    .marquee-icon {
        width: 30px;
        height: 30px;
    }

    .homepage-rotating-text-banner {
        padding: 10px 0;
    }

    .homepage-info-section {
        flex-direction: column;
    }

    .info-visuals,
    .info-content {
        width: 100%;

    }

    .info-content {
        padding: 40px 20px;
    }
}

/* --------------------------------------------------------------------------
   Homepage Info Section
   -------------------------------------------------------------------------- */
.homepage-info-section {
    display: flex;
    min-height: 700px;
    background-color: var(--color-white);
    overflow: hidden;
    position: relative;
}

.info-section-alt-bg {
    background-color: var(--color-bg-light);
}

.info-section-alt-bg .info-visuals,
.info-section-alt-bg .info-content {
    background-color: var(--color-bg-light);
}

.info-visuals {
    flex: 0 0 50%;
    position: relative;
    background-color: var(--color-white);
}

.info-visuals-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-dot-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: var(--info-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Specific background for mobile if provided */
@media (max-width: 991px) {
    .info-dot-bg {
        background-image: var(--info-bg-mobile);
    }
}

/* Fallback if no ACF image is uploaded */
.info-dot-bg:not([style*="--info-bg"]) {
    background-image: radial-gradient(#D8D8D8 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    background-repeat: repeat;
    width: 100%;
    height: 100%;
    transform: none;
    top: 0;
    left: 0;
}

.info-central-image {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.info-central-image img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.image-placeholder {
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23A0A0A0'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
}

.info-content {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    padding-left: 60px;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.info-content-inner {
    max-width: 480px;
}

.info-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.25;
    color: var(--color-green);
    margin-bottom: 25px;
}

.info-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 30px;
}

.info-btn {
    display: inline-block;
    background-color: var(--color-green-dark);
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-btn:hover {
    background-color: var(--color-green);
}

.homepage-info-section.reversed {
    flex-direction: row-reverse;
}

.homepage-info-section.reversed .info-content {
    padding-left: 20px;
    padding-right: 60px;
    justify-content: flex-end;
}

/* Responsive Adjustments */
@media (max-width: 991px) {

    .homepage-info-section,
    .homepage-info-section.reversed {
        flex-direction: column;
        min-height: auto;
    }

    .homepage-info-section .info-visuals-inner {
        padding-top: 60px;
    }

    .info-visuals,
    .info-content {
        width: 100%;
        flex: none;
    }

    .info-visuals {
        order: 1;
    }

    .info-content,
    .homepage-info-section.reversed .info-content {
        padding: 60px 20px;
        order: 2;
        justify-content: center;

    }

    .info-content-inner {
        max-width: 100%;
    }

    .pill-dark-green {
        width: 200px;
        height: 300px;
        left: -80px;
    }

    .pill-light-grey {
        width: 260px;
        height: 400px;
    }

    .blob-light-green {
        width: 150px;
        height: 150px;
    }

    .info-central-image {
        position: static;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Homepage Reviews Section
   -------------------------------------------------------------------------- */
.homepage-reviews-section {
    background-color: var(--color-bg-light);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.reviews-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.reviews-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.reviews-avatars .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid var(--color-bg-light);
    background-color: #BCC2B4;
    background-size: cover;
    background-position: center;
    margin-left: -20px;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.reviews-avatars .avatar:first-child {
    margin-left: 0;
    z-index: 1;
}

.reviews-avatars .avatar:nth-child(2) {
    z-index: 3;
    width: 80px;
    height: 80px;
}

.reviews-avatars .avatar:nth-child(3) {
    z-index: 2;
}

.review-single-avatar-image {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.reviews-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.stars-group {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-right: 10px;
}

.reviews-stars .golden-star {
    width: 13px;
    height: 13px;
}

.reviews-stars-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.reviews-main-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 40px;
    line-height: 1.4;
    color: var(--color-green);
    transition: opacity 0.5s ease;
}

@media (max-width: 768px) {
    .hero-pulsing-point {
        top: 30% !important;
    }
    body.home .info-btn {
        margin: auto;
        width: fit-content;
        width: -moz-fit-content;
        display: block;
    }
    body.home .info-title , body.home .info-description {
        text-align: center;
    }
    .homepage-reviews-section {
        padding: 60px 20px;
    }

    .reviews-stars {
        flex-direction: column;
        gap: 10px;
    }

    .stars-group {
        margin-right: 0;
    }

    .reviews-main-text {
        font-size: 28px;
    }
}

/* --------------------------------------------------------------------------
   Homepage Partners Section
   -------------------------------------------------------------------------- */
.homepage-partners-section {
    background-color: var(--color-bg-light);
    padding: 60px 20px 100px;
    position: relative;
    overflow: hidden;
}

.partners-container {
    max-width: 1440px;
    margin: 0 auto;
}

.partners-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--color-green);
    margin-bottom: 40px;
    text-align: center;
}

.partners-slider-wrapper {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

.partners-slider {
    min-height: 80px;
    padding: 20px 0;
}

.partner-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.partner-slide img {
    /*max-height: 80px;*/
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.partner-slide:hover img {
    filter: grayscale(0%) opacity(1);
}

.partners-fade-left,
.partners-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}

.partners-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light) 0%, transparent 100%);
}

.partners-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light) 0%, transparent 100%);
}

@media (max-width: 768px) {
    .homepage-partners-section {
        padding: 40px 15px 60px;
    }

    .partners-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .partners-fade-left,
    .partners-fade-right {
        width: 10%;
    }
}

/* --------------------------------------------------------------------------
   Homepage Blog Section
   -------------------------------------------------------------------------- */
.homepage-blog-section {
    background-color: var(--color-border);
    padding: 100px 0;
    overflow: hidden;
}

.blog-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.blog-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 40px;
    color: var(--color-green);
    text-align: center;
    margin-bottom: 60px;
}

.blog-slider {
    min-height: 350px;
    padding-bottom: 50px !important;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-bg-light);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin-bottom: 25px;
}

.blog-content {
    display: flex;
    flex-direction: column;
}

.blog-reading-time {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    color: #777777;
    margin-bottom: 15px;
}

.blog-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    color: var(--color-green);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-excerpt {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.6;
}

.blog-excerpt p {
    margin: 0;
}

@media (max-width: 991px) {
    .homepage-blog-section {
        padding: 60px 0;
    }

    .blog-section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .blog-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .products-slider {
        min-height: 380px;
    }

    .blog-slider {
        min-height: 300px;
    }
}

/* Editor content block (optional page content below homepage sections) */
.homepage-editor-content .container {
    padding-top: 40px;
    padding-bottom: 40px;
}