/* === WHY US PAGE === */
.whyus-hero {
  position: relative;
  height: 600px;
  background: #333 url("../assets/banner-4-1.webp") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 1em;
  overflow: hidden;
}

.whyus-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  /* dark overlay */
  z-index: 1;
}

.whyus-hero h1,
.whyus-hero p {
  position: relative;
  z-index: 2;
  /* ensures text is above overlay */
}

.whyus-hero h1 {
  font-size: 2.5em;
  font-weight: 700;
  margin: 0 0 0.5em;
}

.whyus-hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
}

/* WHY US CARDS */
.whyus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  padding: 3em var(--padding-right-for-menu-items);
}

.whyus-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 2em;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.whyus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.whyus-card h3 {
  color: var(--accent);
  margin-bottom: 0.8em;
}

.whyus-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* CONTACT BLOCK (bottom of page) */
.contact-block {
  background: #f8f8f8;
  padding: 3em var(--padding-right-for-menu-items);
  margin-top: 4em;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: stretch;
  /* equal height columns */
}

.contact-map {
  flex: 1;
  min-width: 320px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1em;
}

.contact-info p {
  margin: 0.5em 0;
  line-height: 1.6;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-details {
  margin-top: 1em;
  font-size: 0.95rem;
}

/* === INQUIRY FORM === */
.inquiry-form {
  background: #f8f8f8;
  padding: 3em var(--padding-right-for-menu-items);
  margin-top: 2em;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
}

.inquiry-form h2 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 1.5em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  width: 100%;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.form-row input,
.form-row select {
  flex: 1;
  min-width: 220px;
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  font-size: 0.95rem;
  display: block;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9em 2em;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  align-self: flex-start;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #a63228;
  /* darker shade of accent */
}

/* === COMPANY HISTORY / DESCRIPTION SECTION === */
.whyus-description {
  max-width: 1000px;
  margin: 4em auto;
  padding: 0 var(--padding-right-for-menu-items);
  font-family: 'IBM Plex Sans', sans-serif;
  color: #333;
  line-height: 1.8;
}

.whyus-description p {
  font-size: 1rem;
  margin-bottom: 1.2em;
  text-align: justify;
}

.whyus-description p:first-child {
  font-weight: 500;
  /* color: var(--primary); */
}

.whyus-description strong {
  color: var(--accent);
}

/* === HERO TEXT BELOW IMAGE === */
.whyus-hero-text {
  text-align: center;
  padding: 1em 1em 0em;
  background: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.whyus-hero-text h1 {
  font-size: 2.4em;
  font-weight: 700;
  color: #555;
  margin-bottom: 0.5em;
}


/* Responsive */
@media (max-width: 768px) {

  .whyus-description {
    margin: 2em 0;
    padding: 0 1em;
  }

  .whyus-description p {
    font-size: 0.95rem;
  }

  .whyus-hero-text h1 {
    font-size: 1.8rem;
  }

  .whyus-hero-text p {
    font-size: 1rem;
  }

  .whyus-hero h1 {
    font-size: 1.8rem;
  }

  .whyus-cards {
    padding: 2em 1em;
  }

  .contact-block {
    padding: 2em 1em;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-map {
    height: 260px;
    /* fixed for mobile */
  }

  .form-row {
    flex-direction: column;
  }

  .form-row select {
    width: 100%;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }
}