/* CSS for services.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
}

/* Services Section */
.services-section {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    justify-content: space-between;
}

/* Service Card */
.service-card {
    margin: 1rem;
    border-radius: 10px; /* Slightly more rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: 350px; /* Fixed height for uniformity */
    width: calc(50% - 2rem); /* Fixed width for cards */
    display: flex;
    flex-direction: column; /* Stack title and description vertically */
    justify-content: flex-start; /* Align content to the top */
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.4s, box-shadow 0.4s;
    overflow: hidden; /* Prevent overflow */
}

.service-card:hover {
    transform: translateY(-5px) scale(1.03); /* Slightly reduced scale effect */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Image */
.card-image {
    width: 100%;
    height: 100%; /* Full height of the card */
    object-fit: cover; /* Ensure the image covers the area */
    border-radius: 10px; /* Rounded corners for the entire card */
}

/* Title */
.service-title {
    font-size: 1.4rem; /* Title font size */
    margin: 0.5rem 0; /* Space above and below the title */
    color: #333;
    text-align: center;
    font-weight: bold; /* Bold title */
}

/* Description */
.service-description {
    font-size: 0.95rem;
    color: #666;
    padding: 0 1rem;
    text-align: justify;
    flex-grow: 1;
    display: block; /* Ensure it uses full block space */
    line-height: 1.5; /* Optional: for readability */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .service-card {
        flex: 1 1 calc(100% - 2rem); /* Full width on small screens */
        height: auto; /* Allow for flexibility on smaller screens */
    }

    .service-title {
        font-size: 1.3rem; /* Smaller title font on mobile */
    }

    .service-description {
        font-size: 0.9rem; /* Smaller description font on mobile */
    }
}






