/* ═══════════════════════════════════════════════════════════════
   BERMEDIA GROUP — FUTURISTIC MATRIX THEME
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-primary: #030712;
  --bg-secondary: #0a0f1e;
  --bg-card: rgba(6, 18, 38, 0.7);
  --bg-glass: rgba(0, 180, 216, 0.03);
  --border: rgba(0, 180, 216, 0.1);
  --border-hover: rgba(0, 180, 216, 0.25);
  --cyan: #00b4d8;
  --cyan-glow: #38d4f0;
  --cyan-dim: #0077b6;
  --cyan-ultra: #90e0ef;
  --green-matrix: #00ff41;
  --green-dim: #003b00;
  --red: #e63946;
  --white: #e8edf3;
  --silver: #94a3b8;
  --steel: #64748b;
  --dark-steel: #334155;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-sm: 0 0 10px rgba(0, 180, 216, 0.3);
  --glow-md: 0 0 30px rgba(0, 180, 216, 0.2);
  --glow-lg: 0 0 60px rgba(0, 180, 216, 0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--silver);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 500;
  font-size: 1.05rem;
}
::selection { background: var(--cyan); color: var(--bg-primary); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ═══════ MATRIX CANVAS BACKGROUND ═══════ */
#matrixCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
}

/* ═══════ SCAN LINE OVERLAY ═══════ */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 180, 216, 0.008) 2px,
    rgba(0, 180, 216, 0.008) 4px
  );
}

/* ═══════ GRID OVERLAY ═══════ */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ═══════ NAVBAR ═══════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 40px; width: auto; filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.3)); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
  transition: all 0.3s;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}
.nav-links a::before {
  content: '//';
  color: var(--cyan-dim);
  margin-right: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-links a:hover { color: var(--cyan-glow); text-shadow: 0 0 10px rgba(0, 180, 216, 0.5); }
.nav-links a:hover::before { opacity: 1; }

.nav-cta {
  padding: 0.6rem 1.4rem !important;
  background: transparent !important;
  border: 1px solid var(--cyan) !important;
  color: var(--cyan) !important;
  border-radius: 4px;
  font-family: var(--font-mono) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease) !important;
  position: relative;
  overflow: hidden;
}
.nav-cta::before { display: none !important; }
.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.nav-cta:hover { color: var(--bg-primary) !important; box-shadow: var(--glow-sm); }
.nav-cta:hover::after { opacity: 1; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; transition: all 0.3s; }

/* ═══════ HERO ═══════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  z-index: 2;
}
.hero-content { max-width: 850px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero-badge .pulse-dot {
  width: 6px; height: 6px;
  background: var(--green-matrix);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-matrix);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green-matrix); }
  50% { opacity: 0.4; box-shadow: 0 0 2px var(--green-matrix); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s var(--ease) 0.15s both;
}
.hero h1 .glow {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 180, 216, 0.5), 0 0 60px rgba(0, 180, 216, 0.2);
}

/* Glitch effect on hover */
.hero h1:hover .glow {
  animation: glitch 0.3s steps(2) infinite;
}
@keyframes glitch {
  0% { text-shadow: 2px 0 var(--red), -2px 0 var(--cyan); }
  25% { text-shadow: -2px 0 var(--red), 2px 0 var(--cyan); }
  50% { text-shadow: 2px 2px var(--red), -2px -2px var(--cyan); }
  75% { text-shadow: -2px 2px var(--red), 2px -2px var(--cyan); }
  100% { text-shadow: 0 0 20px rgba(0, 180, 216, 0.5); }
}

.hero p {
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.8s var(--ease) 0.45s both; }

.btn-primary {
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.1), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: rgba(0, 180, 216, 0.1);
  box-shadow: var(--glow-sm), inset 0 0 20px rgba(0, 180, 216, 0.05);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid var(--dark-steel);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-ghost:hover {
  border-color: var(--steel);
  color: var(--white);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s var(--ease) 0.6s both;
}
.stat-item { text-align: left; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-number .accent { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 180, 216, 0.4); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dark-steel);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Counter animation */
.stat-number[data-count] { transition: all 0.3s; }

/* ═══════ SECTIONS COMMONS ═══════ */
section { position: relative; z-index: 2; }
.section-padding { padding: 7rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.section-label .line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.section-label .tag {
  color: var(--dark-steel);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 560px;
  line-height: 1.7;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════ PROBLEMS ═══════ */
.problems { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.problems-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }

.problem-card {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}
.problem-card:hover {
  border-color: var(--border);
  background: var(--bg-glass);
  box-shadow: var(--glow-lg);
}
.problem-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(230, 57, 70, 0.06);
  border: 1px solid rgba(230, 57, 70, 0.12);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.problem-card h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.problem-card p { font-size: 0.85rem; color: var(--steel); line-height: 1.6; }

.problems-conclusion {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-left: 2px solid var(--cyan);
  background: var(--bg-glass);
}
.problems-conclusion p { font-size: 1rem; color: var(--silver); font-style: italic; }

/* ═══════ PILLARS ═══════ */
.expertise { background: var(--bg-secondary); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.pillar-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--glow-md);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dark-steel);
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}
.pillar-icon {
  width: 50px; height: 50px;
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.pillar-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.pillar-card li {
  font-size: 0.83rem;
  color: var(--steel);
  padding-left: 1.2rem;
  position: relative;
}
.pillar-card li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
}

/* ═══════ TIMELINE / APPROACH ═══════ */
.approach { background: var(--bg-primary); }
.approach-timeline { margin-top: 3rem; position: relative; }
.approach-timeline::before {
  content: '';
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--border), transparent);
}

