:root {
  --bg-color: #0e120d;
  --bg-rgb: 14, 18, 13;
  --surface-color: #151c16;
  --surface-rgb: 21, 28, 22;
  --surface-dark-color: #0c100c;
  --surface-dark-rgb: 12, 16, 12;
  --ink-color: #ffffff;
  --ink-rgb: 255, 255, 255;
  --primary-text-color: #ffffff;
  --secondary-text-color: #d1cfc7;
  --border-color: rgba(255, 255, 255, 0.1);
  --accent-color: #3e8d6d;
  --accent-rgb: 62, 141, 109;
  --accent-hover-color: #56a986;
  --accent-warm-color: #fb702c;
  --accent-earth-color: #8b6b46;
  --accent-blue-color: #2f6fdb;
  --accent-glow: rgba(62, 141, 109, 0.35);
  --accent-warm-glow: rgba(251, 112, 44, 0.4);
  --accent-earth-glow: rgba(139, 107, 70, 0.28);
  --accent-blue-glow: rgba(47, 111, 219, 0.35);
  --hero-video-opacity: 0.18;
  --whatsapp-color: #25d366;
  --whatsapp-hover-color: #128c7e;
  --font-family: "Inter", sans-serif;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-sm: 6px;
  --transition-timing: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-duration: 0.4s;
}

/* BASE & TYPOGRAPHY */
body {
  background-color: var(--bg-color);
  color: var(--primary-text-color);
  font-family: var(--font-family);
  padding-top: 80px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

p {
  color: var(--secondary-text-color);
  line-height: 1.7;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.4s var(--transition-timing);
}

a:hover {
  color: var(--accent-hover-color);
}

.bg-surface {
  background-color: var(--surface-color);
}
.bg-surface-dark {
  background-color: var(--surface-dark-color);
}

body .text-secondary {
  color: var(--secondary-text-color);
}

/* GRADIENT TEXT */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--accent-warm-color) 55%,
    var(--accent-blue-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-subtle {
  background: linear-gradient(
    135deg,
    var(--primary-text-color) 0%,
    var(--accent-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition-duration) var(--transition-timing);
}
.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.list-styled {
  list-style: none;
  padding-left: 0;
}
.list-styled li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.list-styled li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow:
    0 0 10px var(--accent-glow),
    0 0 20px var(--accent-glow);
}

/* HEADER */
.navbar {
  background-color: rgba(var(--bg-rgb), 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding-top: 1rem;
  padding-bottom: 1rem;
  height: 80px;
  transition: all 0.4s var(--transition-timing);
}

.navbar.scrolled {
  background-color: rgba(var(--bg-rgb), 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-text-color) !important;
  position: relative;
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 60px; /* Adjust this value to make the logo smaller or bigger */
  width: auto;
  object-fit: contain;
  /*filter: invert(1) brightness(1.5);  Inverts colors and boosts brightness */
  /*mix-blend-mode: screen;  Blends away the dark background created by inversion */
}

.navbar .nav-link {
  color: var(--secondary-text-color);
  margin: 0 0.5rem;
  transition: color 0.4s var(--transition-timing);
  position: relative;
}

.navbar .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--transition-timing);
  box-shadow: 0 0 8px var(--accent-glow);
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
  transform: translateX(-50%) scale(1);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-text-color);
}

.navbar-toggler {
  border: 1px solid var(--border-color) !important;
  background-color: var(--surface-dark-color) !important;
  padding: 0.5rem;
  border-radius: 8px;
  z-index: 1001;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* --- LOCATION MAP VISUAL (ABOUT SECTION) --- */
.location-map-visual {
  background: var(--surface-color); /* More solid background for depth */
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 24px;
  padding: 2rem;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  position: relative;
}

.map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Radar & Scanner */
.radar-beam {
  transform-origin: 200px 200px;
  animation: radarRotate 4s linear infinite;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-circle {
  transform-origin: center;
  animation: radarPulse 2s ease-out infinite;
}

@keyframes radarPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0; }
}

/* Nodes & Network */
.hub-glow {
  transform-origin: center;
  animation: hubPulse 2s ease-in-out infinite;
}

@keyframes hubPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; filter: blur(2px); }
  50% { transform: scale(1.5); opacity: 0.4; filter: blur(4px); }
}

.node-point {
  animation: nodeFloat 3s ease-in-out infinite alternate;
}

@keyframes nodeFloat {
  from { transform: translate(0, 0); }
  to { transform: translate(2px, -3px); }
}

.connection-lines path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: netDraw 10s linear infinite;
}

@keyframes netDraw {
  to { stroke-dashoffset: 0; }
}

/* Data Streams */
.network-data text {
  animation: dataFlicker 2s steps(4) infinite;
}

@keyframes dataFlicker {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

.map-stats {
  background: rgba(var(--surface-dark-rgb), 0.9);
  backdrop-filter: blur(15px);
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  width: fit-content;
}

.stat-value {
  color: var(--accent-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.location-map-visual.has-lottie {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9f6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.home-lottie {
  position: relative;
  width: 320px;
  height: 320px;
  pointer-events: none;
  opacity: 0.95;
}

/* Mobile Nav Panel (Side Tray) */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  padding: 100px 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-timing);
  z-index: 1040;
  visibility: hidden;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
  border-left: 2px solid var(--accent-color);
  overflow-y: auto;
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.mobile-nav-close:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--transition-timing),
    visibility 0.3s var(--transition-timing);
  z-index: 1030;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.05) 0%, transparent 70%);
  animation: bgMove 15s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes bgMove {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(10%, 10%) rotate(360deg); }
}

