@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    font-family: "Poppins", sans-serif;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    color: #222;
}

::-webkit-scrollbar{
    display: none;
}


/* back to top */
#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    font-size: 1.5rem;
    /* font-size: 18px; */
    display: none; /* Initially hidden */
    z-index: 100;
    cursor: pointer;
    border: none;
    background-color: #fffffc;
    border: 1px solid #050C9C;
    color: #222;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all .3s ease-in-out;
}

#backToTopBtn:hover {
    background-color: #050C9C;
    box-shadow: 5px 5px 60px #050C9C15;
    color: #fff;
}
/* back to top */

#Contact-Main-Container{
    width: 100%;
    height: 100%;
}

.contactSection{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contactSection-Container{
    width: 100%;
    max-width: 1400px;
    height: 60vh;
    border-radius: 15px;
    background: linear-gradient();
    /* background: linear-gradient( 109deg,  rgba(112,246,255,0.33) 11.2%, rgba(221,108,241,0.26) 42%, rgba(229,106,253,0.71) 71.5%, rgba(123,183,253) 100.2%); */
    /* background-color: #888; */
    /* background: linear-gradient(35deg, #fff 0%, #fafafa 100%); */
    background-image: url(./contact-hero-bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* text-align: center; */
}

.contactSection-Container h3{
    color: #3D3BF3;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}

.contactSection-Container h1{
    color: #111;
    margin-top: 5px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 3rem;
    line-height: 3.5rem;
    text-shadow: 5px 5px 15px #00000025;
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
}

.contactCards{
    width: 100%;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    overflow: hidden;
    /* position: absolute;
    top: 45%;
    padding-left: 100px;
    padding-right: 100px; */
}

.contact-Card{
    width: auto;
    min-width: 400px;
    max-width: 400px;
    height: 100px;
    border: none;
    box-shadow: 5px 5px #3D3BF3;
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 30px;
    overflow: hidden;
}

.div-icon i{
    font-size: 3rem;
    color: #3D3BF3;
}

.div-contact{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.div-contact h4{
    text-transform: uppercase;
    /* margin-bottom: 6px; */
    color: #222;
    font-weight: 400;
    font-size: 1.1rem;
}

.div-contact h5{
    color: #111;
    font-size: 1.2rem;
    font-weight: 500;
}

.Contact-Form{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ContactForm-Container{
    width: 100%;
    max-width: 1400px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 50px;
    /* padding: 20px; */
}

.contactform-c-para{
    padding: 5px 10px;
    color: #fff;
    background-color: #3D3BF3;
    border-radius: 25px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.ContactForm-Container h2{
    font-size: 3rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
    text-align: center;
}

.ContactForm-Container p{
    font-size: 1rem;
    text-align: center;
}

.mapContainer-child{
    width: 50%;
    height: auto;
    padding: 15px;
}

.formContainer-child{
    width: 50%;
    height: auto;
    padding: 15px;
}

.mapContainer-child iframe{
    width: 500px;
    border-radius: 15px;
    box-shadow: 5px 5px #3D3BF3;
    height: 500px;
}

.ContactForm-Container div{
    padding: 15px;
    /* gap: 20px; */
    display: flex;
    align-items: start;
    justify-content: space-between;
}


@media only screen and (max-width: 767px) {
    #Contact-Main-Container{
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    .contactSection{
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .contactSection-Container{
        padding: 0;
        margin: 0;
    }
    
    .contactSection-Container h3{
        font-size: 1rem;
    }

    .contactSection-Container h1{
        font-size: 2rem;
        line-height: 2rem;
        padding: 5;
    }

    .contactCards{
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        gap: 20px 20px;
        padding: 10px;
        margin: 0;
    }

    .contact-Card{
        width: 100% !important;
        /* min-width: 320px !important; */
        /* min-height: 100px; */
        height: auto;
        /* background-color: #555; */
        gap: 15px;
    }

    .div-contact h4{
        font-size: 1rem;
    }
    .div-contact h5{
        font-size: 1rem;
    }

    .Contact-Form{
        width: 100%;
        height: auto;
        /* padding: 10px; */
    }

    .formSection{
        flex-wrap: wrap-reverse;
    }
    .mapContainer-child, .formContainer-child{
        width: 100%;
        height: auto;
    }

    .mapContainer-child iframe{
        width: 100%;
        height: 400px;
    }

    .ContactForm-Container h2{
        line-height: 3rem;
    }

}

@media only screen and (max-width: 1024px) {
    #Contact-Main-Container{
        width: 100%;
        height: 100%;
        padding: 10px;
    }

    .contactSection{
        width: 100%;
        height: auto;
        padding: 0;
    }

    .contactSection-Container{
        width: 100%;
        height: auto;
        padding: 0;
    }

    .contactCards{
        width: 100%;
        height: auto;
        overflow: hidden;
        gap: 20px 20px;
    }

    .contact-Card{
        width: auto;
        height: auto;
        min-width: 290px;
        overflow-x: auto;
        gap: 15px;
    }

    .div-contact h5{
        font-size: 1rem;
    }

    .div-contact h4{
        font-size: 1rem;
    }

    
    .ContactForm-Container .contactform-c-para2{
        max-width: 750px;
        width: 100%;
    }

}


#contactForm{
    width: 100%;
    height: 100%;
    padding: 5px;
    box-shadow: 5px 5px 100px #11111115;
    border-radius: 15px;
}

.formContainer-child form {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #555;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0051cc;
    box-shadow: 0 0 5px rgba(131, 56, 236, 0.5);
    outline: none;
}

/* Button Styling */
.submitBtn {
    background-color: #3D3BF3;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submitBtn:hover {
    background-color: #0051cc;
}


