/* ================================================
   DDS Dental Website - Services Section
   ================================================
   Services displayed in a responsive card grid
   ================================================ */

.services-section {
    background-color: var(--bg-light);
    padding: var(--section-padding);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    margin-bottom: 15px;
    color: var(--color-gravel);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

.service-card h4 {
    margin-bottom: 15px;
    color: var(--color-gravel);
}

.service-card p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 0;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */

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

/* Mobile */
@media (max-width: 768px) {
    .services-header,
    .service-card-content {
        text-align: center;
    }

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