.mobile-nav-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  box-shadow: 0 0 15px var(--accent-glow);
  opacity: 0.3;
  animation: scannerLine 4s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes scannerLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(1000%); }
}
.mobile-nav-panel.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-nav-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  position: relative;
  z-index: 1;
}
.mobile-nav-panel li {
  margin: 1.25rem 0;
  opacity: 0;
  transform: translateX(20px);
  position: relative;
  z-index: 1;
}
.mobile-nav-panel.open li {
  animation: fadeInRight 0.4s var(--transition-timing) forwards;
}
.mobile-nav-panel.open li:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-nav-panel.open li:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-nav-panel.open li:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-nav-panel.open li:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-nav-panel a {
  color: var(--primary-text-color);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.mobile-nav-panel .btn {
  margin-top: 1.5rem;
  width: 100%;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .mobile-nav-panel {
    width: 100%;
    padding: 96px 1.75rem 2rem;
    border-left: none;
  }
}

/* BUTTONS */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.4s var(--transition-timing);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s var(--transition-timing);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-warm-color) 0%,
    #ff8a47 55%,
    var(--accent-earth-color) 100%
  );
  border-color: var(--accent-warm-color);
  color: #1b140b;
  box-shadow: 0 6px 20px rgba(251, 112, 44, 0.35);
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(
    135deg,
    #ff8f52 0%,
    var(--accent-warm-color) 60%,
    var(--accent-earth-color) 100%
  );
  border-color: var(--accent-warm-color);
  color: #1b140b;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(251, 112, 44, 0.45);
}

.btn-secondary {
  background-color: transparent;
  border-color: rgba(47, 111, 219, 0.35);
  color: var(--primary-text-color);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: rgba(47, 111, 219, 0.08);
  border-color: var(--accent-blue-color);
  color: var(--primary-text-color);
  box-shadow: 0 0 24px rgba(47, 111, 219, 0.3);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp-color) 0%, #20bd5a 100%);
  border-color: var(--whatsapp-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: linear-gradient(
    135deg,
    #20bd5a 0%,
    var(--whatsapp-hover-color) 100%
  );
  border-color: var(--whatsapp-hover-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* HERO SECTION: COMPACT & IMPACTFUL */
.hero-section.compact {
  min-height: 90vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
}

.hero-content-compact {
  position: relative;
  z-index: 10;
}

.status-pill {
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: var(--accent-color);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  position: relative;
  display: inline-block;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-color); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero-title-impactful {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}

.text-gradient-bright {
  background: linear-gradient(135deg, var(--accent-color) 0%, #70d9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 600px;
}

/* Impact Buttons */
.btn-impact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
}

.btn-impact.primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.3);
}

.btn-impact.primary:hover {
  background: var(--accent-hover-color);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.4);
}

.btn-impact.ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-impact.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.metric-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Compact Tech Badge */
.hero-badge-compact {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-family: monospace;
}

.badge-label {
  display: block;
  font-size: 0.65rem;
  color: var(--secondary-text-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.badge-value {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: bold;
}

/* Hero Video Background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-video-opacity, 0.6);
}

.hero-overlay-curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg, 
    rgba(0,0,0,0.75) 0%, 
    rgba(0,0,0,0.5) 60%, 
    rgba(0,0,0,0.3) 100%
  );
}

/* Animated Background Grid */
.hero-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(62, 141, 109, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 219, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Radial Gradient Overlay */
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 18% 45%,
      rgba(62, 141, 109, 0.25) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 18%,
      rgba(251, 112, 44, 0.22) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(47, 111, 219, 0.2) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 8% 90%,
      rgba(139, 107, 70, 0.2) 0%,
      transparent 45%
    );
}

/* THE GLOBE - Centerpiece */
.hero-globe-parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.hero-globe-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 640px;
  z-index: 1;
  pointer-events: none;
}

.hero-globe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(251, 112, 44, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(62, 141, 109, 0.2) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 60% 35%,
      rgba(47, 111, 219, 0.18) 0%,
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(21, 28, 22, 0.9) 0%,
      rgba(14, 18, 13, 0.95) 100%
    );
  box-shadow:
    0 0 70px rgba(62, 141, 109, 0.35),
    0 0 150px rgba(251, 112, 44, 0.25),
    inset 0 0 60px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 24px 50px rgba(5, 8, 4, 0.55));
  animation:
    globeSpin 48s linear infinite,
    globePulse 6s ease-in-out infinite;
}

@keyframes globePulse {
  0%,
  100% {
    box-shadow:
      0 0 70px rgba(62, 141, 109, 0.35),
      0 0 150px rgba(251, 112, 44, 0.25),
      inset 0 0 60px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow:
      0 0 90px rgba(62, 141, 109, 0.45),
      0 0 190px rgba(251, 112, 44, 0.35),
      inset 0 0 60px rgba(0, 0, 0, 0.5);
  }
}

@keyframes globeSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Globe Grid Lines */
.globe-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(47, 111, 219, 0.25);
  box-shadow: 0 0 20px rgba(47, 111, 219, 0.18);
  animation: globeRotate 30s linear infinite;
}

.globe-grid::before,
.globe-grid::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(62, 141, 109, 0.18);
}

.globe-grid::before {
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
}

.globe-grid::after {
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
}

@keyframes globeRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Orbiting Rings */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(62, 141, 109, 0.2);
}

.orbit-ring-1 {
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%) rotateX(75deg);
  animation: orbitSpin 15s linear infinite;
}

.orbit-ring-2 {
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%) rotateX(75deg) rotateY(30deg);
  animation: orbitSpin 20s linear infinite reverse;
  border-color: rgba(251, 112, 44, 0.18);
}

.orbit-ring-3 {
  width: 580px;
  height: 580px;
  transform: translate(-50%, -50%) rotateX(60deg) rotateY(-20deg);
  animation: orbitSpin 25s linear infinite;
  border-color: rgba(47, 111, 219, 0.2);
}

@keyframes orbitSpin {
  0% {
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
  }
}

/* Location Markers on Globe */
.location-marker {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow:
    0 0 10px var(--accent-glow),
    0 0 20px var(--accent-glow);
  animation: markerPulse 2s ease-in-out infinite;
}

