@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

:root {
    --contactus-max-width: 1720px;
    --contactus-color: #4e4e4e;
    --contactus-heading: 3.5rem;
    --contactus-sub-heading: 1.3rem;
    --contactus-alt-heading: 1.8rem;
    --contactus-text: 1rem;
}

@media (max-width: 768px) {
    :root {
        /* font-size: calc(12px + 8 * ((100vw - 320px) / 680)); */
        font-size: 16px;
        --contactus-heading: 1.875rem;
        --contactus-sub-heading: 1rem;
        --contactus-alt-heading: 1.5rem;
        --contactus-text: 0.875rem;
    }
}

* {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

body {
    margin: 0;
}

.iti--allow-dropdown {
    width: 100%;
}

#contact-us-content {
    display: none;
}

.contact-us-hero-section {
    background-image: url(https://dimensionlesswebsite.azureedge.net/dimensionlesswebsiteimage/contactimgnew-contactus_bg-new-1-0.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    /* background-size: 100% 100%;
  background-position: center; */

    background-size: 100% 100%;
    background-position: left 100%;

    height: 35vmax;
    box-shadow: inset 100vw 100px #000000cc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-us-hero-section > h1 {
    color: white;
    font-size: var(--contactus-heading);
}

@media only screen and (max-width: 768px) {
    .contact-us-hero-section {
        background-size: cover;
        height: 70vmax;
    }

    .contact-us-hero-section > h1 {
        text-align: center;
    }
}

/* *****************************
 => Contact Us container
* ****************************/

.contact-us-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
}

.contact-us-container {
    display: flex;
    /* align-items: flex-start; */
    justify-content: center;
    width: 100%;
    gap: 5%;
    max-width: var(--max-width);
}

@media (max-width: 1000px) {
    .contact-us-container {
        flex-direction: column;
        width: 80%;
    }
}

.contact-us-container > * {
    flex-basis: 40%;
}

.cs-heading {
    font-size: var(--contactus-alt-heading);
    font-weight: 500;
    padding: 2rem 0;
}

.cs-1-desc {
    color: var(--color);
    padding-bottom: 3rem;
    width: 98%;
    text-align: justify;
    letter-spacing: -0.5px;
}

.cs-address-section {
    display: grid;
    grid-template-columns: repeat(2, 40%);
    grid-template-rows: repeat(2, 100px) repeat(2, 50px);
    gap: 4%;
    padding: 1rem 0;
    /* align-items: center; */
}

@media (min-width: 768px) and (max-width: 1000px) {
    .cs-address-section {
        grid-template-rows: 100px repeat(2, 50px) 75px;
    }
}

@media (max-width: 768px) {
    .cs-address-section {
        grid-template-columns: repeat(1, 100%);
        grid-template-rows: repeat(2, 100px) repeat(2, 75px) repeat(8, 50px);
        height: 1175px;
        gap: 2rem;
    }

    .cs-address-section > * {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .loc-1 {
        grid-row-start: 2;
    }

    .loc-2 {
        grid-row-start: 3;
    }
    .loc-3 {
        grid-row-start: 4;
    }

    .cs-phone-icon-container {
        grid-row-start: 5;
    }

    .ph-1 {
        grid-row-start: 6;
    }

    .ph-2 {
        grid-row-start: 7;
    }

    .ph-3 {
        grid-row-start: 8;
    }
}

.cs-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cs-address {
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs-address-title {
    color: var(--color);
    padding: 1rem 0;
}

.cs-address-desc {
    text-align: center;
    color: var(--color);
    font-size: var(--contactus-text);
    padding: 0.5rem 0;
    margin: 0;
}

.cs-address-desc > a {
    text-decoration: none;
    display: block;
    color: var(--color);
    margin: 0.25rem 0;
}

@media (min-width: 1000px) and (max-width: 1200px) {
    .cs-address-desc > a {
        font-size: calc(4px + 8 * ((100vw - 320px) / 680));
    }
}

@media (max-width: 768px) {
    .cs-address {
        padding: 2rem 0;
    }

    .cs-address-desc {
        width: 90%;
    }

    .cs-heading {
        padding: 1rem 0;
    }

    .cs-address-title {
        margin: 0;
        padding: 0.5rem;
    }

    .cs-map-address {
        text-align: center;
        margin-left: auto;
    }
}

.cs-2-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 45%);
    grid-template-rows: repeat(3, 10%) 30% 10%;
    gap: 2rem;
}

.cs-input {
    width: 100%;
    padding: 0.75rem 0.5rem;
    border-radius: 5px;
    border: 0.3px solid #186daa;
}

.cs-input:focus {
    outline: none;
    box-shadow: 0 1px 5px #ccc;
}

.cs-input::placeholder {
    color: #4e4e4e;
}

.cs-2-grid-content-container-5,
.cs-2-grid-content-container-6,
.cs-2-grid-content-container-7 {
    grid-column: 1 / span 2;
}

.input-enquiry {
    background-color: #fff;
    appearance: none;
    cursor: pointer;

    background-image: url(https://dimensionlesswebsite.azureedge.net/dimensionlesswebsiteimage/contactimg-dropdown.svg);
    background-position-x: 98%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    padding: inherit 0.5rem;
}

option {
    font-size: var(--contactus-text);
    border-bottom: 1px solid #186daa;
}

.input-message {
    resize: none;
    height: 100%;
}

.cs-2-btn-container {
    margin: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-2-submit-btn {
    background-color: #186daa;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 3rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 3rem;
}

@media (max-width: 476px) {
    .cs-2-grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 10%) 30% 10%;
        margin-bottom: 7rem;
        gap: 1rem;
    }

    .cs-2-grid-content-container {
        grid-column: 1 / span 2;
    }

    .cs-2-submit-btn {
        margin: 1rem 0;
    }

    .cs-2-btn-container {
        margin: 2rem 0;
    }
}
