/* ======================================================
   EXSE.EU — Design System & Styles
   Light mode — colorful, vibrant, modern
   Pure CSS — no frameworks, no dependencies
   ====================================================== */

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

:root {
  /* Backgrounds */
  --bg-primary: #f0f2f8;
  --bg-secondary: #ffffff;
  --bg-hero-start: #4f46e5;
  --bg-hero-end: #7c3aed;

  /* Accent colors — derived from logo #2D2A54 */
  --accent-deep: #2D2A54;
  --accent-main: #6C63FF;
  --accent-light: #8B83FF;
  --accent-glow: rgba(108, 99, 255, 0.18);
  --accent-subtle: rgba(108, 99, 255, 0.06);

  /* Text */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --text-on-dark: #ffffff;

  /* Card / Glass */
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);

  /* Service colors */
  --clr-linux: #10b981;
  --clr-proxmox: #f59e0b;
  --clr-vmware: #3b82f6;
  --clr-windows: #06b6d4;
  --clr-network: #8b5cf6;
  --clr-docker: #0ea5e9;
  --clr-webdesign: #ec4899;
  --clr-hosting: #14b8a6;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --gap: 24px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-medium: 0.5s var(--ease-out);
  --transition-slow: 0.8s var(--ease-out);

  /* Font */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-main); }

::selection {
  background: rgba(108, 99, 255, 0.2);
  color: var(--accent-deep);
}

a {
  color: var(--accent-main);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent-deep); }

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ===================== Scroll Progress ===================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #0891b2, #06b6d4, #14b8a6, #10b981);
  width: 0%;
  z-index: 10000;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ===================== Navigation ===================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

#navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* Logo — glow on hero for visibility, original when scrolled */
.nav-logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.9)) drop-shadow(0 0 4px rgba(255,255,255,0.3));
  transition: all var(--transition-fast);
}
#navbar.scrolled .nav-logo img {
  filter: none;
}
.nav-logo:hover img { transform: scale(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* Scrolled nav link colors */
#navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}
#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active {
  color: var(--accent-main);
  background: var(--accent-subtle);
}

/* Webmail button — override */
.nav-links .btn-outline {
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: none;
}
.nav-links .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
#navbar.scrolled .nav-links .btn-outline {
  color: var(--accent-main) !important;
  border-color: var(--accent-main) !important;
}
#navbar.scrolled .nav-links .btn-outline:hover {
  background: var(--accent-subtle) !important;
}

/* Language switcher */
.lang-switch {
  display: flex;
  margin-left: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
#navbar.scrolled .lang-switch {
  background: var(--bg-primary);
  border-color: var(--card-border);
}

.lang-switch button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}
.lang-switch button.active {
  background: var(--accent-main);
  color: #fff;
}
.lang-switch button:hover:not(.active) {
  color: #fff;
}
#navbar.scrolled .lang-switch button {
  color: var(--text-secondary);
}
#navbar.scrolled .lang-switch button.active {
  background: var(--accent-main);
  color: #fff;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
#navbar.scrolled .menu-toggle span {
  background: var(--text-primary);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================== Hero ===================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(-45deg, #0f172a, #164e63, #155e75, #1e3a5f, #0f172a);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
}

/* Decorative orbs */
#hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
  top: -200px;
  right: -200px;
  pointer-events: none;
  z-index: 1;
}

#hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 60%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
  z-index: 1;
}

/* Wave separator at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--gap);
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
}

/* Title */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: #fff;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #67e8f9, #22d3ee, #5eead4, #a7f3d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Typing */
.typing-wrapper {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.typing-text {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  padding-right: 4px;
  animation: blinkCaret 0.8s step-end infinite;
}

/* CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: var(--accent-main);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover {
  background: #fff;
  color: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-2px);
}

/* Page-level buttons (contact section etc.) */
.section .btn-primary {
  background: var(--accent-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}
.section .btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease infinite;
}

/* ===================== Section Common ===================== */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-main);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ===================== Services ===================== */
#services {
  background: var(--bg-secondary);
  padding-top: 100px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.service-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

/* Individual service colors */
.service-card[data-service="linux"]::before    { background: var(--clr-linux); }
.service-card[data-service="proxmox"]::before  { background: var(--clr-proxmox); }
.service-card[data-service="vmware"]::before   { background: var(--clr-vmware); }
.service-card[data-service="windows"]::before  { background: var(--clr-windows); }
.service-card[data-service="network"]::before  { background: var(--clr-network); }
.service-card[data-service="docker"]::before   { background: var(--clr-docker); }
.service-card[data-service="webdesign"]::before { background: var(--clr-webdesign); }
.service-card[data-service="hosting"]::before  { background: var(--clr-hosting); }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  transition: all var(--transition-medium);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all var(--transition-medium);
}

