/* ==================== BENEFITS SECTION ==================== */

.benefits-section {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    width: 100%;
}

/* Header */
.benefits-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

.benefits-title {
    font-size: 3rem;
    font-weight: 700;
    color: #141414;
    margin: 0;
    line-height: 1.2;
}

.benefits-title-highlight {
    color: #B704F6;
}

.benefits-subtitle {
    font-size: 1.125rem;
    line-height: 1.6rem;
    font-weight: 500;
    color: #424242;
    margin: 0;
}

.benefits-subtitle-highlight {
    font-size: 1.125rem;
    line-height: 1.6rem;
    font-weight: 600;
    color: #B704F6;
}

/* Grid Layout */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

/* ==================== BENEFIT CARD COMPONENT ==================== */

.benefit-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.benefit-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #F5F5F5;
    border-radius: 12px;
    flex-shrink: 0;
}

.benefit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.benefit-card:hover .benefit-card-image img {
    transform: scale(1.08);
}

/* Card Title */
.benefit-card-title {
    font-family: 'PlusJakartaSans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F0F0F;
    line-height: 1.7rem;
    margin: 0;
    text-align: left;
}

/* Card Description */
.benefit-card-description {
    font-family: 'PlusJakartaSans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #525252;
    line-height: 1.4rem;
    margin: 0;
    text-align: left;
}

/* ==================== RESPONSIVE STYLES ==================== */

/* Tablet Large - 992px to 1199px */
@media (max-width: 1199px) {
    .benefits-title {
        font-size: 2.5rem;
    }

    .benefits-subtitle,
    .benefits-subtitle-highlight {
        font-size: 1rem;
    }

    .benefits-grid {
        gap: 2rem;
    }

    .benefit-card {
        padding: 1.25rem;
        gap: 0.875rem;
    }

    .benefit-card-image {
        height: 180px;
    }

    .benefit-card-title {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .benefit-card-description {
        font-size: 0.875rem;
        line-height: 1.3rem;
    }
}

/* Tablet - 768px to 991px */
@media (max-width: 991px) {
    .benefits-section {
        gap: 3rem;
    }

    .benefits-title {
        font-size: 2.25rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .benefit-card-image {
        height: 160px;
    }
}

/* Mobile - 767px and below */
@media (max-width: 767px) {
    .benefits-section {
        gap: 2rem;
    }

    .benefits-header {
        gap: 0.5rem;
    }

    .benefits-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .benefits-subtitle,
    .benefits-subtitle-highlight {
        font-size: 0.8125rem;
        line-height: 1.3rem;
    }

    /* 2x2 Grid on Mobile */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .benefit-card {
        padding: 0.75rem;
        gap: 0.5rem;
        border-radius: 12px;
    }

    .benefit-card-image {
        height: 120px;
        border-radius: 8px;
    }

    .benefit-card-title {
        font-size: 0.8125rem;
        line-height: 1.1rem;
        font-weight: 700;
    }

    .benefit-card-description {
        font-size: 0.6875rem;
        line-height: 1rem;
        font-weight: 400;
    }

    /* Disable hover effects on mobile */
    .benefit-card:hover {
        transform: none;
    }

    .benefit-card:hover .benefit-card-image img {
        transform: none;
    }
}

/* Mobile Small - 479px and below */
@media (max-width: 479px) {
    .benefits-section {
        gap: 1.75rem;
    }

    .benefits-title {
        font-size: 1.25rem;
    }

    .benefits-subtitle,
    .benefits-subtitle-highlight {
        font-size: 0.75rem;
    }

    .benefits-grid {
        gap: 0.875rem;
    }

    .benefit-card {
        padding: 0.625rem;
        gap: 0.4rem;
        border-radius: 10px;
    }

    .benefit-card-image {
        height: 100px;
        border-radius: 6px;
    }

    .benefit-card-title {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    .benefit-card-description {
        font-size: 0.625rem;
        line-height: 0.9rem;
    }
}

/* Mobile Extra Small - 360px and below */
@media (max-width: 360px) {
    .benefits-section {
        gap: 1.5rem;
    }

    .benefits-title {
        font-size: 1.125rem;
    }

    .benefits-grid {
        gap: 0.75rem;
    }

    .benefit-card {
        padding: 0.5rem;
        gap: 0.35rem;
    }

    .benefit-card-image {
        height: 90px;
    }

    .benefit-card-title {
        font-size: 0.6875rem;
        line-height: 0.95rem;
    }

    .benefit-card-description {
        font-size: 0.5625rem;
        line-height: 0.85rem;
    }
}