.timeline-step {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  position: relative;
}
.step-marker { width: 58px; min-width: 58px; display: flex; flex-direction: column; align-items: center; }
.step-dot {
  width: 16px; height: 16px;
  background: var(--bg-primary);
  border: 2px solid var(--dark-steel);
  border-radius: 0;
  transform: rotate(45deg);
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}
.timeline-step:hover .step-dot {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.5);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--dark-steel);
  margin-top: 0.75rem;
  letter-spacing: 0.1em;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.step-content p { font-size: 0.92rem; color: var(--steel); max-width: 600px; }

/* ═══════ SOLUTIONS ═══════ */
.solutions { background: var(--bg-secondary); }
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.6s var(--ease);
}
.solution-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-md);
}
.solution-card:hover::after { width: 100%; }

.sol-icon {
  width: 56px; height: 56px;
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
}
.solution-card > p { font-size: 0.9rem; color: var(--steel); margin-bottom: 1.5rem; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li {
  font-size: 0.83rem;
  color: var(--steel);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.feature-list .check {
  color: var(--cyan);
  font-family: var(--font-mono);
  min-width: 16px;
  margin-top: 2px;
}

/* ═══════ SECTORS ═══════ */
.sectors { background: var(--bg-primary); }
.sectors-flex { display: flex; gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }

.sector-pill {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
  flex: 1; min-width: 220px;
}
.sector-pill:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}
.sector-pill .s-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(0, 180, 216, 0.05);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.sector-pill span { font-size: 0.9rem; font-weight: 600; color: var(--silver); }

/* ═══════ TESTIMONIALS CAROUSEL ═══════ */
.testimonials { background: var(--bg-secondary); }

.carousel-wrapper {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 2px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s var(--ease);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--cyan);
  opacity: 0.08;
  line-height: 1;
}
.testimonial-card:hover { border-color: var(--border-hover); }

.testimonial-stars {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 4px;
}
.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px;
  border: 1px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--cyan);
  background: rgba(0, 180, 216, 0.06);
}
.author-info .name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}
.author-info .role { font-size: 0.75rem; color: var(--dark-steel); }

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 30px; height: 3px;
  background: var(--dark-steel);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--cyan);
  width: 50px;
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
}

/* ═══════ TEAM ═══════ */
.team { background: var(--bg-primary); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }

.director-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.director-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.director-initials {
  width: 70px; height: 70px;
  border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 180, 216, 0.4);
}
.director-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}
.director-card .title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.director-card p { font-size: 0.9rem; color: var(--steel); margin-bottom: 1.5rem; }
.director-skills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.director-skills span {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.team-structure { display: flex; flex-direction: column; gap: 1rem; }
.team-role {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}
.team-role:hover { border-color: var(--border-hover); box-shadow: var(--glow-sm); }
.team-role .role-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.team-role h4 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--white); letter-spacing: 0.03em; }
.team-role p { font-size: 0.8rem; color: var(--dark-steel); }

/* ═══════ CONTACT ═══════ */
.contact { background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; margin-top: 3rem; }

.contact-info h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 1rem; }
.contact-info > p { font-size: 0.95rem; color: var(--steel); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item .c-icon {
  width: 42px; height: 42px; min-width: 42px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-item span { font-size: 0.88rem; color: var(--silver); }

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel);
  margin-bottom: 0.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 180, 216, 0.02);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dark-steel); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.1), var(--glow-sm);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--bg-secondary); color: var(--silver); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--red); box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1); }
.form-group .error-msg { font-size: 0.72rem; color: var(--red); margin-top: 0.3rem; display: none; }
.form-group.error .error-msg { display: block; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}
.form-submit:hover {
  background: rgba(0, 180, 216, 0.1);
  box-shadow: var(--glow-sm);
}
.form-notice {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dark-steel);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

.form-success { display: none; text-align: center; padding: 2rem; }
.form-success.active { display: block; }
.form-success .success-icon {
  width: 64px; height: 64px;
  border: 2px solid var(--green-matrix);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}
.form-success h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.9rem; color: var(--steel); }

/* ═══════ WHATSAPP FLOAT ═══════ */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; display: flex; align-items: center; gap: 0.75rem; }
.whatsapp-float .wa-tooltip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-float .wa-btn {
  width: 56px; height: 56px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #25d366;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
  animation: waFloat 3s ease-in-out infinite;
}
.whatsapp-float .wa-btn:hover {
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
  animation: none;
  transform: scale(1.05);
}
.whatsapp-float .wa-btn svg { width: 28px; height: 28px; fill: #25d366; }
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ═══════ TOAST ═══════ */
.toast {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 9999;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--silver);
  box-shadow: var(--glow-md);
  transform: translateX(120%);
  transition: transform 0.4s var(--ease);
  max-width: 380px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-color: var(--green-matrix); color: var(--green-matrix); }
.toast.error { border-color: var(--red); color: var(--red); }
.toast.sending { border-color: var(--cyan); color: var(--cyan); }

/* ═══════ FOOTER ═══════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  position: relative;
  z-index: 2;
}
.footer-content { display: flex; align-items: center; justify-content: space-between; }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dark-steel);
  letter-spacing: 0.05em;
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dark-steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--cyan); }

/* ═══════ ANIMATIONS ═══════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

/* ═══════ PARALLAX SECTIONS ═══════ */
[data-parallax] { transition: transform 0.1s linear; }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(24px);
    padding: 2rem; border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .problems-grid, .pillars-grid, .solutions-grid, .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .carousel-slide { grid-template-columns: 1fr; }
  .sectors-flex { flex-direction: column; }
  .sector-pill { min-width: unset; }
  .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}
