@import url('https://fonts.googleapis.com/css2?family=Playwrite+HU:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Playwrite+HU:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Pacifico&family=Playwrite+HU:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Lobster&family=Pacifico&family=Playwrite+HU:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Lobster&family=Pacifico&family=Permanent+Marker&family=Playwrite+HU:wght@100..400&display=swap');
body{
  overflow: hidden;
}
.bg {
  height: 745px;
  width: 100%;

}

.background_contact {
  background: url('https://wallpapercave.com/wp/wp4646227.jpg');
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  background-position-y: -234px;
  background-size: cover;
  background-repeat: no-repeat;

}

.bg_overlay::before {

  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  display: block;
}

.bg_overlay {
  position: relative;
  top: 0;
  right: 0;
}

.background_contact::before {
  content: '';
  background-color: rgb(33 32 33 / 58%);
}

.title h1 {
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 65px;
  stroke: rgb(153 51 102 / 1);
}

/* Section styling */
.contact_number {
  padding: 40px 20px;
  background-color: #ffffff;
}

.containor {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Card styling */
.card_contanor {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 285px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card_contanor:hover {
  transform: translateY(-10px);
}

.card_contanor img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 20px;
  background-color: #ca0505;
  height: 90px;
}

.card_text {
  padding: 20px;
}

.card_text h1 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.card_text p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}


.mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px;
}

.mail_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mail_cont {
  flex: 1;
  padding: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

input {
  border-radius: 100px;
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  background: #e1ecfd;
}

textarea,
button {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 15px;
  background: #e1ecfd;
}

textarea {
  min-height: 100px;
  resize: vertical
}

.submit-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px;
}

.contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.card_text p {
  padding: 9px 28px;
}


.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.map-container {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}





.about_cont {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 279px;
  text-align: justify;
}


.about_cont img {
  width: 605px;
}

.about_cont .about_text h1 {
  font-weight: 800;
}

.highlisht {
  font-weight: 800;
}

.about_conts {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 279px;
  text-align: justify;
}
.about_conts .about_texts h1 {
  font-weight: 800;
  margin: 0 64px;
}

.about_conts .about_texts p {
  width: 500px;
          margin: 0 64px;
}

.about_conts img {
  width: 365px;
}


.about_cont{
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-in-out;
}


.about_cont.animate {
  opacity: 1;
  transform: translateY(0);
}

.about_conts{
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-in-out;
}


.about_conts.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1651px) {
  .containor {
    width: 1036px;
    /* flex-wrap: wrap; */
  }

}

@media (max-width: 1401px) {
  .containor {
    width: 406px;
    flex-wrap: wrap;

  }

  .card_contanor {
    margin: 60px 9px;
  }
}


@media (max-width: 855px) {
  .image-container {
    /* display: none; */
  }

  .fa-envelopeW {
    display: block;
  }
}

@media (max-width: 730px) {
  .mail_box {
    FLEX-DIRECTION: COLUMN;
  }

}



/* Responsive styling */
@media (max-width: 768px) {
  .containor {
    flex-direction: column;
    align-items: center;
  }

  .card_contanor {
    width: 100%;
    max-width: 90%;
  }
  .about_conts .about_texts h1 {
    font-weight: 800;
    margin: 0 auto;
}
  .about_conts .about_texts p {
    width: auto;
    margin: 0 0px;
            margin: 0 0px;
  }
  .about_conts img {
    width: 292px;
}
.title h1 {
 
  font-size: 45px;
  
}

}

@media (max-width: 1662px) {
  .about_cont {
    margin: 0 88px;}
    .background_contact {
    
      background-position-y: -94px;
     
  }
  .footer{
    text-align: center;
   }
}

@media (max-width: 1168px) {
  .about_cont {
    margin: 0 0px;
    flex-direction: column;
    text-align: center;}
    .background_contact {
     
      background-position-y: -2px;}
      .about_conts {
        margin: 0 0px;
        flex-direction: column;
        text-align: center;}

        .about_conts  p{
          width: 480px;
          margin: auto;
        }
      .about_cont img {
        width: 405px;
    }
}
