﻿:root {
    --primary-color: #4a6bff;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-text: #777;
}

body {
    font-family: 'IRANSans', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-header {
    text-align: center;
    padding: 60px 0 40px;
    background-color: var(--secondary-color);
}

    .services-header h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .services-header p {
        font-size: 1.1rem;
        color: var(--light-text);
        max-width: 700px;
        margin: 0 auto;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.service-img {
    height: 200px;
    overflow: hidden;
}

    .service-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

    .service-content h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .service-content p {
        color: var(--light-text);
        margin-bottom: 20px;
    }

.service-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .service-link:hover {
        background-color: var(--accent-color);
    }

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-header {
        padding: 40px 0 20px;
    }

        .services-header h1 {
            font-size: 2rem;
        }
}
