/*** 
=============================================
    Parva Bright Steels - Modern Contact Page CSS
    Brand Theme Colors:
    --thm-base: #d90429
    --thm-black: #071630
    --thm-gray: #444444
    --thm-light-bg: #f8f9fa
=============================================
***/

/* Hide footer main specifically on contact page */
.contact-page-wrapper .footer-main {
    display: none !important;
}

/* Base styling for contact page */
.contact-page-wrapper {
    background-color: #f8f9fa;
}

/* =============================================
   Main Contact Form & Info Area
============================================= */
.main-contact-form-area {
    position: relative;
    display: block;
    background: #f8f9fa;
    padding: 90px 0 90px;
    z-index: 10;
}

.main-contact-form-area .sec-title {
    margin-bottom: 45px;
    padding-bottom: 0;
}

.main-contact-form-area .sec-title .sub-title {
    margin-bottom: 12px;
}

.main-contact-form-area .sec-title h1,
.main-contact-form-area .sec-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #071630;
    line-height: 1.25;
    margin-bottom: 12px;
}

.main-contact-form-area .sec-title p {
    font-size: 16px;
    color: #556270;
    max-width: 720px;
    margin: 0;
    line-height: 26px;
}

/* =============================================
   Left Column: Contact Form Styling
============================================= */
.hidden {
    display: none !important;
}

.contact-form {
    position: relative;
    display: block;
    background: #ffffff;
    border: 1px solid #e9edf4;
    border-radius: 14px;
    padding: 38px 34px;
    box-shadow: 0 10px 30px rgba(7, 22, 48, 0.05);
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d90429 0%, #ff6b81 100%);
}

/* 2-Column Responsive Form Grid */
.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .input-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modern Input & Textarea Elements */
.form-input,
.form-textarea {
    width: 100%;
    background-color: #fcfdfe;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    color: #071630;
    font-size: 14.5px;
    font-weight: 500;
    font-family: var(--thm-font-2, 'Roboto', sans-serif);
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
}

.form-input {
    height: 52px;
    padding: 0 18px;
}

.form-textarea {
    min-height: 125px;
    padding: 14px 18px;
    resize: vertical;
    line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #8fa0b5;
    font-size: 14px;
    font-weight: 400;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #d90429;
    box-shadow: 0 0 0 4px rgba(217, 4, 41, 0.12);
}

/* Remove Number Spinners */
.form-input[type="number"]::-webkit-outer-spin-button,
.form-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.form-input[type="number"] {
    -moz-appearance: textfield;
}

/* Message Container */
.contact-form .mb-6 {
    margin-bottom: 18px;
}

/* File Upload Card */
.file-upload-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.file-upload-section:hover {
    border-color: #d90429;
    background: #ffffff;
}

.file-upload-section .file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #334155;
    margin: 0;
    cursor: pointer;
}

.file-upload-section .file-label::before {
    content: '\f0ee';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #d90429;
    font-size: 15px;
}

.file-upload-section input[type="file"] {
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    max-width: 100%;
}

.file-upload-section input[type="file"]::file-selector-button {
    background: #071630;
    color: #ffffff;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 12px;
    transition: all 0.2s ease;
}

.file-upload-section input[type="file"]::file-selector-button:hover {
    background: #d90429;
    color: #ffffff;
}

/* Captcha & Submit Footer Section */
.captcha-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 22px;
}

.captcha-input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.captcha-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin: 0;
}

.captcha-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.submit__generated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 17px;
    font-weight: 800;
    color: #071630;
    letter-spacing: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.submit__generated span {
    color: #d90429;
    font-weight: 800;
}

.captcha-input,
.submit__input {
    width: 52px;
    height: 38px;
    padding: 0 4px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: #071630;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    margin-left: 4px;
    box-sizing: border-box;
}

.captcha-input:focus,
.submit__input:focus {
    border-color: #d90429;
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.15);
}

.submit__input.valid {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
    color: #065f46 !important;
}

.submit__input.unvalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    color: #991b1b !important;
}

.captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #d90429;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.captcha-refresh:hover {
    background: #d90429;
    border-color: #d90429;
    color: #ffffff;
    transform: rotate(180deg);
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    margin: 2px 0 0;
    display: block;
}

/* Submit Button */
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 36px;
    background: #d90429;
    color: #ffffff;
    font-family: var(--thm-font-2, 'Roboto', sans-serif);
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(217, 4, 41, 0.28);
    min-width: 140px;
}

.submit-button:hover {
    background: #b80322;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(217, 4, 41, 0.38);
    color: #ffffff;
}

.submit-button:active {
    transform: translateY(0);
}

.contact-form .button-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.contact-form .button-box .btn-one {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d90429;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    box-shadow: 0 6px 18px rgba(217, 4, 41, 0.28);
}

.contact-form .button-box .btn-one:hover {
    background: #b80322;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(217, 4, 41, 0.38);
}

.contact-wa-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 13px 24px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 300ms ease;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}

.contact-wa-secondary-btn:hover {
    background: #128c7e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.contact-form .form-note {
    font-size: 13px;
    color: #64748b;
    margin: 16px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =============================================
   Right Column: Contact Details (Matching Theme)
============================================= */
.contact-info-box-style1 {
    position: relative;
    display: block;
    background: #ffffff;
    border: 1px solid #e9edf4;
    border-radius: 14px;
    padding: 42px 38px 36px;
    box-shadow: 0 10px 30px rgba(7, 22, 48, 0.05);
    height: 100%;
    overflow: hidden;
}

.contact-info-box-style1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d90429 0%, #ff6b81 100%);
}

