/* ============================================================
   ROYAL EYE CARE & OPTICAL CENTER — styles.css
   Premium, Apple-level UI | Mobile-first | CSS Custom Properties
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary: #0A66C2;
  --primary-dark: #084FA0;
  --primary-light: #3B82F6;
  --accent: #38BDF8;
  --accent-soft: #BAE6FD;
  --navy: #0F172A;
  --slate: #1E293B;
  --slate-mid: #334155;
  --slate-light: #475569;
  --text: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --bg-white: #FFFFFF;
  --border: rgba(148, 163, 184, 0.2);
  --border-strong: rgba(148, 163, 184, 0.4);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0A66C2 0%, #0EA5E9 60%, #38BDF8 100%);
  --grad-hero: radial-gradient(ellipse at 60% 50%, rgba(10, 102, 194, 0.15) 0%, transparent 70%),
               radial-gradient(ellipse at 20% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
  --grad-text: linear-gradient(135deg, #0A66C2, #38BDF8);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(10, 102, 194, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-blue: 0 8px 32px rgba(10, 102, 194, 0.25);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hindi: 'Noto Sans Devanagari', sans-serif;

  /* Spacing */
  --section-gap: 6rem;
  --container-width: 1200px;
  --container-pad: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.lang-hi {
  font-family: var(--font-hindi);
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-gap) 0;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  transition: background var(--transition-fast);
}

.btn:hover::after {
  background: rgba(255,255,255,0.08);
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(10, 102, 194, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

.btn-lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.4375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(10, 102, 194, 0.07);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-contact {
  display: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
}

.header-contact svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.header-contact a:hover {
  color: var(--primary);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(10, 102, 194, 0.05);
}

.lang-label.active {
  color: var(--primary);
}

.lang-divider {
  opacity: 0.3;
}

/* Header CTA */
.header-cta {
  display: none;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: rgba(10, 102, 194, 0.1);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(84%, 360px);
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem 1.25rem;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateX(0);
  animation: slideInRight 0.28s cubic-bezier(0.2, 0.9, 0.28, 1) both;
  z-index: 1100;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Logo image sizing */
.logo-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

/* ===== HERO ===== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  background: var(--bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 102, 194, 0.2), transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: 3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: 5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.97); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(10, 102, 194, 0.08);
  border: 1px solid rgba(10, 102, 194, 0.18);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease 0.1s both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.headline-line {
  display: block;
  animation: fadeUp 0.7s ease both;
}

.headline-line:nth-child(1) { animation-delay: 0.2s; }
.headline-line:nth-child(2) { animation-delay: 0.35s; }

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

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 400;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.7s ease 0.45s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp 0.7s ease 0.55s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.65s both;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  box-shadow: var(--glass-shadow);
  max-width: 700px;
  margin: 0 auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.78125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.25rem;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  margin: 0 auto;
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ===== TRUSTED BY ===== */
.trusted {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.trusted-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: all var(--transition-base);
  min-width: 110px;
}

.logo-item:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.06);
  transform: translateY(-2px);
}

.logo-item span {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.logo-item:hover span {
  color: var(--primary);
}

/* ===== SECTION HEADERS ===== */
.section-badge {
  display: inline-block;
  padding: 0.3125rem 0.875rem;
  border-radius: var(--radius-full);
  background: rgba(10, 102, 194, 0.08);
  border: 1px solid rgba(10, 102, 194, 0.15);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-badge.light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.section-title.centered,
.section-header {
  text-align: center;
}

.section-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
}

.section-sub.centered {
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

/* Eye Animation */
.about-visual {
  display: flex;
  justify-content: center;
}

.about-img-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.about-img-inner {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.4);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.eye-anim-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-outer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #93C5FD, #1D4ED8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(29, 78, 216, 0.4);
  animation: eyeGlow 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes eyeGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(29, 78, 216, 0.4); }
  50% { box-shadow: 0 0 60px rgba(56, 189, 248, 0.5), 0 0 80px rgba(10, 102, 194, 0.2); }
}

.eye-iris {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #1E3A8A, #0F172A);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: eyeMove 6s ease-in-out infinite;
}

@keyframes eyeMove {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(4px, -3px); }
  50% { transform: translate(-3px, 2px); }
  75% { transform: translate(2px, 4px); }
}

.eye-pupil {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
}

.eye-shine {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10, 102, 194, 0.3);
  animation: scanPulse 3s ease-in-out infinite;
}

