﻿

.service-section {
    padding: 40px 0px;
    background-color: #f9f9f9; /* Light background for contrast */
}

.section-title {
    text-align: center;
    font-size: 33px;
    margin-bottom: 20px;
    color: #051650;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Create 2 columns */
    gap: 20px; /* Space between grid items */
}

.service-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 20px 0;
   
}


    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

.service-title {
    font-size: 25px;
    margin: 10px 0 0px 0;
}

.service-description {
    line-height: 1.75;
    font-size: 16px;
    font-weight: 500;
    /*font-family: Quicksand, sans-serif;*/
    font-family: 'Roboto', sans-serif;
    margin: 10px 0;
}

/* New CSS for list items */
.service-card ul {
    line-height: 1.75; /* Line height for better readability */
    font-size: 16px; /* Font size for list items */
    font-weight: 500; /* Font weight for list items */
    font-family: 'Roboto', sans-serif; /* Font family for list items */
    padding-left: 20px; /* Add left padding for list items */
}

.service-image {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px 8px 0 0; /* Rounded corners on top */
    margin-bottom: 15px; /* Space between image and text */
}

.service-subhead {
    font-size: 18px;
}

@media (max-width: 767px) {
    .service-grid {
        display: inline-block;
        /* margin-bottom: 20px; */
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card {
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 5px;
        transition: transform 0.3s, box-shadow 0.3s;
        margin: 20px;
    }
}










/* effects CSS */
/* Animation for fade-in effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px); /* Slightly shift it down initially */
    animation: fadeInEffect 1s ease-out forwards; /* Trigger on page load */
}

/* Slide-in effect from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px); /* Start slightly off-screen */
    animation: slideInLeftEffect 1.5s ease-out forwards;
}

/* Slide-in effect from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px); /* Start slightly off-screen */
    animation: slideInRightEffect 1.5s ease-out forwards;
}

/* Keyframes for animations */
@keyframes fadeInEffect {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeftEffect {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRightEffect {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}










.sub-title {
    font-size: 16px;
    color: #051650;
    font-weight: 600;
}