/* ==========================================================
   Reach Us / Contact
   ========================================================== */

/* ============================================
   PAGE TITLE / HERO BANNER
   ============================================ */

.km-page-title {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.km-page-title-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,106,150,0.75) 0%, rgba(50,54,67,0.80) 100%);
    z-index: 1;
}

.km-page-title-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.km-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.km-breadcrumb li a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.km-breadcrumb li a:hover {
    color: #fff;
}

.km-breadcrumb li.active {
    color: #fff;
    font-weight: 500;
}

.km-breadcrumb-sep {
    color: rgba(255,255,255,0.4);
}

.km-page-title h1 {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.km-page-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-weight: 300;
}
/* ============================================
   CONTACT SECTION
   ============================================ */

.km-contact-section {
    padding: 120px 0 70px 0;
    background: #f5f7f9;
}

.km-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
/* ---- Contact Cards ---- */

.km-contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -50px;
    position: relative;
    z-index: 3;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.km-contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.km-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.km-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 106, 150, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: #006A96;
    transition: all 0.3s;
}

.km-contact-card:hover .km-card-icon {
    background: #006A96;
    color: #fff;
}

.km-contact-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #323643;
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.km-contact-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.km-contact-card p a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.km-contact-card p a:hover {
    color: #006A96;
}
/* ---- Main: Info + Form ---- */

.km-contact-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
    background: #fff;
}
/* Left Side - Info */

.km-contact-info-side {
    background: linear-gradient(160deg, #006A96 0%, #004d6e 100%);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.km-contact-info-side::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    top: -80px;
    right: -80px;
}

.km-contact-info-side::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -60px;
}

.km-contact-info-inner {
    position: relative;
    z-index: 2;
}

.km-contact-info-inner h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.km-contact-info-inner > p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0 0 32px 0;
}

.km-info-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.km-info-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.km-feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #40c4ff;
    flex-shrink: 0;
}

.km-info-social span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    display: block;
    margin-bottom: 12px;
}

.km-info-social-icons {
    display: flex;
    gap: 10px;
}

.km-info-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.km-info-social-icons a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
/* Right Side - Form */

.km-contact-form-side {
    padding: 50px 44px;
}

.km-contact-form-inner h3 {
    font-size: 24px;
    font-weight: 700;
    color: #323643;
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.km-form-desc {
    font-size: 14px;
    color: #888;
    margin: 0 0 28px 0;
}

.km-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

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

.km-form-full {
    margin-bottom: 18px;
}

.km-form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.km-form-group label span {
    color: #e74c3c;
}

.km-form-group input, .km-form-group select, .km-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    border: 1.5px solid #e0e3e8;
    border-radius: 8px;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.km-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.km-form-group input:focus, .km-form-group select:focus, .km-form-group textarea:focus {
    border-color: #006A96;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 106, 150, 0.08);
}

.km-form-group input::placeholder, .km-form-group textarea::placeholder {
    color: #aaa;
}

.km-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.km-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: #006A96;
    border: 2px solid #006A96;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.km-form-submit:hover {
    background: #004d6e;
    border-color: #004d6e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 106, 150, 0.3);
}

.km-form-submit i {
    font-size: 13px;
    transition: transform 0.2s;
}

.km-form-submit:hover i {
    transform: translateX(3px);
}
/* ============================================
   MAP SECTION
   ============================================ */

.km-map-section {
    background: #fff;
}

.km-map-header {
    padding: 40px 0 30px;
    text-align: center;
}

.km-map-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #323643;
    margin: 0 0 6px 0;
    font-family: 'Poppins', sans-serif;
}

.km-map-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.km-map-wrapper {
    line-height: 0;
}

.km-map-wrapper iframe {
    width: 100%;
    height: 420px;
    border: 0;
}
/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .km-contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .km-contact-main {
        grid-template-columns: 1fr;
    }
    .km-contact-info-side {
        padding: 40px 36px;
    }
    .km-contact-form-side {
        padding: 40px 36px;
    }
}

@media (max-width: 640px) {
    .km-page-title {
        height: 320px;
    }
    .km-page-title h1 {
        font-size: 30px;
    }
    .km-contact-cards {
        grid-template-columns: 1fr;
        margin-top: -30px;
        padding: 0 20px;
    }
    .km-contact-card {
        padding: 24px 20px;
    }
    .km-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .km-contact-info-side, .km-contact-form-side {
        padding: 30px 24px;
    }
    .km-contact-info-inner h2 {
        font-size: 22px;
    }
    .km-contact-form-inner h3 {
        font-size: 20px;
    }
    .km-contact-container {
        padding: 0 16px;
    }
    .km-map-wrapper iframe {
        height: 300px;
    }
}
