/* Consultation Steps Section */
.consultation-steps {
  background-color: #f5f2ed;
  padding: 80px 0;
  font-family: "Arial", sans-serif;
}

.consultation-steps .section-title {
  text-align: center;
  font-size: 32px;
  color: #422513;
  margin-bottom: 60px;
  position: relative;
}

.consultation-steps .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #fedac2;
  margin: 15px auto 0;
  border-radius: 2px;
}

.steps-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.step-box {
  background-color: #fff;
  flex: 1 1 30%;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.step-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-box .icon {
  width: 80px;
  height: 80px;
  background-color: #fedac2;
  color: #422513;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.step-box:hover .icon {
  background-color: #422513;
  color: #fedac2;
}

.step-box h3 {
  font-size: 22px;
  color: #422513;
  margin-bottom: 15px;
}

.step-box p {
  font-size: 16px;
  color: #422513;
  line-height: 1.6;
}

/* Button */
.btn-wrapper {
  text-align: center;
  margin-top: 50px;
}

.btn-consult {
  display: inline-block;
  background-color: #422513;
  color: #fedac2;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-consult:hover {
  background-color: #fedac2;
  color: #422513;
  transform: scale(1.05);
}

/* Responsive */
@media screen and (max-width: 991px) {
  .steps-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .step-box {
    flex: 1 1 100%;
  }
}

/*Service section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #f5f2ed;
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 36px;
    color: #422513;
    background-color: #fedac2;
    padding: 20px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover i {
    background-color: #422513;
    color: #fedac2;
}

.service-card h2 {
    font-size: 18px;
    color: #422513;
    margin-top: 10px;
}

.service-card p {
    font-size: 14px;
    color: #422513;
    margin-top: 10px;
    line-height: 1.5;
}

/* Responsive */
@media screen and (max-width: 767px) {
    .service-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* External Contact Form Css */
:root {
  --cream: #f5f0e8;
  --cream-dark: #ede6d8;
  --brown-dark: #3d1f0d;
  --brown-mid: #6b3a2a;
  --brown-light: #a0623a;
  --peach: #f4c5a0;
  --peach-light: #faeadb;
  --peach-accent: #e8956d;
  --white: #ffffff;
  --text-dark: #2c1a0e;
  --text-mid: #5a3825;
  --text-light: #8a6650;
  --border: #d9c8b4;
  --error: #c0392b;
  --success: #27ae60;
  --section-header: #3d1f0d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--cream);
  /* font-family: "Lato", sans-serif; */
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== FORM WRAPPER ===== */
.consultation-form-wrapper {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px 60px;
}

.form-title {
  text-align: center;
  margin-bottom: 8px;
}

.form-title h2 {
  /* font-family: "Playfair Display", serif; */
  font-size: 2.4rem;
  color: var(--brown-dark);
  font-weight: 700;
}

.form-title p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 6px;
}

.form-divider {
  width: 60px;
  height: 3px;
  background: var(--peach-accent);
  margin: 12px auto 32px;
  border-radius: 2px;
}

/* ===== SECTION ===== */
.form-section {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(61, 31, 13, 0.07);
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.section-header {
  background: var(--brown-dark);
  color: var(--white);
  padding: 15px 24px;
  /* font-family: "Playfair Display", serif; */
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header .section-icon {
  width: 26px;
  height: 26px;
  background: var(--peach-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.section-body {
  padding: 26px 28px;
}

/* ===== FIELD ROW ===== */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.field-row.full {
  grid-template-columns: 1fr;
}

.field-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

/* ===== LABEL ===== */
label {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

label .required {
  color: var(--error);
  font-size: 1.15rem;
}

/* ===== TOOLTIP ===== */
.tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tooltip-icon {
  width: 18px;
  height: 18px;
  background: var(--peach-accent);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.tooltip-icon:hover {
  background: var(--brown-mid);
}

.tooltip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--brown-dark);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 10px 14px;
  border-radius: 8px;
  width: 240px;
  line-height: 1.5;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.tooltip-box::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--brown-dark);
}

.tooltip-wrap:hover .tooltip-box {
  display: block;
}

/* ===== INPUTS ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text-dark);
  /* font-family: "Lato", sans-serif; */
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--peach-accent);
  box-shadow: 0 0 0 3px rgba(232, 149, 109, 0.15);
  background: var(--white);
}

input.error,
select.error,
textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b3a2a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ===== RADIO / GENDER ===== */
.radio-group {
  display: flex;
  gap: 20px;
  padding: 10px 0 2px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 600;
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--peach-accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== FILE INPUT ===== */
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  background: var(--peach-light);
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-mid);
  transition: border-color 0.2s;
}

.file-upload-label:hover {
  border-color: var(--peach-accent);
}

.file-upload-label input[type="file"] {
  display: none;
}

.file-upload-icon {
  font-size: 1.3rem;
}

/* ===== ERROR MESSAGE ===== */
.error-msg {
  font-size: 0.88rem;
  color: var(--error);
  margin-top: 3px;
  display: none;
}

.error-msg.visible {
  display: block;
}

/* ===== SUBMIT SECTION ===== */
.submit-section {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(61, 31, 13, 0.07);
}

.submit-note {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.submit-note-red {
  font-size: 0.98rem;
  color: var(--peach-accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.btn-submit {
  background: var(--brown-dark);
  color: var(--white);
  border: none;
  padding: 15px 52px;
  /* font-family: "Playfair Display", serif; */
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(61, 31, 13, 0.2);
}

.btn-submit:hover {
  background: var(--brown-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(61, 31, 13, 0.25);
}

.btn-submit:active {
  transform: translateY(0);
}

.submit-disclaimer {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 14px;
  /* font-style: italic; */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .field-row.three {
    grid-template-columns: 1fr;
  }

  .section-body {
    padding: 18px 16px;
  }

  .form-title h2 {
    font-size: 1.8rem;
  }
}

.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 12px;
  animation: slideDown 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  position: relative;
  overflow: hidden;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes progressBar {
  from { width: 100%; }
  to   { width: 0%; }
}

.alert-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  animation: progressBar 5s linear forwards;
}

.alert-box.success {
  background: #f0faf5;
  border: 1px solid #a3d9b8;
}
.alert-box.success::after { background: #2d9e6b; }

.alert-box.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
}
.alert-box.error::after { background: #ef4444; }

.alert-box span {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}
