/* ============================================================
   LANDING MICRO INVERTER — Product Section & Slider
   ============================================================ */

.lmi-products {
    padding: 80px 0;
    background-color: #ffffff;
}

.lmi-products-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.lmi-products-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    color: #1b9d4a;
    margin-bottom: 15px;
}

.lmi-products-subtitle {
    font-size: clamp(14px, 1.6vw, 16px);
    color: #666666;
    line-height: 1.5;
}

/* Slider outer wrapper to position navigation arrows */
.lmi-slider-wrapper {
    position: relative;
    padding: 0 15px;
}

.lmi-products-slider {
    margin: 0 -15px;
    /* Account for slide paddings */
}

/* Slick slide container override */
.lmi-products-slider .slick-slide {
    padding: 15px;
    /* Equal spacing around cards */
    outline: none;
}

/* Product Card design */
.lmi-product-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lmi-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.lmi-card-img-wrapper {
    background-color: #eaedf1;
    /* Light gray background for image portion */
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lmi-card-img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Helps blend PNG backgrounds if any */
}

.lmi-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lmi-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.lmi-card-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
    /* Pushes the spec block down to align cards */
}

.lmi-card-specs {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #718096;
    padding: 12px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 20px;
}

.lmi-card-btn-wrapper {
    text-align: center;
}

.lmi-card-btn {
    display: inline-block;
    color: #1b9d4a;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lmi-card-btn:hover {
    color: #147a39;
    transform: scale(1.05);
}

/* Custom Slick Arrow Buttons */
.lmi-slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    transition: all 0.2s ease;
    outline: none;
}

.lmi-slick-arrow:hover {
    background-color: #1b9d4a;
    color: #ffffff;
    border-color: #1b9d4a;
    box-shadow: 0 6px 16px rgba(27, 157, 74, 0.25);
}

.lmi-slick-arrow.slick-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.lmi-slick-prev {
    left: -8px;
    /* Position overlaying the cards edge */
}

.lmi-slick-next {
    right: -8px;
    /* Position overlaying the cards edge */
}

/* Custom Slick Dots */
.lmi-products-slider .slick-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
}

.lmi-products-slider .slick-dots li {
    margin: 0 5px;
}

.lmi-products-slider .slick-dots button {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #cbd5e1;
    /* Light gray standard dot */
    text-indent: -9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lmi-products-slider .slick-dots li.slick-active button {
    background-color: #1b9d4a;
    /* Green active dot */
    transform: scale(1.2);
}

/* Responsive adjust */
@media (max-width: 991px) {
    .lmi-products {
        padding: 60px 0;
    }

    .lmi-slick-arrow {
        width: 40px;
        height: 40px;
    }

    .lmi-slick-prev {
        left: 0px;
    }

    .lmi-slick-next {
        right: 0px;
    }
}

@media (max-width: 768px) {
    .lmi-card-img-wrapper {
        height: 200px;
    }

    .lmi-products-header {
        margin-bottom: 35px;
    }
}


/* ============================================================
   LANDING MICRO INVERTER — Services Section
   ============================================================ */

.lmi-services {
    padding: 80px 0;
    background-color: #f8fafc;
    /* Very light cool-gray background */
}

.lmi-services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.lmi-services-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    color: #1b9d4a;
    margin-bottom: 15px;
}

.lmi-services-subtitle {
    font-size: clamp(14px, 1.6vw, 16px);
    color: #666666;
    line-height: 1.6;
}

.lmi-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lmi-service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 30px;
    border-left: 4px solid #1b9d4a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lmi-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.lmi-service-title {
    font-size: clamp(18px, 2.5vw, 21px);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 18px;
    line-height: 1.35;
}

.lmi-service-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.lmi-service-desc p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.lmi-service-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lmi-service-desc ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

.lmi-service-desc ul li:last-child {
    margin-bottom: 0;
}

.lmi-service-desc ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231b9d4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.lmi-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lmi-service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

.lmi-service-list li:last-child {
    margin-bottom: 0;
}

.lmi-check-icon {
    flex-shrink: 0;
    margin-top: 3px;
}

/* Responsive adjust */
@media (max-width: 991px) {
    .lmi-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .lmi-services {
        padding: 60px 0;
    }

    .lmi-services-grid {
        grid-template-columns: 1fr;
    }

    .lmi-service-card {
        padding: 30px 24px;
    }
}