/* Service icon colors */
.service-card[data-service="linux"] .service-icon {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.service-card[data-service="linux"] .service-icon svg { stroke: var(--clr-linux); }

.service-card[data-service="proxmox"] .service-icon {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.service-card[data-service="proxmox"] .service-icon svg { stroke: var(--clr-proxmox); }

.service-card[data-service="vmware"] .service-icon {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.service-card[data-service="vmware"] .service-icon svg { stroke: var(--clr-vmware); }

.service-card[data-service="windows"] .service-icon {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.15);
}
.service-card[data-service="windows"] .service-icon svg { stroke: var(--clr-windows); }

.service-card[data-service="network"] .service-icon {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.15);
}
.service-card[data-service="network"] .service-icon svg { stroke: var(--clr-network); }

.service-card[data-service="docker"] .service-icon {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.15);
}
.service-card[data-service="docker"] .service-icon svg { stroke: var(--clr-docker); }

/* Icon hover */
.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
}

/* Colored service tags on hover */
.service-card[data-service="linux"]:hover .service-tag { background: rgba(16,185,129,0.08); color: var(--clr-linux); border-color: rgba(16,185,129,0.2); }
.service-card[data-service="proxmox"]:hover .service-tag { background: rgba(245,158,11,0.08); color: #b45309; border-color: rgba(245,158,11,0.2); }
.service-card[data-service="vmware"]:hover .service-tag { background: rgba(59,130,246,0.08); color: var(--clr-vmware); border-color: rgba(59,130,246,0.2); }
.service-card[data-service="windows"]:hover .service-tag { background: rgba(6,182,212,0.08); color: #0891b2; border-color: rgba(6,182,212,0.2); }
.service-card[data-service="network"]:hover .service-tag { background: rgba(139,92,246,0.08); color: var(--clr-network); border-color: rgba(139,92,246,0.2); }
.service-card[data-service="docker"]:hover .service-tag { background: rgba(14,165,233,0.08); color: var(--clr-docker); border-color: rgba(14,165,233,0.2); }

/* ===================== About ===================== */
#about {
  background: var(--bg-primary);
}

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

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ---- Certification Badges ---- */
.cert-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid;
  transition: all var(--transition-fast);
}
.cert-badge:hover {
  transform: translateY(-2px);
}

.cert-icon-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.cert-icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cert-badge strong {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.cert-badge span {
  font-size: 0.72rem;
  opacity: 0.75;
  line-height: 1.3;
}

/* Red Hat certs */
.cert-redhat {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}
.cert-redhat .cert-icon-wrap {
  background: rgba(239, 68, 68, 0.12);
}
.cert-redhat .cert-icon-wrap svg { stroke: #dc2626; }
.cert-redhat:hover { box-shadow: 0 8px 24px rgba(239, 68, 68, 0.12); }

/* Linux certs */
.cert-linux {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.15);
  color: #059669;
}
.cert-linux .cert-icon-wrap {
  background: rgba(16, 185, 129, 0.12);
}
.cert-linux .cert-icon-wrap svg { stroke: #059669; }
.cert-linux:hover { box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12); }

/* OpenShift experience */
.cert-openshift {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}
.cert-openshift .cert-icon-wrap {
  background: rgba(239, 68, 68, 0.1);
}
.cert-openshift .cert-icon-wrap svg { stroke: #dc2626; }
.cert-openshift:hover { box-shadow: 0 8px 24px rgba(239, 68, 68, 0.1); }

/* ---- Stats ---- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-medium);
  box-shadow: var(--card-shadow);
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

/* Individual stat colors */
.stat-item:nth-child(1) .stat-number { color: var(--accent-main); }
.stat-item:nth-child(2) .stat-number { color: var(--clr-vmware); }
.stat-item:nth-child(3) .stat-number { color: var(--clr-linux); }
.stat-item:nth-child(4) .stat-number { color: var(--clr-proxmox); }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---- Skills Grid (Redesigned) ---- */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.skill-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 99, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.skill-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent-main);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skill-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pills span {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  transition: all var(--transition-fast);
}

.skill-card:hover .skill-pills span {
  background: rgba(108, 99, 255, 0.04);
  border-color: rgba(108, 99, 255, 0.2);
  color: var(--accent-deep);
}

/* ===================== Contact ===================== */
#contact { background: var(--bg-secondary); }

.contact-grid {
  max-width: 560px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.contact-item:hover {
  border-color: var(--accent-main);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.1);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 99, 255, 0.08);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

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

.contact-item-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-item a.contact-item-value { color: var(--text-primary); }
.contact-item a.contact-item-value:hover { color: var(--accent-main); }



/* ===================== Footer ===================== */
#footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo img {
  height: 28px;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}
.footer-logo:hover img { opacity: 1; }

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

/* ===================== Mobile Overlay ===================== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.mobile-overlay.active { display: flex; }

.mobile-nav {
  list-style: none;
  text-align: center;
}

.mobile-nav li { margin-bottom: 24px; }

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}
.mobile-nav a:hover { color: var(--accent-main); }

.mobile-lang {
  display: inline-flex;
  justify-content: center;
  margin-top: 32px;
  background: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mobile-lang button {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.mobile-lang button.active {
  background: var(--accent-main);
  color: #fff;
}

/* ===================== Keyframe Animations ===================== */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blinkCaret {
  from, to { border-color: transparent; }
  50% { border-color: rgba(255, 255, 255, 0.8); }
}

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

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links,
  .lang-switch { display: none; }

  .menu-toggle { display: flex; }

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

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-form { padding: 24px; }

  .cert-grid {
    flex-direction: column;
  }

  .hero-wave svg { height: 40px; }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }


}
