/* ============================================================
   PRECISION AI TECHNOLOGIES — MAIN STYLESHEET
   Brand: Gold (#C9A227 / #D4AF37) + Black (#0A0A0A)
   ============================================================ */

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

:root {
  --gold:        #C9A227;
  --gold-light:  #E8C547;
  --gold-dark:   #A07B10;
  --gold-glow:   rgba(201, 162, 39, 0.25);
  --black:       #050505;
  --dark:        #0D0D0D;
  --dark-2:      #141414;
  --dark-3:      #1A1A1A;
  --dark-card:   #111111;
  --text-primary:   #F5F0E8;
  --text-secondary: #A89B7A;
  --text-muted:     #5C5343;
  --border:         rgba(201, 162, 39, 0.15);
  --border-hover:   rgba(201, 162, 39, 0.45);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --shadow-gold: 0 0 40px rgba(201, 162, 39, 0.15);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Outfit', 'Inter', sans-serif;
  
  /* Premium Glassmorphism & Noise */
  --glass-bg: rgba(10, 10, 10, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(24px);
  --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  
  /* Animated Background Themes */
  --mesh-1: rgba(201, 162, 39, 0.12);
  --mesh-2: rgba(184, 134, 11, 0.06);
  --mesh-3: rgba(140, 109, 20, 0.08);
  --mesh-4: rgba(255, 255, 255, 0.03);
  --grid-line: rgba(201, 162, 39, 0.04);
}

/* ── LIGHT MODE THEME ──────────────────────────────────────── */
[data-theme="light"] {
  --gold:        #B8860B;
  --gold-light:  #D4A017;
  --gold-dark:   #8B6508;
  --gold-glow:   rgba(184, 134, 11, 0.2);
  --black:       #F5F2EB;
  --dark:        #EDE9DE;
  --dark-2:      #E6E1D5;
  --dark-3:      #DDD8CB;
  --dark-card:   #FDFAF4;
  --text-primary:   #1A1206;
  --text-secondary: #5A4A20;
  --text-muted:     #9A8660;
  --border:         rgba(184, 134, 11, 0.2);
  --border-hover:   rgba(184, 134, 11, 0.5);
  --shadow-gold: 0 10px 40px rgba(184, 134, 11, 0.15);
  --glass-bg: rgba(253, 250, 244, 0.85);
  --glass-border: rgba(184, 134, 11, 0.15);
  --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.015'/%3E%3C/svg%3E");
  
  /* Animated Background Themes - Light */
  --mesh-1: rgba(212, 160, 23, 0.15);
  --mesh-2: rgba(184, 134, 11, 0.08);
  --mesh-3: rgba(139, 101, 8, 0.10);
  --mesh-4: rgba(255, 255, 255, 0.6);
  --grid-line: rgba(184, 134, 11, 0.06);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(245, 242, 235, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(184,134,11,0.08) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(245,242,235,0.1) 0%, rgba(245,242,235,0.5) 60%, rgba(237,233,222,1) 100%);
}

[data-theme="light"] .hero-bg-img { opacity: 0.25; }

[data-theme="light"] .hero-stats {
  background: rgba(255,255,255,0.7);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

[data-theme="light"] .service-card-inner {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

[data-theme="light"] .service-card:hover .service-card-inner {
  box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 30px rgba(184,134,11,0.1);
}

[data-theme="light"] .contact-form {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: #FFFFFF;
  border-color: rgba(184,134,11,0.2);
  color: var(--text-primary);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder { color: var(--text-muted); }

[data-theme="light"] .form-group select option {
  background: #FDFAF4;
  color: var(--text-primary);
}

[data-theme="light"] .nav-links.mobile-open {
  background: rgba(245,242,235,0.98);
}

[data-theme="light"] .hamburger span { background: var(--text-primary); }

[data-theme="light"] .project-bg-1 {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(184,134,11,0.15) 0%, transparent 60%),
    linear-gradient(145deg, #FDFAF4 0%, #F5EDD0 100%);
}
[data-theme="light"] .project-bg-2 {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(184,134,11,0.1) 0%, transparent 60%),
    linear-gradient(145deg, #FDFAF4 0%, #EAF5E8 100%);
}
[data-theme="light"] .project-bg-3 {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(184,134,11,0.12) 0%, transparent 60%),
    linear-gradient(145deg, #FDFAF4 0%, #EDE8F5 100%);
}

[data-theme="light"] .project-card-content {
  background: linear-gradient(to top, rgba(253,250,244,0.95) 0%, rgba(253,250,244,0.7) 60%, transparent 100%);
}
[data-theme="light"] .project-card:hover .project-card-content {
  background: linear-gradient(to top, rgba(253,250,244,0.98) 0%, rgba(253,250,244,0.85) 70%, transparent 100%);
}

[data-theme="light"] .tech-item { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
[data-theme="light"] .impact-card { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
[data-theme="light"] .process-step { box-shadow: 0 2px 12px rgba(0,0,0,0.04); }

/* ─ Theme toggle shows/hides icons ─ */
[data-theme="light"] .theme-icon-moon { opacity: 0; transform: scale(0.5) rotate(-90deg); }
[data-theme="light"] .theme-icon-sun  { opacity: 1; transform: scale(1) rotate(0deg); }
[data-theme="light"] .theme-toggle-thumb { transform: translateX(26px); }
[data-theme="light"] .theme-toggle-track { background: linear-gradient(135deg, #F5E6A0, #D4A017); }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background-color: var(--black);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  letter-spacing: 0.01em;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--noise-texture);
  pointer-events: none;
  z-index: 9999;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── ANIMATED BACKGROUNDS (SYNCED WITH THEME) ────────────────── */
.animated-mesh-bg {
  position: fixed; inset: 0; z-index: -4;
  background-color: var(--black);
  background-image: 
    radial-gradient(at 0% 0%, var(--mesh-1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, var(--mesh-2) 0px, transparent 50%),
    radial-gradient(at 100% 100%, var(--mesh-3) 0px, transparent 50%),
    radial-gradient(at 0% 100%, var(--mesh-4) 0px, transparent 50%);
  animation: mesh-morph 25s ease-in-out infinite alternate;
  transition: background-color 0.4s ease;
  pointer-events: none;
}
@keyframes mesh-morph {
  0% { background-position: 0% 0%; background-size: 100% 100%; }
  50% { background-position: 100% 100%; background-size: 150% 150%; }
  100% { background-position: 0% 100%; background-size: 100% 100%; }
}

.animated-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
  animation: gridMove 15s linear infinite;
  pointer-events: none;
}
.spotlight-card {
  position: relative; overflow: hidden;
}
.spotlight-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(201, 162, 39, 0.08), transparent 40%);
  z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
}
.spotlight-card:hover::after { opacity: 1; }

/* Dynamic Borders */
.spotlight-card::before {
  content: ""; position: absolute; inset: -1px;
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(201, 162, 39, 0.4), transparent 40%);
  z-index: -1; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease;
}
.spotlight-card:hover::before { opacity: 1; }

/* ── CONTINUOUS ICON ANIMATIONS ────────────────────────────── */
@keyframes slowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 8px var(--gold)); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.service-icon svg, .security-icon {
  animation: floatY 4s ease-in-out infinite;
}
.impact-icon {
  animation: slowPulse 3s infinite;
}

/* ── HERO ENTRANCE ANIMATIONS ──────────────────────────────── */
.hero-title, .hero-subtitle, .hero-actions, .hero-stats {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
}
body.loaded .hero-title    { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.2s; }
body.loaded .hero-subtitle { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.4s; }
body.loaded .hero-actions  { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.5s; }
body.loaded .hero-stats    { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.7s; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(to right, #FFFFFF 0%, var(--gold) 40%, var(--gold-light) 60%, #FFFFFF 100%);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

.text-center { text-align: center; }
.text-center.section-subtitle { margin-left: auto; margin-right: auto; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #0A0A0A;
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 45px rgba(201, 162, 39, 0.5), inset 0 1px 0 rgba(255,255,255,0.6);
  filter: brightness(1.15);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.15);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 1.5rem 0; z-index: 1000;
  transition: padding 0.4s ease, background 0.4s ease, border-bottom 0.4s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(201, 162, 39, 0.3));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── THEME TOGGLE BUTTON ───────────────────────────────────── */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  outline: none;
}
.theme-toggle:focus-visible .theme-toggle-track {
  box-shadow: 0 0 0 3px rgba(201,162,39,0.4);
}

.theme-toggle-track {
  display: flex;
  align-items: center;
  width: 56px;
  height: 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, #1A1A2E, #16213E);
  border: 1.5px solid var(--border-hover);
  padding: 3px;
  position: relative;
  transition: background 0.4s ease, border-color 0.3s ease;
}

.theme-toggle-thumb {
  position: absolute;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.theme-icon {
  position: absolute;
  font-size: 12px;
  line-height: 1;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-icon-sun {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,162,39,0.08) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.65) 60%, rgba(5,5,5,1) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-20vh) scale(1.2); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 8rem 2rem 5rem;
  animation: fadeInUp 0.9s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

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

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(201,162,39,0); }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  backdrop-filter: blur(10px);
  gap: 0;
}

.stat-item {
  padding: 0 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

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

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

.scroll-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto;
  animation: scroll-bounce 1.8s ease infinite;
}

.scroll-dot::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto 6px;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}

/* ── TICKER ────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem 0;
  cursor: default;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 25s linear infinite;
  width: max-content;
}

.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.ticker-item:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.ticker-icon {
  color: var(--gold);
  font-size: 0.7rem;
}

/* ── ABOUT ─────────────────────────────────────────────────── */
.about-section { background: var(--dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.pill {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.25);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}

.impact-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.impact-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-gold); }
.impact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.impact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.impact-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: rgba(201,162,39,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.impact-card > p {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.impact-line {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

.impact-detail {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.impact-features { display: flex; flex-direction: column; gap: 0.6rem; }

.impact-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.check-icon {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0A0A0A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ── SERVICES ──────────────────────────────────────────────── */
.services-section { background: var(--black); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(340px, auto);
  gap: 2rem;
  margin-top: 4rem;
}

/* Bento Box Asymmetry */
.service-card:nth-child(1),
.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 2;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(145deg, var(--glass-border) 0%, transparent 100%);
  transition: var(--transition);
  cursor: default;
}
.service-card-inner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: calc(var(--radius-lg) - 1px);
  padding: 3rem 2rem;
  height: 100%;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  z-index: 1;
}

.service-card:hover .service-card-inner {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(201,162,39,0.1);
}

.service-card-glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
  transition: var(--transition);
  pointer-events: none;
}
.service-card:hover .service-card-glow {
  bottom: -30px; right: -30px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,162,39,0.14) 0%, transparent 70%);
}

