/* RESET & SAFETY */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ROOT */
:root {
  --primary: #0EA5E9;
  --secondary: #F8FAFC;
  --accent: #0F172A;
  --hero-overlay: rgba(15,23,42,0.85);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--secondary);
  overflow-x: hidden;
}

/* HERO */
.dx-quote-hero {
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("services\ bg.png");
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
  padding: 5rem 1.5rem;
}

.dx-quote-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
}

.dx-quote-hero p {
  max-width: 720px;
  margin: 1rem auto 0;
  opacity: 0.95;
}

/* CONTAINER */
.dx-quote-container {
  max-width: 1100px;
  margin: -3.5rem auto 0;
  padding: 0 1rem 4rem;
}

/* FORM CARD */
.dx-form {
  background: #fff;
  border-radius: 18px;
  padding: 3rem;
  width: 100%;
  box-shadow: 0 30px 60px rgba(15,23,42,0.2);
}

/* SECTIONS */
.dx-form-section {
  margin-bottom: 3rem;
}

.dx-form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

/* ROWS */
.dx-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.dx-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* FIELDS */
.dx-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.dx-field input,
.dx-field textarea,
.dx-field select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.dx-field textarea {
  min-height: 130px;
}

/* CHECKBOX GRID */
.dx-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.dx-checkbox-grid label {
  font-size: 0.95rem;
}

/* SUBMIT */
.dx-submit {
  text-align: center;
  margin-top: 2rem;
}

.dx-submit button {
  background: var(--primary);
  color: #fff;
  padding: 1rem 4rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(14,165,233,0.4);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .dx-row.two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dx-form {
    padding: 2rem 1.4rem;
  }

  .dx-quote-hero h1 {
    font-size: 2.2rem;
  }

  .dx-submit button {
    width: 100%;
    padding: 0.9rem;
  }
}