.location-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  animation: markerRipple 2s ease-out infinite;
}

@keyframes markerPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes markerRipple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.marker-1 {
  top: 30%;
  left: 25%;
  animation-delay: 0s;
}
.marker-2 {
  top: 45%;
  left: 70%;
  animation-delay: 0.5s;
}
.marker-2 {
  background: var(--accent-warm-color);
  box-shadow: 0 0 10px var(--accent-warm-glow);
}
.marker-2::after {
  border-color: var(--accent-warm-color);
}
.marker-3 {
  top: 65%;
  left: 40%;
  animation-delay: 1s;
}
.marker-3 {
  background: var(--accent-blue-color);
  box-shadow: 0 0 10px var(--accent-blue-glow);
}
.marker-3::after {
  border-color: var(--accent-blue-color);
}
.marker-4 {
  top: 25%;
  left: 55%;
  animation-delay: 1.5s;
}
.marker-4 {
  background: var(--accent-earth-color);
  box-shadow: 0 0 10px var(--accent-earth-glow);
}
.marker-4::after {
  border-color: var(--accent-earth-color);
}

/* Connection Lines */
.connection-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  transform-origin: left center;
  animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

/* Floating Particles */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 3;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: particleFloat 15s linear infinite;
}

.particle:nth-child(even) {
  background: var(--accent-warm-color);
  animation-duration: 20s;
}
.particle:nth-child(3n) {
  background: var(--accent-blue-color);
  animation-duration: 18s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Signal lines */
.hero-signal-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-signal-lines span {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(62, 141, 109, 0.25),
    transparent
  );
  animation: signalSweep 8s linear infinite;
  opacity: 0.6;
}

.hero-signal-lines span:nth-child(1) {
  top: 25%;
  animation-delay: 0s;
}
.hero-signal-lines span:nth-child(2) {
  top: 55%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 112, 44, 0.35),
    transparent
  );
  animation-delay: 2s;
}
.hero-signal-lines span:nth-child(3) {
  top: 75%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(47, 111, 219, 0.28),
    transparent
  );
  animation-delay: 4s;
}

@keyframes signalSweep {
  0% {
    transform: translateX(-10%);
    opacity: 0;
  }
  15% {
    opacity: 0.6;
  }
  50% {
    transform: translateX(10%);
    opacity: 0.7;
  }
  100% {
    transform: translateX(35%);
    opacity: 0;
  }
}

/* Hero Content */
.hero-section .container {
  position: relative;
  z-index: 10;
}

.hero-inner {
  max-width: 900px;
}

.hero-title,
.hero-section .lead {
  text-shadow: 0 10px 30px rgba(var(--bg-rgb), 0.55);
}

.hero-media {
  display: grid;
  gap: 1.5rem;
}

.hero-photo-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 25px 50px rgba(26, 23, 18, 0.14);
}

.hero-photo-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.hero-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 0.5rem 0.9rem;
  background: rgba(var(--surface-rgb), 0.9);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-text-color);
}

.hero-illustration-card {
  padding: 1.25rem;
  background: rgba(var(--surface-rgb), 0.92);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(26, 23, 18, 0.08);
}

.map-illustration {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .hero-video-wrap {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-wrap {
    display: none;
  }
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-earth-color);
  margin-bottom: 0.75rem;
}

.hero-title {
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: -12px;
  width: 76%;
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(251, 112, 44, 0.75),
    rgba(62, 141, 109, 0.65),
    rgba(47, 111, 219, 0.6)
  );
  border-radius: 999px;
  opacity: 0.9;
}

.hero-section .display-3 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-section .lead {
  max-width: 600px;
  margin: 0 auto;
  color: var(--primary-text-color);
  opacity: 0.88;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .hero-section .display-3 {
    font-size: 2.5rem;
  }
  .hero-title::after {
    bottom: -8px;
    height: 4px;
  }
  .hero-globe-container {
    width: 460px;
    height: 460px;
  }
  .hero-globe,
  .globe-grid {
    width: 280px;
    height: 280px;
  }
  .orbit-ring-1 {
    width: 320px;
    height: 320px;
  }
  .orbit-ring-2 {
    width: 360px;
    height: 360px;
  }
  .orbit-ring-3 {
    width: 400px;
    height: 400px;
  }
}

/* Page Hero */
.page-hero-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 30% 0%,
      rgba(62, 141, 109, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 100%,
      rgba(251, 112, 44, 0.1) 0%,
      transparent 50%
    );
  z-index: 0;
}

.about-page .page-hero-section::before {
  display: none;
}

.about-page .page-hero-section {
  background: none;
}

.page-hero-section .container {
  position: relative;
  z-index: 1;
}

/* Trust Strip */
.trust-strip {
  padding: 1.5rem 0;
  background: linear-gradient(
    90deg,
    var(--surface-dark-color) 0%,
    var(--surface-color) 50%,
    var(--surface-dark-color) 100%
  );
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.trust-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 112, 44, 0.08),
    transparent
  );
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

.trust-strip p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  position: relative;
}

/* Problem / Fix */
.problem-section {
  position: relative;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: rgba(47, 111, 219, 0.85);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.problem-card {
  background: linear-gradient(
    145deg,
    rgba(var(--surface-rgb), 0.96) 0%,
    rgba(var(--bg-rgb), 0.92) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle,
    rgba(251, 112, 44, 0.18) 0%,
    transparent 45%
  );
  opacity: 0.7;
  pointer-events: none;
}

.problem-card h3 {
  color: var(--primary-text-color);
  margin-bottom: 1rem;
}

.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.problem-list li {
  position: relative;
  padding-left: 18px;
  color: var(--secondary-text-color);
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-warm-color);
  box-shadow: 0 0 8px var(--accent-warm-glow);
}

