/* =========================================================
   CONTACT PAGE (Form Left + Map Right)
   ========================================================= */

body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #334155;
}

/* --- Page Header --- */
.page-header {
    background: #0a1a33;
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
}
.page-header h1 {
    color: #ffffff;
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}
.page-header p {
    color: #94a3b8;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Main Layout Container --- */
.contact-main-wrapper {
    max-width: 1200px;
    margin: -60px auto 80px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

/* --- 1. Info Cards (TOP - Side by Side) --- */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.info-card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(11, 92, 255, 0.08);
    border-color: rgba(11, 92, 255, 0.2);
}
.info-card .icon-box {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: #0b5cff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-card .text-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.info-card .text-box p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- 2. Big White Card (Form Left + Map Right) --- */
.contact-split-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    overflow: hidden;
    min-height: 600px;
}

/* Left Side: Form */
.form-side {
    padding: 45px;
    border-right: 1px solid #e2e8f0;
}
.form-side h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.form-side > p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.input-group {
    margin-bottom: 10px;
}
.input-group.full-width {
    grid-column: span 2;
}
.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #0f172a;
    outline: none;
    transition: 0.2s;
    background: #f8fafc;
}
.input-group input:focus,
.input-group textarea:focus {
    border-color: #0b5cff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.1);
}
.input-group textarea {
    resize: vertical;
    min-height: 100px;
}
.btn-submit {
    background: #0b5cff;
    color: #ffffff;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(11, 92, 255, 0.3);
    margin-top: 10px;
}
.btn-submit:hover {
    background: #0846c4;
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Right Side: Map */
.map-side {
    position: relative;
    background: #f1f5f9;
    overflow: hidden;
    height: 100%;
}
.map-side iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    transition: filter 0.5s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .info-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-split-card {
        grid-template-columns: 1fr;
    }
    .form-side {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .map-side {
        height: 400px;
    }
}
@media (max-width: 768px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .form-side {
        padding: 30px 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .input-group.full-width {
        grid-column: span 1;
    }
    .page-header h1 {
        font-size: 36px;
    }
    .map-side {
        height: 300px;
    }
}
