
/* =====================================================
   CONTACT PAGE - DIKLAT BLKM MEDAN
===================================================== */

.contact-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.contact-section {
    padding: 65px 0;
    background: #f7faf8;
}

/* =====================================================
   HERO
===================================================== */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 55px 0;
    background:
        radial-gradient(circle at 85% 20%, #d9f5e6 0, transparent 30%),
        linear-gradient(120deg, #eaf8f0, #f8fcf9 65%, #eff9f2);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    border-radius: 30px;
    color: #087b4c;
    background: #d9f3e4;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.3px;
}

.contact-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #159b65;
}

.contact-hero h1 {
    margin: 20px 0 12px;
    color: #25372e;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 850;
    line-height: 1.2;
}

.contact-hero-content > p {
    max-width: 610px;
    margin: 0;
    color: #718078;
    font-size: 14px;
    line-height: 1.9;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 23px;
    font-size: 12px;
}

.contact-breadcrumb a {
    color: #718078;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: #159b65;
}

.contact-breadcrumb span {
    color: #a4b2a9;
}

.contact-breadcrumb strong {
    color: #159b65;
}

.contact-hero-decoration {
    position: absolute;
    top: 0;
    right: 3%;
    width: 330px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-circle {
    position: absolute;
    border: 1px solid rgba(21, 155, 101, .15);
    border-radius: 50%;
}

.circle-one {
    width: 250px;
    height: 250px;
}

.circle-two {
    width: 180px;
    height: 180px;
}

.decoration-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    border-radius: 30px;
    color: #159b65;
    background: #fff;
    box-shadow: 0 15px 45px rgba(25, 135, 84, .12);
    font-size: 43px;
}

/* =====================================================
   HEADING
===================================================== */

.contact-heading {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-heading > span {
    color: #159b65;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 2px;
}

.contact-heading h2 {
    margin: 12px 0;
    color: #25372e;
    font-size: clamp(26px, 3vw, 35px);
    font-weight: 850;
}

.contact-heading p {
    margin: 0;
    color: #718078;
    font-size: 13px;
    line-height: 1.9;
}

/* =====================================================
   CONTACT GRID
===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 340px;
    padding: 27px 19px 20px;
    border: 1px solid #e7eee9;
    border-radius: 17px;
    background: #fff;
    text-align: center;
    transition: .25s ease;
}

.contact-card:hover {
    border-color: #b9e6cd;
    box-shadow: 0 12px 30px rgba(23, 90, 55, .08);
    transform: translateY(-5px);
}

/* ICON */

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 17px;
    font-size: 24px;
}

.contact-icon-email {
    color: #159b65;
    background: #e7f8ef;
}

.contact-icon-whatsapp {
    color: #20a765;
    background: #e7f8ef;
}

.contact-icon-location {
    color: #d98227;
    background: #fff2e3;
}

.contact-icon-social {
    color: #8061c8;
    background: #f1ecff;
}

/* CARD CONTENT */

.contact-card-label {
    color: #159b65;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.2px;
}

.contact-card h3 {
    margin: 8px 0 9px;
    color: #293a30;
    font-size: 17px;
    font-weight: 850;
}

.contact-card > p {
    min-height: 58px;
    margin: 0;
    color: #718078;
    font-size: 11px;
    line-height: 1.8;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 15px;
    padding: 10px 14px;
    border-radius: 9px;
    color: #087b4c !important;
    background: #eaf8f1;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
    transition: .25s ease;
}

.contact-action:hover {
    color: #fff !important;
    background: #159b65;
}

.contact-action i {
    font-size: 10px;
}

.contact-detail {
    margin-top: auto;
    padding-top: 17px;
    color: #839087;
    font-size: 10px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* SOCIAL */

.contact-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 19px;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 11px;
    color: #159b65;
    background: #eaf8f1;
    font-size: 15px;
    text-decoration: none;
    transition: .25s ease;
}

.contact-social a:hover {
    color: #fff;
    background: #159b65;
    transform: translateY(-3px);
}

/* =====================================================
   BOTTOM INFORMATION
===================================================== */

.contact-bottom {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 25px;
    padding: 22px 25px;
    border: 1px solid #ccebd9;
    border-radius: 15px;
    background: #eaf8f1;
}

.contact-bottom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: #159b65;
    background: #fff;
    font-size: 20px;
}

.contact-bottom > div:nth-child(2) {
    flex: 1;
}

.contact-bottom h4 {
    margin: 0 0 5px;
    color: #087b4c;
    font-size: 14px;
    font-weight: 850;
}

.contact-bottom p {
    margin: 0;
    color: #527461;
    font-size: 11px;
    line-height: 1.7;
}

.contact-bottom > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 12px 17px;
    border-radius: 9px;
    color: #fff !important;
    background: #159b65;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
    transition: .25s ease;
}

.contact-bottom > a:hover {
    background: #087b4c;
}

/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 991px) {

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-hero-decoration {
        right: -70px;
        opacity: .5;
    }

}

/* =====================================================
   RESPONSIVE MOBILE
===================================================== */

@media (max-width: 600px) {

    .contact-container {
        width: calc(100% - 30px);
    }

    .contact-hero {
        padding: 43px 0;
    }

    .contact-hero-content {
        max-width: 100%;
    }

    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-hero-content > p {
        font-size: 12px;
    }

    .contact-hero-decoration {
        display: none;
    }

    .contact-section {
        padding: 45px 0;
    }

    .contact-heading {
        margin-bottom: 27px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .contact-card {
        min-height: 320px;
        padding: 20px 12px 16px;
    }

    .contact-card h3 {
        font-size: 15px;
    }

    .contact-card > p {
        font-size: 10px;
        min-height: 65px;
    }

    .contact-detail {
        font-size: 9px;
    }

    .contact-bottom {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 18px;
    }

    .contact-bottom > div:nth-child(2) {
        min-width: calc(100% - 65px);
    }

    .contact-bottom > a {
        width: 100%;
    }

}

@media (max-width: 360px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: 280px;
    }

}
