/* Service Card Design - Landing page */

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; /* ensures equal height per row */
    gap: 1.5rem;
}

.service-card-lp {
    padding: 1.875rem 1.5625rem;  
    width: 100%;
    max-width: 20.25rem;
    min-width: 16rem;
    flex: 1 1 280px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 1.2rem;

    box-shadow: 4px 4px 6px 0px #0000000D;
    background: #fcfcfcFF;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 25px;
}

/* Hover */
.service-card-lp:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 4px 4px 6px 0px #0000000D;
}

/* Title */
.card-title {
    color: #0a0f35;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.44rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* Description */
.card-description {
    opacity: 0.8;
    color: #080d34a5;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* CTA Button */
.cta-button-card {
    display: flex;
    padding: 0.725rem 1.25rem;
    align-items: center;
    justify-content: center;
    background: #fe6b01;
    color: white;
    border: none;
    width: fit-content;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s ease-in-out;
}

/* Hover CTA */
a:hover .cta-button-card {
    transform: translateY(-5px);
    background-color: #0a0f35; 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-card a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

/* Icon */
.card-icon {
    width: 3.5rem;
    height: auto;
    margin-bottom: 0.25rem;
}

/* Content Wrapper */
.service-card-description-cta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;

    flex-grow: 1;              /* fills vertical space */
    justify-content: space-between; /* pushes CTA to bottom */
}