/* ══════════════════════════════════════════
   CareConnect – style.css
   Aesthetic: Organic / Refined / Warm Green
   ══════════════════════════════════════════ */

/* ──────────── RESET & VARIABLES ──────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #1a6b4a;
  --green-light: #2d8f64;
  --green-pale: #e8f5ef;
  --green-mid: #c2e0d2;
  --gold: #c9933a;
  --gold-pale: #fdf3e3;
  --cream: #faf8f3;
  --dark: #111827;
  --text: #2c2c2c;
  --muted: #6b7280;
  --border: #dde5df;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26, 107, 74, 0.09);
  --shadow-md: 0 8px 32px rgba(26, 107, 74, 0.13);
  --shadow-lg: 0 16px 56px rgba(26, 107, 74, 0.16);
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Instrument Sans", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  line-height: 1.15;
}

a {
  text-decoration: none;
  color: inherit;
}
input,
select,
textarea,
button {
  font-family: inherit;
}
img {
  max-width: 100%;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--green-mid);
  border-radius: 99px;
}

/* ──────────── UTILITIES ──────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-white {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-header.light h2,
.section-header.light p {
  color: var(--white);
}
.section-header.light .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--dark);
  margin: 12px 0 16px;
}
.section-header h2 em {
  color: var(--green);
  font-style: italic;
}
.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  border: 1px solid var(--green-mid);
  padding: 4px 14px;
  border-radius: 99px;
}
.section-tag.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ──────────── NAV ──────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
nav.scrolled {
  box-shadow: var(--shadow);
}

.nav-logo {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.3px;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 107, 74, 0.5);
  }
  60% {
    box-shadow: 0 0 0 7px rgba(26, 107, 74, 0);
  }
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: right var(--transition);
}
.nav-links a:hover {
  color: var(--green);
}
.nav-links a:hover::after {
  right: 0;
}

.nav-cta {
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 9px 22px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    background var(--transition),
    transform var(--transition);
}
.nav-cta:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ──────────── HERO ──────────── */
.hero {
  min-height: 100vh;
  padding: 110px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: linear-gradient(
    140deg,
    #edf7f2 0%,
    var(--cream) 55%,
    #fdf3e3 100%
  );
  position: relative;
  overflow: hidden;
}
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-circle.c1 {
  width: 600px;
  height: 600px;
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(26, 107, 74, 0.06), transparent 70%);
}
.hero-bg-circle.c2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: 25%;
  background: radial-gradient(
    circle,
    rgba(201, 147, 58, 0.06),
    transparent 70%
  );
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  border: 1px solid var(--green-mid);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  animation: fadeUp 0.7s ease both;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 em {
  color: var(--green);
  font-style: italic;
}
.hero-left > p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.8;
  animation: fadeUp 0.7s 0.18s ease both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.26s ease both;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.34s ease both;
}
.trust-item {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.trust-icon {
  width: 16px;
  height: 16px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Card */
.hero-right {
  animation: fadeUp 0.7s 0.3s ease both;
}
.stats-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.stats-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
}
.live-badge {
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 700;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-item {
  background: var(--cream);
  border-radius: 10px;
  padding: 18px 16px;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.stat-item:hover {
  transform: translateY(-3px);
}
.stat-item.accent {
  background: var(--green-pale);
  border-color: var(--green-mid);
}
.stat-num {
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Buttons */
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 13px 26px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(26, 107, 74, 0.3);
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 107, 74, 0.36);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green-mid);
  padding: 11px 24px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.btn-secondary:hover {
  background: var(--green-pale);
  border-color: var(--green);
  transform: translateY(-2px);
}

/* ──────────── TICKER ──────────── */
.ticker-wrap {
  background: var(--green);
  color: #fff;
  overflow: hidden;
  padding: 11px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 40s linear infinite;
  font-size: 0.85rem;
  font-weight: 500;
}
.ticker-track span {
  margin-right: 64px;
}
.ticker-track span::before {
  content: "●";
  margin-right: 10px;
  opacity: 0.5;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ──────────── SERVICES ──────────── */
.section-white {
  padding: 100px 0;
}
.how-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #1a3a2a 0%, #1a6b4a 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c, var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}
.service-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.service-list {
  list-style: none;
  margin-bottom: 20px;
}
.service-list li {
  font-size: 0.83rem;
  color: var(--text);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.75rem;
}
.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link:hover {
  gap: 8px;
}

/* ──────────── HOW IT WORKS ──────────── */
.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  max-width: 280px;
  color: #fff;
  transition: background var(--transition);
}
.step-card:hover {
  background: rgba(255, 255, 255, 0.14);
}
.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}
.step-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.step-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.88rem;
  opacity: 0.78;
  line-height: 1.65;
}
.step-arrow {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.3);
  padding: 0 16px;
}

/* ──────────── REGISTER FORMS ──────────── */
.tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: 8px 8px 0 0;
  transition: all var(--transition);
}
.tab-btn:hover {
  color: var(--green);
  background: var(--green-pale);
}
.tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
  background: var(--green-pale);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeUp 0.4s ease both;
}

.form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-card-header {
  margin-bottom: 28px;
}
.form-card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-card-header p {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 107, 74, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 96px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  cursor: pointer;
}
.radio-label input[type="radio"] {
  accent-color: var(--green);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox-row label {
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.form-submit {
  text-align: right;
}
.submit-btn {
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 13px 28px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(26, 107, 74, 0.3);
}
.submit-btn:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 107, 74, 0.36);
}
.submit-btn:active {
  transform: translateY(0);
}

