body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f5f5f5;
}

main {
    padding: 20px;
}

.services {
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    background-color: #1f3b55;
    color: #fff;
    border-radius: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background-color: #2a4b6e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgb(229, 255, 0);

}


.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

}

.service-item::after {
    content: "";
    color: green;
}

.service-item i {
    font-size: 2rem;
    color: gold;
    margin-bottom: 1rem;
}


.services h2 {
    background-color: #ff9900;

    color: #fff;

    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    text-align: center;
    margin: 20px auto;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3),
        inset 0 -3px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services h2:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.5),
        inset 0 -5px 7px rgba(0, 0, 0, 0.3);
}


.service-item h3 {
    color: #f1c40f;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    background-color: #1f3b55;
    color: #fff;
    padding: 10px 0;
    margin-top: 20px;
}


@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}