
/* Services section styles */
.services {
    padding: 80px 0;
    background-color: var(--background-color);
}

    .services .section-title {
        text-align: center;
        margin-bottom: 40px;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.service-image {
    height: 200px;
    overflow: hidden;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-description {
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    transition: var(--transition);
}

    .service-link:hover {
        background-color: var(--primary-color);
        color: var(--light-text-color);
    }









.service-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.service-price {
    font-weight: bold;
    color: var(--primary-color);
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .service-duration:before {
        content: '';
        display: inline-block;
        width: 14px;
        height: 14px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d7f7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }

.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}





/* Responsive Styles for Services Section */

/* Large Screens (up to 1200px) */
@media screen and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .service-title {
        font-size: 1.4rem;
    }

    .service-description {
        font-size: 0.95rem;
    }
}

/* Medium Screens (up to 992px) */
@media screen and (max-width: 992px) {
    .services {
        padding-top: calc(100px + 2rem);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .service-content {
        padding: 1.25rem;
    }

    .service-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .service-description {
        margin-bottom: 1rem;
    }
}

/* Tablet Screens (up to 768px) */
@media screen and (max-width: 768px) {
    .services {
        padding-top: calc(90px + 2rem);
        padding-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-card {
        max-width: none;
    }

    .service-content {
        padding: 1.25rem;
    }

    .service-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .service-link {
        font-size: 0.9rem;
    }
}

/* Mobile Screens (up to 576px) */
@media screen and (max-width: 576px) {
    .services {
        padding-top: calc(80px + 2rem);
        padding-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .service-image {
        /*padding-top: 60%;*/ /* Slightly shorter aspect ratio for mobile */
    }

    .service-content {
        padding: 1.25rem;
    }

    .service-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .service-description {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .service-link {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
}

/* Print Styles */
@media print {
    .services {
        padding: 1cm 0;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1cm;
    }

    .service-card {
        page-break-inside: avoid;
        border: 1px solid #000;
        box-shadow: none;
    }

    .service-image {
        padding-top: 50%; /* Shorter height for print */
    }

    .service-content {
        padding: 0.5cm;
    }

    .service-link {
        display: none;
    }

    .service-card:hover {
        transform: none;
    }
}