/* ========================================
   Techknomatic — Enterprise Landing Page
   Complete Styles · v3.0
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-bg: #000000;
  --color-surface: #0a0a0a;
  --color-surface-light: #111111;
  --color-border: #1a1a1a;
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #666666;
  --color-accent-orange: #F28A00;
  --color-accent-blue: #1E9BE6;
  --color-accent-green: #2BB24C;
  --glow-orange: rgba(242, 138, 0, 0.15);
  --glow-blue: rgba(30, 155, 230, 0.15);
  --glow-green: rgba(43, 178, 76, 0.15);
}

/* --- Base Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* Smooth scroll handled by JS with easing — disabled here to avoid conflict */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* --- Loading Screen --- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--color-accent-orange), var(--color-accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-bar-container {
  width: 320px;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent-orange), var(--color-accent-blue), var(--color-accent-green));
  border-radius: 3px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 12px var(--color-accent-orange), 0 0 24px rgba(30, 155, 230, 0.3);
}

.loading-percentage {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  letter-spacing: 0.15em;
  font-variant-numeric: tabular-nums;
}

.loading-credit {
  margin-top: 2.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════
   NAVBAR
═══════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-accent-orange);
}

.nav-links a.active::after {
  width: 100%;
}

/* Staggered grid item reveal */
.fade-in.visible .service-card,
.fade-in.visible .stat-card,
.fade-in.visible .tool-item {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay ul {
  list-style: none;
  text-align: center;
}

.mobile-nav-overlay ul li {
  margin: 1.5rem 0;
}

.mobile-nav-overlay ul li a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.mobile-nav-overlay ul li a:hover {
  color: var(--color-accent-orange);
}

/* ═══════════════════════════════════
   HERO SECTION
═══════════════════════════════════ */
#hero-wrapper {
  position: relative;
  width: 100%;
}

#hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: #000000;
}

.hero-headline {
  text-align: center;
  padding-top: 5.5rem;
  padding-bottom: 0.5rem;
  z-index: 10;
  position: relative;
  flex-shrink: 0;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  will-change: opacity, transform;
}

.hero-headline-final {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding-top: 5.5rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease-out, transform 0.1s ease-out;
  will-change: opacity, transform;
}

.hero-headline-final h1 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-headline h1 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-accent-orange) 0%, var(--color-accent-blue) 50%, var(--color-accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-headline p {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: var(--color-text-secondary);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}


/* Tagline bar — sits OUTSIDE hero, never overlaps */
.hero-tagline-bar {
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.hero-tagline-bar p {
  font-size: 0.88rem;
  color: #cccccc;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* --- Animation Canvas — locked to optical center --- */
#animation-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  position: relative;
  /* Shift upward for optical center — ensures full logo visibility */
  margin-top: -2vh;
  margin-bottom: 2vh;
}

#animation-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 700px;
  aspect-ratio: 1;
  background: radial-gradient(circle,
      rgba(30, 155, 230, 0.06) 0%,
      rgba(242, 138, 0, 0.04) 40%,
      transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

#frame-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════
   SCROLL PROGRESS INDICATOR
═══════════════════════════════════ */
.scroll-progress {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scroll-progress.visible {
  opacity: 1;
}

.scroll-progress-bar {
  width: 3px;
  height: 60px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.scroll-progress-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, var(--color-accent-orange), var(--color-accent-blue));
  border-radius: 2px;
  transition: height 0.1s ease-out;
}

.scroll-progress-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════ */
.section-block {
  position: relative;
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.section-eyebrow::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 70%, var(--glow-color) 100%);
  animation: rotateGlow 3s linear infinite;
  z-index: -2;
}

.section-eyebrow::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: var(--bg-inner);
  border-radius: 100px;
  z-index: -1;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.eyebrow-orange {
  color: var(--color-accent-orange);
  --glow-color: var(--color-accent-orange);
  --bg-inner: #070300;
}

.eyebrow-blue {
  color: var(--color-accent-blue);
  --glow-color: var(--color-accent-blue);
  --bg-inner: #000408;
}

.eyebrow-green {
  color: var(--color-accent-green);
  --glow-color: var(--color-accent-green);
  --bg-inner: #000602;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  line-height: 1.65;
}

.center-sub {
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.radial-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.4;
}

/* --- Fade-in & Draw Animation Observers --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.draw-svg svg path,
.draw-svg svg circle,
.draw-svg svg rect,
.draw-svg svg line,
.draw-svg svg polyline,
.draw-svg svg polygon {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.draw-svg.visible svg path,
.draw-svg.visible svg circle,
.draw-svg.visible svg rect,
.draw-svg.visible svg line,
.draw-svg.visible svg polyline,
.draw-svg.visible svg polygon {
  animation: drawLine 2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* ═══════════════════════════════════
   SERVICE CARDS (What We Do)
═══════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  --glow-color: var(--color-accent-orange);
  background: transparent;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.3s ease, opacity 0.6s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 60%, var(--glow-color) 100%);
  animation: rotateGlow 4s linear infinite;
  z-index: -2;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--color-surface);
  border-radius: 15px;
  z-index: -1;
}

.service-card:nth-child(3n+2) {
  --glow-color: var(--color-accent-blue);
}

.service-card:nth-child(3n) {
  --glow-color: var(--color-accent-green);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon.orange {
  background: rgba(242, 138, 0, 0.1);
  color: var(--color-accent-orange);
  border: 1px solid rgba(242, 138, 0, 0.15);
}

.service-icon.blue {
  background: rgba(30, 155, 230, 0.1);
  color: var(--color-accent-blue);
  border: 1px solid rgba(30, 155, 230, 0.15);
}

.service-icon.green {
  background: rgba(43, 178, 76, 0.1);
  color: var(--color-accent-green);
  border: 1px solid rgba(43, 178, 76, 0.15);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--color-text-primary);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════
   STATS GRID (Who We Are)
═══════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.stat-card {
  --glow-color: var(--color-accent-orange);
  background: transparent;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 60%, var(--glow-color) 100%);
  animation: rotateGlow 5s linear infinite reverse;
  z-index: -2;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--color-surface);
  border-radius: 15px;
  z-index: -1;
}

.stat-card:nth-child(2) {
  --glow-color: var(--color-accent-blue);
}

.stat-card:nth-child(3) {
  --glow-color: var(--color-accent-green);
}

.stat-card:nth-child(4) {
  --glow-color: var(--color-text-primary);
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline;
  font-variant-numeric: tabular-nums;
}

.stat-card .stat-suffix {
  font-size: 1.8rem;
  font-weight: 700;
  display: inline;
  color: var(--color-text-muted);
}

.stat-number.orange {
  color: var(--color-accent-orange);
}

.stat-number.blue {
  color: var(--color-accent-blue);
}

.stat-number.green {
  color: var(--color-accent-green);
}

.stat-number.white {
  color: var(--color-text-primary);
}

.stat-card .stat-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 0.75rem;
}

/* ═══════════════════════════════════
   TOOLS & TECHNOLOGIES
═══════════════════════════════════ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.tool-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease, opacity 0.6s ease;
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
  animation: floatBob 6s ease-in-out infinite alternate;
}

/* Stagger floating slightly for a natural wavy look */
.tool-item:nth-child(even) {
  animation-duration: 7s;
  animation-delay: 1s;
}

.tool-item:nth-child(3n) {
  animation-duration: 5s;
  animation-delay: 2s;
}

@keyframes floatBob {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-8px);
  }
}

