.services-container {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;

}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.header p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.offer-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.offer-card:nth-child(1) { animation-delay: 0.1s; }
.offer-card:nth-child(2) { animation-delay: 0.2s; }
.offer-card:nth-child(3) { animation-delay: 0.3s; }
.offer-card:nth-child(4) { animation-delay: 0.4s; }

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.offer-card:hover::before {
    left: 100%;
}

.offer-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.offer-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-icon {
    transform: scale(1.1);
}

.offer-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.offer-content {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    

    .header h1 {
        font-size: 2rem;
    }

    .offers-grid {
        gap: 20px;
    }

    .offer-card {
        padding: 30px 20px;
    }
}

.clicked {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}