/* ── CSS Property for animated border ────────────── */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1428;
  --text: #e4e8f1;
  --text-soft: #8a92a8;
  --accent: #00d4ff;
  --accent-soft: #1a6e8a;
  --accent-glow: rgba(0, 212, 255, 0.1);
  --card-bg: #121830;
  --border: #1e2545;
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Typography ──────────────────────────────────── */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.01em;
}

/* ── Utility ─────────────────────────────────────── */
.container {
  width: min(1100px, 90%);
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  background: var(--accent);
  color: #0a0e1a;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: var(--font);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
  background: #33dfff;
}

.btn:active {
  transform: translateY(0);
}

/* ── SVG icon helper ─────────────────────────────── */
.icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Navbar ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 14, 26, 0.82);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 100, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

/* ── Title entrance animation ── */
.hero-title {
  margin-bottom: 20px;
  color: var(--text);
}

.title-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: titleSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.5s; }

.hero-title .accent-icon {
  display: inline-flex;
  vertical-align: middle;
  margin: 0 4px;
}

.hero-title .accent-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
  animation: starSpin 6s linear infinite;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  animation: titleSlideUp 0.7s ease forwards;
  animation-delay: 0.8s;
}

.hero-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: titleSlideUp 0.7s ease forwards;
  animation-delay: 1.1s;
}

/* ── Geometric Decoration ── */
.hero-decor {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  z-index: 0;
}

/* Hexagon wireframe */
.hex-wire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: hexSpin 30s linear infinite;
}

.hex-wire polygon {
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Orbiting dots */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid transparent;
}

.orbit-1 {
  width: 340px;
  height: 340px;
  margin-top: -170px;
  margin-left: -170px;
  animation: spin 12s linear infinite;
}

.orbit-2 {
  width: 240px;
  height: 240px;
  margin-top: -120px;
  margin-left: -120px;
  animation: spin 8s linear infinite reverse;
}

.orbit-3 {
  width: 160px;
  height: 160px;
  margin-top: -80px;
  margin-left: -80px;
  animation: spin 5s linear infinite;
}

.orb-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6),
              0 0 24px rgba(0, 212, 255, 0.3);
}

.orbit-2 .orb-dot {
  width: 6px;
  height: 6px;
  background: rgba(140, 80, 255, 0.9);
  box-shadow: 0 0 12px rgba(140, 80, 255, 0.5);
}

.orbit-3 .orb-dot {
  width: 5px;
  height: 5px;
  background: rgba(0, 180, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.5);
}

/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

.p1 { width: 4px; height: 4px; top: 15%; left: 20%; animation-delay: 0s; }
.p2 { width: 3px; height: 3px; top: 70%; left: 80%; animation-delay: 1.2s; }
.p3 { width: 5px; height: 5px; top: 30%; left: 85%; animation-delay: 2.4s; }
.p4 { width: 3px; height: 3px; top: 80%; left: 30%; animation-delay: 3.6s; }
.p5 { width: 4px; height: 4px; top: 50%; left: 10%; animation-delay: 4.8s; }

/* ── About ───────────────────────────────────────── */
.about {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 18px;
}

.about-text p {
  color: var(--text-soft);
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Glowing top accent bar */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Shimmer sweep */
.stat-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(0, 212, 255, 0.04) 45%,
    rgba(0, 212, 255, 0.08) 50%,
    rgba(0, 212, 255, 0.04) 55%,
    transparent 60%
  );
  pointer-events: none;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover::after {
  animation: shimmer 0.8s ease forwards;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 16px 44px rgba(0, 212, 255, 0.12),
              0 0 0 1px rgba(0, 212, 255, 0.08);
  border-color: var(--accent-soft);
}

.stat-card .icon {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Floating icon animation */
.stat-card .icon svg {
  animation: statIconFloat 3s ease-in-out infinite;
  transition: filter 0.3s ease;
}

.stat-card:hover .icon svg {
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

/* Stagger the float so icons aren't all in sync */
.stat-card:nth-child(1) .icon svg { animation-delay: 0s; }
.stat-card:nth-child(2) .icon svg { animation-delay: 0.5s; }
.stat-card:nth-child(3) .icon svg { animation-delay: 1s; }
.stat-card:nth-child(4) .icon svg { animation-delay: 1.5s; }

.stat-card .number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.stat-card:hover .number {
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
  transform: scale(1.08);
}

.stat-card .label {
  font-size: 0.82rem;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.3s ease;
}

.stat-card:hover .label {
  color: var(--text);
}

/* ── Services ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* ── Glowing top accent bar ── */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ── Shimmer sweep on hover ── */
.service-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(0, 212, 255, 0.04) 45%,
    rgba(0, 212, 255, 0.08) 50%,
    rgba(0, 212, 255, 0.04) 55%,
    transparent 60%
  );
  transition: none;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  animation: shimmer 0.8s ease forwards;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.12),
              0 0 0 1px rgba(0, 212, 255, 0.08);
  border-color: var(--accent-soft);
}

