@import url(../css/font.css);

/* contactus banner start */

.contact-wrapper {
    margin-top: var(--navbar-height, 75px);
}

.contact-img {
    background-image: url("../images/image/Con_us_01.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    color: #ffffff;
    width: 100%;
    padding-block: 3rem;
}

.contact-us-banner-subheading {
    font-size: 2rem;
}

.contact-mobile-view {
    display: none;
}

.con-banner-contain {
    font-family: var(--ff-light);
    font-size: clamp(1rem, 1vw + 1rem, 1.4rem);
    width: 40vmin;
}

.con-btn {
    padding-top: 1%;
}

.contact-img button {
    border: 0.5px solid grey;
    padding: 0.4rem 1.5rem;
    color: black;
    border-radius: 7px;
    background-color: transparent;
}

.contact-img button:hover {
    background-color: #cd1417;
    color: var(--fc-white);
    border: #cd1417;
}

.text-adjust {
    font-family: var(--ff-medium);
    font-size: clamp(0.2rem, 1vw + 0.8rem, 1.3rem);
}

.con-sub-heading {
    /* font-size: clamp(0.5rem, 2vw + 1.5rem, 2.5rem); */
    /* font-family: var(--ff-thin); */
    /* width: 50vmax; */
}

/* contactus banner end */

/* contact form section start*/

/* .con-form-tittle {
    margin-bottom: 3%;
} */

.contact-us-form {
    padding-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-us-form > * {
    flex-basis: 100%;
}

.contact-us-form > :nth-child(-n + 2) {
    flex-basis: calc(50% - 1rem); /* Set custom flex-basis */
}

.contact-form-field {
    border: none;
    border-radius: 0;
    background-color: #efefef;
    width: 100%;
    height: 7vh;
    color: black;
    box-shadow: none;
    padding: 0.375rem 0.75rem;
}

.contact-form-field:focus::placeholder {
    opacity: 0;
}

.contact-form-field:focus {
    outline: none;
}

.contact-form-field::placeholder {
    font-family: var(--ff-semibold);
    font-size: clamp(0.2rem, 1vw + 0.4rem, 1rem);
    color: var(--fc-dark) !important;
    padding-bottom: 10px;
}

.contact-us-form textarea {
    height: 15vh;
}

.contact-us-form textarea {
    scrollbar-width: thin;
    scrollbar-color: #eaebea #f3f3f3;
    height: 200px;
    overflow-y: scroll;
}

.contact-us-form textarea::-webkit-scrollbar {
    width: 8px;
}

.contact-us-form textarea::-webkit-scrollbar-thumb {
    background-color: #b9b9b9;
    border-radius: 20px;
}

.contact-us-form textarea::-webkit-scrollbar-thumb:hover {
    background-color: #8b8d8b;
}

.contact-us-form .form-check-input {
    box-shadow: none;
    height: 1.2rem;
    width: 1.2rem;
}

.contact-us-form .form-check-input:checked {
    background-color: #cd1417;
    border-color: #cd1417;
}

.contact-us-form .form-check-input:focus {
    box-shadow: none;
}

.contact-us-form .form-check-label {
    padding-left: 0.5rem;
    font-size: 1.2rem;
}

.contact-us-form .form-check-label span {
    font-weight: bolder;
}

.contact-form-submit {
    background-color: transparent;
    width: 100%;
    min-height: 3.2rem;
    border-radius: 0 !important;
    color: black;
    font-family: var(--ff-semibold);
    text-align: center;
    border-color: #cd1417;
}

.contact-form-submit:hover {
    background-color: #cd1417;
    border: #cd1417;
    color: var(--fc-white);
}

.con_contain .con-thin-text {
    line-height: 1.2em;
    font-size: clamp(1.2rem, 1vw + 0.6rem, 1.8rem);
    font-family: var(--ff-light);
    width: 35vmax;
}

.con-bold-text {
    font-family: var(--ff-medium);
}

.main-medium-heading {
    font-family: var(--ff-light);
}

.bold-contain {
    font-family: var(--ff-semibold);
}
/* contact form section end*/

/* contact FAQ START*/

.faq-section {
    background-color: #efefef;
}

.faq-content {
    /* display: none; */
    /* width: 90%; */
    /* padding-block: 2rem; */
    /* margin-inline: auto; */
}

.accordion-flush {
    padding-block-start: 2%;
}

.accordion-button {
    font-family: "Barlow-Medium", sans-serif;
    font-size: var(--fs-extrasmall);
    line-height: 1.1em;
    /* line-height: 1.2rem; */
}

.accordion-body {
    font-family: "Barlow-Regular", sans-serif;
    font-size: 1.3rem;
    line-height: 1.5rem;
}

.accordion-button {
    background-color: transparent !important;
}

.accordion-button:focus {
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #ffffff;
}

.accordion-button:not(.collapsed)::after {
    filter: grayscale(1) invert(1);
}

.accordion-item {
    background-color: #efefef;
}

.accordion-item.active {
    color: #ffffff !important;
    background-color: var(--fc-highlight);
    padding-block: clamp(1rem, 1vw + 1.5rem, 2.2rem);
    padding-inline: clamp(0.8rem, 3vw + 0.8rem, 8rem);
    opacity: 1;
}

button:focus:not(:focus-visible) {
    outline: 0 !important;
}

.accordion-header,
.accordion-body {
    border-bottom: 1px solid var(--fc-highlight);
}

.border-none {
    border-bottom: none;
}

.barlow-semi-bold {
    font-family: "Barlow-SemiBold", sans-serif;
}

@media screen and (max-width: 576px) {
    .contact-img {
        background-image: none;
        padding-block: 0;
    }

    .contact-mobile-view {
        display: block;
    }

    .conmobile-view-img {
        background-image: url("../images/image/contact-us-banner-mobile.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top; 
        /* height: 100%; */
        padding-top: 5vh;
        padding-bottom: 5vh;
    }

    .con-text {
        /* color: #000; */
        padding-left: 1rem;
    }

    .contact-us-banner-subheading {
        font-size: 1.5rem !important;
    }

    .con-banner-contain {
        width: auto;
    }

    .con_contain .con-thin-text {
        text-align: left !important;
        width: auto;
        padding-bottom: 3%;
    }

    .contact-form-field::placeholder {
        font-size: 1rem;
        font-weight: 600;
    }

    .contact-us-form > * {
        flex-basis: 100% !important;
    }

    .con-form-tittle {
        font-size: clamp(1.4rem, 1vw + 0.5rem, 2rem);
    }

    .bold-contain {
        color: #cd1417;
    }

    .check-form {
        margin-left: 3.2%;
    }
}

@media screen and (max-width: 1200px) {
    .con-sub-heading {
        /* width: 40vmax; */
    }
}

/* Contact Address CSS */
.company-address-wrapper {
    background-image: url("../images/image/factorybg.jpg");
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding-block: 3rem;
    text-align: center;
}

.address-heading {
    padding-bottom: 2rem;
    font-family: var(--ff-medium);
}

.all-contact-addresses {
    --max-width: 90vw;
    --padding: 1rem;
    max-width: min(var(--max-width), 100% - (var(--padding) * 2));
    margin: auto;
    display: flex;
    justify-content: center;
    /* align-items: center; */
}

.all-contact-addresses > :last-child {
    border: none;
}

.address-description {
    flex: 1;
    padding: 1rem 1.5rem;
    border-right: 2px solid #ffffff;
}

.address-icon {
    margin-bottom: 1rem;
    height: 50px;
    width: 50px;
}

.main-address {
    /* font-family: var(--ff-light); */
    font-family: "Barlow-Medium", sans-serif;
    font-size: var(--fs-smallcontain);
    line-height: 1.1em;
}

@media screen and (max-width: 576px) {
    .company-address-wrapper {
        background-image: url("../images/image/mob-factory-img.png");
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .all-contact-addresses {
        flex-direction: column;
    }

    .address-description {
        border: 0;
        border-bottom: 2px solid #ffffff;
    }
}
