/* ══════════════════════════════════════════════
   HALAMAN HUBUNGI KAMI — kontak.css
   Selaras dengan design system visi-misi.css / profil.css
   ══════════════════════════════════════════════ */
:root {
    --blue-primary: #1a3a8f;
    --blue-mid: #1e4ec8;
    --blue-light: #3b82f6;
    --gold: #e9b945;
    --gold-light: #fcd96a;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --text-dark: #0f172a;
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kt-page {
    font-family: var(--body-font, 'DM Sans', sans-serif);
    background: var(--gray-50);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

.kt-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Partikel latar (dipakai ulang dari halaman visi-misi) */
.bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-particles .particle {
    position: absolute;
    bottom: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 58, 143, 0.06), transparent 70%);
    animation: kt-particle-float linear infinite;
}

@keyframes kt-particle-float {
    to {
        transform: translateY(-120vh);
    }
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.page-hero {
    position: relative;
    background-color: #061153;
    background-image: url('/images/hero2.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 64px;
    overflow: hidden;
    text-align: center;
}

/* Overlay gradient navy — selaras dengan hero halaman Program */
.page-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(6, 17, 83, 0.98) 0%,
            rgba(0, 40, 180, 0.85) 50%,
            rgba(6, 17, 83, 0.70) 100%);
    z-index: 1;
}

/* Partikel gelembung naik (looping) — selaras dengan hero halaman Program */
.page-hero__particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.page-hero__particles span {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    animation: kt-bubble-rise infinite ease-in;
}

@keyframes kt-bubble-rise {
    0% {
        bottom: -150px;
        transform: translateX(0) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        bottom: 120%;
        transform: translateX(-30px) scale(1.15);
        opacity: 0;
    }
}

.page-hero__particles span:nth-child(1) { width: 120px; height: 120px; left: 10%; animation-duration: 6s; animation-delay: 0s; }
.page-hero__particles span:nth-child(2) { width: 80px; height: 80px; left: 35%; animation-duration: 8s; animation-delay: 2s; }
.page-hero__particles span:nth-child(3) { width: 50px; height: 50px; left: 55%; animation-duration: 5s; animation-delay: 1s; }
.page-hero__particles span:nth-child(4) { width: 100px; height: 100px; left: 75%; animation-duration: 7s; animation-delay: 3s; }
.page-hero__particles span:nth-child(5) {
    width: 150px;
    height: 150px;
    left: 85%;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
    animation-duration: 9s;
    animation-delay: 0.5s;
}
.page-hero__particles span:nth-child(6) { width: 60px; height: 60px; left: 20%; animation-duration: 6.5s; animation-delay: 4s; }
.page-hero__particles span:nth-child(7) { width: 90px; height: 90px; left: 65%; animation-duration: 7.5s; animation-delay: 1.5s; }

.kt-hero__border {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 4;
    pointer-events: none;
    height: 40px;
}

@media (min-width: 768px) {
    .kt-hero__border {
        height: 65px;
    }
}

.kt-hero__border .kt-parallax>use {
    animation: kt-wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.kt-hero__border .kt-parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
    fill: rgba(255, 255, 255, .20);
}

.kt-hero__border .kt-parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
    fill: rgba(255, 255, 255, .40);
}

.kt-hero__border .kt-parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
    fill: rgba(255, 255, 255, .60);
}

.kt-hero__border .kt-parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
    fill: #ffffff;
}

@keyframes kt-wave {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.hero-garis {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0;
    transform-origin: top;
    animation: kt-garisIn 1.1s var(--ease-out-expo) 0.3s both;
    z-index: 2;
}

@keyframes kt-garisIn {
    from {
        opacity: 0;
        transform: scaleY(0);
    }

    to {
        opacity: 0.6;
        transform: scaleY(1);
    }
}

.page-hero-content {
    position: relative;
    z-index: 3;
}

.page-hero h1 {
    font-family: var(--title-font, 'Manrope', sans-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: kt-slideUp 0.75s var(--ease-out-expo) 0.05s both;
}

.hero-subtitle {
    margin-top: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    opacity: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    animation: kt-slideUp 0.75s var(--ease-out-expo) 0.18s both;
}

.breadcrumb-nav {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    opacity: 0;
    animation: kt-slideUp 0.75s var(--ease-out-expo) 0.28s both;
}

.breadcrumb-nav a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-nav .sep {
    opacity: 0.45;
}

@keyframes kt-slideUp {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════════
   KARTU INFORMASI KONTAK
   ══════════════════════════════════════════════ */
.kt-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: start;
}

@media (max-width: 480px) {
    .kt-info-grid {
        grid-template-columns: 1fr;
    }
}

.kt-info-card {
    background: var(--white);
    border-radius: 18px;
    padding: 26px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--gray-200);
    transition: transform .3s var(--ease-out-expo), box-shadow .3s var(--ease-out-expo);
    display: block;
    text-decoration: none;
    color: inherit;
}

.kt-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(26, 58, 143, 0.14);
}

.kt-info-card--link {
    cursor: pointer;
}

.kt-info-card--link:hover .kt-info-card__icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--blue-primary);
}

.kt-info-card--link:hover .val {
    color: var(--blue-mid);
}

.kt-info-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-mid));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.kt-info-card__icon svg {
    width: 22px;
    height: 22px;
}

.kt-info-card .lbl {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.kt-info-card .val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    word-break: break-word;
}

/* ══════════════════════════════════════════════
   POPOVER PILIHAN EMAIL
   ══════════════════════════════════════════════ */
.kt-email-card {
    position: relative;
    padding: 0;
    overflow: visible;
}

.kt-email-trigger {
    all: unset;
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 26px 20px;
    cursor: pointer;
    text-align: left;
}

.kt-email-card:hover .kt-info-card__icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--blue-primary);
}

.kt-email-card.kt-open .kt-info-card__icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--blue-primary);
}

.kt-email-popover {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% - 10px);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.18);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s var(--ease-out-expo), transform .2s var(--ease-out-expo), visibility .2s;
}

.kt-email-card.kt-open .kt-email-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kt-email-popover a,
.kt-email-popover button {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.kt-email-popover a svg,
.kt-email-popover button svg {
    flex-shrink: 0;
    color: var(--blue-mid);
}

.kt-email-popover a:hover,
.kt-email-popover button:hover {
    background: var(--gray-100);
    color: var(--blue-primary);
}

.kt-email-copy.copied {
    color: #16a34a;
}

.kt-email-copy.copied svg {
    color: #16a34a;
}

/* ══════════════════════════════════════════════
   FORM + SIDEBAR
   ══════════════════════════════════════════════ */
.kt-form-section {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding: 0 0 88px;
}

.kt-form-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}

.kt-form-wrap.kt-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .kt-form-wrap {
        grid-template-columns: 1.4fr 1fr;
    }
}

/* Sidebar: map + social */
.kt-side-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kt-map-wrap {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--gray-200);
    min-height: 240px;
}

.kt-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 240px;
    border: 0;
    display: block;
}

.kt-social-card {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-mid));
    border-radius: 22px;
    padding: 28px 26px;
    color: var(--white);
    box-shadow: 0 10px 34px rgba(26, 58, 143, 0.22);
}

.kt-social-card h3 {
    font-family: var(--title-font, 'Manrope', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.kt-social-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 18px;
}

.kt-social-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kt-social-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background .25s ease, transform .25s ease;
}

.kt-social-list a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.kt-social-list svg {
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════ */
.kt-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-mid));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(26, 58, 143, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    z-index: 40;
}

.kt-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kt-back-to-top:hover {
    filter: brightness(1.1);
}