.fix-section {
  background: linear-gradient(
    180deg,
    rgba(var(--surface-rgb), 0.7) 0%,
    rgba(var(--surface-rgb), 0.4) 100%
  );
  border-top: 1px solid var(--border-color);
}

.fix-steps {
  display: grid;
  gap: 1.5rem;
}

.fix-step {
  background: rgba(var(--surface-rgb), 0.75);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  position: relative;
  transition:
    transform 0.4s var(--transition-timing),
    box-shadow 0.4s var(--transition-timing);
}

.fix-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(62, 141, 109, 0.15);
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.fix-step h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-text-color);
}

.fix-step p {
  margin: 0;
  color: var(--secondary-text-color);
}

/* ============================================
   FEATURE CARDS - ELEVATED DESIGN
   ============================================ */
.feature-card {
  background: linear-gradient(
    145deg,
    var(--surface-color) 0%,
    rgba(var(--surface-rgb), 0.86) 100%
  );
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  height: 100%;
  transition: all 0.5s var(--transition-timing);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top left,
    rgba(62, 141, 109, 0.15) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s var(--transition-timing);
  z-index: -1;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--accent-color),
    transparent 30%
  );
  animation: borderRotate 4s linear infinite paused;
  z-index: -2;
  opacity: 0;
}

@keyframes borderRotate {
  100% {
    transform: rotate(360deg);
  }
}

.feature-card .card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(62, 141, 109, 0.2) 0%,
    rgba(62, 141, 109, 0.05) 100%
  );
  border-radius: 12px;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  transition: all 0.5s var(--transition-timing);
  position: relative;
}

.feature-card .card-icon::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--transition-timing);
  z-index: -1;
}

.feature-card h3,
.feature-card h5 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-text-color);
  transition: color 0.3s var(--transition-timing);
}

.feature-card .card-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--accent-warm-color)
  );
  transition: width 0.5s var(--transition-timing);
}

@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(62, 141, 109, 0.3);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(62, 141, 109, 0.1);
  }
  .feature-card:hover::before {
    opacity: 1;
  }
  .feature-card:hover::after {
    animation-play-state: running;
    opacity: 0.1;
  }
  .feature-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(62, 141, 109, 0.3);
  }
  .feature-card:hover .card-icon::before {
    opacity: 0.5;
  }
  .feature-card:hover .card-accent-line {
    width: 100%;
  }
  .feature-card:hover h3,
  .feature-card:hover h5 {
    color: var(--accent-color);
  }
}

.feature-card:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(62, 141, 109, 0.3);
}

/* Mini Visual */
.mini-visual-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-path 5s var(--transition-timing) infinite alternate;
}

@keyframes draw-path {
  to {
    stroke-dashoffset: 0;
  }
}

/* Coming Soon Card */
.coming-soon-card {
  border: 1px dashed rgba(62, 141, 109, 0.3);
  border-radius: 12px;
  padding: 3rem;
  background: linear-gradient(
    145deg,
    var(--surface-color) 0%,
    rgba(var(--surface-rgb), 0.78) 100%
  );
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.coming-soon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(62, 141, 109, 0.05) 0%,
    transparent 70%
  );
}

.coming-soon-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-warm-color), #d4764a);
  color: var(--bg-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 15px rgba(251, 112, 44, 0.3);
}

.coming-soon-card .icon {
  color: var(--secondary-text-color);
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* ============================================
   3D EARTH GLOBE FOR ABOUT PAGE (Miniature Earth)
   ============================================ */
.globe-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  margin: 0 auto;
}

.about-page .globe-wrapper {
  width: 420px;
  height: 420px;
}

/* The globe container */
#about-globe {
  width: 300px;
  height: 300px;
  margin: 25px auto;
  cursor: grab;
  filter: drop-shadow(0 0 30px rgba(62, 141, 109, 0.3));
}

.about-page #about-globe {
  width: 380px;
  height: 380px;
  margin: 20px auto;
}

#about-globe:active {
  cursor: grabbing;
}

.about-globe canvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
}

/* Orbit rings around the globe */
.globe-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(62, 141, 109, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(75deg);
  pointer-events: none;
  animation: orbitRotate 20s linear infinite;
}

@keyframes orbitRotate {
  0% {
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
  }
}

.about-page .globe-wrapper::before,
.about-page .globe-wrapper::after {
  display: none;
}

/* Responsive sizing */
@media (max-width: 768px) {
  .globe-wrapper {
    width: 280px;
    height: 280px;
  }
  .about-page .globe-wrapper {
    width: 320px;
    height: 320px;
  }
  #about-globe {
    width: 240px;
    height: 240px;
    margin: 20px auto;
  }
  .about-page #about-globe {
    width: 300px;
    height: 300px;
  }
}

/* About page content */
.text-content-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(
    145deg,
    rgba(var(--surface-rgb), 0.78) 0%,
    transparent 100%
  );
  border-radius: 12px;
  border-left: 3px solid var(--accent-color);
  transition: all 0.4s var(--transition-timing);
}

.text-content-section:hover {
  background: linear-gradient(
    145deg,
    rgba(var(--surface-rgb), 0.86) 0%,
    transparent 100%
  );
  border-left-color: var(--accent-hover-color);
}

.text-content-section h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

/* ============================================
   CONTACT PAGE - MAP STYLE
   ============================================ */
.contact-section {
  position: relative;
}

.contact-split {
  position: relative;
}

.contact-image-card {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.contact-image-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.contact-image-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 0.5rem 0.95rem;
  background: rgba(var(--surface-rgb), 0.9);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-text-color);
}

.contact-info-panel {
  height: 100%;
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(var(--surface-rgb), 0.9);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

.contact-info-panel .section-subtitle {
  max-width: none;
  margin: 0 0 2rem;
  text-align: left;
}

.reachout-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1rem;
}

.reachout-list li {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(var(--surface-rgb), 0.7);
}