.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ── Pulsing glow ring around icon ── */
.service-card .icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1.5px solid rgba(0, 212, 255, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: none;
}

.service-card:hover .icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.service-card:hover .icon::after {
  opacity: 1;
  animation: iconRingPulse 2s ease-in-out infinite;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--accent);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-soft);
  margin-top: 12px;
  font-size: 1.02rem;
}

/* ── Quote ───────────────────────────────────────── */
.quote-section {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.quote-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-soft);
  font-family: Georgia, serif;
  margin-bottom: -10px;
}

.quote-card blockquote {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 28px;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quote-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-soft);
}

.quote-author-avatar svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-author-info .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-author-info .role {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ── Contact ─────────────────────────────────────── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-soft);
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 8px 12px;
  border-radius: 14px;
  margin-left: -12px;
}

.contact-link:hover {
  color: var(--accent);
  transform: translateX(6px);
  background: rgba(0, 212, 255, 0.04);
}

.contact-link .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
}

.contact-link:hover .icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.15);
}

/* Stagger entrance for contact links */
.contact-links .contact-link:nth-child(1) { transition-delay: 0s; }
.contact-links .contact-link:nth-child(2) { transition-delay: 0.06s; }
.contact-links .contact-link:nth-child(3) { transition-delay: 0.12s; }

/* ── Contact Form Glow Wrapper ── */
.form-glow-wrap {
  position: relative;
  border-radius: calc(var(--radius) + 3px);
  padding: 3px;
  background: var(--card-bg);
  transition: transform 0.15s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Rotating gradient border */
.form-glow-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    var(--accent) 0%,
    rgba(0, 100, 255, 0.6) 25%,
    rgba(140, 80, 255, 0.5) 50%,
    rgba(0, 100, 255, 0.6) 75%,
    var(--accent) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 4s linear infinite;
  pointer-events: none;
}

/* Outer glow that follows the border */
.form-glow-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius) + 9px);
  background: conic-gradient(
    from var(--border-angle, 0deg),
    rgba(0, 212, 255, 0.15) 0%,
    transparent 25%,
    rgba(140, 80, 255, 0.1) 50%,
    transparent 75%,
    rgba(0, 212, 255, 0.15) 100%
  );
  filter: blur(12px);
  animation: rotateBorder 4s linear infinite;
  pointer-events: none;
  z-index: -1;
}

/* ── Contact Form ── */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Subtle ambient glow behind form */
.contact-form::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: contactGlow 6s ease-in-out infinite;
}

.contact-form:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.06);
}

.contact-form .form-group {
  margin-bottom: 18px;
  position: relative;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  transition: color 0.3s ease;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1),
              0 4px 16px rgba(0, 212, 255, 0.06);
  transform: translateY(-1px);
}

/* Label turns accent on focus */
.contact-form .form-group:focus-within label {
  color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Button sweep highlight */
.contact-form .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: none;
  pointer-events: none;
}

.contact-form .btn:hover::before {
  animation: btnSweep 0.6s ease forwards;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer .heart {
  color: var(--accent);
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

/* ── Scroll Animations ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.36s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ───────────────────────────────────── */
@keyframes titleSlideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes starSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes hexSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.7; transform: translateY(-10px) scale(1); }
  80% { opacity: 0.4; transform: translateY(-40px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-60px) scale(0.3); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.04); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.2); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  56% { transform: scale(1); }
}

@keyframes shimmer {
  0% { left: -60%; }
  100% { left: 120%; }
}

@keyframes iconRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes statIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes contactGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-20px, 20px) scale(1.15); opacity: 1; }
}

@keyframes btnSweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes rotateBorder {
  0% { --border-angle: 0deg; }
  100% { --border-angle: 360deg; }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-decor {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(14px);
    padding: 20px 5%;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .about-visual {
    grid-template-columns: 1fr 1fr;
  }
}