.contact-info-box-style1 .title {
    position: relative;
    display: block;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f4f8;
    padding-bottom: 20px;
}

.contact-info-box-style1 .title h2 {
    font-size: 26px;
    line-height: 34px;
    font-weight: 800;
    color: #071630;
    margin-bottom: 8px;
    font-family: var(--thm-font-3, 'Yantramanav', sans-serif);
}

.contact-info-box-style1 .title p {
    font-size: 14.5px;
    line-height: 23px;
    color: #64748b;
    margin: 0;
}

.contact-info-1 {
    position: relative;
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-1 li {
    position: relative;
    display: block;
    padding-left: 62px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f4f8;
    transition: all 300ms ease;
}

.contact-info-1 li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-info-1 li .icon {
    position: absolute;
    top: 2px;
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(217, 4, 41, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d90429;
    font-size: 20px;
    transition: all 300ms ease;
}

.contact-info-1 li:hover .icon {
    background: #d90429;
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(217, 4, 41, 0.25);
}

.contact-info-1 li .icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-info-1 li:hover .icon.whatsapp-icon {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.contact-info-1 li .text {
    position: relative;
    display: block;
}

.contact-info-1 li .text h3 {
    font-size: 13.5px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin-bottom: 5px;
    font-family: var(--thm-font-2, 'Roboto', sans-serif);
}

.contact-info-1 li .text p {
    font-size: 15px;
    line-height: 23px;
    color: #071630;
    margin: 0;
}

.contact-info-1 li .text p a {
    color: #071630;
    font-weight: 600;
    transition: color 200ms ease;
    text-decoration: none;
}

.contact-info-1 li .text p a:hover {
    color: #d90429;
}

.contact-info-1 .directions-wrap {
    margin-top: 6px;
}

.contact-info-1 .theme-direction-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #d90429;
    text-decoration: none;
    transition: all 200ms ease;
}

.contact-info-1 .theme-direction-link:hover {
    color: #071630;
    text-decoration: underline;
}

.contact-info-1 .theme-wa-link {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.contact-info-1 .theme-wa-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e6f9ed;
    color: #128c7e;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.contact-info-1 .theme-wa-badge i {
    font-size: 7px;
}

.contact-info-1 .theme-gst {
    color: #d90429;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-info-1 .closed-label {
    display: inline-block;
    color: #dc2626;
    font-weight: 700;
    margin-left: 4px;
}

/* Quick Action Banner inside Contact Info */
.contact-info-quick-cta {
    margin-top: 25px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 20px;
}

.contact-info-quick-cta h4 {
    font-size: 16px;
    font-weight: 700;
    color: #071630;
    margin: 0 0 5px;
}

.contact-info-quick-cta p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 14px;
    line-height: 20px;
}

.contact-info-quick-cta .btn-one {
    display: inline-flex;
    align-items: center;
    background: #25d366;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 300ms ease;
    border: none;
}

.contact-info-quick-cta .btn-one:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

/* =============================================
   Google Map Section
============================================= */
.google-map1 {
    position: relative;
    display: block;
    z-index: 10;
    background: #f8f9fa;
    padding-bottom: 70px;
}

.contact-page-map-outer-box {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e9edf4;
    box-shadow: 0 10px 30px rgba(7, 22, 48, 0.05);
}

.contact-page-map-outer-box .map-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border-bottom: 1px solid #f1f4f8;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-page-map-outer-box .map-header-bar h4 {
    font-size: 17px;
    font-weight: 700;
    color: #071630;
    margin: 0 0 3px;
}

.contact-page-map-outer-box .map-header-bar p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.contact-page-map-outer-box .map-header-bar a.map-dir-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #071630;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 250ms ease;
}

.contact-page-map-outer-box .map-header-bar a.map-dir-btn:hover {
    background: #d90429;
    color: #ffffff;
}

.google-map__one {
    height: 440px;
    width: 100%;
    border: 0;
    display: block;
}

/* =============================================
   Responsive Adjustments
============================================= */
@media (max-width: 1199px) {
    .contact-form,
    .contact-info-box-style1 {
        padding: 35px 28px;
    }
    
    .contact-info-box-style1 {
        margin-top: 30px;
    }
}

@media (max-width: 991px) {
    .main-contact-form-area {
        padding: 60px 0 60px;
    }
    
    .main-contact-form-area .sec-title h1,
.main-contact-form-area .sec-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .main-contact-form-area {
        padding: 45px 0 45px;
    }
    
    .contact-form,
    .contact-info-box-style1 {
        padding: 26px 18px;
    }
    
    .main-contact-form-area .sec-title h1,
.main-contact-form-area .sec-title h2 {
        font-size: 26px;
    }

    .input-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .file-upload-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .file-upload-section input[type="file"] {
        width: 100%;
    }

    .captcha-section {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 16px;
    }

    .captcha-input-group {
        width: 100%;
    }

    .captcha-section > div:last-child {
        width: 100%;
    }

    .submit-button {
        width: 100%;
    }
    
    .contact-form .button-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-form .button-box .btn-one,
    .contact-wa-secondary-btn {
        width: 100%;
        text-align: center;
    }
    
    .google-map__one {
        height: 320px;
    }
}

/*** End Parva Contact Page CSS ***/
