.contact-page {
    position: relative;
    padding: 2.75rem 0 2.5rem;
    background:
        radial-gradient(circle at 8% 0%, rgba(6, 135, 100, .10), transparent 42%),
        radial-gradient(circle at 92% 8%, rgba(255, 193, 7, .16), transparent 38%),
        #f8faf9;
    zoom: 1.1;
}

.contact-hero {
    max-width: 640px;
    margin: 0 auto 1.9rem;
    text-align: center;
}

.contact-hero__title {
    margin-bottom: .4rem;
    color: #123b33;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1.6;
}

.contact-hero__title span {
    color: #068764;
}

.contact-hero__text {
    margin: 0;
    color: #6b7c78;
    font-size: .86rem;
    line-height: 1.9;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    padding-top: 1rem;
}

.contact-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(6, 135, 100, .10);
    border-radius: 20px;
    box-shadow: 0 16px 36px -30px rgba(9, 60, 48, .55);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 135, 100, .22);
    box-shadow: 0 24px 46px -30px rgba(9, 60, 48, .55);
}

.contact-card::after {
    content: "";
    position: absolute;
    right: 22%;
    bottom: -1px;
    left: 22%;
    height: 3px;
    border-radius: 50rem;
    background: linear-gradient(90deg, #068764, #ffc107);
    transform: scaleX(0);
    transition: transform .35s ease;
}

.contact-card:hover::after {
    transform: scaleX(1);
}

.contact-card__icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    margin: 0 auto 2rem;
    background: transparent;
    transition: transform .32s ease;
}

.contact-card:hover .contact-card__icon {
    transform: translateY(-3px);
}

.contact-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.contact-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.85rem 1.6rem 1.1rem;
    text-align: center;
}

.contact-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-bottom: .3rem;
}

.contact-card__title {
    margin: 0;
    color: #123b33;
    font-size: 1.08rem;
    font-weight: 800;
}

.contact-card__tag {
    padding: .16rem .6rem;
    border-radius: 50rem;
    background: rgba(6, 135, 100, .08);
    color: #123b33;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-card__desc {
    min-height: 2.7rem;
    margin: 0 0 .75rem;
    color: #6b7c78;
    font-size: .83rem;
    line-height: 1.8;
}

.contact-card__features {
    width: 100%;
    margin: 0 0 .85rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    text-align: start;
}

.contact-card__features li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    color: #435b55;
    font-size: .8rem;
    line-height: 1.7;
}

.contact-card__features li i {
    flex: 0 0 auto;
    margin-top: .18rem;
    color: #068764;
    font-size: .85rem;
}

.contact-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}

.contact-card__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .36rem .75rem;
    border: 1px solid rgba(6, 135, 100, .10);
    border-radius: 12px;
    background: #f6f9f8;
    color: #435b55;
    font-size: .78rem;
    text-decoration: none;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.contact-chip i {
    width: .9rem;
    color: #f0b429;
    text-align: center;
}

.contact-chip:hover {
    border-color: rgba(6, 135, 100, .28);
    background: #fff;
    color: #068764;
}

.contact-card__cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .44rem 1.05rem;
    border-radius: 50rem;
    background: linear-gradient(135deg, #068764, #0aa87c);
    box-shadow: 0 10px 20px -14px rgba(6, 135, 100, .9);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
}

.contact-card__cta i {
    transition: transform .3s ease;
}

.contact-card__cta:hover {
    color: #fff;
    transform: translateY(-2px);
}

.contact-card__cta:hover i {
    transform: translateX(-3px);
}

/* Large screens: chips and CTA stack vertically; phones keep them in a row */
@media (min-width: 768px) {
    .contact-page {
        padding: 2.25rem 0 2rem;
    }

    .contact-hero {
        margin-bottom: 1.65rem;
    }

    .contact-card__body {
        padding: 1.75rem 1.6rem 1rem;
    }

    .contact-card__desc {
        min-height: 2.5rem;
        margin-bottom: .65rem;
    }

    .contact-card__actions {
        flex-direction: column;
        gap: .5rem;
        width: 100%;
        max-width: 300px;
    }

    .contact-card__info {
        flex-direction: column;
        align-items: stretch;
        gap: .4rem;
        width: 100%;
    }

    .contact-card__info .contact-chip,
    .contact-card__cta {
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 768px) and (max-height: 800px) {
    .contact-page {
        padding: 1.5rem 0 1.5rem;
    }

    .contact-hero {
        margin-bottom: 1.35rem;
    }

    .contact-hero__text {
        display: none;
    }

    .contact-list {
        gap: 2.5rem;
    }

    .contact-card__body {
        padding: 1.55rem 1.5rem .85rem;
    }

    .contact-card__desc {
        min-height: 2.2rem;
        margin-bottom: .55rem;
        font-size: .8rem;
    }
}

/* Big screens: the three cards sit in one row (three columns) */
@media (min-width: 992px) {
    .contact-hero {
        margin-bottom: 1.5rem;
    }

    .contact-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
        padding-top: 2.4rem;
    }

    .contact-card {
        height: 100%;
    }

    .contact-card__body {
        padding: 1.85rem 1.25rem 1.15rem;
    }

    .contact-card__title {
        font-size: 1rem;
    }

    .contact-card__actions {
        max-width: 100%;
    }
}

/* Wider cards (about 30% bigger) on large screens */
@media (min-width: 1200px) {
    .contact-page .container {
        max-width: 1482px;
    }
}

@media (max-width: 575.98px) {
    .contact-page {
        padding: 2rem 0 2.5rem;
    }

    .contact-list {
        gap: 2rem;
    }

    .contact-card__body {
        padding: 1.6rem 1.15rem 1rem;
    }

    .contact-card__actions {
        flex-direction: row;
    }

    .contact-card__info {
        flex-direction: row;
    }
}
