/* enquiry-form.css */

body {
  font-family: "Open Sans", sans-serif;
  background-color: #f3f5fa;
  color: #444444;
  margin: 0;
  padding: 0;
}

.enquiry-container {
  max-width: 82%;
  margin: 50px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  color: #37517e;
  margin-bottom: 10px;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #47b2e4;
  margin: 10px auto 0;
}

.section-title p {
  font-size: 15px;
  color: #5e5e5e;
  margin: 0;
}

.toggle-container {
  text-align: center;
  margin-bottom: 20px;
}

.toggle-label {
  font-weight: 600;
  color: #37517e;
}

.toggle-select {
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.enquiry-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #37517e;
  font-size: 14px;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  transition: border 0.3s;
  background: #fff;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: #47b2e4;
  box-shadow: 0 0 4px rgba(71, 178, 228, 0.3);
}

.enquiry-form textarea {
  resize: vertical;
  min-height: 120px;
}

.enquiry-form button {
  background-color: #47b2e4;
  color: #fff;
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.enquiry-form button:hover {
  background-color: #209dd8;
  cursor: pointer;
}

@media (max-width: 576px) {
  .enquiry-container {
    padding: 20px;
  }

  .section-title h2 {
    font-size: 26px;
  }
}

/* Header Navbar Scroll Behavior */
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(40, 58, 90, 0.9) !important;
}

#header.header-scrolled {
  background: rgba(40, 58, 90, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company {
  margin: -2rem;
}

.company .row a img {
  margin-bottom: 0 !important;
  width: 35%;
  position: relative;
  top: 4rem;
  background: #ffffff;
  color: #444;
  border: 1px solid white;
  border-radius: 3rem;
}

#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(40, 58, 90, 0.9);
}

#header .logo {
  font-size: 20px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #fff;
}

#header .logo img {
  max-height: 40px;
}

/* Mobile (phones) */
@media (max-width: 767.98px) {
  .enquiry-container {
    max-width: 95%;
    margin: 20px auto;
    padding: 20px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .section-title p {
    font-size: 13px;
  }

  .info {
    width: 100%;
    margin-bottom: 30px;
  }

  iframe {
    width: 100% !important;
    height: 250px !important;
  }

  .row {
    flex-direction: column !important;
    align-items: center;
  }

  .col-lg-5 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .col-md-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .enquiry-form button {
    width: 100%;
    padding: 12px;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
  .enquiry-container {
    max-width: 90%;
    padding: 30px;
  }

  .info iframe {
    width: 100%;
    height: 300px;
  }

  .col-md-6 {
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .enquiry-form button {
    width: auto;
  }
}

.office-logo {
  text-align: center;
  margin-bottom: 20px;
}

.office-logo img {
  width: 180px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.office-logo img:hover {
  transform: scale(1.05);
}

@media (max-width: 576px) {
  .office-logo img {
    width: 140px;
    height: 60px;
  }
}
