/* --- Contact Section Main Styling --- */
.contact-section {
    padding: 80px 8%;
    background-color: #ffffff;
    font-family: 'Lato', sans-serif;
}

.contact-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    margin-bottom: 60px;
}

.contact-info, .contact-form-wrapper {
    flex: 1;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #df0617;
    font-weight: 900;
}

.intro-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* --- Individual Info Items (Icon & Details Fix) --- */
.info-item {
    display: flex; /* Icon aur text ko side-by-side laane ke liye */
    align-items: flex-start; /* Icon ko heading ke sath upar rakhega */
    gap: 15px;
    margin-bottom: 25px;
}

/* --- ICON SIZE LOCK (FIXED) --- */
.icon-box {
    flex: 0 0 32px;    /* Box ki width 32px par lock kar di */
    width: 32px;       /* Width bada di */
    height: 32px;      /* Height bada di */
    margin-top: 2px;   /* Bada icon hai isliye margin kam kiya taaki heading se match kare */
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #f9f9f9; */ /* Optional: Agar icon ke piche halka background chaiye toh ise on karein */
    /* border-radius: 4px; */
}

.icon-box img {
    width: 100%;       /* Image ab 32px ke box ko poora fill karegi */
    height: 100%;
    object-fit: contain; /* Shape kharab nahi hogi */
    display: block;
}

/* Heading alignment ko thoda adjust karne ke liye */
.details h4 {
    font-size: 1.1rem;
    line-height: 32px; /* Isse heading icon ke bilkul center mein dikhegi */
    margin: 0 0 5px 0;
}

.details p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* --- Form Styling --- */
.message-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-form input, .message-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-size: 0.9rem;
}

.submit-btn {
    background: #000;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
    font-weight: 700;
}

.submit-btn:hover {
    background: #f3be01; 
    color: #000;
}

/* Input container */
.input-group {
    margin-bottom: 15px;
    position: relative;
}

/* Error Message Hidden by default */
.error-msg {
    color: #ff4d4d;
    font-size: 12px;
    display: none;
    margin-top: 5px;
}

/* Jab input invalid ho aur user ne click kiya ho */
.message-form input:invalid.touched, 
.message-form textarea:invalid.touched {
    border: 2px solid #ff4d4d !important;
}

/* Error message dikhane ke liye */
.message-form input:invalid.touched + .error-msg,
.message-form textarea:invalid.touched + .error-msg {
    display: block;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column; /* Tablet/Mobile par ek ke niche ek */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 50px 5%;
    }
}
/* Map Section */
.map-section {
    line-height: 0; /* Removes small gap at bottom */
    border-top: 5px solid #df0617; /* Red border transition to map */
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-form-box .input-group {
        flex-direction: column;
        gap: 0;
    }
}


