/* Ghanibhanga Design System - Timeline & Milestone Motif */
:root {
  --color-ink: #1e3017;
  --color-surface: #f3faf5;
  --color-surface-card: #ffffff;
  --color-accent: #50df1e;
  --color-supporting: #c835c4;
  --color-amber: #e6a100;
  --color-border: #cee3d4;
  --color-text-muted: #4e6349;
  --font-main: 'Work Sans', 'Tiro Bangla', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-main);
  line-height: 1.65;
  font-size: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header.site-header {
  background: var(--color-ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo .dot {
  width: 12px; height: 12px;
  background: var(--color-amber);
  border-radius: 50%;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav.main-nav a {
  color: #d1e8d6;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

nav.main-nav a:hover {
  color: var(--color-accent);
}

.demo-badge {
  background: var(--color-supporting);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  font-weight: 700;
}

/* Horizontal Timeline Hero */
.timeline-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(to bottom, var(--color-ink), #2b4222);
  color: #fff;
  border-bottom: 4px solid var(--color-amber);
}

.hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3rem;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #c0dcc6;
}

.timeline-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 950px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
}

.timeline-nav::before {
  content: "";
  position: absolute;
  top: 0; left: 5%; right: 5%;
  height: 4px;
  background: var(--color-amber);
}

.timeline-step {
  position: relative;
  text-align: center;
  flex: 1;
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: -1.75rem; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  background: var(--color-accent);
  border: 3px solid #fff;
  border-radius: 50%;
}

.timeline-step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

/* Compact Quote Band */
.quote-band {
  background: var(--color-amber);
  color: var(--color-ink);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Milestone Cards Rhythm */
.milestone-section {
  padding: 4rem 0;
}

.milestone-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 6px solid var(--color-ink);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .milestone-card {
    grid-template-columns: 1fr;
  }
}

.milestone-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-amber);
  color: var(--color-ink);
}

.btn-primary:hover {
  background: #d49400;
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-ink);
}

.btn-outline {
  border: 2px solid var(--color-ink);
  color: var(--color-ink);
  background: transparent;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.hp-field {
  display: none !important;
}

.alert {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
}

/* Footer */
footer.site-footer {
  background: var(--color-ink);
  color: #a3c4aa;
  padding: 3rem 0;
  margin-top: 4rem;
}

footer a {
  color: var(--color-amber);
}
