/* D & C – AgriBase Agricultural Consultancy Additional Stylesheet */
:root {
  --badge-new: #0284c7;
  --badge-review: #d97706;
  --badge-confirmed: #15803d;
  --badge-cancelled: #b91c1c;
}

/* Service Catalogue Cards */
.consultancy-hero {
  background: linear-gradient(135deg, #14351d 0%, #1f4d2c 60%, #2e6b3e 100%);
  color: #ffffff;
  padding: 56px 0 44px;
  border-bottom: 4px solid var(--gold);
}

.consultancy-hero h1 {
  color: #ffffff;
  margin-top: 10px;
}

.consultancy-hero .lead {
  color: #e8f2ea;
  font-size: 19px;
  max-width: 780px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-cta-group .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 3 Core Highlight Cards */
.core-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.core-service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(31, 77, 44, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.core-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(31, 77, 44, 0.14);
}

.core-service-card .card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--field-light);
  color: var(--field);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

.core-service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #174d28; /* Prominent rich agricultural green */
  font-weight: 800;
}

.core-service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Forms Design */
.consult-form-wrap {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .consult-form-wrap {
    padding: 20px 16px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

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

.form-group label .required {
  color: #b91c1c;
  margin-left: 2px;
}

.form-group .form-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.form-control {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--field);
  box-shadow: 0 0 0 3px rgba(31, 77, 44, 0.15);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-NEW { background: #e0f2fe; color: #0369a1; }
.badge-UNDER_REVIEW { background: #fef3c7; color: #92400e; }
.badge-AWAITING_INFO { background: #ffedd5; color: #9a3412; }
.badge-AWAITING_PAYMENT { background: #fee2e2; color: #991b1b; }
.badge-QUOTATION_PENDING { background: #fef3c7; color: #b45309; }
.badge-QUOTATION_SENT { background: #f3e8ff; color: #6b21a8; }
.badge-CONFIRMED { background: #dcfce7; color: #166534; }
.badge-COMPLETED { background: #e2e8f0; color: #334155; }
.badge-CANCELLED { background: #fee2e2; color: #991b1b; }
.badge-ANSWERED { background: #dcfce7; color: #166534; }

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.filter-bar .form-control {
  width: auto;
  min-width: 180px;
}

/* Quotation View Box */
.quote-sheet {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.quote-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--field-light);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.quote-total-box {
  background: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--field);
}

.tab-btn.active {
  color: var(--field);
  border-bottom-color: var(--field);
}

/* Modal styles */
.consult-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 30, 22, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.consult-modal.active {
  display: flex;
}

.consult-modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Step list */
.process-step {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--field);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
