/* =========================================================
   RFQ PAGE (premium, theme-adapted)
   ========================================================= */

/* Ensure footer CTA etc stays consistent */
.rfq-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(8, 59, 76, 0.78)),
    url("../img/hero.png");
  background-size: cover;
  background-position: center;
}

.rfq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(214, 190, 99, 0.25),
      transparent 45%
    ),
    radial-gradient(circle at 85% 30%, rgba(0, 108, 142, 0.24), transparent 48%);
}

/* The markup includes <div class="overlay"></div> */
.rfq-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.rfq-hero-content {
  position: relative;
  z-index: 2;
}

.rfq-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(214, 190, 99, 0.2);
  border: 1px solid rgba(214, 190, 99, 0.55);
  padding: 12px 18px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-weight: 800;
  color: #fff;
}

.rfq-hero h1 {
  color: #fff;
  font-size: 68px;
  line-height: 1.1;
  margin-bottom: 18px;
  word-break: break-word;
}

.rfq-hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  max-width: 720px;
}

.rfq-section {
  padding: 100px 0;
  background: var(--light);
}

.rfq-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.rfq-info {
  background: linear-gradient(180deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.rfq-info h2,
.rfq-info p {
  color: #fff;
}

.rfq-info h2 {
  font-size: 42px;
  margin-bottom: 12px;
}

.rfq-features {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.rfq-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.rfq-feature i {
  color: var(--gold);
  font-size: 18px;
}

.rfq-feature span {
  font-weight: 700;
}

.rfq-contact-box {
  margin-top: 22px;
  border-radius: 18px;
  border: 1px solid rgba(214, 190, 99, 0.35);
  background: rgba(214, 190, 99, 0.1);
  padding: 18px 18px;
}

.rfq-contact-box h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
}

.rfq-contact-box p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
}

.rfq-form-wrapper {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 30px;
}

.rfq-form-wrapper form {
  margin-top: 10px;
}

.rfq-form {
  display: block;
}

.rfq-form .form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.rfq-form .form-group label {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-family: Poppins, sans-serif;
}

.rfq-form input:focus,
.rfq-form select:focus,
.rfq-form textarea:focus {
  border-color: rgba(0, 108, 142, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 108, 142, 0.12);
  outline: none;
}

.rfq-form .full-width {
  grid-column: 1 / -1;
}

.rfq-form .submit-btn {
  width: 100%;
  margin-top: 22px;
  justify-content: center;
  padding: 16px 22px;
  border-radius: 12px;
}

/* Keep card alerts consistent */
.alert-success,
.alert-error {
  margin-bottom: 18px;
}

@media (max-width: 992px) {
  .rfq-grid {
    grid-template-columns: 1fr;
  }

  .rfq-hero h1 {
    font-size: 46px;
  }

  .rfq-info h2 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .rfq-form .form-grid {
    grid-template-columns: 1fr;
  }

  .rfq-section {
    padding: 70px 0;
  }

  .rfq-form-wrapper {
    padding: 22px;
  }

  .rfq-hero h1 {
    font-size: 38px;
  }
}
