/* Contact Us page */

.contact-page {
    background: var(--secondary-color);
}

.contact-grid {
    display: flex;
    gap: 50px;
    align-items: start;
}

.contact-form-card {
    width: 650px;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 23px;
}


.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-label {
    display: block;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: rgba(0, 0, 0, 80%);
    padding-bottom: 5px;
    letter-spacing: 0.7px;
}
.contact-row.hide_it{display: none;}

.contact-label .req {
    color: rgba(255, 0, 0, 0.8);
}

.section_padding .contact-input,
.section_padding  .contact-textarea,
.section_padding  .contact-select {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 10%);
    background: #F5F2F0;
    border-radius: 3px;
    padding: 15px;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    position: relative;height: auto;
}

.showroom-select {
    position: relative;
}

.section_padding .showroom-select::after {
    content: '';
    background-image: url('../images/arrow.svg');
    width: 20px;
    height: 20px;
    display: block;
    background-repeat: no-repeat;
    position: absolute;
    top: 40%;
    right: 1%;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #9B9B9B;
}

.contact-input:focus,
.contact-textarea:focus,
.section_padding .contact-select:focus {
    border-color: #C9C9C9;
    background: #F7F7F7;
}

.contact-textarea {
    min-height: 100px;
}

.contact-radio {
    display: flex;
    gap: 26px;
    align-items: center;
    padding-top: 6px;
}

#quickrfq_form .radio-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 26px;
    color: #313030;
    cursor: pointer;
}

#quickrfq_form .radio-item input {
    width: 20px;
    height: 20px;
}

#quickrfq_form .contact-submit {
    width: 230px;
}



/* ========================================
   Responsive: 1281px – 1550px
   ======================================== */
@media (min-width: 1281px) and (max-width: 1550px) {
    .contact-grid {
        gap: 35px;
    }

    .contact-form {
        gap: 20px;
    }

    .contact-label {
        font-size: 15px;
        line-height: 23px;
    }

    .contact-input,
    .contact-textarea,
    .contact-select {
        padding: 12px;
        font-size: 14px;
        line-height: 18px;
    }

    .contact-row {
        gap: 13px;
    }

    #quickrfq_form .radio-item {
        gap: 8px;
        font-size: 15px;
        line-height: 23px;
    }

   #quickrfq_form .radio-item input {
        width: 18px;
        height: 18px;
    }

    .contact-form-card {
        width: 480px;
    }
}


/* ========================================
   Responsive: 992px – 1280px
   ======================================== */
@media (min-width: 992px) and (max-width: 1280px) {
    .contact-grid {
        gap: 30px;
    }

    .contact-form {
        gap: 18px;
    }

    #quickrfq_form .contact-label {
        font-size: 14px;
        line-height: 22px;
    }

    #quickrfq_form .contact-input,
    #quickrfq_form .contact-textarea,
    #quickrfq_form .contact-select {
        padding: 10px;
        font-size: 14px;
        line-height: 18px;
    }

    .contact-row {
        gap: 13px;
    }

    #quickrfq_form .radio-item {
        gap: 7px;
        font-size: 14px;
        line-height: 22px;
    }

    .contact-form-card .radio-item input {
        width: 16px;
        height: 16px;
    }
}


/* ========================================
   Responsive: Mobile (≤767px)
   ======================================== */
@media (max-width: 1023px) {
    .contact-grid .right_col{width: 100%;}
    .contact-grid {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-card {
        width: 100%;
    }

    .contact-form {
        gap: 10px;
    }

    #quickrfq_form .contact-label {
        font-size: 14px;
        line-height: 22px;
    }

    .contact-row {
        gap: 5px;
        grid-template-columns: 1fr;
    }

    #quickrfq_form .radio-item {
        gap: 5px;
        font-size: 14px;
        line-height: 20px;
    }

    #quickrfq_form .contact-select {
        font-size: 13px;
    }
}



/* Map  */
.contact-right-card {
    background: #F5F2F0;
    padding: 35px 20px;
    width: calc(100% - 680px);
}

.contact-right-top {
    padding-bottom: 35px;
}

.showroom-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #0a0a0a;
    padding-bottom: 8px;
}

.showroom-pin {
    display: inline-block;
}

.contact-right-card .showroom-select select {
    background: #ffffff;
    border: 1px solid #d3d3d3;
    cursor: pointer;
}

.contact-right-body {
    display: flex;
    gap: 30px;
    width: 100%;
}

.contact-map {
    position: relative;
    width: 470px;
}

.map-frame {
    height: 100%;
    width: 100%;
}

