/* ============================================================
   BRIGHT AESTHETIC Design System — Cauvery Multiventure & Infra
   ============================================================ */

:root {
  /* ── Dark Theme (Deep Vivid Indigo — still vibrant!) ── */
  --bg:            #0e0c2e;
  --bg-soft:       #160f3b;
  --surface:       rgba(22, 18, 58, 0.78);
  --surface-strong:rgba(18, 14, 48, 0.96);

  /* Olive Green + Lime Accent primary */
  --accent:        #7aa52f;
  --accent-2:      #b7d83b;
  --accent-coral:  #ff6b6b;
  --accent-teal:   #22d9c5;
  --accent-rgb:    122, 165, 47;
  --accent-dark:   #5a7f22;

  --text:          #f0f4ff;
  --muted:         #a5afd0;
  --border:        rgba(122, 165, 47, 0.22);
  --shadow:        0 20px 55px rgba(0, 0, 0, 0.45);
  --glow:          0 0 40px rgba(122, 165, 47, 0.30);

  --grad-primary:  linear-gradient(135deg, #7aa52f 0%, #b7d83b 100%);
  --grad-coral:    linear-gradient(135deg, #ff6b6b 0%, #ff9a6c 100%);
  --grad-teal:     linear-gradient(135deg, #22d9c5 0%, #06b8d0 100%);
  --grad-dark:     linear-gradient(180deg, #160f3b 0%, #0e0c2e 100%);

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --transition:    all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
}

body.theme-light {
  /* ── Light Theme ── */
  --bg:            #f5f7ff;
  --bg-soft:       #eceeff;
  --surface:       rgba(255, 255, 255, 0.78);
  --surface-strong:rgba(255, 255, 255, 0.96);

  /* Olive Green + Lime Accent primary */
  --accent:        #6f8f2a;
  --accent-2:      #9ac93a;
  --accent-coral:  #ef4444;
  --accent-teal:   #0d9488;
  --accent-rgb:    111, 143, 42;
  --accent-dark:   #556b1f;

  --text:          #0f172a;
  --muted:         #475569;
  --border:        rgba(111, 143, 42, 0.14);
  --shadow:        0 20px 48px rgba(111, 143, 42, 0.10);
  --glow:          0 0 30px rgba(111, 143, 42, 0.15);

  --grad-primary:  linear-gradient(135deg, #6f8f2a 0%, #9ac93a 100%);
  --grad-coral:    linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --grad-teal:     linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  --grad-dark:     linear-gradient(180deg, #eceeff 0%, #f5f7ff 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(122,165,47,0.38) 0%, transparent 68%),
    radial-gradient(ellipse 50% 40% at 90% 30%,  rgba(183,216,59,0.22)  0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 10% 75%,  rgba(34,217,197,0.14)  0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(255,107,107,0.08) 0%, transparent 55%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

body.theme-light {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(111,143,42,0.18)   0%, transparent 68%),
    radial-gradient(ellipse 50% 40% at 90% 20%,  rgba(154,201,58,0.10)  0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 10% 80%,  rgba(13,148,136,0.08)  0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(239,68,68,0.06)   0%, transparent 55%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Layout Utilities */
.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 4rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin-top: 0.5rem;
  letter-spacing: -0.02em;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism card utility */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  transform: translateY(-5px);
  box-shadow: var(--shadow), var(--glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.38);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 38px rgba(var(--accent-rgb), 0.55);
  filter: brightness(1.08);
}

.btn-secondary {
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

/* Coral CTA variant */
.btn-coral {
  background: var(--grad-coral);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 107, 107, 0.35);
}
.btn-coral:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 38px rgba(255, 107, 107, 0.5);
  filter: brightness(1.08);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  padding: 1rem 1.5rem;
  background: var(--surface-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow), var(--glow);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(16px);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-icon {
  font-size: 1.1rem;
}

.toast.error {
  border-left-color: var(--accent-coral);
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(11, 15, 26, 0.55);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  min-height: 76px;
}


body.theme-light .site-header {
  background: rgba(245, 247, 255, 0.72);
}

.site-header.scrolled {
  background: rgba(11, 15, 26, 0.88);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 1px 0 var(--border);
}

body.theme-light .site-header.scrolled {
  background: rgba(245, 247, 255, 0.96);
  box-shadow: 0 8px 32px rgba(111, 143, 42, 0.08);
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0;
}


.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}


.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-quote {
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  background: var(--grad-primary);
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}

.nav-quote::after {
  display: none !important;
}

.nav-quote:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.5);
  filter: brightness(1.08);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  background: none;
  border: none;
  padding: 4px 0;
  align-self: center;
}


.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: grid;
  place-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(var(--accent-rgb), 0.12);
  border-top-color: var(--accent);
  border-right-color: var(--accent-2);
  border-radius: 50%;
  animation: spin 0.7s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Floating Widgets */
.back-top,
.theme-toggle {
  position: fixed;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 90;
  transition: var(--transition);
  color: var(--text);
  font-size: 1.2rem;
  text-decoration: none;
}

.back-top {
  bottom: 5.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-toggle {
  bottom: 1.5rem;
}

.back-top:hover,
.theme-toggle:hover {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow);
  transform: scale(1.1) translateY(-3px);
}

/* WhatsApp Floating Button — Vibrant Bright Green */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0.55), 0 12px 28px rgba(37,211,102,0.40); }
  60%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0),   0 12px 28px rgba(37,211,102,0.40); }
  100% { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0),   0 12px 28px rgba(37,211,102,0.40); }
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 9.5rem;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #00e676 0%, #00c853 45%, #1de9b6 100%);
  border-radius: 50%;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow:
    0 12px 28px rgba(37, 211, 102, 0.50),
    0 0  0 0 rgba(37, 211, 102, 0.55);
  z-index: 90;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.30);
  animation: wa-pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite,
             wa-bounce 3s ease-in-out infinite;
}

