/* FULL CSS FROM YOUR DESIGN — UPDATED RESPONSIVE LAYOUT */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.why-choose-section {
    padding: 4rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1a1a1a;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #475569;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #f1f5f9;
}

.nav-btn.next {
    background: #475569;
    border-color: #475569;
}

.nav-btn.next:hover {
    background: #334155;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    stroke: #475569;
}

.nav-btn.next svg {
    stroke: #ffffff;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

/* CARD BASE */
.carousel-card {
    background: #F4FAFF;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    color: #1a1a1a;

    flex: 0 0 85%;
    /* MOBILE: 0.85 CARD VISIBLE, CENTERED */
}

/* ACTIVE + HOVER EFFECT */
.carousel-card:hover {
    background: #34566E;
    color: #FFFFFF;
}

/* ICON */
.card-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 1rem;
    background: #475569;
    transition: background 0.3s ease;

    /* Remove your old hard-coded large margin */
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.carousel-card:hover .card-icon .card-icon {
    background: rgba(255, 255, 255, 0.25);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    transition: stroke 0.3s ease;
}

/* TEXT */
.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-description {
    line-height: 1.6;
    opacity: 0.9;
}

.carousel-card:not(.active) .card-description {
    color: #64748b;
}

/* -------------------------------
   RESPONSIVE CARD GRID BREAKPOINTS
---------------------------------- */

/* TABLET (≥768px) → 2 CARDS */
@media (min-width: 768px) {
    .carousel-card {
        flex: 0 0 calc(50% - 1.5rem);
    }
}

/* DESKTOP (≥1024px) → 4 CARDS */
@media (min-width: 1024px) {
    .carousel-card {
        flex: 0 0 calc(25% - 1.5rem);
    }
}