:root {
    --font_color: #000000;
    --head_bg: #9df3b8;
    --font_style:"Inter", sans-serif;
    --logo_color: green;
    --head_font_color: rgb(70, 129, 70);
}

/* header banner*/
header {
    text-align: center;
    background-color: var(--head_bg);
    padding: 0.8px;
    color: var(--head_font_color);
}

.header_text {
    position: relative;
    top: -80px;
    opacity: 0;
    animation: revealText 0.9s ease-out forwards;
}

@keyframes revealText {
    0% { top: -80px; opacity: 0; }
    100% { top: 0; opacity: 1; }
}
header span {
    color: var(--logo_color);
    font-weight: bolder;
}

body {
    font-family: Poppins;
}

/* Hamburger menu hidden */
.hamburger {
  display: none;
}

/* CONTACT SECTION */
.container {
  display: flex;
  width: 90%;
  max-width: 1200px;
  background:#9df3b8;
  margin: 60px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden;
  min-height: 500px; /* ensure min height for balanced look */
}

/* LEFT FORM */
.contact {
  flex: 1 1 50%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.contact h4 {
  font-size: 14px;
  font-weight: 600;
  color: #8a6d5c;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact h2 {
  font-size: 36px;
  font-weight: 600;
  color: #3d2f26;
  margin-bottom: 40px;
  line-height: 1.3;
  max-width: 400px;
}

.contact label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #3d2f26;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #bba899;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}

.contact textarea {
  resize: none;
}

.contact button {
  background:black;
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.3s ease;
  width: 110px;
}

.contact button:hover {
  background: black;
}

/* RIGHT IMAGE */
.contact_img {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  min-width: 300px;
  max-height: 100%; /* keep within container */
}

.contact_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  min-height: 500px; /* match container min height */
}

/* REVEAL ANIMATION */
.contact_img .reveal_mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #454545;
  z-index: 2;
}

.contact_img .reveal_mask.animate {
  animation: reveal 1.5s ease forwards;
  animation-delay: 0.3s;
}

@keyframes reveal {
  0% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .container {
    width: 95%;
    min-height: 450px;
  }
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    min-height: auto;
  }
  .contact, .contact_img {
    flex: none;
    width: 100%;
    height: auto;
    padding: 50px 30px;
    min-height: auto;
  }
  .contact_img img {
    min-height: 250px;
  }
  .head_main nav {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

/* Dream Section */
/*map*/
.contact-us-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px;
  max-width: 1200px;
  margin: auto;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.contact-us-info {
  flex: 1;
  padding-right: 40px;
}

.contact-us-info h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-us-info p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.contact-us-info .location,
.contact-us-info .hours {
  margin-top: 30px;
}

.contact-us-info .location h3,
.contact-us-info .hours h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.contact-us-info .location p,
.contact-us-info .hours p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #888;
}

.contact-us-map {
  flex: 1;
  height: 350px;
}

.contact-us-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .contact-us-section {
    flex-direction: column;
    padding: 30px;
  }

  .contact-us-info {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .contact-us-map {
    height: 300px;
  }
}