.reachout-list h6 {
  margin: 0 0 0.35rem;
  color: var(--primary-text-color);
  font-weight: 600;
}

.reachout-list p {
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 0.98rem;
}

.contact-methods {
  margin-top: 0.5rem;
}

.contact-info-panel .contact-card {
  text-align: left;
  padding: 1.75rem 2rem;
}

.contact-info-panel .contact-icon {
  margin: 0 0 1rem;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.contact-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(62, 141, 109, 0.15) 1px,
    transparent 0
  );
  background-size: 40px 40px;
  opacity: 0.5;
}

.contact-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 30% 30%,
      rgba(62, 141, 109, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 70%,
      rgba(251, 112, 44, 0.08) 0%,
      transparent 50%
    );
}

/* Animated location pins in background */
.bg-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 20px var(--accent-glow);
  animation: markerBounce 2s ease-in-out infinite;
}

@keyframes markerBounce {
  0%,
  100% {
    transform: rotate(-45deg) translateY(0);
  }
  50% {
    transform: rotate(-45deg) translateY(-10px);
  }
}

.bg-marker:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}
.bg-marker:nth-child(2) {
  top: 60%;
  left: 85%;
  animation-delay: 0.5s;
  background: var(--accent-warm-color);
  box-shadow: 0 0 20px var(--accent-warm-glow);
}
.bg-marker:nth-child(3) {
  top: 80%;
  left: 25%;
  animation-delay: 1s;
}
.bg-marker:nth-child(4) {
  top: 30%;
  left: 75%;
  animation-delay: 1.5s;
}

.contact-card {
  background: linear-gradient(
    145deg,
    var(--surface-color) 0%,
    rgba(var(--surface-rgb), 0.92) 100%
  );
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  height: 100%;
  transition: all 0.5s var(--transition-timing);
  position: relative;
  overflow: hidden;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center top,
    rgba(62, 141, 109, 0.1) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--transition-timing);
  z-index: -1;
}

.contact-card .contact-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(62, 141, 109, 0.2) 0%,
    rgba(62, 141, 109, 0.05) 100%
  );
  border-radius: 50%;
  color: var(--accent-color);
  margin: 0 auto 1.5rem;
  transition: all 0.5s var(--transition-timing);
  position: relative;
}

.contact-card .contact-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(
      135deg,
      var(--accent-color),
      var(--accent-warm-color)
    )
    border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--transition-timing);
}

.contact-card h5 {
  margin-bottom: 1rem;
  color: var(--primary-text-color);
}

.contact-card .contact-desc {
  color: var(--secondary-text-color);
  margin-bottom: 0.85rem;
}

.contact-card .contact-link {
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.contact-phone {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-text-color);
  margin-bottom: 0.85rem;
}

.contact-card .btn {
  margin-top: 0.25rem;
}

/* ============================================
   CONTACT PAGE - REDESIGN
   ============================================ */
.contact-hero {
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(62, 141, 109, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(251, 112, 44, 0.12),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(var(--surface-rgb), 0.92) 0%,
      rgba(var(--bg-rgb), 0.85) 100%
    );
  z-index: 0;
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .contact-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.9);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-color);
}

.contact-hero-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin: 1rem 0;
  font-weight: 700;
  color: var(--primary-text-color);
}

.contact-hero-lead {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
  color: var(--secondary-text-color);
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-hero-meta {
  display: grid;
  gap: 1rem;
  max-width: 420px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(var(--surface-rgb), 0.8);
  border: 1px solid var(--border-color);
}

.meta-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-text-color);
}

.meta-value {
  font-weight: 600;
  color: var(--primary-text-color);
}

.contact-hero-visual .contact-image-card {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
}

.contact-image-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(var(--surface-rgb), 0.95);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-weight: 600;
  color: var(--primary-text-color);
}

.contact-main {
  padding: 4rem 0 6rem;
  background: var(--bg-color);
}

.contact-main-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-main-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.reachout-panel {
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(var(--surface-rgb), 0.92);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

.reachout-panel .section-subtitle {
  margin: 0 0 2rem;
}

.reachout-list {
  display: grid;
  gap: 1rem;
}

.reachout-list li {
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  background: linear-gradient(
    145deg,
    rgba(var(--surface-rgb), 0.95),
    rgba(var(--surface-rgb), 0.8)
  );
}

.reachout-list h6 {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.reachout-list p {
  margin: 0;
}

.contact-channels {
  display: grid;
  gap: 1.5rem;
}

.contact-channel-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: rgba(var(--surface-rgb), 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s var(--transition-timing),
    box-shadow 0.4s var(--transition-timing);
}

.contact-channel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.16);
}

.contact-channel-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 141, 109, 0.15);
  color: var(--accent-color);
}

.contact-channel-body h5 {
  margin-bottom: 0.5rem;
}

.contact-channel-body p {
  margin-bottom: 0.8rem;
}

.channel-value {
  display: inline-block;
  font-weight: 700;
  color: var(--primary-text-color);
  margin-bottom: 0.9rem;
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding-top: 6rem;
  }
  .contact-channel-card {
    grid-template-columns: 1fr;
  }
  .contact-channel-icon {
    width: 52px;
    height: 52px;
  }
}

@media (hover: hover) {
  .contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(62, 141, 109, 0.3);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(62, 141, 109, 0.1);
  }
  .contact-card:hover::before {
    opacity: 1;
  }
  .contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(62, 141, 109, 0.3);
  }
  .contact-card:hover .contact-icon::after {
    opacity: 1;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(
    180deg,
    var(--surface-dark-color) 0%,
    var(--bg-color) 100%
  );
  border-top: 1px solid var(--border-color);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
}

.footer-brand {
  font-weight: 700;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.footer-description {
  max-width: 250px;
  font-size: 0.9rem;
}

.footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--secondary-text-color);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--accent-warm-color)
  );
  transition: width 0.4s var(--transition-timing);
}

