/* =====================================
   CONTACT PAGE
   ===================================== */

:root {
    --contact-ink: #101b18;
    --contact-muted: #68766f;
    --contact-green: #173f32;
    --contact-green-dark: #0b211b;
    --contact-lime: #c9f36d;
    --contact-copper: #d87843;
    --contact-cream: #f1f3ee;
    --contact-line: #dce4de;
    --contact-shadow: 0 24px 70px rgba(11, 33, 27, .11);
}

.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* padding: clamp(88px, 11vw, 148px) 0 clamp(92px, 11vw, 142px); */
    padding: 7.5% !important;
    color: #fff;
    background:
        radial-gradient(circle at 88% 14%, rgba(201, 243, 109, .18), transparent 23rem),
        radial-gradient(circle at 8% 110%, rgba(216, 120, 67, .2), transparent 26rem),
        linear-gradient(120deg, #0b211b 0%, #173f32 55%, #245c44 100%) !important;
}

.contact-hero::before,
.contact-hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.contact-hero::before {
    width: clamp(290px, 42vw, 560px);
    height: clamp(290px, 42vw, 560px);
    top: -42%;
    right: -11%;
}

.contact-hero::after {
    width: clamp(180px, 25vw, 340px);
    height: clamp(180px, 25vw, 340px);
    bottom: -32%;
    left: -8%;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 14px;
    border: 1px solid rgba(201, 243, 109, .42);
    border-radius: 999px;
    color: var(--contact-lime);
    background: rgba(201, 243, 109, .1);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1;
}

.contact-hero h1 {
    max-width: 860px;
    margin: 22px auto 18px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.05;
}

.contact-hero p {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(.96rem, 1.5vw, 1.08rem);
    line-height: 1.8;
}

.contact-info-section {
    position: relative;
    z-index: 2;
    margin-top: clamp(-58px, -5vw, -32px);
    overflow-x: hidden;
}

.location-card,
.dept-card,
.map-card,
.contact-card {
    border: 1px solid var(--contact-line);
    background: #fff;
    box-shadow: var(--contact-shadow);
}

.location-card {
    height: 100%;
    padding: clamp(25px, 3vw, 36px);
    border-radius: 22px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.location-card:hover,
.dept-card:hover {
    transform: translateY(-7px);
    border-color: rgba(23, 63, 50, .22);
    box-shadow: 0 30px 80px rgba(11, 33, 27, .16);
}

.location-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 23px;
    place-items: center;
    border-radius: 20px;
    color: var(--contact-green);
    background: linear-gradient(145deg, #e9f5d2, #c9f36d);
    font-size: 1.75rem;
}

.location-card h4 {
    margin-bottom: 14px;
    color: var(--contact-ink);
    font-size: 1.12rem;
    font-weight: 800;
}

.location-card p {
    min-height: 126px;
    margin-bottom: 20px;
    color: var(--contact-muted);
    font-size: .9rem;
    line-height: 1.8;
}

.location-card a,
.dept-card a {
    display: block;
    color: var(--contact-green);
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.location-card a + a,
.dept-card a + a {
    margin-top: 10px;
}

.location-card a:hover,
.dept-card a:hover {
    color: var(--contact-copper);
}

.location-card a i {
    margin-right: 7px;
    color: var(--contact-copper);
}

.department-section {
    padding-top: clamp(45px, 7vw, 88px);
    padding-bottom: clamp(48px, 7vw, 88px);
    /* overflow-x: hidden; */
    background: var(--contact-cream);
}

.department-section .text-center {
    margin-bottom: clamp(28px, 4vw, 46px) !important;
}

.department-section h2 {
    margin: 16px 0 0;
    color: var(--contact-ink);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.department-section .section-badge {
    color: var(--contact-green);
    border-color: rgba(23, 63, 50, .18);
    background: rgba(23, 63, 50, .07);
}

.dept-card {
    height: 100%;
    padding: 29px 20px;
    border-radius: 18px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.dept-card > i {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 17px;
    color: var(--contact-green);
    background: #e9f5d2;
    font-size: 1.4rem;
    transition: color .3s ease, background .3s ease;
}

.dept-card h5 {
    margin-bottom: 14px;
    color: var(--contact-ink);
    font-size: 1rem;
    font-weight: 800;
}

.dept-card:hover {
    background: var(--contact-green);
}

.dept-card:hover h5,
.dept-card:hover a {
    color: #fff;
}

.dept-card:hover > i {
    color: var(--contact-green);
    background: var(--contact-lime);
}

.contact-section {
    padding-top: clamp(46px, 7vw, 88px);
    overflow-x: hidden;
    background: #fff;
}

.map-card {
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: 24px;
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    filter: saturate(.82) contrast(.96);
}

.contact-card {
    height: 100%;
    padding: clamp(25px, 4vw, 46px);
    border-radius: 24px;
}

.contact-card .section-badge {
    color: var(--contact-green);
    border-color: rgba(23, 63, 50, .18);
    background: rgba(23, 63, 50, .07);
}

.contact-card h3 {
    margin: 18px 0 10px;
    color: var(--contact-ink);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.contact-card > p {
    margin-bottom: 28px;
    color: var(--contact-muted);
    font-size: .95rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: 58px;
    border: 1px solid var(--contact-line);
    border-radius: 12px;
    color: var(--contact-ink);
    background: #fbfcfa;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-floating > textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-floating > label {
    color: #819087;
    font-size: .88rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--contact-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23, 63, 50, .1);
}

.contact-btn {
    width: 100%;
    padding: 15px 20px;
    border: 0;
    border-radius: 12px;
    color: var(--contact-green-dark);
    background: var(--contact-lime);
    font-size: .95rem;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.contact-btn i {
    margin-left: 8px;
    transition: transform .25s ease;
}

.contact-btn:hover {
    background: #ffffff;
    box-shadow: -1px 0px 30px rgb(208 183 125);
    transform: translateY(-2px);
}

.contact-btn:hover i {
    transform: translateX(5px);
}

.contact-btn:focus-visible,
.location-card a:focus-visible,
.dept-card a:focus-visible {
    outline: 3px solid rgba(216, 120, 67, .45);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .contact-info-section {
        margin-top: 28px;
    }

    .location-card p {
        min-height: 0;
    }

    .map-card,
    .map-card iframe {
        min-height: 400px;
    }

    .contact-hero {
        padding-top: 100px !important;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        padding-top: 100px !important;
        padding-bottom: 76px;
    }

    .contact-hero h1 {
        letter-spacing: -.04em;
    }

    .location-card {
        border-radius: 18px;
    }

    .map-card,
    .map-card iframe {
        min-height: 320px;
        border-radius: 18px;
    }

    .contact-card {
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .location-card,
    .dept-card,
    .contact-btn,
    .contact-btn i,
    .location-card a,
    .dept-card a {
        transition: none;
    }
}
