/* common */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #f4f4f4;
}

/* backgroun images */
.contact-bg-section {
  width: 100%;
  min-height: 650px;
  background: url("../images/contact-background.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 20px;
}
.contact-bg-overlay {
  width: 100%;
  min-height: 650px;
  background: rgba(255, 255, 255, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* layout */
.contact-content-main {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  /* padding: 20px 0 0 0; */
  padding: 20px;
  display: flex;
  /* position: relative; */
  z-index: 2;
  /* flex-wrap: nowrap; */
  flex-wrap: wrap;
  /* gap: 52px; */
  justify-content: center; 
  align-items: center;
}

.contact-column,
.contact-right-col {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* form above title */
h1.contact-title {
  color: #000000;
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 18px;
  /* margin-left: 5px; */
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  padding: 10px;
}

 .contact-form-box {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 24px rgba(80, 80, 80, 0.15);
  padding: 18px 50px 8px 50px;
  width: 100%;
  max-width: 700px;
  min-width: 0;
  border: 2px solid #3c3c75;
  margin-bottom: 0;
}

/* box p */
.contact-form-p {
  margin-bottom: 8px;
  color: #000000;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

/* form design */
.contact-form label {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 2px;
  display: block;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 9px;
  border-radius: 14px;
  border: 1.5px solid #9ea5be;
  margin-bottom: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #f9f9f9;
  resize: none;
}
.contact-form textarea {
  min-height: 28px;
  margin-bottom: 8px;
}
.contact-form .row {
  display: flex;
  gap: 12px;
}
.contact-form .row > * {
  flex: 1 1 0;
}

/* submit button */
.submit-btn {
  background: #d30c2b;
  color: #fff;
  padding: 12px 40px;
  font-weight: bold;

  border: none;              
  border-radius: 999px; 

  box-shadow:
    0 0 0 3px white,            /* white ring */
    0 7px 0 #222;               /* black bottom shadow */

  cursor: pointer;
  font-size: 1.07rem;
  letter-spacing: 1px;
  margin-top: 8px;
  margin-bottom: 5px;

  transition: transform 0.15s, box-shadow 0.15s;
}
.submit-btn:hover {
  background: #950016;
}

.submit-btn:active{
  transform: translateY(3px);

  box-shadow:
    0 0 0 0px #fff,
    0 0px 0 #222;
}

.submit-btn:disabled{
  background-color: #d73925;
  cursor: not-allowed;
  transition: all 0.2s ease-in-out;
}

/* form column */
.contact-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 420px;
}

/* For map style, etc */
.find-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #000000;
  text-align: center;
  /* margin-left: 6px; */
  line-height: 1.1;
}
.map-embed {
  width: 580px;
  height: 380px;
  background: #f5f5f5;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(80, 80, 80, 0.13);
  margin-bottom: 13px;
  border: 2.8px solid #e6e6e6;
  max-width: 100%;
  display: block;
  margin-left: 0;
}
/* Table for operating hours */
.hours-table-box {
  width: 390px;
  background: #001776;
  border-radius: 13px;
  margin-top: 0;
  margin-left: 0;
  box-shadow: 0 6px 16px rgba(40, 40, 80, 0.11);
  margin-bottom: 5px;
  /* aligns left with map and contact form */
}

/* Table design, text style */
.hours-table {
  width: 100%;
  border-radius: 13px;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(40, 40, 80, 0.06);
  text-align: center;
}
.hours-table th {
  background: #001776;
  color: #fff;
  font-size: 1.19rem;
  font-weight: 700;
  padding: 15px 8px 10px 8px;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  border: none;
  letter-spacing: 0.8px;
}
.hours-table td {
  color: #001776;
  font-size: 1.19rem;
  font-weight: 600;
  padding: 14px 0 14px 0;
  border: none;
  background: #fff;
}
.hours-table td span {
  font-size: 1.01rem;
  font-weight: 400;
  color: #222;
}

.map-icons{
  display: flex;
  justify-content: flex-start;
  /* justify-content: center; */
  /* align-items: center; */
  gap: 25px;
  margin-top: 10px;
  width: 100%;
}

#address-link{
  text-decoration: none;
  color: #001776;
}

#maps-mobile {
  display: none;
}

@media (max-width: 1200px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    width: 100%;
  }

  .footer-content > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
  }

  .footer-info,
  .footer-hours,
  .footer-links,
  .company-info,
  .certification-badges {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .footer-info p,
  .footer-info span,
  .footer-hours p,
  .company-info p,
  .footer-links a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }

  .badge-img {
    width: 120px;
    max-width: 45%;
    height: auto;
    display: block;
  }

  .map-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  #maps-mobile {
    display: block;
    width: 300px;
    height: 180px;
  }

  #maps-google,
  #maps-waze,
  #maps-google-link,
  #maps-waze-link {
    display: none;
  }

}