@import './global-colors.css';
@import './global-fonts.css';

/* Contact Us Form Component Styles - Mimicking WhyInfinity Structure */
.join-team-main-section {
    position: relative;
}

.join-team-main-section .section-content {
    position: relative;
    z-index: 2;
    padding: 3% 0%;
}

.join-team-main-header-right {
    text-align: left;
    margin-bottom: 10px;
}

.join-team-main-header-left {
    text-align: left;
    margin-bottom: 10px;
    margin-left: 15%;
}

.join-team-main-text {
    text-align: left;
    font-family: var(--CalibriRegular);
    font-size: 20px;
}

.join-team-main-bg-img-holder {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.join-team-main-bg-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-team-main-mobile-bg-img-holder {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.join-team-main-mobile-bg-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-header {
    color: var(--dark-blue-black-3) !important;
    font-family: var(--CalibriRegular);
    font-size: 40px;
}

.contact-form-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-content .left {
    width: 50%;
    padding-right: 2%;
}

.contact-form-content .right {
    width: 50%;
    height: 90%;
    padding-left: 2%;
}

.contact-form-headers {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
}

.contact-form-headers .left-header {
    width: 50%;
    padding-right: 2%;
}

.contact-form-headers .right-header {
    width: 50%;
    padding-left: 2%;
    text-align: left;
    padding-left: 2%;
}

.alert {
    position: absolute;
    right: 10px;
    top: 60px;
    z-index: 3;
    padding: 15px;
    background-color: var(--semi-transparent-black);
    /* Light red background */
    border: 2px solid var(--white);
    border-radius: 5px;
    /* Rounded corners */
    color: var(--white);
    /* Text color */
    font-size: 16px;
    /* Clear and readable font size */
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    /* Fade-in animation */
    font-family: var(--CalibriRegular);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.values-hero-section {
    width: 100%;
    height: 50vh;
    position: relative;
    z-index: 1;
}

.hero-text-holder {
    width: 70%;
}

.hero-text-container .header-text {
    margin-bottom: 40px;
}

.down-arrow-container {
    bottom: 20px;
}

.values-hero-section .down-arrow-container img {
    width: 32px;
    height: 32px;
}

.values-hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*FAQS*/

.faqs-section {
    background: var(--dark-blue-black-3);
    padding: 50px 0;
    position: relative;
    margin-top: -2px;
}

.faqs-section .section-header {
    margin-bottom: 30px;
}

.faq-bg-holder {
    width: 100%;
}

.faq-mobile-bg-holder {
    display: none;
}

.faqs-holder-container {
    display: flex;
    justify-content: center;
}

.faqs-holder {
    width: 80%;
}

.faq-container .faq-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--dark-blue-black-3);
    border: 1px solid var(--blue-green);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

.faq-container .faq-content-header .faq-title {
    color: var(--white);
    font-family: var(--CalibriRegular);
    font-size: 20px;
    font-weight: 600;
}

.drop-dwon-icon-holder {
    width: 20px;
    height: 20px;
}

.drop-dwon-icon-holder img {
    width: 100%;
    height: 100%;
}

.faq-content {
    overflow: auto;
    transition: max-height 0.3s ease-out;
    background-color: var(--dark-blue-black-3);
    border: 1px solid var(--blue-green);
    border-radius: 10px;
    margin-bottom: 10px;
}

/* .faq-container.active .faq-content {
    /* max-height: 500px;
} */

.faq-container.active .faq-content h3 {
    color: var(--blue-green);
    font-family: var(--CalibriRegular);
    font-size: 18px;
    padding: 20px 20px 10px 20px;
}

.faq-holder {
    margin-bottom: 10px;
}

.qsn-content {
    /* max-height: 0; */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.qsn-content ul {
    list-style: none;
    padding: 0 20px 20px 20px;
    margin: 0;
}

.faq-holder.active .qsn-content {
    /* max-height: 300px; */
    color: white;
}

.faq-holder img {
    width: 100%;
    height: 100%;
}

.faq-holder.active .small-arrow-icon-holder img {
    transform: rotate(180deg);
}

.qsn-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
}

.faq-container.active .faq-content p {
    font-family: var(--CalibriRegular);
    font-size: 17px;
    padding-left: 40px;
}


.drop-dwon-icon-holder img {
    transition: transform 0.3s ease-out;
}

.faq-container.active .drop-dwon-icon-holder img {
    transform: rotate(180deg);
}

/* Custom scrollbar for WebKit browsers */
.faq-content::-webkit-scrollbar {
    width: 8px;
    /* Width of the scrollbar */
}

.faq-content::-webkit-scrollbar-track {
    background: var(--dark-bluish-gray);
    /* Background of the scrollbar track */
    border-radius: 10px;
}

.faq-content::-webkit-scrollbar-thumb {
    background-color: var(--blue-green);
    /* Color of the scrollbar thumb */
    border-radius: 10px;
    border: 3px solid var(--dark-bluish-gray);
    /* Adds padding around the thumb */
}

/* Custom scrollbar for Firefox */
.faq-content {
    scrollbar-width: thin;
    /* Width of the scrollbar */
    scrollbar-color: var(--blue-green) var(--dark-bluish-gray);
    /* Color of the scrollbar thumb and track */
}

/*Conatct Us Form*/

.contact-form-section {
    position: relative;
    z-index: 0;
}

.form-background {
    width: 100%;
    display: flex;
    position: relative;
    z-index: 0;
    flex-direction: column;
}

.form-background-img {
    display: flex;
    object-fit: cover;
    height: 103vh;
}

.form-content {
    /* display: flex; */
    padding: 35px 10%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-background {
    display: flex;
}

.form-content .left {
    width: 50%;
    padding-right: 2%;
}

.form-content .left .form-header {
    margin-bottom: 25px;
}

.form-content .right .form-header {
    margin-bottom: 12px;
}

.form-content .right .sub-header {
    font-family: var(--CalibriRegular);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-content .right {
    width: 50%;
    height: 90%;
    padding-left: 2%;
}

.map-holder {
    width: 100%;
    height: 65vh;
    border: none;
    border-radius: 10px;
}

.address-holder {
    margin-top: 20px;
}


.contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: center;
    margin-bottom: 10px;
    color: var(--dark-blue-black-3);
    font-family: var(--CalibriRegular);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    gap: 20px;
    width: 90%;
}

.icon-holder {
    width: 24px;
    height: 24px;
    overflow: hidden;
    /* Ensures the image fits inside */
    /* Space between icon and text */
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-holder img {
    width: 100%;
    /* Image will fill the width of its container */
    height: 100%;
    /* Maintain the image's aspect ratio */
}

.map-holder img {
    width: 100%;
}

.form-header h2 {
    font-size: 28px !important;
}

.form-holder {
    width: 100%;
    height: 80%;
    display: flex;
    align-items: start;
}

.form-holder form {
    width: 100%;
    padding: 2% 0;
}

.inputs-row {
    width: 100%;
}

.inputs-row .row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5%;
    gap: 5%;
}

.inputs-row .input-holder {
    width: calc(50% - 5px);
}

.consent-row {
    display: flex;
    justify-content: start;
    align-items: center;
    padding-bottom: 10px;
}

.consent-input {
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    flex-direction: row;
    padding: 0% !important;
    margin: 0% !important;
    cursor: pointer;
    border-radius: 4px !important;
}

.consent-subtext {
    padding-left: 20px;
}

.inputs-row label {
    font-family: var(--CalibriRegular);
    font-size: 1rem;
    color: var(--dark-blue-black-3);
    font-weight: 600;
}

.inputs-row input {
    width: 100%;
    border: 1px solid var(--dark-blue-black-3);
    border-radius: 6px;
    background-color: transparent;
    padding: 8px 12px;
    margin-top: 6px;
    font-family: var(--CalibriRegular);
    font-size: 14px;
}

.textarea-holder {
    width: 100%
}

.inputs-row textarea {
    width: 100%;
    border: 1px solid var(--dark-blue-black-3);
    border-radius: 6px;
    background-color: transparent;
    padding: 8px 12px;
    margin-top: 6px;
    font-family: var(--CalibriRegular);
    color: var(--dark-blue-black-3);
    font-size: 14px;
}

.inputs-row input::placeholder {
    font-family: var(--CalibriRegular);
    color: var(--dark-blue-black-3);
    font-size: 1rem;
    opacity: 0.5;
}

.textarea-holder textarea::placeholder {
    font-family: var(--CalibriRegular);
    color: var(--dark-blue-black-3);
    font-size: 14px;
    opacity: 0.5;
}

.btn-holder {
    margin-top: 5%;

}

.submit-msg-btn {
    width: 240px;
    background-color: var(--blue-green);
    color: var(--white);
    font-size: 16px;
    font-family: var(--CalibriRegular);
    border: none;
    border-radius: 36px;
    padding: 10px 44px;
    font-family: var(--CalibriRegular);
    font-size: 18px;
    padding: 12px 46px;
    cursor: pointer
}

.input-error-msg {
    color: var(--red);
    font-family: var(--CalibriRegular);
    font-size: 1rem;
    margin-top: 5px;
}

.form-background-img-mobile {
    display: none;
}

.form-content {
    display: flex;
    padding: 50px 10%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: start;
}

.join-team-main-text-mobile {
    display: none;
}

@media (min-width: 768px) and (max-width: 1200px) {

    .form-background-img {
        display: flex;
        object-fit: cover;
        height: 145vh;
    }

    .form-content .right .sub-header {
        font-family: var(--CalibriRegular);
        font-size: 14px;
        margin-bottom: 5%;
    }

    .form-content {
        display: flex;
        padding: 3% 10%;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        z-index: 3;
        display: flex;
        justify-content: center;
        align-items: start;
    }

    .map-holder {
        width: 100%;
        height: 70vh;
        border: none;
        border-radius: 10px;
    }

    .contact-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-items: center;
        margin-bottom: 10px;
        color: var(--dark-blue-black-3);
        font-family: var(--CalibriRegular);
        font-size: 20px;
        font-weight: 400;
        letter-spacing: 0.5px;
        gap: 20px;
        width: 100%;
    }

    .inputs-row label {
        font-family: var(--CalibriRegular);
        font-size: 1rem;
        color: var(--dark-blue-black-3);
        font-weight: 600;
    }

    .inputs-row input::placeholder {
        font-family: var(--CalibriRegular);
        color: var(--dark-blue-black-3);
        font-size: 1rem;
        opacity: 0.5;
    }

    .input-error-msg {
        color: var(--red);
        font-family: var(--CalibriRegular);
        font-size: 1rem;
        margin-top: 5px;
    }

    .btn-holder {
        margin-top: 5%;
        width: 50%;

    }

    /* Contact Us Form Component Tablet Styles */
    .contact-form-header {
        font-size: 32px !important;
    }

    .contact-form-headers {
        margin-bottom: 25px;
    }

    .contact-form-content {
        flex-direction: row;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {

    .join-team-main-text-mobile {
        display: block;
        font-size: 14px;
        padding: 0px 10px;
        display: flex;
        justify-content: center;
        font-family: var(--CalibriRegular);
    }

    .left-header {
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .join-team-main-header-left {
        text-align: center;
        margin-bottom: 0px;
        margin-left: 0%;
        padding-top: 2%;
    }

    .inputs-row label {
        font-family: var(--CalibriRegular);
        font-size: 1rem;
        color: var(--dark-blue-black-3);
        font-weight: 600;
    }

    .inputs-row input::placeholder {
        font-family: var(--CalibriRegular);
        color: var(--dark-blue-black-3);
        font-size: 1rem;
        opacity: 0.5;
    }

    .input-error-msg {
        color: var(--red);
        font-family: var(--CalibriRegular);
        font-size: 1rem;
        margin-top: 5px;
    }

    .form-background-img {
        display: flex;
        object-fit: cover;
        height: 200vh;
    }

    .form-holder {
        width: 100%;
        height: 60%;
        display: flex;
        align-items: center;
    }

    .contact-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-items: center;
        margin-bottom: 10px;
        color: var(--dark-blue-black-3);
        font-family: var(--CalibriRegular);
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.5px;
        gap: 20px;
        width: 100%;
    }

    .form-content .right .form-header {
        margin-top: 20px;
    }

    .map-holder {
        width: 100%;
        height: 40vh;
        border: none;
        border-radius: 10px;
    }

    .faqs-holder {
        width: 90%;
        z-index: 3;
    }

    .faq-bg-holder {
        width: 100%;
    }

    .drop-dwon-icon-holder {
        width: 16px;
        height: 16px;
    }


    .faqs-section .section-header {
        margin-bottom: 20px;
    }

    .form-content {
        display: block;
        padding: 10% 5% 0% 5%;
    }

    .form-content .left {
        width: 100%;
        padding: 0;
        padding-top: 40px;
    }

    .form-content .right {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .form-header {
        text-align: center;
        margin-bottom: 10px;
    }

    .form-header h2 {
        font-size: 20px !important;
        font-weight: 700 !important;
        font-family: var(--CalibriRegular);
    }

    .sub-header {
        font-family: var(--CalibriRegular);
        font-size: 14px;
        margin-bottom: 20px;
    }

    .inputs-row .row {
        flex-direction: column;
    }

    .inputs-row .input-holder {
        width: 100%;
        margin-bottom: 15px;
    }

    .inputs-row input {
        font-size: 16px;
    }

    .inputs-row textarea {
        font-size: 16px;
    }

    .btn-holder {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .faq-container .faq-content-header {
        padding: 15px;
    }

    .faq-container .faq-content-header .faq-title {
        font-size: 16px;
    }

    /* .faq-container.active .faq-content {
        max-height: 300px;
    } */

    .drop-dwon-icon-holder img {
        width: 16px;
        height: 16px;
    }

    .faq-container.active .faq-content h3 {
        font-size: 16px;
        padding: 15px 15px 10px 15px;
    }

    .faq-container.active .faq-content p {
        font-size: 14px;
        padding: 0px 35px;
    }

    .input-error-msg {
        font-size: 14px;
    }

    /* Contact Us Form Component Mobile Styles */
    .join-team-main-section .section-content {
        padding: 40px 0;
        margin-top: -10px;
        position: relative;
    }

    .join-team-main-bg-img-holder {
        display: none;
    }

    .join-team-main-mobile-bg-img-holder {
        display: block;
        margin-bottom: -2px;
    }

    .join-team-main-header {
        margin: 10px 0px;
    }

    .join-team-main-header h2 {
        font-size: 20px !important;
    }

    .contact-form-header {
        font-size: 20px !important;
    }

    .join-team-main-text {
        font-size: 14px;
        padding: 0px 10px;
        display: flex;
        justify-content: center;
    }

    .contact-form-headers {
        flex-direction: column;
        margin-bottom: 0px;
    }

    .contact-form-headers .left-header,
    .contact-form-headers .right-header {
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }

    /* Hide the Online Enquiry header from the headers section on mobile */
    .contact-form-headers .right-header {
        display: none;
    }

    .contact-form-content {
        flex-direction: column;
        padding: 0 10px;
    }

    .contact-form-content .left {
        width: 100%;
        padding: 0;
        padding-top: 2%;
    }

    .contact-form-content .right {
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }

    /* Add Online Enquiry heading above "Get in touch with us" on mobile */
    .contact-form-content .right::before {
        content: "Online Enquiry";
        display: block;
        color: var(--dark-blue-black-3);
        font-family: var(--CalibriRegular);
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 15px;
        text-align: center;
    }

    @media (min-width: 520px) and (max-width: 768px) {

        .form-background-img {
            display: flex;
            object-fit: cover;
            height: 180vh;
        }

        .form-holder {
            width: 100%;
            height: 70%;
            display: flex;
            align-items: center;
        }

    }

    @media (max-width: 520px) {

        .form-holder {
            width: 100%;
            height: 80%;
            display: flex;
            align-items: center;
        }

        .form-background-img {
            display: flex;
            object-fit: cover;
            height: 220vh;
        }

        .form-background-img-mobile {
            display: flex;
            object-fit: cover;
            height: 220vh;
        }

    }

    @media (min-width: 420px) and (max-width: 520px) {

        .form-background-img-mobile {
            display: flex;
            object-fit: cover;
            height: 200vh;
        }

        .form-content .right .sub-header {
            font-family: var(--CalibriRegular);
            font-size: 12px;
            margin-bottom: 15px;
        }

    }

    @media (min-width: 200px) and (max-width: 420px) {

        .form-background-img-mobile {
            display: flex;
            object-fit: cover;
            height: 180vh;
        }

        .form-content .right .sub-header {
            font-family: var(--CalibriRegular);
            font-size: 12px;
            margin-bottom: 15px;
        }

    }

    @media (max-width: 360px) {

        .form-background-img {
            display: flex;
            object-fit: cover;
            height: 240vh;
        }

        .form-background-img-mobile {
            display: flex;
            object-fit: cover;
            height: 240vh;
        }

    }
}