.success-banner {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-pale);
  border: 1px solid var(--green-mid);
  color: var(--green);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  animation: fadeUp 0.4s ease;
}
.success-banner.show {
  display: flex;
}

/* ──────────── AI CHAT ──────────── */
.chat-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.chat-info {
  color: #fff;
}
.chat-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  margin: 14px 0 16px;
}
.chat-info h2 em {
  font-style: italic;
  color: #a8e6cc;
}
.chat-info > p {
  font-size: 1rem;
  opacity: 0.82;
  margin-bottom: 28px;
  line-height: 1.75;
}

.chat-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.chat-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  opacity: 0.9;
  color: #fff;
}
.chat-feat span {
  font-size: 1.1rem;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
}
.chip:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.chat-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.chat-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.chat-avatar-wrap {
  position: relative;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--white);
}
.chat-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}
.chat-status {
  font-size: 0.75rem;
  color: var(--muted);
}

.chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8faf9;
}
.chat-window::-webkit-scrollbar {
  width: 4px;
}
.chat-window::-webkit-scrollbar-thumb {
  background: var(--green-mid);
  border-radius: 99px;
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.msg.user {
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.msg.user .msg-avatar {
  background: var(--green);
}

.msg-bubble {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 78%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: var(--text);
}
.msg.user .msg-bubble {
  background: var(--green);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  border-color: var(--green);
}

.typing-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 4px 0;
}
.typing-dots span {
  width: 7px;
  height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: dot-bounce 1.2s infinite;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dot-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
}

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.chat-input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  font-size: 0.875rem;
  outline: none;
  background: var(--cream);
  transition: border-color var(--transition);
}
.chat-input:focus {
  border-color: var(--green);
  background: var(--white);
}
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background var(--transition),
    transform var(--transition);
}
.chat-send:hover {
  background: var(--green-light);
  transform: scale(1.05);
}

/* ──────────── TESTIMONIALS ──────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}
.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-card.featured {
  background: var(--green-pale);
  border-color: var(--green-mid);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.quote-icon {
  font-family: "Fraunces", serif;
  font-size: 4rem;
  color: var(--green-mid);
  line-height: 1;
  margin-bottom: 8px;
}
.testimonial-card.featured .quote-icon {
  color: var(--green);
}
.testimonial-card > p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong {
  font-size: 0.9rem;
  display: block;
}
.author-loc {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ──────────── TIMELINE ──────────── */
.timeline {
  max-width: 700px;
  margin: 0 auto;
}
.timeline-title {
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark);
}
.timeline-items {
  position: relative;
  padding-left: 32px;
}
.timeline-items::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--green-mid);
}
.tl-item {
  position: relative;
  margin-bottom: 32px;
}
.tl-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green-mid);
  transition: all var(--transition);
}
.tl-item.active .tl-dot {
  background: var(--green);
  border-color: var(--green);
}
.tl-item:hover .tl-dot {
  border-color: var(--green);
}
.tl-content strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}
.tl-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ──────────── ABOUT GRID ──────────── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
.about-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: #fff;
  transition: background var(--transition);
}
.about-card:hover {
  background: rgba(255, 255, 255, 0.14);
}
.about-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.about-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.about-card p {
  font-size: 0.875rem;
  opacity: 0.78;
  line-height: 1.65;
}

/* ──────────── TEAM ──────────── */
.team-section {
  text-align: center;
}
.team-title {
  font-size: 1.7rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 36px;
}
.team-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.team-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  color: #fff;
  min-width: 180px;
  text-align: center;
  transition:
    background var(--transition),
    transform var(--transition);
}
.team-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 14px;
  color: var(--green);
}
.team-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.team-card span {
  font-size: 0.78rem;
  opacity: 0.65;
}

/* ──────────── PARTNERS ──────────── */
.partners-section {
  padding: 80px 0;
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.partner-badge {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  cursor: default;
}
.partner-badge:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ──────────── CONTACT ──────────── */
.contact-section {
  background: linear-gradient(140deg, #1a3a2a 0%, #1a6b4a 100%);
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info {
  color: #fff;
}
.contact-info h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  margin: 14px 0 16px;
}
.contact-info h2 em {
  font-style: italic;
  color: #a8e6cc;
}
.contact-info > p {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.contact-item div div {
  font-size: 0.875rem;
  opacity: 0.78;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition);
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-mock {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  width: 100%;
}
.map-pin {
  font-size: 3.5rem;
  margin-bottom: 16px;
}
.map-mock p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.6;
}
.map-link {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.map-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ──────────── FOOTER ──────────── */
footer {
  background: var(--dark);
  color: #fff;
  padding: 64px 48px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .nav-logo {
  margin-bottom: 14px;
  color: #fff;
}
.footer-brand .pulse-dot {
  background: #fff;
}
.footer-brand p {
  font-size: 0.875rem;
  opacity: 0.55;
  line-height: 1.7;
  max-width: 260px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group strong {
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 4px;
}
.footer-links-group a {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer-links-group a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.78rem;
  opacity: 0.4;
  flex-wrap: wrap;
  gap: 8px;
}

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 40px;
  }
  .hero h1 {
    font-size: 2.4rem;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card.featured {
    transform: none;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
  }
  .step-arrow {
    transform: rotate(90deg);
  }

  .chat-wrapper {
    grid-template-columns: 1fr;
  }
  .chat-box {
    height: 440px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 40px 20px 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .tab-bar {
    gap: 4px;
  }
  .tab-btn {
    font-size: 0.8rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 16px 48px;
  }
  .container {
    padding: 0 16px;
  }
  .section-white,
  .how-section {
    padding: 64px 0;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
  }
}