.service-icon-wrap {
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 56px; height: 56px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(201, 162, 39, 0.2);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,162,39,0.2);
}
.service-icon svg { width: 28px; height: 28px; }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.service-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.5rem;
  top: 0.35em;
}

/* ── PROCESS ───────────────────────────────────────────────── */
.process-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}
.process-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.process-number {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.process-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.process-step p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.process-connector {
  flex-shrink: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  align-self: center;
  position: relative;
}
.process-connector::after {
  content: '▶';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.65rem;
}

/* ── PROJECTS ──────────────────────────────────────────────── */
.projects-section { background: var(--black); }

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 420px;
  display: flex; align-items: flex-end;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,162,39,0.1);
}

.project-card-bg {
  position: absolute;
  inset: 0;
  transition: var(--transition);
}
.project-card:hover .project-card-bg { transform: scale(1.04); }

.project-bg-1 {
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(201,162,39,0.2) 0%, transparent 60%),
    linear-gradient(145deg, #0D0D0D 0%, #1A1400 100%);
}
.project-bg-2 {
  background: 
    radial-gradient(ellipse at 70% 30%, rgba(201,162,39,0.15) 0%, transparent 60%),
    linear-gradient(145deg, #0D0D0D 0%, #001A0A 100%);
}
.project-bg-3 {
  background: 
    radial-gradient(ellipse at 50% 20%, rgba(201,162,39,0.18) 0%, transparent 60%),
    linear-gradient(145deg, #0D0D0D 0%, #0A001A 100%);
}

.project-card-content {
  position: relative; z-index: 2;
  padding: 2.5rem; width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease;
}
.project-card:hover .project-card-content {
  transform: translateY(0);
  background: linear-gradient(to top, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
}

.project-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.project-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── TECH SECTION ──────────────────────────────────────────── */
.tech-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 70px 0;
}

.tech-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 2rem;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 150px;
  transition: var(--transition);
  cursor: default;
}
.tech-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.tech-logo-icon {
  font-size: 2rem;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,162,39,0.08);
  border-radius: var(--radius-sm);
}