.whatsapp-float::before {
  content: 'WhatsApp Us';
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #075e54;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
}

.whatsapp-float:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow:
    0 18px 40px rgba(37, 211, 102, 0.65),
    0 0 0 6px rgba(37, 211, 102, 0.20);
  filter: brightness(1.1) saturate(1.15);
  border-color: rgba(255,255,255,0.5);
  animation: none;
}

.whatsapp-float svg {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
}

/* ==============================
   Hero Section
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(122,165,47,0.32) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 85% 25%, rgba(183,216,59,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(34,217,197,0.10) 0%, transparent 55%);
}

/* Dark hero overlay for background image readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,12,46,0.85) 0%, rgba(22,15,59,0.75) 50%, rgba(14,12,46,0.9) 100%);
  z-index: 0;
}

body.theme-light .hero::before {
  background: linear-gradient(135deg, rgba(245,247,255,0.92) 0%, rgba(236,238,255,0.85) 50%, rgba(245,247,255,0.95) 100%);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

/* Dark theme hero heading — white to accent gradient */
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0.5rem 0 1.5rem;
  background: linear-gradient(135deg, #fff 0%, rgba(var(--accent-rgb), 0.9) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FIX: Light theme hero heading — use dark to accent gradient for visibility */
body.theme-light .hero-content h1 {
  background: linear-gradient(135deg, #0f172a 0%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* FIX: Hero stats — evenly distributed, no uneven wrapping */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem 0.75rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  backdrop-filter: blur(16px);
}

.stat-card:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.stat-card strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-card h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}

.hero-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--muted);
}

.hero-card li {
  position: relative;
  padding-left: 1.5rem;
}

.hero-card li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.5rem 1.2rem;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
}

/* ==============================
   About Section
   ============================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-cards .glass-card {
  padding: 2rem;
}

.about-cards h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.about-cards p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* FIX: Values grid — better distribution */
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.value-card {
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(16px);
  transition: var(--transition);
  cursor: default;
}

.value-card:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: var(--glow);
  transform: translateY(-3px);
  background: var(--grad-primary);
  color: #fff;
}

