/* ===============================
   HERO (FINAL)
================================ */

.consultation-hero {
  position: relative;
  min-height: 100vh;
  background: url("../images/consultation/consult_bg.png") no-repeat right
    center / cover;
  display: flex;
  align-items: center;
}

/* Left content block */
.hero-content {
  padding-left: 50px;
  max-width: 760px;
}

/* Logo */
.hero-logo img {
  max-width: 250px;
  margin-bottom: 40px;
}
/* Top bar containing logo + home */
.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

/* Logo */
.hero-logo img {
  max-width: 250px;
}

.consultation-hero {
  position: relative; /* anchor for absolute button */
}

/* Glass Home Button - TOP RIGHT */
.glass-home-btn {
  position: absolute;
  top: 80px;
  right: 80px;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 14px 35px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  z-index: 20;
}

.glass-home-btn:hover {
  background: #4a3185;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Small pill button */
.hero-pill {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid #111;
  border-radius: 50px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  margin-bottom: 28px;
}

.hero-pill:hover {
  color: #111;
}

/* Main heading */
.hero-heading {
  font-family: "Rubik", sans-serif;
  font-size: 120px;
  font-weight: 400;
  line-height: 1;
  color: #111;
  margin-bottom: 24px;
}

.hero-heading strong {
  font-weight: 800;
  display: block;
}

/* Description */
.hero-description {
  font-size: 18px;
  color: #555;
  max-width: 560px;
  margin-bottom: 40px;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 24px;
}

.hero-btn {
  padding: 14px 60px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
}

.hero-btn.primary {
  background: #4a3185;
  color: #fff;
  font-weight: 500;
  transition: all 0.18s ease;
  box-shadow: 0 4px 14px rgba(74, 49, 133, 0.06);
}

.hero-btn.secondary {
  color: #4b2e83;
}

/* Match services .cta-btn hover: white background, primary text, subtle shadow and border */
.hero-btn.primary:hover {
  background: #ffffff;
  color: #4a3185;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
  border: 1px solid #4a3185;
}

/* ===============================
   RESPONSIVE (MATCHES SHERYIANS)
================================ */

@media (max-width: 991px) {
  .hero-content {
    padding-left: 40px;
  }

  .hero-heading {
    font-size: 64px;
  }
}

@media (max-width: 576px) {
  .consultation-hero {
    background-position: center;
    padding: 80px 20px;
  }

  .hero-content {
    padding-left: 0;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .glass-home-btn {
    top: 20px;
    right: 20px;
    padding: 6px 14px;
  }

  .glass-home-btn span {
    display: none; /* icon-only on mobile */
  }
}

/* ===============================
   Consultation Benefits Section
================================ */

.consultation-benefits {
  padding: 120px 0;
  background: #ffffff;
}

/* Heading */
.section-header h2 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

.section-header p {
  font-size: 18px;
  color: #666;
  max-width: 720px;
  margin: 0 auto 80px;
}

/* Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Card */
.benefit-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 24px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Image */
.benefit-image {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #f6f6f6;
}

.benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card Text */
.benefit-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

.benefit-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ===============================
   Responsive
================================ */

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header h2 {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .consultation-benefits {
    padding: 80px 20px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    margin-bottom: 48px;
  }
}

/* ===============================
   Dark Consultation Form
================================ */

.consultation-form-section {
  background: #000;
  color: #fff;
  padding: 120px 0;
}

/* Layout */
.form-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1400px;
  margin: auto;
  padding: 0 60px;
}

/* Left Text */
.form-info h2 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #fff;
}

.form-info h2 span {
  color: #8f7bff;
}

.form-info p {
  font-size: 18px;
  color: #b5b5b5;
  max-width: 420px;
}

/* Form Card */
.form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 520px;
}

/* Fields */
.form-row {
  margin-bottom: 26px;
}

.form-row label {
  display: block;
  font-size: 14px;
  color: #d1d1d1;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 0;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #777;
}

.form-row select {
  appearance: none;
  cursor: pointer;
}

/* Fix dropdown expanded background */
.form-row select {
  background-color: transparent;
  color: #fff;
}

/* Dropdown options */
.form-row select option {
  background-color: #0b0b0b; /* dark background */
  color: #ffffff;
}

/* Optional: hover effect inside dropdown */
.form-row select option:hover {
  background-color: #4a3185;
  color: #fff;
}

/* Submit Button */
.form-submit {
  margin-top: 30px;
  background: #fff;
  color: #000;
  border: none;
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.form-submit span {
  font-size: 18px;
}

.form-submit:hover {
  background: #4a3185;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
  /* border: 1px solid #4a3185; */
}

/* Validation states */
.form-row input.error,
.form-row select.error,
.form-row textarea.error {
  border-bottom-color: #ff4d4d;
}

.form-row input.success,
.form-row select.success,
.form-row textarea.success {
  border-bottom-color: #8f7bff;
}

.error-msg {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 6px;
  display: none;
}

/* ===============================
   Responsive
================================ */

@media (max-width: 992px) {
  .form-layout {
    flex-direction: column;
    gap: 60px;
    padding: 0 30px;
  }

  .form-info h2 {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .consultation-form-section {
    padding: 80px 0;
  }

  .form-info h2 {
    font-size: 32px;
  }

  .form-card {
    padding: 30px 24px;
  }
}
