@import url('https://fonts.googleapis.com/css2?family=Faculty+Glyphic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,800;1,800&display=swap');

/*.faculty-glyphic-regular {
    font-family: "Faculty Glyphic", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

font-family: "Playfair Display", serif;
font-optical-sizing: auto;
font-weight: 800;
font-style: normal;

  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Faculty Glyphic", sans-serif;
    font-weight: 400;
    width: 100%;
}

.contact{
    height: 60vh;
    background-image: url('./images/contactbg.jpeg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.text{
    color: whitesmoke;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    max-width: 1000px;
    width: 100%;
}

.text h2{
    font-size: 3em;
    margin-bottom: 10px;
    text-align: center;
}

.text p{
    font-size: 1.2em;
    text-align: center;
}

.text1{
    color: black;
    padding: 30px;
}

.text1 h3{
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 3em;
    padding-bottom: 30px;
}

.text1 p{
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2em;
    margin: 2px;
    padding-bottom: 30px;
}

.text2{
    color: black;
}

.text2 h4{
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    padding-top: 20px;
    font-size: 1.5em;
    
}

.text2 p{
    font-family: "Faculty Glyphic", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.0em;
    margin: 2px;
}

.form1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.form2{
    padding-bottom: 60px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.bt{
    background-color: black;
    color: white;
    border-radius: 10px;
    height: 40px;
    width: 150px;
    border: none;
}

.bt:hover{
    background-color: white;
    color: black;
    box-shadow: 0 0 10px black;
}

.imgflex{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 50px;
    overflow-x: hidden;
}

.imgflex img{
    max-width: 100%;
    height: auto;
    flex: 0 0 auto;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .text h2 {
        font-size: 2.5em;
    }

    .text1 h3 {
        font-size: 2.5em;
    }

    .text1 p {
        font-size: 1.1em;
    }

    .form-floating input,
    .form-floating textarea {
        font-size: 1em;
    }

    .form1 {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .text h2 {
        font-size: 2em;
    }

    .text1 h3 {
        font-size: 2em;
    }

    .text1 p {
        font-size: 1.0em;
    }

    .imgflex img {
        height: 150px;
    }

    .form-floating {
        margin-bottom: 15px;
    }

    .form1 {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .text h2 {
        font-size: 1.8em;
    }

    .text1 h3 {
        font-size: 1.8em;
    }

    .text1 p {
        font-size: 1em;
    }

    .form-floating input,
    .form-floating textarea {
        font-size: 1em;
        padding: 10px;
    }

    .bt {
        width: 100%;
        height: 45px;
        font-size: 1.1em;
    }

    .imgflex img {
        height: 120px;
    }
}