/* Frontend Styles for Why Section */
.why-section {
    background: white;
    padding: 80px 0;
    width: 100%;
    margin: 0;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.why-container .section-title {
    font-size: 36px;
    font-weight: 200;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
    text-align: center;
}

.why-container > p {
    text-align: center;
    font-size: 18px !important;
    color: #666;
    margin-bottom: 40px;
}

/* Slider Wrapper */
.why-slider-wrapper {
    position: relative;
    margin-top: 40px;
    max-width: 100%;
    overflow: hidden;
}

.why-slider {
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.why-slider-track {
    display: flex;
    gap: 0px;
    transition: transform 0.5s ease;
    will-change: transform;
    width: 100% !important;
    max-width: 100%;
}

.why-card {
    background: linear-gradient(135deg, #fafafa 0%, #f8f8f8 100%);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d5a3d 0%, #3d6b4d 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.why-card p {
    font-size: 18px !important;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    background: white;
    border: 2px solid #028476;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2d5a3d;
}

.slider-btn:hover:not(:disabled) {
    background: #028476;
    color: white;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: linear-gradient(135deg, #2d5a3d 0%, #3d6b4d 100%);
    width: 30px;
    border-radius: 6px;
}

.slider-dot:hover {
    background: #2d5a3d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-section {
        overflow-x: hidden !important;
    }

    .why-container {
        padding: 0 15px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .why-slider-wrapper {
        max-width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    .why-slider {
        max-width: 100% !important;
    }

    .why-slider-track {
        max-width: 100% !important;
    }

    .why-card {
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 25px !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    .why-container .section-title {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }

    .why-container > p {
        font-size: 15px !important;
        margin-bottom: 30px !important;
    }

    .why-section {
        padding: 40px 0 !important;
    }

    .why-slider-wrapper {
        margin-top: 25px !important;
    }

    .why-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 15px !important;
    }

    .why-card h3 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    .why-card p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .slider-nav {
        gap: 10px !important;
        margin-top: 25px !important;
    }

    .slider-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .slider-btn svg {
        width: 16px !important;
        height: 16px !important;
    }

    .slider-dots {
        margin-top: 15px !important;
    }
}

@media (max-width: 480px) {
    .why-container .section-title {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }

    .why-container > p {
        font-size: 14px !important;
    }

    .why-card {
        padding: 20px !important;
    }

    .why-card h3 {
        font-size: 17px !important;
    }

    .why-card p {
        font-size: 14px !important;
    }

    .why-section {
        padding: 35px 0 !important;
    }

    .slider-btn {
        width: 35px !important;
        height: 35px !important;
    }
}
