header {
    height: auto !important;
}

* {
    font-family: var(--fontfamily-1);
    box-sizing: border-box;
}

/* -------------- */

.contact-header {
    width: 100vw;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Images/our_team.jpeg');
    background-size: cover;
    background-position: 50% 60%;
    z-index: -1;
}

.contact-header-heading {
    position: absolute;
    top: 30px;
    transform: translateX(-40%);
    font-weight: 900;
}

.contact_container {
    width: 100vw;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
}

.contact-heading,
.contact-header-heading {
    font-size: 2rem;
    text-wrap: nowrap;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 1px rgb(0, 0, 0),
        1px -1px 1px rgb(0, 0, 0),
        -1px 1px 1px rgb(0, 0, 0),
        -1px -1px 1px rgb(0, 0, 0);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: capitalize;
}
.contact-heading{
    margin-bottom: 2rem;
}

.contact_container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -99;
    background: url("../Images/our_team_2.jpeg");
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.contact-info {
    width: 550px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    color: #fff;
}

.contact_data{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
}

.info-grid {
    display: grid;
    gap: 0.5rem;
}

/* WHITE BLURRED BOX */
.info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    padding: 1.5rem;
    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    transition: 0.3s ease;
}

/* Hover effect */
.info-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

/* ICON */
.info-icon img {
    width: 35px;
    filter: brightness(0);
    /* makes icon black */
}




/* TEXT */
.info-text h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #ffffff;
    text-transform: capitalize;
}

.info-text p {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 4px;
}

.Maps_location iframe {
    width: 100vw;
    height: 40vh;
    /* filter: invert(100%); */
}


@media (max-width: 1200px) {
    .contact-info {
        width: 360px;
    }

    .contact-form {
        width: 450px;
    }
}

@media (max-width: 900px) {
    .contact_container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        /* padding: 3rem 2rem; */
    }
    .contact_data{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
}

    .contact-info {
        width: 100vw;
        padding: 0rem 2rem;
    }

    .contact-form {
        width: 75%;
    }

    .info-grid {
        display: grid;
        /* width: 100%; */
        grid-template-columns: auto auto;
        gap: 1rem;
    }

    .contact-heading {
        font-size: 1.8rem;
    }

    .contact-header-heading {
        font-size: 2rem;
    }

    .info-icon img {
        width: 40px;
        height: 40px;
    }

    .info-text h2 {
        font-size: 1rem;
    }

    .info-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 700px) {
    .contact_container {
    padding: 2rem;
}
    .contact-heading,
    .contact-header-heading {
        font-size: 1.4rem;
    }
    .contact-heading{
    margin-top: 1rem;
    margin-bottom: 0rem;
}
    .contact_container::after {
        background-position: 85% 50%;
    }
    
    .contact-header::after {
        scale: 1.4;
    }

    .contact-header {
        height: 200px;
    }

    .info-grid {
        display: grid;
        grid-template-columns: auto;
        gap: 1rem;
    }

    .contact-header-heading {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .info-icon img {
        width: 30px;
        height: 30px;
    }

    .info-text h2 {
        font-size: 0.9rem;
    }

    .info-text p {
        font-size: 0.75rem;
    }

    .contact-form {
        width: 90%;
        padding: 2rem 1.5rem;
    }

    .contact-form label {
        font-size: 0.8rem;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        font-size: 0.7rem;
    }
}
@media (max-width: 500px) {
    .contact_container {
    padding: 1rem;
}
.info-grid {
        display: grid;
        grid-template-columns: auto;
        gap: 0.5rem;
    }
    .contact-header-heading {
        font-size: 1.5rem;
        font-weight: 600;
    }


    .info-text p {
        font-size: 0.7rem;
    }

    .contact-form {
        width: 100%;
        padding: 2rem 1rem;
    }
}