@keyframes floatBobHover {
  0% {
    transform: translateY(-4px) scale(1.05);
  }

  100% {
    transform: translateY(-12px) scale(1.05);
  }
}

.tool-item:hover {
  border-color: #2a2a2a;
  animation: floatBobHover 3s ease-in-out infinite alternate;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 2;
  position: relative;
}

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-item:hover .tool-icon {
  background: rgba(43, 178, 76, 0.1);
  color: var(--color-accent-green);
  border-color: rgba(43, 178, 76, 0.2);
  transform: scale(1.15) rotate(5deg);
}

@keyframes pulseIcon {
  0% {
    transform: scale(1.15) rotate(5deg);
  }

  50% {
    transform: scale(1.05) rotate(0deg);
  }

  100% {
    transform: scale(1.15) rotate(-5deg);
  }
}

.tool-item:hover .tool-icon svg {
  animation: pulseIcon 2.5s ease-in-out infinite;
}


.tool-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.tool-item:hover span {
  color: var(--color-text-primary);
}

/* ═══════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--color-text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-orange);
  box-shadow: 0 0 0 3px rgba(242, 138, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon.orange {
  background: rgba(242, 138, 0, 0.1);
  color: var(--color-accent-orange);
  border: 1px solid rgba(242, 138, 0, 0.15);
}

.contact-info-icon.blue {
  background: rgba(30, 155, 230, 0.1);
  color: var(--color-accent-blue);
  border: 1px solid rgba(30, 155, 230, 0.15);
}

.contact-info-icon.green {
  background: rgba(43, 178, 76, 0.1);
  color: var(--color-accent-green);
  border: 1px solid rgba(43, 178, 76, 0.15);
}

.contact-info-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-primary);
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-info-item a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-info-item a:hover {
  color: var(--color-text-primary);
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.map-container iframe {
  display: block;
}

/* ═══════════════════════════════════
   BUTTONS
═══════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-accent-orange);
  color: #000;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-orange);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--color-text-primary);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: border-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: #444;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
#footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 2.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--color-text-primary);
}

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-height: 850px),
(max-width: 1440px) and (max-height: 900px) {
  .hero-headline {
    padding-top: 4.5rem;
  }

  .hero-headline-final {
    padding-top: 4.5rem;
  }

  .hero-headline-final h1 {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    margin-bottom: 0.25rem;
  }

  .hero-headline h1 {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    margin-bottom: 0.25rem;
  }

  .hero-headline p {
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    max-width: 440px;
  }

  #animation-container {
    margin-top: -4vh;
    margin-bottom: 0;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #navbar {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 5rem 1.25rem;
  }

  .hero-headline h1 {
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  #frame-canvas {
    width: 92%;
    max-width: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .contact-form-card {
    padding: 1.75rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card .stat-number {
    font-size: 2.2rem;
  }

  .hero-headline-final h1 {
    font-size: 1.8rem;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}