/* components\services\services.css */

.services {
    background-color: #1a1a1a;
    padding: 6rem 0;
}

.services-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.services.animate-in .services-header {
    opacity: 1;
    transform: translateY(0);
}

.services-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.services-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.services-description {
    font-size: 1.15rem;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid #404040;
}

.services.animate-in .service-card:nth-child(1) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.services.animate-in .service-card:nth-child(2) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.services.animate-in .service-card:nth-child(3) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.services.animate-in .service-card:nth-child(4) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.services.animate-in .service-card:nth-child(5) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.services.animate-in .service-card:nth-child(6) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    background-color: #333333;
    border-color: #666666;
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: #404040;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #555555;
    transform: scale(1.1);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: #cccccc;
    transition: fill 0.3s ease;
}

.service-card:hover .service-icon svg {
    fill: #ffffff;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.98rem;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }

    .services-container {
        padding: 0 1.5rem;
    }

    .services-title {
        font-size: 2.2rem;
    }

    .services-description {
        font-size: 1.05rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }
}