/* ============================================================
   JANNATA GROUP — KONTAK KAMI PAGE STYLESHEET
   Mobile (<768px), Tablet (768px-1023px), Macbook (1024px-1439px), Desktop (>=1440px)
   ============================================================ */

/* ============================================================
   SECTION 1 — HERO BANNER
   ============================================================ */
.kc-hero-section {
    position: relative;
    height: 450px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 40px;
    background: url('/img/kontak-kami/hero.png') no-repeat center center / cover, linear-gradient(180deg, #000843 -50.43%, #03225D 74.35%, #0F2A5C 133.57%);
    border-radius: 0 0 120px 120px;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.kc-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.kc-hero-tag {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.kc-hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.kc-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 780px;
}

/* ============================================================
   SECTION 2 — MAIN CONTACT INFO & FORM
   ============================================================ */
.kc-main-section {
    background: #F9FAFB;
}

.kc-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: flex-start;
}

/* Left Column: Blue Info Card */
.kc-info-card {
    background: linear-gradient(213.4deg, #004BA8 7.6%, #001D42 134.8%);
    border-radius: 50px;
    padding: 48px;
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 29, 66, 0.2);
    display: flex;
    flex-direction: column;
}

.kc-info-title {
    font-size: 36px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 14px 0;
    line-height: 1.25;
}

.kc-info-desc {
    font-size: 18px;
    line-height: 1.55;
    color: #FFFFFF;
    margin: 0 0 36px 0;
}

.kc-info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.kc-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.kc-info-item.align-start {
    align-items: flex-start;
}

.kc-badge-icon {
    width: 58px;
    height: 58px;
    border-radius: 35px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kc-badge-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.kc-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kc-info-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.kc-info-val {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.5;
    text-decoration: none;
}

a.kc-info-val {
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

a.kc-info-val:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.kc-phone-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.kc-phone-sep {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.kc-address-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
}

.kc-address-block:last-child {
    margin-bottom: 0;
}

/* Right Column: Contact Form */
.kc-form-wrapper {
    background: transparent;
    padding-top: 12px;
}

.kc-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.kc-form-group {
    display: flex;
    flex-direction: column;
}

.kc-form-label {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
    display: block;
}

.kc-form-input,
.kc-form-textarea {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #0F172A;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    padding: 14px 18px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kc-form-input::placeholder,
.kc-form-textarea::placeholder {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #94A3B8;
}

.kc-form-textarea {
    height: 160px;
    resize: vertical;
}

.kc-form-input:focus,
.kc-form-textarea:focus {
    border-color: #004BA8;
    box-shadow: 0 0 0 3px rgba(0, 75, 168, 0.12);
}

/* ============================================================
   SECTION 3 — GOOGLE MAPS EMBED
   ============================================================ */
.kc-map-section {
    width: 100%;
    line-height: 0;
    background: #E2E8F0;
}

.kc-map-wrapper {
    width: 100%;
    height: 440px;
}

.kc-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (Desktop, Macbook, Tablet, Mobile)
   ============================================================ */

/* 1. DESKTOP (>= 1440px) - Handled by default styles */

/* 2. MACBOOK / LAPTOP (1024px to 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .kc-hero-title {
        font-size: 40px;
    }

    .kc-info-card {
        padding: 40px;
        border-radius: 40px;
    }

    .kc-grid {
        gap: 40px;
    }
}

/* 3. TABLET (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .kc-hero-section {
        height: 450px;
        padding-top: 80px;
        border-radius: 0 0 60px 60px;
    }

    .kc-hero-title {
        font-size: 32px;
    }

    .kc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kc-info-card {
        padding: 36px;
        border-radius: 36px;
    }

    .kc-map-wrapper {
        height: 360px;
    }
}

/* 4. MOBILE (< 768px) */
@media (max-width: 767px) {
    .kc-hero-section {
        height: 350px;
        padding-top: 80px;
        padding-bottom: 24px;
        border-radius: 0 0 40px 40px;
    }

    .kc-hero-title {
        font-size: 26px;
    }

    .kc-hero-desc {
        font-size: 14px;
    }

    .kc-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kc-info-card {
        padding: 24px;
        border-radius: 28px;
    }

    .kc-info-title {
        font-size: 24px;
    }

    .kc-info-desc {
        font-size: 15px;
    }

    .kc-badge-icon {
        width: 46px;
        height: 46px;
    }

    .kc-badge-icon img {
        width: 22px;
        height: 22px;
    }

    .kc-info-val {
        font-size: 15px;
    }

    .kc-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kc-map-wrapper {
        height: 300px;
    }
}

/* ============================================================
   ALERTS & VALIDATION STYLES
   ============================================================ */
.kc-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 24px;
}

.kc-alert-success {
    background: #ECFDF5;
    border: 1px solid #10B981;
    color: #065F46;
}

.kc-alert-danger {
    background: #FEF2F2;
    border: 1px solid #EF4444;
    color: #991B1B;
}

.kc-alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

.kc-form-input.is-invalid,
.kc-form-textarea.is-invalid {
    border-color: #EF4444 !important;
    background-color: #FEF2F2 !important;
}

/* ============================================================
   SUBMIT BUTTON STYLING (FIGMA PILL DESIGN)
   ============================================================ */
.kc-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #091C60;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(9, 28, 96, 0.25);
    outline: none;
    text-decoration: none;
    line-height: 1;
}

.kc-btn-submit:hover {
    background: #0C45B5;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 69, 181, 0.35);
}

.kc-btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(9, 28, 96, 0.2);
}

.kc-btn-submit:disabled {
    background: #94A3B8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.kc-btn-submit svg {
    transition: transform 0.25s ease;
}

.kc-btn-submit:hover svg {
    transform: translateX(4px);
}