.services {
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
    }
    .service-card {
     background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    cursor: pointer;
    width: 200px;
	text-align: center;
    }
.service-card h3{
font-size:15px;
}

    .service-card:hover {
        transform: scale(1.05);
    }
    .service-card img {
        width: 100%;
        border-radius: 10px;
    }
    .service-card h3 {
        margin-top: 10px;
		color: #131b67;
    }
    
    /* Модальное окно */
    .service-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .service-modal-content {
        background: white;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        width: 300px;
    }
    .service-modal-content a {
        display: block;
        margin: 10px 0;
        text-decoration: none;
        font-size: 18px;
        padding: 10px;
        border-radius: 5px;
    }
    .whatsapp { background: #25D366; color: white; }
    .telegram { background: #0088cc; color: white; }
    .call { background: #ff5722; color: white; }
    .instagram { background: #E1306C; color: white; }
    .close { margin-top: 10px; cursor: pointer; color: red; }

@media (max-width: 768px) {
    .services {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки в ряд */
        gap: 10px;
		padding: 10px;
    }

    .service-card {
        padding: 0px;
        width: 180px;
    }

    .service-card h3 {
        font-size: 14px;
    }

    .service-modal-content {
        width: 95%;
        max-width: 280px;
        padding: 15px;
    }







}