/* ==========================================================================
   Sanel Trans SRL - Custom Styles
   Pixel-perfect match with original Next.js dark theme
   Glassmorphism, green/red accents, Space Grotesk + Inter
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --green-brand: #1B5E20;
  --green-light: #2E7D32;
  --green-neon: #00E676;
  --red-brand: #D32F2F;
  --red-light: #EF5350;
  --background: #0A0A0A;
  --card: #111827;
  --muted: #1F2937;
  --border: rgba(255, 255, 255, 0.1);

  --text-primary: #f5f5f5;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  --nav-height: 5rem;
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(0, 230, 118, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(0, 230, 118, 0.3);
  color: #fff;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) #0A0A0A;
}

/* ---------- Noise Overlay ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- Background Orbs ---------- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: #1B5E20;
  top: -200px;
  left: -200px;
  animation: float1 20s ease-in-out infinite;
}

.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: #D32F2F;
  bottom: -150px;
  right: -150px;
  animation: float2 25s ease-in-out infinite;
}

.bg-orb-3 {
  width: 400px;
  height: 400px;
  background: #00E676;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 30s ease-in-out infinite;
  opacity: 0.15;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(80px, 40px); }
  50% { transform: translate(40px, 80px); }
  75% { transform: translate(-30px, 50px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-60px, -30px); }
  50% { transform: translate(-30px, -70px); }
  75% { transform: translate(40px, -40px); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33% { transform: translate(-50%, -50%) scale(1.15); }
  66% { transform: translate(-50%, -50%) scale(0.9); }
}

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 230, 118, 0.1);
  transform: translateY(-2px);
}

.glass-nav {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-strong {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Gradient Text ---------- */
.text-gradient-green {
  background: linear-gradient(135deg, #1B5E20, #00E676);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-red {
  background: linear-gradient(135deg, #D32F2F, #EF5350);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text {
  background: linear-gradient(135deg, #1B5E20, #00E676, #D32F2F, #EF5350);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Glow Effects ---------- */
.glow-green {
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.3), 0 0 40px rgba(0, 230, 118, 0.1);
}

.glow-red {
  box-shadow: 0 0 20px rgba(211, 47, 47, 0.3), 0 0 40px rgba(211, 47, 47, 0.1);
}

/* ---------- Canvas / Particles ---------- */
.canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Loading Spinner ---------- */
.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--green-neon);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  transition: opacity var(--transition-slow);
}

.spinner-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Logo - left */
.navbar .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar .logo img {
  height: 48px;
  transition: height var(--transition-base);
}

.navbar.scrolled .logo img {
  height: 40px;
}

/* Nav links - center */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--green-neon);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.active {
  background: linear-gradient(135deg, #1B5E20, #00E676, #D32F2F, #EF5350);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active::after {
  width: 100%;
  background: linear-gradient(90deg, #1B5E20, #00E676, #D32F2F, #EF5350);
  background-size: 200% 100%;
  animation: gradient-shift 4s ease infinite;
}

/* Phone button - right */
.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #1B5E20;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  white-space: nowrap;
  transition: all var(--transition-base);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-phone-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-phone-btn:hover {
  background: #2E7D32;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.3), 0 0 40px rgba(0, 230, 118, 0.1);
  color: #fff;
}

/* Legacy nav-phone (inline text style) */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-phone svg {
  width: 14px;
  height: 14px;
  color: var(--green-neon);
  flex-shrink: 0;
}

.nav-phone:hover {
  color: var(--green-neon);
}

/* Mobile hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile side panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 20rem;
  height: 100vh;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #d1d5db;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: #fff;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--background);
  clip-path: inset(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    var(--background) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #1B5E20;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-base),
    background var(--transition-base);
}

.btn-primary:hover {
  background: #2E7D32;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.3), 0 0 40px rgba(0, 230, 118, 0.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-base);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--red-brand);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-base);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(211, 47, 47, 0.3), 0 0 40px rgba(211, 47, 47, 0.1);
}

/* ==========================================================================
   SECTION LAYOUT
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-dark {
  background: var(--card);
}

.section-darker {
  background: var(--background);
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border) 30%,
    var(--border) 70%,
    transparent
  );
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #1B5E20, #00E676);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-number.counting {
  animation: count-pulse 0.4s ease;
}

@keyframes count-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   PARTNER MARQUEE
   ========================================================================== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

/* Hide scrollbar */
.marquee-container::-webkit-scrollbar {
  display: none;
}

.marquee-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--background), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--background), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  min-width: 250px;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
}

.marquee-track .glass-card {
  box-shadow: none;
  transform: none;
}

.marquee-track .glass-card:hover {
  box-shadow: none;
  transform: none;
}

