@font-face {
    font-family: "TeXGyreAdventor-bold";
    src: url("fonts/texgyreadventor-bold.otf") format("opentype");
    font-weight: bold;
}

body {
    font-family: "TeXGyreAdventor-bold", sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #212121;
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 5px;
}

/* ===== INNER BANNER ===== */
.inner-banner {
    display: block;
    padding: 60px 0;
    min-height: 290px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(../img/bg-blog.png) no-repeat center top / cover;
    position: relative;
}

.inner-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.inner-banner .container {
    position: relative;
    z-index: 1;
}

.inner-banner h1 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.inner-banner p {
    color: #fff;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

hr {
    width: 40%;
    height: 3px;
    border: none;
    background-color: #fff;
    margin: 20px auto;
    border-radius: 2px;
}

.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.title-underline {
    width: 200px;
    height: 4px;
    background-color: #f7ca17;
    border-radius: 10px;
    margin: 10px auto 20px auto;
}

.section-divider {
    width: 98%;
    height: 2px;
    background-color: #f7ca17;
    border: none;
    border-radius: 10px;
    margin: 10px auto 40px auto;
}

.section-label {
    display: inline-block;
    background: rgba(247, 202, 23, 0.2);
    color: #f7ca17;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    border: 1px solid #f7ca17;
}

.section-title h2 {
    color: #212121;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-title p {
    color: #848383;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-bg {
    background: #f2f2f2;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 0;
}

/* Card Info */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    position: relative;
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 6px;
    background-color: #f7ca17;
    border-radius: 0 0 5px 5px;
    z-index: 100;
    opacity: 0;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.card:hover {
    border-color: #f7ca17;
    box-shadow: 0 6px 20px rgba(247, 202, 23, 0.4);
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: #f7ca17;
    border-radius: 8px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #212121;
}

.card h3 {
    color: #212121;
    margin-bottom: 10px;
    font-weight: bold;
}

.card p {
    color: #848383;
    line-height: 1.5;
}

/* Chat Team Sections */
.chat-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 30px;
    box-shadow: 7px 10px 10px 10px rgba(0, 0, 0, 0.1);
    border-top: 8px solid #f7ca17;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: start;
}

/* Contact Card (Kerjasama Institusi) */
.contact-card {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    padding: 15px 30px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    width: 100%;
    margin: 0;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background-color: #f7ca17;
    border-radius: 0 0 5px 5px;
    z-index: 100;
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.contact-card:hover {
    color: #fff;
    border-color: #f7ca17;
    box-shadow: 0 6px 20px #f7ca17;
    transform: translateY(-5px);
}

.contact-card:hover i,
.contact-card:hover h5,
.contact-card:hover p,
.contact-card:hover h3 {
    color: #212121;
}

.contact-card i {
    font-size: 28px;
    color: #f7ca17;
    margin-bottom: 10px;
}

.contact-card h4,
.contact-card h5,
.contact-card p {
    color: #212121;
}

.contact-info strong {
    color: #212121;
}

.contact-card:hover .contact-info strong {
    color: #212121;
}

.position-underline {
    width: 100px;
    height: 2px;
    background-color: #f7ca17;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.contact-card:hover .position-underline {
    background-color: #f7ca17;
}

/* DETAIL CONTACT INFO (EMAIL, PHONE, WHATSAPP) */
.contact-info {
    color: #666;
    line-height: 2;
    font-size: 16px;
}

.contact-info div {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.contact-info strong {
    display: inline-block;
    width: 80px;
    color: #212121;
    flex-shrink: 0;
}

.contact-info span {
    text-align: right;
    flex-grow: 1;
    color: #666;
}

.contact-card:hover .contact-info span {
    color: #ffffff;
}

/* === BILLING & TECHNICAL SUPPORT === */

.support-billing-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.support-billing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 7px 10px 10px 10px rgba(0, 0, 0, 0.1);
    border-top: 8px solid #f7ca17;
}

.support-billing-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.support-billing-info .info-item {
    padding: 0;
    margin-bottom: 0;
}

.info-icon.small-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
    border-radius: 8px;
}

.support-billing-info .info-item {
    padding: 0;
    margin-bottom: 0;
}

/* Kerjasama Institusi, Billing, Technical Support h3 & subtitle */
.chat-section h3,
.support-billing-card h3 {
    font-size: 2.8rem;
    color: #212121;
    margin-bottom: 5px;
    font-weight: bold;
}
.chat-section .subtitle,
.support-billing-card .subtitle {
    color: #848383;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Map */
.map-section {
    margin-top: 60px;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px; /* Disesuaikan untuk konsistensi */
    /* Konsistensi Visual dengan chat-section dan support-billing-card */
    box-shadow: 7px 10px 10px 10px rgba(0, 0, 0, 0.1); 
    border-top: 8px solid #f7ca17;
}

.map-section h3 {
    font-size: 1.9rem;
    color: #212121;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.map-section .subtitle {
    color: #848484;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.office-info {
    background: #ffffff;
    padding: 0 25px 25px 25px;
    border-radius: 8px;
}

.office-info h4 {
    font-size: 25px;
    color: #212121;
    margin-bottom: 20px;
    margin-top: 0;
    font-weight: bold;
}

.map-section .description {
    color: #848383;
    font-size: 16px;
    margin-bottom: 60px;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    background: #f7ca17;
    color: #212121;
    font-size: 24px;
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-text {
    line-height: 1.4;
}

.info-text h5 {
    font-size: 17px;
    margin: 0 0 6px;
    font-weight: 700;
    color: #212121;
}

.info-text p {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

/* TABLET LAYAR SEDANG */
@media (max-width: 992px) {
    .container1 {
        padding: 30px 20px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .map-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .support-billing-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .container1 {
        padding: 30px 15px;
    }

    .section-title {
        margin: 40px 0 30px;
    }

    .section-label {
        font-size: 14px;
        padding: 8px 16px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 13px;
        padding: 0px 15px;
    }

    .title-underline {
        width: 150px;
        height: 3px;
    }

    .section-divider {
        width: 95%;
        margin: 15px auto 30px auto;
    }

    .section-bg {
        padding: 40px 0;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .card {
        padding: 25px 15px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .card h3 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 13px;
    }

    .chat-section {
        padding: 25px 20px;
        margin-top: 30px;
        margin-bottom: 25px;
        border-top: 6px solid #f7ca17;
        box-shadow: 5px 7px 7px 7px rgba(0, 0, 0, 0.08);
    }

    .chat-section h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .chat-section .subtitle {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .contact-grid {
        padding: 0 0; /* Dihapus padding 15px 20px agar grid contact full width */
        grid-template-columns: 1fr; /* Diubah menjadi satu kolom pada mobile kecil */
        gap: 15px;
    }

    .support-billing-card {
        padding: 25px;
        border-top: 6px solid #f7ca17;
    }

    .support-billing-card .subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .support-billing-card h3 {
        font-size: 22px;
    }

    .map-section {
        margin-top: 40px;
        padding: 30px 20px;
        box-shadow: 5px 7px 7px 7px rgba(0, 0, 0, 0.08);
        border-top: 6px solid #f7ca17;
    }

    .map-section h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .map-section .subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }

    iframe {
        height: 300px;
    }
}

/* MOBILE KECIL */
@media (max-width: 480px) {
    .inner-banner h1 {
        font-size: 36px;
    }

    .inner-banner p {
        font-size: 14px;
        padding: 0 10px;
    }

    .card h3 {
        font-size: 1.4rem;
    }

    .chat-section h3,
    .support-billing-card h3 {
        font-size: 2rem;
    }
}