/* ==========================================
   Product Family Overview
========================================== */

.product-family {
    padding: 3rem 0;
    background: #fff;
}

.product-family__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-family__title {
    color: var(--Blue, #001E5A);
    text-align: center;
    font-family: Swiza, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 2.25rem;
    margin: 0 0 4rem;
}

/* ==========================================
   Cards Grid
========================================== */

.product-family__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.product-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 1rem);
    max-width: 27.5rem;
    background: #F4F5F8;
    overflow: hidden;
    transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ==========================================
   Image
========================================== */

.product-card__image {
    width: 100%;
    height: 17.5625rem;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.product-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.product-card:hover .product-card__image img {
    transform: scale(1.03);
}

.product-card:hover .product-card__image::after {
    /* background: rgba(0, 0, 0, 0.25); */
}

/* ==========================================
   Content
========================================== */

.product-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2rem;
    text-align: center;
}

.product-card__heading {
    margin-bottom: 1.25rem;
}

.product-card__prefix {
    color: #FF7D00;
    font-family: Swiza, sans-serif;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 2.25rem;
}

.product-card__prefix::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 0 0 0.25rem;
    background-image: url('../images/orange-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.product-card__title {
    color: #001E5A;
    font-family: Swiza, sans-serif;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 2.25rem;
}

.product-card__description {
    color: #001E5A;
    font-family: Swiza, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.product-card__description p {
    margin: 0;
}

/* ==========================================
   Button
========================================== */

.product-card__button {
    margin-top: auto;
    align-self: center;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: .625rem;

    padding: 1rem 1.6875rem;

    color: #001E5A;
    text-decoration: none;
    font-family: Swiza, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4rem;

    border-radius: .5rem;
    border: 1.5px solid #001E5A;
    background: transparent;

    transition: .3s ease;
}


.product-card__button:hover {
    background: transparent;
    border-color: #FF7D00;
    color: #FF7D00;
}
/* ==========================================
   Tablet
========================================== */

@media (max-width:991px){

    .product-card{
        flex:0 0 calc(50% - .75rem);
    }

}

/* ==========================================
   Mobile
========================================== */

@media (max-width:767px){

    .product-family{
        padding:4rem 0;
    }

    .product-family__cards{
        gap:2rem;
    }

    .product-card{
        flex:0 0 100%;
    }

    .product-family__title{
        font-size:2rem;
        line-height:2.5rem;
        margin-bottom:3rem;
    }

}