/* ================= TALK TO EXPERT PAGE STYLES ================= */

/* ============================================
   EXPERT HERO SECTION
   ============================================ */
.expert-hero {
  background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), 
              url('../images/hero.png') center/cover no-repeat;
  padding: 50px 0;
  color: #ffffff;
}

.expert-hero-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 40px;
  align-items: center;
}

/* ============================================
   EXPERT HERO CONTENT
   ============================================ */
.expert-hero-content .expert-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.expert-hero-content .expert-desc {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ffffff;
  opacity: 0.9;
  line-height: 1.7;
}

/* ============================================
   EXPERT BENEFITS LIST
   ============================================ */
.expert-benefits {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.expert-benefit-item {
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.expert-benefit-item i {
  color: #4fa3e3;
  font-size: 20px;
  flex-shrink: 0;
}

/* ============================================
   EXPERT HERO FORM
   ============================================ */
.expert-hero-form-box {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 10px;
  color: #1c1c2b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.expert-form-title {
  color: #101f4b;
  margin-bottom: 20px;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
}

.expert-hero-form-box form {
  display: flex;
  flex-direction: column;
}

/* Form Rows */
.expert-form-row {
  margin-bottom: 10px;
  width: 100%;
}

.expert-form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Input Fields */
.expert-hero-form-box input,
.expert-hero-form-box select,
.expert-hero-form-box textarea {
  width: 100%;
  padding: 9px 13px;
  margin-bottom: 0;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-family: inherit;
  font-size: 13.5px;
  background-color: #ffffff;
  color: #1c1c2b;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.expert-hero-form-box select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}

.expert-hero-form-box select:invalid {
  color: #000000;
}

.expert-hero-form-box textarea {
  resize: vertical;
  min-height: 60px;
}

/* Focus States */
.expert-hero-form-box input:focus,
.expert-hero-form-box select:focus,
.expert-hero-form-box textarea:focus {
  outline: none;
  border-color: #2952e3;
  box-shadow: 0 0 0 3px rgba(16, 31, 75, 0.08);
}

/* ============================================
   EXPERT FORM ALERTS
   ============================================ */
.expert-form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.expert-form-alert.expert-success {
  background: #d1fae5;
  color: #065f46;
}

.expert-form-alert.expert-error {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================
   EXPERT BUTTONS
   ============================================ */
.expert-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
}

.expert-btn-primary {
  background: #2952e3;
  color: #ffffff;
}

.expert-btn-primary:hover {
  background: #4fa3e3;
  color: #ffffff;
}

.expert-btn-full-width {
  width: 100%;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  margin-top: 4px;
}

/* ============================================
   EXPERT SPINNER
   ============================================ */
.expert-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: expert-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes expert-spin {
  to { transform: rotate(360deg); }
}

.expert-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

/* ============================================
   EXPERT CONTAINER
   ============================================ */
.expert-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
  .expert-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .expert-hero {
    padding: 40px 0;
  }

  .expert-hero-content .expert-title {
    font-size: 34px;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .expert-hero {
    padding: 35px 0;
  }

  .expert-hero-form-box {
    padding: 18px 15px;
  }

  .expert-form-row-two-col {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .expert-hero-content .expert-title {
    font-size: 28px;
  }

  .expert-hero-content .expert-desc {
    font-size: 14px;
  }

  .expert-benefit-item {
    font-size: 14px;
  }

  .expert-container {
    padding: 0 15px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .expert-hero {
    padding: 30px 0;
  }

  .expert-hero-content .expert-title {
    font-size: 24px;
  }

  .expert-hero-form-box h3 {
    font-size: 17px;
  }

  .expert-hero-form-box input,
  .expert-hero-form-box select,
  .expert-hero-form-box textarea {
    font-size: 13px;
    padding: 8px 11px;
  }

  .expert-btn {
    padding: 10px 24px;
    font-size: 13px;
  }

  .expert-container {
    padding: 0 12px;
  }
}