/* ==============================
   Services
   ============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--grad-primary);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
}

.service-card li::before {
  content: '◦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.service-card a {
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.service-card a::after {
  content: '→';
  transition: transform 0.3s ease;
}

.service-card a:hover::after {
  transform: translateX(4px);
}

/* ==============================
   Why Choose Us
   ============================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: var(--shadow), var(--glow);
}

.why-icon {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.25rem;
  width: 48px;
  height: 48px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(-5deg);
}

.why-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.why-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==============================
   Process Timeline
   ============================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.timeline-item {
  padding: 2.25rem;
  position: relative;
}

.timeline-item span {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  display: inline-block;
  margin-bottom: 0.85rem;
  background: var(--grad-primary);
  padding: 0.25rem 0.85rem;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
  letter-spacing: 0.05em;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==============================
   Portfolio
   ============================== */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}

/* FIX: Portfolio grid — proper alignment using CSS Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card.is-hidden {
  display: none;
  opacity: 0;
  transform: scale(0.95);
}

.project-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.project-content p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.project-content span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 600;
}

.project-content a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
  transition: var(--transition);
}

.project-content a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.45);
  filter: brightness(1.08);
}

/* ==============================
   Testimonials — FIX: Remove hover transform from wrapper
   ============================== */
.testimonial-slider {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

/* Override glass-card hover on the slider wrapper */
.testimonial-slider.glass-card:hover {
  transform: none;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow);
  transform: scale(1.05);
}

.testimonial-track {
  flex-grow: 1;
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.testimonial {
  display: none;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.testimonial h3 {
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.testimonial span {
  font-size: 0.85rem;
  color: var(--accent);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ==============================
   FAQ
   ============================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-question span {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer > p {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
  padding-top: 0;
  transition: padding-top 0.3s ease;
}

.faq-item.active {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: var(--glow);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > p {
  padding-top: 0.75rem;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* ==============================
   Contact Section — FIX: Proper padding and alignment
   ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  padding: 2.5rem;
}

.contact-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.contact-card form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group.full-width,
.contact-card form .btn {
  grid-column: span 2;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.35rem 1.25rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group label {
  position: absolute;
  left: 1.25rem;
  top: 0.95rem;
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition);
}

/* Floating label effect when focused or populated */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 0.35rem;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--surface-strong);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
  outline: none;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-left: 2rem;
}

.contact-info-block strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact-info-block p,
.contact-info-block a {
  font-size: 1rem;
  color: var(--text);
  word-break: break-word;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--glow);
}

/* ==============================
   Footer
   ============================== */
.site-footer {
  background: var(--surface-strong);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 1.25fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo img {
  height: 48px;
  margin-bottom: 1.25rem;
}

.footer-desc {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-grid h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  align-self: flex-start;
}

.footer-links a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  min-width: 0;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==============================
   Animations and Intersection Reveal
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid children */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.why-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.why-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.why-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.values-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.values-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.values-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.values-grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.values-grid .reveal:nth-child(6) { transition-delay: 0.25s; }

/* ==============================
   Responsive Media Queries
   ============================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-card {
    max-width: 550px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    left: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    gap: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    box-shadow: var(--shadow);
    pointer-events: none;
  }
  
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .nav-quote {
    text-align: center;
  }
  
  .hero {
    padding: 6rem 0 4rem;
    min-height: auto;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-actions {
    margin-bottom: 2.5rem;
  }
  
  .about-cards {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }
  
  .slider-btn {
    display: none;
  }
  
  .testimonial-slider {
    padding: 0.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-details {
    padding-left: 0;
  }
  
  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-stats .stat-card:last-child {
    grid-column: 1 / -1;
    max-width: 200px;
    justify-self: center;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-card form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width,
  .contact-card form .btn {
    grid-column: span 1;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-actions .btn {
    text-align: center;
  }
  
  .filter-group {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .section-heading h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .whatsapp-float,
  .back-top,
  .theme-toggle {
    right: 1rem;
    width: 44px;
    height: 44px;
  }
  
  .whatsapp-float {
    bottom: 8.5rem;
    width: 50px;
    height: 50px;
  }
  
  .back-top {
    bottom: 4.75rem;
  }
  
  .theme-toggle {
    bottom: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
