/* SERVICE CARDS - DB Based */
.service-cards {
    display: flex;
    width: 100%;
    gap: 8px;
    margin-top: 0;
    padding-top: 0;
}

.service-card {
    flex: 1;
    height: 420px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 0;
    min-width: 0;
    /* Prevents flex items from overflowing */
}

.service-card:hover {
    transform: scale(1.02);
    z-index: 10;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

/* Card Background Images */
.service-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
    color: #ffffff;
}

.service-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #1a2332;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
}

.service-list {
    list-style: none;
    margin-bottom: 16px;
    padding: 0;
}

.service-list li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    line-height: 1.5;
}

.service-list li::before {
    content: '• ';
    margin-right: 8px;
}

.service-desc {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
    max-width: 380px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.service-link:hover {
    border-bottom-color: #9fe7f0;
    gap: 12px;
    color: #ffffff;
}

/* BOTTOM BAR */
.bottom-bar {
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 28px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.bottom-bar-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bottom-bar-item svg {
    flex-shrink: 0;
}

.bottom-bar-text .label {
    font-size: 16px;
    font-weight: 700;
    color: #1a2332;
    line-height: 1.3;
}

.bottom-bar-text .sublabel {
    font-size: 13px;
    color: #5a6c7d;
    line-height: 1.3;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .service-cards {
        flex-direction: column;
        gap: 8px;
        margin-top: 0;
    }
    
    .service-card {
        height: 350px;
        width: 100%;
    }
    
    .bottom-bar {
        gap: 40px;
        padding: 24px 20px;
    }
    
    .hero-slider__carousel {
        height: 520px;
    }
}

@media (max-width: 768px) {
    .service-cards {
        margin-top: 0;
    }
    
    .hero-slider__carousel {
        height: 420px;
    }
    
    .service-card {
        height: 280px;
    }
}

@media (max-width: 640px) {
    .hero-slider__carousel {
        height: 340px;
    }
    
    .service-card {
        height: 300px;
    }
    
    .service-card-content {
        padding: 24px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-badge {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    
    .bottom-bar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .bottom-bar-text .label {
        font-size: 14px;
    }
    
    .bottom-bar-text .sublabel {
        font-size: 12px;
    }
}
