@font-face {
  font-family: 'Basics Serif Free';
  src: url('./assets/font/basics_serif/Basics\ Serif\ -\ Free.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background: url(./assets/images/printed-bg.png);
}

.wrap-contact {
  background: linear-gradient(to bottom,
      #DFA08A 0%,
      /* top peach */
      #E9B3A0 22%,
      #F3D2C6 40%,
      #FAEEE8 60%,
      #FFFFFF 78%,
      /* almost full white */
      #FBF2EE 92%,
      /* very subtle fade starts */
      #F6E6DF 100%
      /* tiny peach tint at bottom */
    );


}

.banner-header {
  text-align: center;
  color: white;
  height: 300px;
}

.banner-head {
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: 700;
  font-family: 'Basics Serif Free';
}

.banner-header .banner-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
}

.banner-header .banner-breadcrumb a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.contact-form {
  padding: 60px 0;
}

.contact-img {
  height: 420px;
}

.contact-img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.contact-form-box {
  background-color: #F5E6C8;
  padding: 15px 15px;
  border-radius: 12px;
  height: 420px;
}

.contact-form-box .form-group {
  margin-bottom: 15px;
}

.contact-form-box .form-control {
  background-color: #fff;
  border: 2px solid #F5E6C8;
  border-radius: 6px;
  padding: 10px 18px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.contact-form-box .form-control::placeholder {
  color: #666;
}

.contact-form-box .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #d4c4a8;
}

.contact-form-box textarea.form-control {
  resize: none;
}

.contact-submit-btn {
  width: 100%;
  background-color: #7B3F50;
  color: white;
  border: none;
  padding: 14px 28px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.contact-submit-btn:hover {
  background-color: #5a2d3a;
}

@media (max-width: 992px) {
  .contact-img img {
    border-radius: 12px 12px 0 0;
    min-height: 350px;
  }

  .contact-form-box {
    border-radius: 0 0 12px 12px;
  }

  .banner-header {
    text-align: center;
    color: white;
    height: 350px;
  }

  .banner-head {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.7;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Basics Serif Free';
  }
}

@media (max-width: 576px) {
  .contact-form {
    padding: 40px 0;
  }

  .contact-form-box {
    padding: 30px 25px;
  }

  .contact-img img {
    min-height: 280px;
  }

  .banner-header {
    text-align: center;
    color: white;
    height: 250px;
  }

  .banner-head {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.7;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Basics Serif Free';
  }
}

@media (min-width: 1641px) and (max-width: 1920px) {
  .contact-img {
    height: 500px;
  }

  .contact-img img {
    height: 100%;
    width: 100%;
  }

  .contact-form-box {
    height: 500px;
  }

  .contact-form-box form {
    margin-top: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 1921px) and (max-width: 2560px) {
  .contact-img {
    height: 500px;
  }

  .contact-img img {
    height: 100%;
    width: 100%;
  }

  .contact-form-box {
    height: 500px;
  }

  .contact-form-box form {
    margin-top: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 2561px) {
  .contact-img {
    height: 500px;
  }

  .contact-img img {
    height: 100%;
    width: 100%;
  }

  .contact-form-box {
    height: 500px;
  }

  .contact-form-box form {
    margin-top: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  animation: slideIn 0.3s ease-out;
  display: none;
}

.toast-notification.error {
  background: #f44336;
}

.toast-notification.show {
  display: block;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Container for the map and footer */
.map-footer-container {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {

  /* Map section - push it down by 80% of footer height */
  .g-map {
    position: relative;
    z-index: 1;
    height: 100%;
    margin-bottom: -5%;
    /* Creates the overlap - adjust this value to control overlap amount */
  }

  /* Map iframe adjustments */
  .map iframe {
    display: block;
  }

  /* Footer section - bring it up to overlap with map */
  .footer {
    position: relative;
    z-index: 2;
    /* Remove any negative margins if previously set */
    margin-top: 0;
  }

  /* Adjust footer background to show through the overlap */
  .footer::before {
    content: '';
    position: absolute;
    top: -20%;
    /* Adjust based on how much of the footer bg you want to show above */
    left: 0;
    right: 0;
    height: 120%;
    /* Extend the background upward */
    background: inherit;
    /* Inherit the footer's background */
    z-index: -1;
  }

  /* Optional: Add a smooth transition between map and footer */
  .footer .wrapper {
    padding-top: 40px;
    /* Adjust this to create space for the overlapped content */
  }

  /* For better visual appearance */
  .map {
    overflow: hidden;
    border-radius: 0;
    /* Remove any rounded corners if present */
  }
}