.services {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--background);
}

.services h1 {
    color: var(--yellow);
    margin-bottom: 3rem;
    font-size: 2.5em;
    position: relative;
    display: inline-block;
}

.services h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--yellow);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(51, 51, 51, 0.8);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 184, 0, 0.1);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--yellow);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    object-fit: cover;
    border-radius: 50%;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-title h2 {
    color: var(--yellow);
    margin-bottom: 1rem;
    font-size: 1.5em;
}

.service-description p {
    color: var(--white);
    line-height: 1.6;
    font-size: 1.1em;
}

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .services h1 {
        font-size: 2em;
    }
}