.map-frame img {
    width: 100%;
    height: 100%;
}

.map-directions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 200px;
    font-size: 14px;
}

.contact-info {
    width: calc(100% - 500px);
}

.timings-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.timings-title {
    font-size: 18px;
    line-height: 28px;
    color: #0a0a0a;
    font-family: 'Inter';
}

.timings-list {
    padding-top: 10px;
    margin-bottom: 20px;
}

.timings-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    font-size: 12px;
}


.timings-list span {
    font-size: 14px;
    line-height: 24px;
    color: #333333;
}

.contact-actions {
    display: flex;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 20px;
    flex-wrap: wrap;justify-content: space-between;
}

.contact-action {
    border: 1px solid #C4C2C0;
    background: #fafafa;
    border-radius: 6px;
    padding: 20px 50px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    box-sizing: border-box;
    width: 50%;width: 48%;
}
.contact-action:last-child{flex: 1;}


.contact-action .action-title {
    font-size: 14px;
    line-height: 23px;
    font-weight: 500;
    color: #0a0a0a;
}

.contact-action .action-value {
    font-size: 14px;
    line-height: 23px;
    color: #626160;
    letter-spacing: 0.2px;
}


.contact-action:hover {
    border-color: #BFBFBF;
    background: #FFFFFF;
}


@media (min-width: 1281px) and (max-width: 1550px) {
    .contact-right-card {
        padding: 25px;
        width: calc(100% - 510px);
    }

    .contact-right-body {
        gap: 20px;
    }

    .contact-map {
        width: 340px;
    }

    .contact-info {
        width: calc(100% - 370px);
    }

    .contact-action {
        padding: 15px;
    }
}


@media (min-width: 992px) and (max-width: 1280px) {
    .contact-right-card {
        padding: 15px;
        width: calc(100% - 410px);
    }

    .contact-right-top {
        padding-bottom: 20px;
    }


    .showroom-title {
        font-size: 16px;
        line-height: 22px;
        padding-bottom: 5px;
    }

    .contact-right-body {
        gap: 20px;
    }

    .timings-title {
        font-size: 16px;
        line-height: 24px;
    }

    .timings-list {
        padding-top: 7px;
        margin-bottom: 7px;
    }

    .timings-header {
        gap: 8px;
        margin-bottom: 8px;
    }

    .timings-list li {
        padding: 7px 0;
    }

    .timings-list span {
        font-size: 13px;
        line-height: 18px;
    }

    .contact-actions {
        gap: 7px;
    }

    .contact-action {
        padding: 10px 20px;
    }

    .contact-action .action-title {
        font-size: 13px;
        line-height: 18px;
    }

    .contact-action .action-value {
        font-size: 13px;
        line-height: 18px;
    }

    .map-directions {
        bottom: 15px;
        right: 15px;
        width: 120px;
    }

    .contact-map {
        width: 310px;
    }

    .contact-info {
        width: calc(100% - 320px);
    }

    .contact-form-card {
        width: 380px;
    }
}

@media (max-width: 1023px) {
    .contact-right-card {
        padding: 15px;
        width: 100%;
    }

    .contact-right-top {
        padding-bottom: 10px;
    }

    .showroom-title {
        gap: 5px;
        font-size: 14px;
        line-height: 22px;
        padding-bottom: 5px;
    }

    .contact-input,
    .contact-textarea,
    .contact-select {
        padding: 10px;
        font-size: 12px;
        line-height: 17px;
    }

    .contact-right-body {
        gap: 10px;
        flex-direction: column;
    }

    .contact-map,
    .contact-info {
        width: 100%;
    }

    .map-directions {
        width: 120px;
    }

    .timings-header {
        gap: 6px;
        margin-bottom: 6px;
    }

    .timings-title {
        font-size: 14px;
        line-height: 20px;
    }

    .timings-list {
        padding-top: 5px;
        margin-bottom: 10px;
    }

    .timings-list span {
        font-size: 13px;
        line-height: 18px;
    }

    .contact-action {
        padding: 10px;
    }

    .contact-action .action-title {
        font-size: 13px;
        line-height: 20px;
    }

    .contact-action .action-value {
        font-size: 13px;
        line-height: 20px;
    }

    .contact-submit {
        width: 100%;
    }
}


@media (min-width: 899px) and (max-width: 1023px) {
    .contact-right-body {
        gap: 10px;
        flex-direction: row;
    }
}

@media (max-width: 767px) {
.contact-right-card .showroom-select select{padding-right: 25px;}

}