/* ============================================
   HOME PAGE - SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
    color: var(--white);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 170, 168, 0.3) 0%, rgba(255, 170, 168, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-light);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.service-card:hover .service-bg {
    background: rgba(255, 170, 168, 0.05);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(255, 170, 168, 0.2);
}

.service-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 1;
}

.service-content h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.service-card:hover .service-content h3 {
    color: var(--primary);
}

.service-icon {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    opacity: 1;
    transform: translateY(0);
}

.service-icon svg {
    color: var(--primary);
}

@media (max-width: 1264px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        height: 300px;
    }

}