.footer-links a:hover {
  color: var(--primary-text-color);
}

.footer-links a:hover::after {
  width: 100%;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-color);
  border-radius: 50%;
  color: var(--secondary-text-color);
  margin-right: 0.75rem;
  transition: all 0.4s var(--transition-timing);
}

.social-icons a:hover {
  color: var(--primary-text-color);
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(62, 141, 109, 0.3);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color-pure-black);
}

.footer-bottom p {
  font-size: 0.85rem;
  margin: 0;
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-color);
  border-radius: 50%;
  color: var(--secondary-text-color);
  transition: all 0.4s var(--transition-timing);
}

.back-to-top:hover {
  color: var(--primary-text-color);
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(62, 141, 109, 0.3);
}

/* ============================================
   SCROLL REVEAL & ANIMATIONS
   ============================================ */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--transition-timing),
    transform 0.8s var(--transition-timing);
}

[data-scroll-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal */
[data-scroll-reveal]:nth-child(1) {
  transition-delay: 0.1s;
}
[data-scroll-reveal]:nth-child(2) {
  transition-delay: 0.2s;
}
[data-scroll-reveal]:nth-child(3) {
  transition-delay: 0.3s;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-globe,
  .globe-grid,
  .orbit-ring,
  .particle,
  .globe-wrapper::before,
  .globe-wrapper::after {
    animation: none !important;
  }
}

/* ============================================
   SECTION BLOCKS - IMPROVED SPACING
   ============================================ */
.section-block {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .section-block {
    padding: 8rem 0;
  }
}

/* Section Headers */
.section-header {
  margin-bottom: 3rem;
}

@media (max-width: 991.98px) {
  .contact-image-card img {
    min-height: 300px;
  }
  .contact-info-panel {
    padding: 2rem;
  }
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-title-left {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title-left {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-text-color);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Media Blocks */
.section-media {
  margin-top: 2.5rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: center;
}

.media-photo {
  grid-column: span 7;
  margin: 0;
}

.media-photo img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.media-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.media-illustration {
  grid-column: span 5;
  padding: 1.5rem;
  background: rgba(var(--surface-rgb), 0.9);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
  .media-photo,
  .media-illustration {
    grid-column: span 1;
  }
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  gap: 1.5rem;
}

.divider-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-color),
    transparent
  );
}

.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--accent-color);
}

/* ============================================
   ILLUSTRATION CARDS
   ============================================ */
.illustration-card {
  background: linear-gradient(
    145deg,
    var(--surface-color) 0%,
    rgba(var(--surface-rgb), 0.86) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.4s var(--transition-timing);
}

.illustration-card:hover {
  border-color: rgba(251, 112, 44, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.illustration-visual {
  margin-bottom: 1.5rem;
}

.illustration-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.illustration-card h4 {
  color: var(--primary-text-color);
  margin-bottom: 0.75rem;
}

.illustration-card p {
  color: var(--secondary-text-color);
  margin: 0;
}

/* Data line animations */
.data-line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 3s ease-in-out infinite alternate;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* ============================================
   PROBLEM POINTS
   ============================================ */
.problem-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-point {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(var(--surface-rgb), 0.75);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.4s var(--transition-timing);
}

.problem-point:hover {
  border-color: rgba(251, 112, 44, 0.3);
  background: rgba(var(--surface-rgb), 0.86);
  transform: translateX(8px);
}

.problem-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 112, 44, 0.15);
  border-radius: 10px;
  color: var(--accent-warm-color);
}

.problem-content h5 {
  color: var(--primary-text-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.problem-content p {
  color: var(--secondary-text-color);
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================
   CHALLENGE CARDS
   ============================================ */
.challenge-card {
  background: linear-gradient(
    145deg,
    var(--surface-color) 0%,
    rgba(var(--surface-rgb), 0.86) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition-timing);
}

.challenge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-warm-color), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition-timing);
}

.challenge-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 112, 44, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.challenge-card:hover::before {
  transform: scaleX(1);
}

.challenge-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(251, 112, 44, 0.15);
  line-height: 1;
}

.challenge-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 112, 44, 0.1);
  border-radius: 12px;
  color: var(--accent-warm-color);
  margin-bottom: 1.25rem;
}

.challenge-card h5 {
  color: var(--primary-text-color);
  margin-bottom: 0.75rem;
}

.challenge-card p {
  color: var(--secondary-text-color);
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================
   SECTION SOLUTION
   ============================================ */
.section-solution {
  background: linear-gradient(
    180deg,
    var(--surface-color) 0%,
    var(--bg-color) 100%
  );
}

.solution-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(62, 141, 109, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(62, 141, 109, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.solution-visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.solution-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawSolution 2s ease-in-out forwards;
}

@keyframes drawSolution {
  to {
    stroke-dashoffset: 0;
  }
}

/* Solution Steps - Timeline Style */
.solution-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.solution-step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  position: relative;
  background: rgba(var(--surface-rgb), 0.75);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--transition-timing);
}

.solution-step:last-child {
  margin-bottom: 0;
}

.solution-step:hover {
  border-color: rgba(62, 141, 109, 0.3);
  background: rgba(var(--surface-rgb), 0.86);
  transform: translateX(8px);
}

.step-connector {
  display: none;
}

.step-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(62, 141, 109, 0.2) 0%,
    rgba(62, 141, 109, 0.05) 100%
  );
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.875rem;
}

.step-content h4 {
  color: var(--primary-text-color);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--secondary-text-color);
  margin: 0;
}

/* ============================================
   FIT CARDS - WHERE WE FIT BEST
   ============================================ */
.section-fit {
  background: linear-gradient(
    180deg,
    var(--bg-color) 0%,
    var(--surface-dark-color) 100%
  );
}

.fit-card {
  background: linear-gradient(
    145deg,
    var(--surface-color) 0%,
    rgba(var(--surface-rgb), 0.92) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--transition-timing);
}

