/* Main color */
:root {
    --main-color: #002E74;
    --secondary-color: #DF1918;
}

/* Section Styles */
.section-heading {
    color: var(--main-color);
    font-size: 40px;
    margin-bottom: 10px;
}

.section-heading2 {
    color: var(--main-color);
    font-size: 40px;
    margin-bottom: 10px;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center align items */
    align-items: stretch; /* Stretch items to fit container height */
    height: auto;
    max-width: 100%; /* Allow container to take full width */
}

.service-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: border-color 0.3s ease-in-out;
    flex: 1;
    max-width: 300px; /* Set maximum width for each item */
}

    .service-item:hover {
        border: 2px solid var(--secondary-color);
    }

    .service-item i {
        font-size: 40px;
        color: var(--main-color);
        margin-bottom: 10px;
        display: block;
        text-align: center;
    }

.service-title {
    color: var(--main-color);
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}

.service-description {
    color: #555;
    font-size: 16px;
    text-align: center;
}

.consult {
    text-align: center;
    margin-top: 50px;
}

.consult-btn {
    background-color: var(--main-color);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .consult-btn:hover {
        background-color: var(--secondary-color);
    }

/* Media Queries for responsiveness */
@media only screen and (max-width: 768px) {
 /*   .row {
        margin-top: -200px
    }*/
    .service-container {
        flex-direction: column; /* Change flex direction to column on smaller screens */
        align-items: center; /* Center align items */
    }

    .section-heading2 {
        margin-top: 100px;
    }

    .section-heading {
        margin-top: -100px;
    }

    .service-item {
        width: 100%; /* Set width to 100% on smaller screens */
        max-width: none; /* Remove maximum width */
    }
}

