/* ===============================
   CONTACT US PAGE – PROFESSIONAL CSS
   =============================== */

/* 🔥 SINGLE SOURCE OF TRUTH (COLOR) */
:root {
    --contact-btn-bg: linear-gradient(135deg, #0d6efd, #0a58ca);
}

body {
    font-family: 'Poppins', sans-serif;
}

/* ===============================
   PAGE WIDTH CONTROL
   =============================== */

.contact-container {
    max-width: 1000px;
    margin: auto;
}

/* ===============================
   PAGE HEADING
   =============================== */

.contact-heading h2 {
    font-weight: 600;
    color: #222;
}

.contact-heading p {
    font-size: 14px;
    color: #6c757d;
}

/* ===============================
   MAP SECTION (LEFT)
   =============================== */

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* ===============================
   CONTACT FORM CARD (RIGHT)
   =============================== */

.contact-card {
    background: #ffffff;
    padding: 24px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.contact-card h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 18px;
}

/* ===============================
   INPUTS & TEXTAREA
   =============================== */

.contact-card .form-control {
    height: 42px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 13px;
    transition: all 0.25s ease;
}

.contact-card textarea.form-control {
    height: auto;
    resize: none;
}

.contact-card .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.12rem rgba(13, 110, 253, 0.15);
}

/* ===============================
   ICON INPUT (WITH BUTTON COLOR BG)
   =============================== */

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: var(--contact-btn-bg); /* 🔥 SAME AS SUBMIT BUTTON */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    pointer-events: none;
}

/* padding for icon */
.input-icon .form-control {
    padding-left: 54px;
}

/* ===============================
   SUBMIT BUTTON
   =============================== */

.contact-card .btn-primary {
    height: 42px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    background: var(--contact-btn-bg); /* 🔥 SAME VARIABLE */
    border: none;
    transition: all 0.25s ease;
}

.contact-card .btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* ===============================
   SUCCESS / ERROR ALERT
   =============================== */

.contact-alert {
    border-radius: 6px;
    font-size: 13px;
    padding: 12px;
    margin-bottom: 14px;
}

/* ===============================
   SPACING CONTROL
   =============================== */

.contact-card .mb-3 {
    margin-bottom: 10px !important;
}

.contact-card .mb-4 {
    margin-bottom: 14px !important;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 576px) {
    .contact-card {
        padding: 20px 16px;
    }

    .contact-map iframe {
        min-height: 300px;
    }
}