.fit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top left,
    rgba(62, 141, 109, 0.1) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--transition-timing);
}

.fit-card:hover {
  transform: translateY(-10px);
  border-color: rgba(62, 141, 109, 0.3);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(62, 141, 109, 0.1);
}

.fit-card:hover::before {
  opacity: 1;
}

.fit-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(62, 141, 109, 0.2) 0%,
    rgba(62, 141, 109, 0.05) 100%
  );
  border-radius: 16px;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--transition-timing);
}

.fit-icon.warm {
  background: linear-gradient(
    135deg,
    rgba(251, 112, 44, 0.2) 0%,
    rgba(251, 112, 44, 0.05) 100%
  );
  color: var(--accent-warm-color);
}

.fit-card:hover .fit-icon {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(62, 141, 109, 0.3);
}

.fit-content {
  position: relative;
  z-index: 1;
}

.fit-content h4 {
  color: var(--primary-text-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.fit-content p {
  color: var(--secondary-text-color);
  margin-bottom: 1.25rem;
}

.fit-examples {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fit-examples li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.fit-examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
}

.fit-visual {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 80px;
  height: 80px;
  opacity: 0.3;
  transition: opacity 0.4s var(--transition-timing);
}

.fit-card:hover .fit-visual {
  opacity: 0.5;
}

/* ============================================
   PRODUCTS SHOWCASE
   ============================================ */
.section-products {
  background: linear-gradient(
    180deg,
    var(--surface-dark-color) 0%,
    var(--bg-color) 100%
  );
}

.products-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(62, 141, 109, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.products-showcase {
  background: linear-gradient(
    145deg,
    var(--surface-color) 0%,
    rgba(var(--surface-rgb), 0.96) 100%
  );
  border: 1px dashed rgba(62, 141, 109, 0.3);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.products-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(62, 141, 109, 0.05) 0%,
    transparent 70%
  );
}

.showcase-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.showcase-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-warm-color), #d4764a);
  color: var(--bg-color);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(251, 112, 44, 0.3);
}

.showcase-visual {
  margin-bottom: 2rem;
}

.showcase-visual svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.showcase-inner h4 {
  color: var(--primary-text-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.showcase-inner > p {
  color: var(--secondary-text-color);
  max-width: 400px;
  margin: 0 auto 2rem;
}

.showcase-cta {
  margin-top: 1.5rem;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.section-cta {
  background: var(--surface-dark-color);
  position: relative;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cta-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(62, 141, 109, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 50%,
      rgba(251, 112, 44, 0.1) 0%,
      transparent 50%
    );
}

.cta-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(62, 141, 109, 0.1) 1px,
    transparent 0
  );
  background-size: 40px 40px;
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-text-color);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .mobile-nav-panel,
  .hero-bg-wrap,
  .hero-globe-container,
  .back-to-top,
  .particles-container,
  .contact-bg,
  .earth-container {
    display: none !important;
  }
  body {
    padding-top: 0;
    background: #fff;
    color: #000;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ============================================
   UTILITIES & HELPER CLASSES
   ============================================ */
.text-accent {
  color: var(--accent-color) !important;
}
.text-accent-warm {
  color: var(--accent-warm-color) !important;
}

/* ============================================
   PREMIUM FORM STYLES
   ============================================ */
.contact-section {
  position: relative;
  padding: 6rem 0;
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  background-color: var(--surface-color);
  transition:
    transform 0.4s var(--transition-timing),
    box-shadow 0.4s var(--transition-timing);
}

.contact-form-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--accent-warm-color)
  );
}

.form-control,
.form-select {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s var(--transition-timing);
  background-color: rgba(var(--bg-rgb), 0.4);
  color: var(--primary-text-color);
}

.form-control::placeholder {
  color: var(--secondary-text-color);
  opacity: 0.6;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 4px var(--accent-glow);
  border-color: var(--accent-color);
  background-color: var(--surface-color);
  color: var(--primary-text-color);
}

.form-label {
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-text-color);
}

/* Contact Page Specifics */
.method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 141, 109, 0.1);
  color: var(--accent-color);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-methods .method-item {
  padding: 1rem;
  border-radius: 12px;
  transition: background-color 0.3s var(--transition-timing);
}

/* ============================================
   CONTACT METHODS STACK (NO FORM)
   ============================================ */
.contact-image-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(var(--surface-rgb), 0.95);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.transition-hover {
    transition: transform 0.3s var(--transition-timing), box-shadow 0.3s var(--transition-timing), background-color 0.3s var(--transition-timing);
}

.transition-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    background-color: rgba(var(--surface-rgb), 0.8) !important;
    border-color: var(--accent-color) !important;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.page-hero-section {
    min-height: 90vh;
    padding: 100px 0 6rem;
    position: relative;
    overflow: visible; /* Ensure nothing is clipped */
}

.about-globe {
    width: 100%;
    height: 800px;
    position: relative;
    z-index: 1;
}

.stats-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}
.stats-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.05); }
.stats-number { font-size: 2rem; font-weight: 700; color: var(--accent-color); display: block; margin-bottom: 0.25rem; }
.stats-label { font-size: 0.85rem; color: var(--secondary-text-color); text-transform: uppercase; letter-spacing: 1px; }

.globe-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    margin-top: -150px; /* Pull globe up to align with title */
}

.about-section {
    padding: 6rem 0;
}

/* Dual Approach Cards */
.dual-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    height: 100%;
    transition: all 0.4s var(--transition-timing);
}

.dual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: rgba(62, 141, 109, 0.3);
}

/* Approach Grid */
.approach-item {
    padding: 2rem;
    background: rgba(var(--surface-rgb), 0.6);
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s var(--transition-timing);
}

.approach-item:hover {
    background: var(--surface-color);
    border-color: var(--border-color);
}

.approach-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Values Cards */
.value-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.4s var(--transition-timing);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-warm-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