.partner-link {
  text-decoration: none;
  display: flex;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.partner-link:hover {
  opacity: 0.85;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}

.marquee-track img {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.marquee-track img:hover {
  opacity: 1;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SCROLL ANIMATIONS (data-animate)
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

[data-animate="fade-in"] {
  transform: none;
  opacity: 0;
}

[data-animate="slide-up"] {
  transform: translateY(30px);
}

[data-animate="slide-left"] {
  transform: translateX(30px);
}

[data-animate="slide-right"] {
  transform: translateX(-30px);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Legacy class-based animations */
.fade-in,
.slide-up,
.slide-left,
.slide-right {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}

.fade-in {
  transform: none;
}

.slide-up {
  transform: translateY(40px);
}

.slide-left {
  transform: translateX(40px);
}

.slide-right {
  transform: translateX(-40px);
}

.fade-in.visible,
.slide-up.visible,
.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staggered children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }
.stagger > *:nth-child(7) { transition-delay: 0.6s; }
.stagger > *:nth-child(8) { transition-delay: 0.7s; }

/* ==========================================================================
   TIMELINE (About / Despre Noi page)
   ========================================================================== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--border) 10%,
    var(--border) 90%,
    transparent
  );
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 2.5rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 2rem;
  width: 14px;
  height: 14px;
  background: var(--green-neon);
  border: 3px solid var(--background);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
}

.timeline-item:nth-child(odd)::before {
  right: -7px;
}

.timeline-item:nth-child(even)::before {
  left: -7px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-neon);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FORM INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green-neon);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8.825a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 1 1 .708-.708L6 7.617l3.646-3.646a.5.5 0 1 1 .708.708l-4 4A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer p,
.footer li,
.footer a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--green-neon);
}

.footer-icon {
  color: var(--green-neon);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--green-neon);
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.3);
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(27, 94, 32, 0.2);
  color: var(--green-neon);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   FLEET GRID
   ========================================================================== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fleet-card {
  overflow: hidden;
}

.fleet-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}

.fleet-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.fleet-card:hover .fleet-card-image img {
  transform: scale(1.05);
}

.fleet-card-body {
  padding: 1.5rem;
}

.fleet-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.fleet-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(27, 94, 32, 0.2);
  color: var(--green-neon);
  flex-shrink: 0;
}

.map-container {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.w-full { width: 100%; }
.max-w-7xl { max-width: 80rem; }
.max-w-3xl { max-width: 48rem; }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 1rem; }

.font-heading { font-family: var(--font-heading); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.text-white { color: #fff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }

.bg-green-brand { background-color: #1B5E20; }
.bg-green-neon { background-color: #00E676; }
.bg-red-brand { background-color: #D32F2F; }

.border-white-10 { border: 1px solid rgba(255, 255, 255, 0.1); }

.hidden { display: none; }

/* ==========================================================================
   PAGE HERO (sub-pages)
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Desktop/Mobile nav breakpoint at lg (1024px) */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-phone-btn.desktop-only {
    display: none;
  }

  /* Timeline mobile */
  .timeline::before {
    left: 24px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    width: 100%;
    text-align: left;
    padding-left: 56px;
    padding-right: 1rem;
  }

  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 18px;
    right: auto;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .glass-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
  }

  .section {
    padding: 4rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .marquee-container::before,
  .marquee-container::after {
    width: 40px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-ghost,
  .btn-secondary,
  .btn-danger {
    width: 100%;
    justify-content: center;
  }

  /* Reduce orb sizes on mobile */
  .bg-orb-1 { width: 300px; height: 300px; }
  .bg-orb-2 { width: 250px; height: 250px; }
  .bg-orb-3 { width: 200px; height: 200px; }

  /* Reduce glass blur on mobile for performance */
  .glass, .glass-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Marquee slower on mobile */
  .marquee-track {
    animation-duration: 30s !important;
  }

  /* Marquee cards smaller on mobile to prevent overflow */
  .marquee-track .glass-card {
    min-width: 180px;
    height: 5rem;
    padding: 1rem 1.5rem;
  }

  .marquee-track img {
    height: 36px;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .page-hero {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 2rem;
  }

  .bg-orb { opacity: 0.15; }
}

/* ==========================================================================
   LAZY LOADING FADE-IN
   ========================================================================== */
img[data-src] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img[data-src].lazy-loaded {
  opacity: 1;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate],
  .fade-in,
  .slide-up,
  .slide-left,
  .slide-right {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }

  .bg-orb {
    animation: none;
  }
}


/* ─── Force navbar visibility (override) ───────────────────────────────────── */
#navbar { display: block !important; }
#navbar > div { display: block; }
#navbar > div > div { display: flex !important; align-items: center; justify-content: space-between; height: 5rem; }
#navbar > div > div > a:first-child { display: flex !important; flex-shrink: 0; }
@media (min-width: 1024px) {
  #navbar nav.hidden { display: flex !important; align-items: center; gap: 0.25rem; }
  #navbar > div > div > div.hidden { display: flex !important; align-items: center; gap: 1rem; }
  #navbar #mobile-menu-btn { display: none !important; }
}
@media (max-width: 1023px) {
  #navbar nav.hidden { display: none !important; }
  #navbar #mobile-menu-btn { display: block !important; padding: 0.5rem; color: #d1d5db; }
}
