:root {
    --primary-color: #077c8c;
    --primary-dark: #056674;
    --primary-light: #0a92a5;
    --secondary-color: #dfedf1;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --card-bg: #ffffff;
}

/* MAIN WRAPPER */
.contact-section-wrapper {
    padding: 80px 0;
    background: #f4f7f9;
}

/* --- 1. NEW HEADER SECTION (Top Center) --- */
.contact-header-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto; /* Niche gap diya taaki form se chipke na */
}

.contact-main-heading {
    color: #077c8c;
    font-weight: 600;
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-sub-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- 2. MIDDLE SECTION (Info & Form) --- */

/* Left Side Info Container */
.contact-info-container {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    height: 100%; /* Form ke barabar height lene ke liye */
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem; 
    color: var(--text-light);
    font-weight: 500;
    text-align: left;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* Right Side Form Card (Compact Version) */
.contact-form-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px 25px; /* Compact padding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 450px; /* Width fix */
    margin: 0 auto;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.2rem;
}

.text-muted.mb-4 {
    margin-bottom: 1rem !important;
    font-size: 0.85rem;
}

/* Inputs */
.form-group-wrapper { margin-bottom: 0.8rem; }
.contact-label { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; display: block; }

.contact-input, .contact-select {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 10px; /* Slim inputs */
    font-size: 0.85rem;
    transition: 0.3s;
}

.contact-input:focus {
    background: #fff;
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 124, 140, 0.1);
}

.contact-submit-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 30px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    display: block;
    margin: 15px auto 0;
    min-width: 150px;
}

.contact-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- 3. BOTTOM MAP SECTION (Full Width) --- */
.full-width-map-wrapper {
    margin-top: 60px; /* Form aur Map ke beech gap */
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    height: 400px; /* Map ki height badi kar di taaki achha dikhe */
}

.full-width-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .contact-main-heading { font-size: 2.2rem; }
    
    .contact-info-container {
        padding-right: 0;
        margin-bottom: 40px; /* Mobile pe info aur form ke beech gap */
        padding-left: 10px;
    }

    .full-width-map-wrapper {
        height: 300px; /* Mobile pe map thoda chhota */
        margin-top: 40px;
    }
}