/* Quote/Hero Text specifics */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-text-color), var(--secondary-text-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* UPDATES TICKER */
.updates-ticker {
    margin-top: 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 900; /* Below fixed header but visible */
}

.ticker-content {
    display: flex;
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 0.95rem;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* UTILITY: Hover Lift */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* PRODUCTS PAGE SPECIFIC */
.bg-accent-subtle {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-rgb), 0.05)); /* Increased visibility */
}

.product-feature-section {
    position: relative;
    overflow: hidden;
}

.product-feature-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    /* Stronger gradient for better visibility */
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, transparent 70%);
    z-index: 0;
}

/* HOME PAGE REDESIGN ELEMENTS */
.brand-reveal-card {
    transition: transform 0.6s var(--transition-timing), box-shadow 0.6s var(--transition-timing);
}

.brand-reveal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4) !important;
}

.link-accent {
    color: var(--accent-color);
    transition: gap 0.3s ease, color 0.3s ease;
}
.link-accent:hover {
    color: var(--accent-hover-color);
    gap: 0.75rem !important;
}

/* Abstract Radar Animation */
.abstract-radar {
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-dot {
    position: relative;
    z-index: 5;
    animation: float 3s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    opacity: 0;
    animation: ripple 4s linear infinite;
}

.delay-1 { animation-delay: 1.3s; }
.delay-2 { animation-delay: 2.6s; }

@keyframes ripple {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 0.4; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pynly-home-card {
    position: relative;
}

.pynly-home-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.1), transparent 70%);
    pointer-events: none;
}

.fs-7 { font-size: 0.75rem; }
.mb-6 { margin-bottom: 4rem; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.py-7 { padding-top: 8rem; padding-bottom: 8rem; }

/* ========================================
   TYPOGRAPHY ENHANCEMENTS
   ======================================== */

/* Letter Spacing Utilities */
.letter-spacing-wide {
    letter-spacing: 0.08em;
}

.letter-spacing-wider {
    letter-spacing: 0.12em;
}

/* Line Height Utilities */
.lh-tight {
    line-height: 1.2;
}

.lh-relaxed {
    line-height: 1.75;
}

.lh-loose {
    line-height: 1.9;
}

/* Hero Typography Improvements */
.hero-brand-name {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
}

/* Improved Section Headings */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Lead Paragraphs */
.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75;
}

/* ========================================
   ANIMATED MAP VISUALIZATION
   ======================================== */

.location-map-visual {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.map-svg {
    width: 100%;
    height: auto;
    color: var(--secondary-text-color);
}

/* Grid Background Animation */
.grid-bg {
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Connection Lines Animation */
.connection-lines path {
    stroke-dashoffset: 0;
    animation: dashFlow 8s linear infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 2.6s; }
.line-3 { animation-delay: 5.2s; }

@keyframes dashFlow {
    0% { stroke-dashoffset: 100; opacity: 0.2; }
    50% { opacity: 0.5; }
    100% { stroke-dashoffset: 0; opacity: 0.2; }
}

/* Location Pins Animation */
.location-pins .pin {
    animation: pinDrop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.pin-1 { animation-delay: 0.2s; }
.pin-2 { animation-delay: 0.4s; }
.pin-3 { animation-delay: 0.6s; }
.pin-4 { animation-delay: 0.8s; }
.pin-5 { animation-delay: 1s; }

@keyframes pinDrop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    60% {
        transform: translateY(5px);
    }
    80% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Pin Pulse Effect */
.pin-pulse {
    animation: pinPulseGlow 2s ease-in-out infinite;
}

@keyframes pinPulseGlow {
    0%, 100% {
        r: 4;
        opacity: 0.6;
    }
    50% {
        r: 8;
        opacity: 0.2;
    }
}

/* Floating Coordinates */
.coordinates text {
    animation: coordFloat 4s ease-in-out infinite;
}

.coord-1 { animation-delay: 0s; }
.coord-2 { animation-delay: 1.3s; }
.coord-3 { animation-delay: 2.6s; }

@keyframes coordFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-8px);
        opacity: 0.6;
    }
}

/* Map Stats Styling */
.map-stats {
    background: rgba(var(--surface-dark-rgb), 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
}

.stat-value {
    font-size: 1.25rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */

@media (max-width: 991.98px) {
    .hero-brand-name {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-tagline {
        font-size: clamp(1.25rem, 5vw, 2rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .location-map-visual {
        max-width: 320px;
    }

    .location-map-visual.has-lottie {
        min-height: 320px;
    }

    .home-lottie {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.0625rem;
    }
}

/* ========================================
   IMPROVED READABILITY
   ======================================== */

/* Better text contrast in dark mode */
body[data-theme="dark"] .text-secondary {
    color: rgba(255, 255, 255, 0.75);
}

body[data-theme="dark"] .lead {
    color: rgba(255, 255, 255, 0.85);
}

/* Improved focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Better link readability */
.link-accent {
    font-weight: 600;
}

/* Section eyebrow improvements */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ========================================
   PRODUCTS PAGE CREATIVE REDESIGN
   ======================================== */

.products-page-hero {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
    overflow: hidden;
}

.products-hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    opacity: 0.5;
    z-index: 1;
}

.products-hero-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 2;
    animation: scannerMove 6s linear infinite;
}

@keyframes scannerMove {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}

.pynly-premium-card {
    background: rgba(21, 28, 22, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.pynly-premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, var(--accent-color) 180deg, transparent 360deg);
    animation: rotateGlow 10s linear infinite;
    opacity: 0.1;
    z-index: 0;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.blueprint-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    height: 100%;
    transition: all 0.4s var(--transition-timing);
    position: relative;
    z-index: 1;
}

.blueprint-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.blueprint-card .icon-wrap {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.3));
}

.infra-logic-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.infra-logic-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.infra-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.infra-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.infra-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.infra-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}
