﻿body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.main {
    width: 100%;
    text-align: center;
    padding: 40px 20px 0;
}

.service_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

    .service_title h1 {
        color: darkorange;
        font-weight: bold;
        font-size: clamp(1.5rem, 3vw, 2.5rem);
    }

    .service_title h4,
    .service_title h3 {
        font-size: clamp(1.2rem, 2.5vw, 2rem);
    }

    .service_title h4 {
        color: darkblue;
    }

    .service_title h3 {
        background-color: darkblue;
        color: white;
        padding: 20px;
        border-radius: 6px;
    }

.service_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service_box {
    flex: 1 1 250px;
    max-width: 300px;
    height: 350px;
    background-color: #ffffff;
    border: 4px solid darkblue;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service_box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

.ser_img_box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
}

    .ser_img_box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

.service_box h2 {
    color: darkblue;
    margin-top: auto;
    font-size: 1.5rem;
}

.serv_text {
    color: darkblue;
    font-size: 1rem;
    margin-top: 10px;
}