.tech-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* ── CONTACT ───────────────────────────────────────────────── */
.contact-section { background: var(--black); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 1rem;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.contact-feature {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact-feature-icon {
  font-size: 1.5rem;
  width: 52px; height: 52px;
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.contact-feature p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form */
.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,162,39,0.04);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark-3); color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* Success message */
.form-success {
  text-align: center;
  padding: 2rem;
  display: none;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { color: var(--gold); font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-secondary); }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.footer-top { padding: 70px 0 50px; }

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

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 2px 8px rgba(201,162,39,0.2));
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

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

.social-link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,162,39,0.1);
}
.social-link svg { width: 18px; height: 18px; }

.footer-links-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links-col ul { list-style: none; }
.footer-links-col li { margin-bottom: 0.7rem; }

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links-col a:hover { color: var(--gold); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.contact-icon { font-size: 1rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(1),
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 1; }
  .service-card:nth-child(3) { grid-column: span 2; } /* Keep balance on tablet */

  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(20px);
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    z-index: 999;
    align-items: center;
    justify-content: center;
  }
  .nav-links.mobile-open .nav-link { font-size: 1.4rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
  .stat-divider { width: 60%; height: 1px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(1),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 1; }

  .projects-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-connector { width: 2px; height: 30px; align-self: center; }
  .process-connector::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-content { padding: 7rem 1.5rem 4rem; }
  .container { padding: 0 1.25rem; }
  .hero-stats { padding: 1.25rem; }
  .stat-item { padding: 0 1rem; }
}

