/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
  --green-deep:    #1B4332;
  --green-forest:  #2D6A4F;
  --green-mid:     #40916C;
  --green-spring:  #52B788;
  --green-pale:    #D8F3DC;
  --green-tint:    #F0F7F4;

  --gold:          #F59E0B;
  --gold-dark:     #D97706;
  --gold-pale:     #FEF3C7;

  --tech-blue:     #0EA5E9;
  --tech-dark:     #0369A1;
  --tech-pale:     #E0F2FE;

  --neutral-950:   #0A0F0D;
  --neutral-900:   #111827;
  --neutral-700:   #374151;
  --neutral-500:   #6B7280;
  --neutral-300:   #D1D5DB;
  --neutral-100:   #F3F4F6;
  --neutral-50:    #FAFAF8;

  --hero-bg:       #081A10;
  --font-head:     'Rajdhani', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-serif:    'Playfair Display', serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:     0 20px 40px rgba(0,0,0,0.12);
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--neutral-900);
  background: var(--neutral-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font: inherit;
  color: inherit;
  background: white;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.12);
}
textarea { resize: vertical; min-height: 100px; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-tinted { background: var(--green-tint); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-forest);
  color: white;
  border: 2px solid var(--green-forest);
}
.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.35);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn-nav {
  background: var(--green-forest);
  color: white;
  border: 2px solid var(--green-forest);
  padding: 8px 20px;
  font-size: 0.875rem;
}
.btn-nav:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}
.btn-full { width: 100%; }
.btn-gold {
  background: var(--gold);
  color: var(--neutral-900);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(8, 26, 16, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}
.logo-accent { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(27,67,50,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(3,105,161,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(8,26,16,0.9) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 140px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-spring);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow-dot {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--green-spring);
  opacity: 0.6;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: white;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.accent-gold  { color: var(--gold); }
.accent-tech  { color: var(--tech-blue); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}
.hero-horizon {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-horizon svg { width: 100%; height: auto; }

/* ─── Section Header ─────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-pale);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green-mid);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--neutral-500);
  line-height: 1.7;
}

/* ─── Services Grid ──────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border: 1.5px solid rgba(45,106,79,0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-forest), var(--tech-blue));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45,106,79,0.25);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--icon-color);
}
.service-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.service-desc {
  font-size: 0.92rem;
  color: var(--neutral-700);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-tag {
  font-size: 0.75rem;
  color: var(--green-mid);
  background: var(--green-tint);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* ─── About ──────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-tag { display: block; width: fit-content; }
.about-text .section-title { text-align: left; margin-top: 12px; }
.about-text p {
  color: var(--neutral-700);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-values { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--neutral-700);
  font-weight: 500;
}
.value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-spring);
  flex-shrink: 0;
}

/* ─── Terminal Card ───────────────────────────────────────────────────────── */
.terminal-card {
  background: #0D1F17;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(82,183,136,0.15);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.terminal-dot.red    { background: #FF5F57; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green  { background: #28CA41; }
.terminal-title {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
}
.terminal-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.terminal-line { line-height: 1.5; }
.t-prompt { color: var(--green-spring); margin-right: 8px; }
.t-cmd { color: #E2E8F0; }
.t-output { color: rgba(255,255,255,0.55); padding-left: 20px; }
.t-green { color: #28CA41; }
.t-yellow { color: #FFBD2E; }
.t-red { color: #FF5F57; }
.terminal-cursor {
  color: var(--green-spring);
  animation: blink 1s step-end infinite;
  padding-left: 20px;
  margin-top: 4px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ─── Heritage ───────────────────────────────────────────────────────────── */
.section-heritage {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.heritage-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, #0D3320 40%, #163B28 100%);
}
.heritage-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(245,158,11,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(14,165,233,0.05) 0%, transparent 40%);
}
.heritage-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.heritage-quote {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.cotton-icon { width: 50px; opacity: 0.8; }
blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
}
cite {
  font-size: 0.85rem;
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.05em;
}
.heritage-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.h-stat {
  padding: 24px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,158,11,0.2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.h-stat-n {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.h-stat-l {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-top: 4px;
}
.h-stat-s {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* ─── Process ────────────────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  position: relative;
}
.step-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  position: relative;
  z-index: 1;
}
.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-spring), var(--green-pale));
  opacity: 0.4;
}
.step-content { margin-top: 16px; }
.step-content h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--neutral-500);
  line-height: 1.65;
}

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-tag { display: block; width: fit-content; }
.contact-info .section-title { text-align: left; margin-top: 12px; margin-bottom: 16px; }
.contact-info > p { color: var(--neutral-500); line-height: 1.7; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--neutral-700);
}
.contact-item svg { width: 20px; height: 20px; color: var(--green-mid); flex-shrink: 0; }
.contact-item a { color: var(--green-forest); font-weight: 500; }
.contact-item a:hover { color: var(--green-deep); text-decoration: underline; }
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--neutral-700); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-note { font-size: 0.8rem; color: var(--neutral-500); text-align: center; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--neutral-950);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  font-family: var(--font-serif);
}
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green-spring); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Scroll Reveal ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.05s; }
.reveal:nth-child(5) { transition-delay: 0.15s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .heritage-content { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 32px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(8, 26, 16, 0.98);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; flex-wrap: wrap; }
  .contact-form { padding: 28px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
