/* Container for the services section */
.servicescontainers {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

/* Grid layout for service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding-top: 20px;
    align-items: stretch; /* Ensures all cards stretch to the tallest one */
}

/* Service Card Styling */
.service-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

/* Icons inside the service cards */
.service-card i {
    font-size: 2rem;
    color: #f16232;
    margin-bottom: 10px;
}

/* Service card title */
.service-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    
}

/* Service card description */
.service-card p {
    flex-grow: 1;
    min-height: 80px; /* Ensures all text descriptions have equal height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensures the entire card is clickable */
.services-grid a {
    text-decoration: none;
    color: inherit; /* Keeps text color */
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Remove text-decoration when hovering */
.services-grid a:hover {
    text-decoration: none;
}

/* Prevents extra padding/margin issues */
a:focus,
a:visited {
    outline: none;
    text-decoration: none;
}

/* Hover Effect on Cards */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