.scan-ring.r1 { width: 140px; height: 140px; animation-delay: 0s; }
.scan-ring.r2 { width: 170px; height: 170px; animation-delay: 0.5s; }
.scan-ring.r3 { width: 200px; height: 200px; animation-delay: 1s; }

@keyframes scanPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.03); }
}

.scan-label {
  position: absolute;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.9);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 102, 194, 0.15);
  white-space: nowrap;
  animation: labelFade 4s ease-in-out infinite;
}

.scan-label.top-left { top: 15%; left: 0%; animation-delay: 0s; }
.scan-label.top-right { top: 15%; right: 0%; animation-delay: 1s; }
.scan-label.bottom-left { bottom: 15%; left: 0%; animation-delay: 2s; }
.scan-label.bottom-right { bottom: 15%; right: 0%; animation-delay: 3s; }

@keyframes labelFade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.about-card {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-card-icon {
  font-size: 1.5rem;
}

.about-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-card-text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.about-card-text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* About Content */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.pillar:hover {
  border-color: var(--primary);
  background: rgba(10, 102, 194, 0.04);
  transform: translateX(4px);
}

.pillar-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

.pillar span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}

/* ===== VISION & MISSION ===== */
.vm-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  position: relative;
  overflow: hidden;
}

.vm-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 102, 194, 0.2), transparent 70%);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
  align-items: center;
}

.vm-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.vm-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.vm-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.vm-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

.vm-center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.vm-center-text {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.vm-center-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vm-center-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: inherit;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-card-inner,
.service-card:hover .service-card-inner h3,
.service-card:hover .service-card-inner p,
.service-card:hover .service-card-inner .service-list li,
.service-card:hover .service-arrow {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.service-card.featured {
  border-color: rgba(10, 102, 194, 0.25);
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.03), rgba(56, 189, 248, 0.05));
}

.service-card-inner {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.service-card-inner h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  transition: color var(--transition-base);
}

.service-card-inner p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 1rem;
  transition: color var(--transition-base);
}

.service-list {
  margin-bottom: 1rem;
}

.service-list li {
  font-size: 0.84375rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
  transition: color var(--transition-base);
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.75rem;
  transition: color var(--transition-base);
}

.service-card:hover .service-list li::before {
  color: rgba(255,255,255,0.7);
}

.service-arrow {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 300;
  transition: all var(--transition-base);
}

.service-card:hover .service-arrow {
  transform: translateX(6px);
}

.ai-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

/* ===== WHY US ===== */
.why-us {
  background: var(--bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-item {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.why-item:hover {
  border-color: rgba(10, 102, 194, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.why-item h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #061F3D 0%, #0D2D5A 50%, #0A3B73 100%);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10, 102, 194, 0.35), transparent 70%);
  top: -100px;
  right: -100px;
}

.cta-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 70%);
  bottom: -100px;
  left: -50px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.cta-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  text-decoration: none;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(6px);
}

.contact-card-icon {
  font-size: 1.375rem;
  flex-shrink: 0;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-card-info span {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card-info strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

/* CTA Form */
.cta-form-wrap {
  width: 100%;
}

.cta-form {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.cta-form h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.cta-form > p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.84375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8125rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group select option {
  background: var(--slate);
  color: #fff;
}

.form-group input:focus,
.form-group select:focus {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.form-note {
  text-align: center;
  font-size: 0.78125rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1.25rem;
}

.footer-brand .logo-name,
.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.8);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: rgba(10, 102, 194, 0.3);
  border-color: rgba(10, 102, 194, 0.5);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-col address p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.375rem;
}

.footer-col address a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-col address a:hover {
  color: #fff;
}

.map-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.map-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--slate);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transition: transform var(--transition-spring), opacity var(--transition-base);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== HINDI FONT OVERRIDES ===== */
body.lang-hi .section-title,
body.lang-hi .hero-headline,
body.lang-hi .vm-card h3,
body.lang-hi .cta-title,
body.lang-hi .cta-form h3,
body.lang-hi .logo-name,
body.lang-hi .service-card-inner h3,
body.lang-hi .why-item h4 {
  font-family: var(--font-hindi);
  letter-spacing: 0;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 480px) {
  .hero-stats {
    gap: 0;
  }
}

@media (min-width: 640px) {
  :root {
    --container-pad: 2rem;
  }

  .header-contact {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --container-pad: 2.5rem;
  }

  .hamburger {
    display: none;
  }

  .nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    animation: none;
    gap: 0.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .vm-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-img-frame {
    max-width: 520px;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: rgba(10, 102, 194, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}