/* ── SECURITY SECTION ────────────────────────────────────────── */
.security-section {
  background: radial-gradient(ellipse at center, rgba(184,134,11,0.03) 0%, transparent 70%), var(--black);
  position: relative;
  overflow: hidden;
}
.security-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.security-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
  position: relative;
  z-index: 1;
}
.security-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,162,39,0) 0%, rgba(201,162,39,0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: inherit;
}
.security-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,162,39,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 0 20px rgba(201,162,39,0.1);
}
.security-card:hover::before { opacity: 1; }

.security-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--dark-2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  border: 1px solid var(--border);
}
.security-icon {
  width: 32px; height: 32px;
  color: var(--gold);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.security-card:hover .security-icon { transform: scale(1.15); }

.security-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0;
  filter: blur(15px);
  z-index: 1;
  transition: opacity 0.4s ease;
}
.security-card:hover .security-glow { opacity: 0.15; }

.security-card h3 {
  font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-primary);
}
.security-card p {
  color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem;
}
[data-theme="light"] .security-card { box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
[data-theme="light"] .security-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 20px rgba(184,134,11,0.15); }

/* ── SECURITY: HONEYPOT HIDDEN ───────────────────────────────── */
.h-pot-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ============================================================
   NEW FEATURES v2.0
   ============================================================ */

/* ── PRELOADER ────────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: #050505;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { text-align: center; }

.preloader-logo-wrap {
  position: relative; width: 110px; height: 110px;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.preloader-ring {
  position: absolute; border-radius: 50%;
  border: 2.5px solid transparent;
  animation: ring-spin linear infinite;
}
.preloader-ring:nth-child(1) {
  width: 100%; height: 100%;
  border-top-color: var(--gold-light);
  animation-duration: 1.1s;
}
.preloader-ring.preloader-ring-2 {
  width: 73%; height: 73%;
  border-right-color: var(--gold);
  animation-direction: reverse;
  animation-duration: 1.6s;
}
.preloader-ring.preloader-ring-3 {
  width: 46%; height: 46%;
  border-bottom-color: var(--gold-dark);
  animation-duration: 2.2s;
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.preloader-p {
  font-family: var(--font-main); font-size: 2.8rem; font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; position: relative; z-index: 1;
}
.preloader-brand {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.32em;
  color: var(--text-muted); margin-bottom: 1.75rem; text-transform: uppercase;
}
.preloader-progress-wrap {
  width: 200px; height: 2px; background: rgba(255,255,255,0.07);
  border-radius: 2px; margin: 0 auto; overflow: hidden;
}
.preloader-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px; transition: width 0.15s ease;
}
[data-theme="light"] #preloader { background: #F5F2EB; }
[data-theme="light"] .preloader-progress-wrap { background: rgba(0,0,0,0.08); }

/* ── SCROLL PROGRESS BAR ─────────────────────────────────────── */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  z-index: 9998;
  box-shadow: 0 0 10px rgba(201,162,39,0.7);
  transition: width 0.08s linear;
}

/* ── CUSTOM CURSOR ───────────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 99997;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 8px; height: 8px; background: var(--gold);
  transition: width 0.2s ease, height 0.2s ease,
              background-color 0.3s ease, opacity 0.3s ease;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(201,162,39,0.55);
  transition: width 0.3s ease, height 0.3s ease,
              border-color 0.3s ease, opacity 0.3s ease;
}
body.cursor-hover .cursor-dot  { width: 14px; height: 14px; }
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px; border-color: var(--gold);
  background: rgba(201,162,39,0.06);
}
body.cursor-click .cursor-dot { width: 5px; height: 5px; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }
[data-theme="light"] .cursor-dot { background: var(--gold-dark); }
[data-theme="light"] .cursor-ring { border-color: rgba(184,134,11,0.5); }
[data-theme="light"] body.cursor-hover .cursor-ring { border-color: var(--gold-dark); background: rgba(184,134,11,0.05); }

/* ── TYPEWRITER ──────────────────────────────────────────────── */
.typewriter-container { display: inline-flex; align-items: baseline; gap: 1px; }
.typer-cursor {
  display: inline-block; color: var(--gold); font-weight: 300;
  animation: blink-caret 0.75s step-end infinite;
  opacity: 1; margin-left: 2px;
}
@keyframes blink-caret {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  min-width: 100%;
  padding: 3.5rem 4rem 3rem;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.testimonial-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}
