/* Base Styles - Desktop */
.hero-contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-contact-wrapper picture,
.hero-contact-wrapper img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 76px;
  margin: 0 160px;
  padding: 80px 0;
}

.page-wrapper-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-wrapper-header h1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 52px;
  margin-bottom: 1rem;
}

.page-wrapper-header p {
  font-size: 20px;
  font-weight: 500;
  max-width: 100%;
  width: 100%;
  text-align: center;
}

.contact-body-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.contact-card {
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: 8px;
  padding: 40px;
  gap: 40px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-card p {
  font-size: 20px;
  font-weight: 500;
  max-width: 100%;
  width: 100%;
  text-align: left;
}

.email-section a,
.contact-numbers a {
  font-size: 20px;
  font-weight: 500;
  max-width: 100%;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: #0B1427;
}

.contact-card ul li {
  list-style-type: none;
}

.contact-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.address-section,
.contact-numbers,
.email-section{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.social-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}


.map-btn {
  width: 190px;
  display: flex;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  color: #fff;
  background-color: #1f3b73;
  text-decoration: none;
  height: 48px;
}

.map-btn:hover {
  background-color: #d8bfaa;
  color: #1f3b73;
}

.hp-container {
  visibility: hidden;
  display: none;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-wrapper-contact {
  display: flex;
  flex-direction: column;
  gap: 46px;
  width: 100%;
  padding: 0 40px;
}

.form-group textarea {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ecebea;
  border-radius: 25px;
  border: none;
  overflow: hidden;
  height: 118px;
  padding: 20px;
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Container */
.select-container,
.form-group input {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ecebea;
  border-radius: 8px;
  border: none;
  overflow: hidden;
  height: 40px;
  padding: 0 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  position: relative;
}

.form-group textarea {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ecebea;
  border-radius: 8px;
  border: none;
  overflow: hidden;
  height: 118px;
  padding: 20px;
}

input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #ecebea inset !important;
  box-shadow: 0 0 0px 1000px #ecebea inset !important;
  -webkit-text-fill-color: #333 !important;
  transition: background-color 5000s ease-in-out 0s;
}

input:-moz-autofill,
select:-moz-autofill,
textarea:-moz-autofill {
  box-shadow: 0 0 0px 1000px #ecebea inset !important;
  -moz-text-fill-color: #333 !important;
}

.btn {
  padding: 10px 20px;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  background-color: #1f3b73;
  color: #fff;
}

.btn:hover {
  background-color: #d8bfaa;
  color: #1f3b73;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .contact-page-wrapper {
    margin: 0 40px;
    padding: 60px 0;
  }

  .contact-body-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .contact-card {
    max-width: 600px;
    padding: 30px;
  }

  .contact-card p {
    font-size: 18px;
  }

  .contact-icons {
    gap: 15px;
  }

  .map-btn {
    width: 160px;
  }

  .form-wrapper-contact {
    padding: 30px;
  }

  .form-group textarea {
    height: 100px;
    padding: 15px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .contact-page-wrapper {
    margin: 0 20px;
    padding: 40px 0;
  }

  .contact-body-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .contact-card {
    max-width: 100%;
    padding: 20px;
  }

  .contact-card p {
    font-size: 16px;
  }

  .contact-icons {
    flex-direction: column;
    gap: 10px;
  }

  .map-btn {
    width: 140px;
    height: 35px;
    font-size: 14px;
  }

  .form-wrapper-contact {
    padding: 20px;
  }

  .form-group textarea {
    height: 90px;
    padding: 15px;
  }
}

/* Very Small Mobile Styles (e.g., iPhone SE, smaller screens) */
@media (max-width: 480px) {
  .contact-page-wrapper {
    margin: 0 10px;
    padding: 30px 0;
  }

  .contact-card {
    max-width: 100%;
    padding: 15px;
  }

  .contact-card p {
    font-size: 14px;
  }

  .contact-icons {
    flex-direction: column;
    gap: 8px;
  }

  .map-btn {
    width: 120px;
    height: 30px;
    font-size: 12px;
  }

  .form-wrapper-contact {
    padding: 15px;
  }

  .form-group textarea {
    height: 80px;
    padding: 12px;
  }
}
