body {
  margin: 0;
  background: white;
  color: black;
  font-family: "Public Sans", sans-serif;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.main-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 120px;
  gap: 30px;
  position: relative;
  margin-bottom: 100px;
}

.contact-us-title {
  width: 100%;
  font-size: 68px;
  font-weight: 300;
  text-align: center;
  letter-spacing: 4px;
}
.contact-us-title-small {
  width: 100%;
  font-size: 1.35rem;
  text-align: center;
  color: rgb(58, 58, 58);
}

.contact-us-container {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  gap: 150px;
}

.contact-information-container {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  gap: 40px;
  justify-content: center;

  height: fit-content;
  padding: 10px 40px;
  width: fit-content;
  margin-top: 75px;
  transform: translateX(-100%);
  opacity: 0;
  animation: contactslide 0.8s ease forwards;
  animation-delay: 0.1s;
}
@keyframes contactslide {
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}
.contact-info-title {
  font-size: 46px;
  font-weight: 300;
  text-align: left;
  width: 100%;
  line-height: 1.2;
}

.contact-information {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  gap: 30px;
}

.contact-title,
.address-title {
  font-size: 28px;
  font-weight: 400;
}

.address-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  font-size: 20px;
  font-weight: 350;
}

.contact-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  font-size: 20px;
  font-weight: 350;
}

.address {
  padding-right: 40px;
  line-height: 1.6;
}

.address,
.contact-phone,
.contact-email {
  font-weight: 350;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
}

.contact-icon {
  width: 23px;
  height: auto;
}

.contact-form-container {
  height: fit-content;
  justify-self: flex-start;
  align-self: center;
  transform: translateX(100%);
  opacity: 0;
  animation: formslide 0.8s ease forwards;
  animation-delay: 0.1s;
}

@keyframes formslide {
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 100%;
  background-color: rgb(0, 0, 0);
  padding: 30px 20px;
  margin: 25px;
  margin-top: 70px;
  min-width: 350px;
  color: white;
}

.form-title {
  color: rgb(255, 255, 255);
  font-size: 35px;
  font-weight: 300;
  margin-left: 3px;
  text-transform: uppercase;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  position: relative;
  flex: 1;
  min-width: 200px;
  margin-top: 20px;
}

.full-width {
  width: 100%;
}

input,
textarea {
  padding: 14px 10px;
  border: none;
  border-bottom: 1px solid #494949;
  background-color: rgb(37, 37, 37);
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  color: white;
}

textarea {
  max-width: 500px;
}

input::placeholder,
textarea::placeholder {
  color: transparent; /* Hide placeholder since label replaces it */
}

input:focus,
textarea:focus {
  border: 1px solid #0f0f0f;
  color: rgb(255, 255, 255);
}

label {
  position: absolute;
  top: 14px;
  left: 10px;
  pointer-events: none;
  transition: 0.2s ease all;
  color: #ffffff;
  font-size: 15px;
  background-color: rgb(37, 37, 37);
  padding: 0 4px;
}

input:focus + label,
textarea:focus + label,
input:not(:placeholder-shown) + label,
textarea:not(:placeholder-shown) + label {
  top: -22px;
  left: 5px;
  font-size: 15px;
  color: #ffffff;
  background-color: black;
}

button[type="submit"] {
  padding: 15px 20px;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  width: 100%;
  border: none;
  border-radius: 2px;
  font-size: 20px;
  cursor: pointer;
  align-self: center;
  border: 1px solid white;
  font-weight: 500;
}

button[type="submit"]:hover {
  background-color: #cfcfcf;
}

/* MAP BLOCK STYLES */
.map-block {
  max-width: 980px; /* adjust to taste */
  margin: 60px auto;
  background: #ffffff; /* white background like you asked */
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 16px;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps it responsive */
  overflow: hidden;
  border-radius: 6px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-actions {
  text-align: right;
  margin-top: 10px;
}

.map-actions a {
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 1300px) {
  .contact-us-container {
    gap: 10px;
    align-items: center;
    overflow: hidden;
  }

  .contact-info-title {
    text-align: left;
  }
  .contact-information {
    gap: 30px;
  }
  .contact-container,
  .address-container {
    gap: 15px;
  }
  .contact-information-container {
    margin-bottom: 25px;
  }
}
@media (max-width: 1100px) {
  .contact-us-container {
    flex-direction: column;
  }
  .contact-information-container {
    height: fit-content;
    margin-top: 20px;
    padding: 35px;
    gap: 20px;
    margin-bottom: 0px;
  }
}

@media (max-width: 600px) {
  .contact-information-container {
    width: 88vw;
  }
  .contact-info-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
  }
  .contact-us-title {
    font-size: 42px;
  }

  .contact-info-title {
    font-size: 34px;
    white-space: nowrap;
  }
  .contact-information-container {
    width: 100%;
    margin-top: 0px;
  }
  .contact-information {
    padding: 0px 20px 0px 20px;
  }
  .main-container {
    margin-top: 80px;
  }
  .contact-us-title,
  .contact-us-title-small {
    padding: 0px 20px 0px 20px;
  }
  .contact-us-title-small {
    line-height: 1.6;
  }
  .contact-form {
    padding: 25px 15px;
    gap: 10px;
  }
  .form-row {
    gap: 10px;
  }
  button[type="submit"] {
    margin-top: 10px;
  }
}

#form-message {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.success-banner,
.error-banner {
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 16px;
  max-width: 800px;
  width: 90%;
  text-align: center;
}

.success-banner {
  background-color: #00ff3cbd;
  color: #ffffff;
  border: 1px solid #01360d;
}

.error-banner {
  background-color: #ee0014ce;
  color: #ffffff;
  border: 1px solid #460007;
}

.company-row {
  display: none;
}