/* Shimmer sweep */
.testimonial-card::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.05), transparent);
  transform: skewX(-15deg);
  animation: shimmer-sweep 4s ease infinite;
}
@keyframes shimmer-sweep {
  0%   { left: -80%; }
  60%  { left: 140%; }
  100% { left: 140%; }
}

.testimonial-quote {
  font-size: 5.5rem; line-height: 0.9; font-family: Georgia, serif;
  color: var(--gold); opacity: 0.25; margin-bottom: 0.75rem;
  user-select: none;
}
.testimonial-stars {
  color: var(--gold); font-size: 1.15rem; letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 4px rgba(201,162,39,0.4));
}
.testimonial-text {
  font-size: 1.08rem; line-height: 1.85; color: var(--text-primary);
  font-style: italic; margin-bottom: 2rem;
  max-width: 700px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 1rem;
}
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.88rem; color: #0A0A0A;
  flex-shrink: 0; letter-spacing: 0.02em;
  box-shadow: 0 0 16px rgba(201,162,39,0.3);
}
.testimonial-info strong {
  display: block; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem;
}
.testimonial-info span { font-size: 0.85rem; color: var(--text-secondary); }

.testimonial-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(201,162,39,0.08); border: 1.5px solid var(--border-hover);
  color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; z-index: 3;
  backdrop-filter: blur(8px);
}
.testimonial-arrow:hover {
  background: var(--gold); color: #0A0A0A;
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(201,162,39,0.4);
  transform: translateY(-50%) scale(1.1);
}
.testimonial-prev { left: 1.25rem; }
.testimonial-next { right: 1.25rem; }

.testimonials-dots {
  display: flex; justify-content: center; gap: 0.6rem;
  margin-top: 0.5rem;
}
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-hover); border: none; cursor: pointer;
  padding: 0; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.t-dot.active {
  background: var(--gold); width: 26px; border-radius: 4px;
  box-shadow: 0 0 8px rgba(201,162,39,0.5);
}

[data-theme="light"] .testimonial-card { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
[data-theme="light"] .testimonial-arrow { background: rgba(184,134,11,0.06); }

/* ── BACK TO TOP ─────────────────────────────────────────────── */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0A0A0A; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 1001;
  box-shadow: 0 4px 24px rgba(201,162,39,0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(24px) scale(0.85);
  transition: opacity 0.35s ease, visibility 0.35s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}
#backToTop.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}
#backToTop:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 36px rgba(201,162,39,0.55);
}
#backToTop:active { transform: scale(0.92); }

/* ── CARD SHIMMER ON HOVER ───────────────────────────────────── */
.service-card-inner,
.project-card,
.impact-card,
.process-step,
.tech-item {
  overflow: hidden;
}
.service-card-inner::after,
.project-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201,162,39,0) 0%,
    rgba(201,162,39,0.06) 50%,
    rgba(201,162,39,0) 100%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.7s ease;
  pointer-events: none; z-index: 0;
}
.service-card:hover .service-card-inner::after,
.project-card:hover::after {
  transform: translateX(100%) rotate(45deg);
}

/* ── ENHANCED BTN RIPPLE ─────────────────────────────────────── */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0); animation: ripple-expand 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

/* ── MOBILE MENU STAGGER ─────────────────────────────────────── */
.nav-links.mobile-open li {
  animation: slide-in-left 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.nav-links.mobile-open li:nth-child(1) { animation-delay: 0.05s; }
.nav-links.mobile-open li:nth-child(2) { animation-delay: 0.12s; }
.nav-links.mobile-open li:nth-child(3) { animation-delay: 0.19s; }
.nav-links.mobile-open li:nth-child(4) { animation-delay: 0.26s; }
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── FLOATING LABEL FOCUS ────────────────────────────────────── */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12), 0 0 16px rgba(201,162,39,0.08);
}
.form-group input.has-value,
.form-group textarea.has-value { border-color: rgba(201,162,39,0.3); }

/* ── INJECT NAV ACTIVE + SPIN ───────────────────────────────── */
.nav-link.active { color: var(--gold) !important; }
.nav-link.active::after { width: 100% !important; }
.spin-icon { animation: spin-anim 1s linear infinite; }
@keyframes spin-anim { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

