.zolar-features-block {
    position: relative;
    padding: 100px 0;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    font-family: var(--zolar-body-font, sans-serif);
    
    /* Bulletproof full bleed to match Services Showcase alignment */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.zolar-features-block-inner {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.zolar-features-left {
    width: 55%;
    display: flex;
    flex-direction: column;
}

.zolar-features-right {
    width: calc(45% - 60px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Slider Styles */
.zolar-features-slider {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.zolar-features-slides-wrap {
    position: relative;
    width: 100%;
    max-width: 803px;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #161616;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.zolar-feature-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.zolar-feature-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    animation: slideFadeIn 1s ease forwards;
}

.zolar-feature-slide.is-leaving {
    z-index: 1;
    animation: slideFadeOut 1s ease forwards;
}

@keyframes slideFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.zolar-feature-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1);
    transition: transform 8s ease-out;
    will-change: transform;
}

.zolar-feature-slide.is-active .zolar-feature-slide-bg {
    transform: scale(1.1);
}

.zolar-feature-slide-overlay {
    display: none;
}

.zolar-feature-slide-content {
    color: #ffffff;
    z-index: 2;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
    background-color: rgba(0,0,0, 0.55);
    width: 100%;
    height: fit-content;
    padding: 40px 40px 40px 40px;
}

.zolar-feature-slide.is-active .zolar-feature-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.zolar-quote-icon {
    font-size: 70px;
    line-height: 0.8;
    font-family: Georgia, serif;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
}

.zolar-quote-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: var(--zolar-body-font, sans-serif);
}

.zolar-quote-author {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #c8e86b;
    text-align: right;
    font-family: var(--zolar-heading-font, sans-serif);
}

.zolar-quote-location {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    display: block;
    text-align: right;
}

/* Slider Navigation */
.zolar-features-slider-nav {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 20px;
}

.zolar-nav-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #c8e86b;
    z-index: 0;
}

.zolar-nav-dots {
    display: flex;
    gap: 25px;
    z-index: 1;
}

.zolar-feature-dot {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border: none;
    padding: 0;
    cursor: pointer;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.zolar-feature-dot.is-active {
    background-color: #c8e86b;
    transform: rotate(45deg) scale(1.3);
}

/* Content Styles */
.zolar-features-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.zolar-features-heading {
    font-size: clamp(2rem, 1.6887rem + 1.7178vw, 3.75rem);
    font-weight: 700;
    color: #161616;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.2;
    font-family: var(--zolar-heading-font, sans-serif);
}

.zolar-features-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

.zolar-features-cta-wrap {
    margin-top: auto;
}

/* Features Grid */
.zolar-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
    margin-bottom: 40px;
}

.zolar-feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.zolar-feature-check {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zolar-feature-check svg {
    width: 100%;
    height: 100%;
}

.zolar-feature-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #161616;
    margin: 0 0 10px 0;
    font-family: var(--zolar-heading-font, sans-serif);
}

.zolar-feature-text p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* CTA Button */
.zolar-btn-features {
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 991px) {
    .zolar-features-block-inner {
        flex-direction: column;
    }
    
    .zolar-features-left, .zolar-features-right {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .zolar-features-grid {
        grid-template-columns: 1fr;
    }
    
    .zolar-features-slides-wrap {
        width: 100vw;
        height: 450px;
        aspect-ratio: auto;
        margin-left: -50vw;
        left: 50%;
        position: relative;
        border-radius: 0;
    }
    
    .zolar-feature-slide-content {
        padding: 30px 20px;
    }

    .zolar-quote-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .zolar-quote-text {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .zolar-features-slider-nav {
        bottom: 20px; /* Bring nav inside the image on mobile since it's full bleed */
    }
}

@media (max-width: 480px) {
    .zolar-features-heading {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .zolar-feature-check {
        width: 32px;
        height: 32px;
    }
    
    .zolar-feature-text h4 {
        font-size: 1.1rem;
    }
}
