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

:root {
  --color-primary: #006bad;
  --color-primary-light: #c3f0ff;
  --color-accent1: #f94c09;
  --color-accent2: #fafafa;
  --color-accent3: #ba2a00;
  --color-accent4: #767676;
  --color-text: #1a1a1a;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-border: #e5e7eb;
  --font-heading: "Nunito", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #005bea, #00b0f0, #00c6fb);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-weight: 700;
}

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

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0, 107, 173, 0.08);
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  transition:
    background 0.3s ease,
    padding 0.3s ease;
  border-radius: 0.5rem;
  padding: 0.25rem 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

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

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

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

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--color-primary);
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: #005a94;
  transform: translateY(-1px);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: var(--font-body);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 91, 234, 0.25);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0049c4, #0090d0, #00a8e1);
  box-shadow: 0 4px 12px rgba(0, 91, 234, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--color-primary);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 107, 173, 0.15);
}

.btn-secondary:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 107, 173, 0.25);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
  margin-bottom: 4rem;
}

.hero-content-left {
  flex: 1;
  text-align: left;
}

.hero-content-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated Geometric Background Pattern */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.03) 60px,
      rgba(255, 255, 255, 0.03) 120px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.02) 60px,
      rgba(255, 255, 255, 0.02) 120px
    );
  animation: rotate 60s linear infinite;
  pointer-events: none;
}

/* Animated Floating Shapes */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 15% 25%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(0, 198, 251, 0.2) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 70% 75%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 25% 80%,
      rgba(0, 91, 234, 0.15) 0%,
      transparent 30%
    );
  animation: drift 20s ease-in-out infinite;
  pointer-events: none;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(2deg);
  }
  66% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

/* 3D Geometric Decorations */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
  box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.1);
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  transform: rotate(45deg);
  animation: float 12s ease-in-out infinite 2s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 20%;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: float 18s ease-in-out infinite 4s;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Hero Chart Visualization */
.hero-chart {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 400px;
  z-index: 2;
  opacity: 0.95;
}

.chart-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.7)
  );
  border-radius: 0.5rem;
  height: var(--bar-height);
  animation: barGrow 2s ease-out forwards;
  transform-origin: bottom;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.trend-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.trend-line polyline {
  animation: drawLine 3s ease-in-out infinite;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 200;
    opacity: 0;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -200;
    opacity: 0;
  }
}

.chart-data-box {
  position: absolute;
  background: rgba(255, 255, 255, 1);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.chart-data-box:nth-child(6) {
  animation-delay: 1s;
}

.chart-data-box:nth-child(7) {
  animation-delay: 2s;
}

.chart-icon {
  font-size: 1.25rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.chart-text {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  font-family: var(--font-heading);
}

/* Wave Elements */
.hero-wave,
.hero-wave-2 {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  z-index: 1;
}

.hero-wave-2 {
  opacity: 0.6;
  height: 150px;
  bottom: 10px;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem;
  max-width: 55%;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 0 3rem 0;
  line-height: 1.6;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Floating Stats Cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 100%;
  margin: 0;
  position: relative;
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

.stat-card:nth-child(2) {
  animation-delay: 2s;
}

.stat-card:nth-child(3) {
  animation-delay: 4s;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* ── Services ── */
.services {
  padding: 5rem 0;
  background: var(--color-bg-alt);
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3.5rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border: none;
  border-radius: 1rem;
  padding: 2.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 107, 173, 0.1);
  text-align: center;
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.service-card p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Why ── */
.why {
  padding: 5rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.why-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 1;
  transform: scaleY(-1);
}

.why .container {
  position: relative;
  z-index: 2;
}

.why h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3.5rem;
  color: white;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.why-list li {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 107, 173, 0.12);
  animation: float 6s ease-in-out infinite;
}

.why-list li:nth-child(2) {
  animation-delay: 1.5s;
}

.why-list li:nth-child(3) {
  animation-delay: 3s;
}

.why-list li:nth-child(4) {
  animation-delay: 4.5s;
}

.why-list li:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 48px rgba(0, 107, 173, 0.2);
  transform: translateY(-10px);
}

.why-icon {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.why-list strong {
  font-weight: 600;
  color: white;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.why-list li p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Clients ── */
.clients {
  padding: 5rem 0 0 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.clients .container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 0;
}

.clients h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3.5rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
  padding: 0 2rem;
}

.clients-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 50vw;
  margin: 0 auto;
}

.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.clients-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.clients-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.clients-carousel {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

a.client-logo {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  padding: 2rem 1.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  text-decoration: none;
}

a.client-logo:hover {
  transform: translateY(-8px);
  box-shadow: none;
  z-index: 1;
}

.client-logo-img {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover .client-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── About ── */
.about {
  padding: 8rem 0 10rem 0;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.about-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.about-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-hero);
  filter: blur(40px);
}

.about-circle-1 {
  width: 320px;
  height: 320px;
  top: -110px;
  right: -110px;
  opacity: 0.18;
}

.about-circle-2 {
  width: 280px;
  height: 280px;
  top: 15%;
  right: -80px;
  opacity: 0.14;
}

.about-circle-3 {
  width: 240px;
  height: 240px;
  top: 40%;
  right: -70px;
  opacity: 0.12;
}

.about-circle-4 {
  width: 300px;
  height: 300px;
  bottom: 15%;
  right: -90px;
  opacity: 0.16;
}

.about-circle-5 {
  width: 260px;
  height: 260px;
  bottom: -100px;
  right: -95px;
  opacity: 0.15;
}

.about .container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 8rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: transparent;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  box-shadow: none;
  border: none;
}

.blob {
  position: absolute;
  filter: blur(2px);
  z-index: 1;
}

.profile-picture {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  max-height: 800px;
  width: auto;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--gradient-hero);
  top: 5%;
  left: -10%;
  opacity: 1;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobMorph1 8s ease-in-out infinite;
}

.blob-2 {
  width: 320px;
  height: 320px;
  background: var(--gradient-hero);
  bottom: 10%;
  right: -5%;
  opacity: 0.8;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blobMorph2 10s ease-in-out infinite;
}

@keyframes blobMorph1 {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

@keyframes blobMorph2 {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  50% {
    border-radius: 70% 30% 50% 50% / 30% 70% 40% 60%;
  }
}

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

.about-badge {
  position: absolute;
  background: white;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 91, 234, 0.15);
  z-index: 3;
  transition: all 0.3s ease;
  animation: badgeFloat 3s ease-in-out infinite;
}

.about-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 91, 234, 0.25);
}

.badge-1 {
  top: 10%;
  right: -20px;
  text-align: center;
}

.badge-2 {
  bottom: 30%;
  left: -25px;
  text-align: center;
  animation-delay: 0s;
}

.badge-3 {
  bottom: 10%;
  right: -15px;
  padding: 0.75rem 1rem;
  animation-delay: 1.5s;
}

.badge-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
  line-height: 1.2;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.about-content h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.about-content .role {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ── Contact ── */
.contact {
  padding: 5rem 0;
  background: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.contact > .container > p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.contact-options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.upwork-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.upwork-link:hover {
  color: var(--color-accent1);
  transform: translateY(-1px);
}

.contact-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 300;
  background: white;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 107, 173, 0.08);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 4px 16px rgba(0, 107, 173, 0.2);
}

.contact-form button {
  width: 100%;
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  border-top: none;
  background: var(--gradient-hero);
  box-shadow: none;
  margin-top: -4px;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.footer-logo {
  margin-bottom: 0;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-logo {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  box-shadow: none;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Header Scroll Animation ── */
.header {
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.header.header-scrolled {
  background: linear-gradient(135deg, #005bea, #00b0f0, #00c6fb);
  box-shadow: 0 2px 12px rgba(0, 91, 234, 0.25);
}

.header.header-scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.header.header-scrolled .nav-links a:hover {
  color: #ffffff;
}

.header.header-scrolled .nav-links a::after {
  background: #ffffff;
}

.header.header-scrolled .nav-cta {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.header.header-scrolled .nav-cta:hover {
  background: rgba(255, 255, 255, 0.35);
}

.header.header-scrolled .logo {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

/* ── Hamburger Menu ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 102;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header.header-scrolled .hamburger span {
  background: white;
}

/* When menu is open, always use dark color for X */
.hamburger-active span {
  background: var(--color-text) !important;
}


.hamburger-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-active span:nth-child(2) {
  opacity: 0;
}

.hamburger-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-cta-mobile {
  display: none;
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 1rem 1rem;
  }

  .header.header-scrolled .nav-links {
    background: linear-gradient(135deg, #005bea, #00b0f0, #00c6fb);
  }

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

  .nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.75rem 0;
    width: 100%;
    text-align: center;
  }

  .header.header-scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.95);
  }

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

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-block;
    font-size: 1rem !important;
    font-weight: 500;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: var(--color-primary);
    margin-top: 0.5rem;
  }

  .header.header-scrolled .nav-cta-mobile {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  /* Hero */
  .hero .container {
    max-width: 100%;
    padding: 6rem 2rem 4rem;
  }

  .hero-content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-content-left {
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
    font-size: 1.25rem;
  }

  .hero-chart {
    max-width: 350px;
    height: 300px;
  }

  .chart-data-box {
    padding: 0.35rem 0.75rem;
  }

  .chart-text {
    font-size: 0.65rem;
  }

  .chart-icon {
    font-size: 1rem;
  }

  /* About */
  .about {
    padding: 4rem 0 5rem;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-content {
    text-align: center;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-circle {
    opacity: 0.08;
  }

  .blob-1 {
    width: 280px;
    height: 280px;
  }

  /* Why section */
  .why-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Clients */
  .clients-carousel-wrapper {
    max-width: 90vw;
  }

  .clients-carousel-wrapper::before,
  .clients-carousel-wrapper::after {
    width: 50px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    min-height: 100vh;
  }

  .hero .container {
    max-width: 100%;
    padding: 5rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-content-right {
    display: none;
  }

  .hero-content-wrapper {
    margin-bottom: 2rem;
  }

  .hero-actions {
    margin-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .services,
  .why,
  .clients,
  .contact {
    padding: 3rem 0;
  }

  .about {
    padding: 3rem 0 3.5rem;
  }

  .services h2,
  .why h2,
  .clients h2,
  .about-content h2,
  .contact h2 {
    font-size: 1.75rem;
  }

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

  .service-card {
    padding: 2rem;
  }

  .why-list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-list li {
    padding: 1.75rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .clients .container {
    padding: 0;
  }

  .clients h2 {
    padding: 0 1.25rem;
  }

  .contact-options {
    flex-direction: column;
    gap: 1rem;
  }

  .clients-carousel-wrapper {
    max-width: 100vw;
  }

  a.client-logo {
    width: 150px;
    padding: 1.5rem 1rem;
  }

  .client-logo-img {
    max-height: 100px;
  }

  .about-image {
    max-width: 240px;
  }

  .about .container {
    gap: 2rem;
  }

  .about-badge {
    padding: 0.6rem 0.8rem;
  }

  .badge-number {
    font-size: 1.25rem;
  }

  .badge-label {
    font-size: 0.65rem;
  }

  .badge-2 {
    left: -10px;
  }

  .badge-3 {
    right: -5px;
  }

  .blob-1 {
    width: 220px;
    height: 220px;
  }

  .about-circle {
    display: none;
  }

  .profile-picture {
    max-width: 400px;
    max-height: 400px;
  }

  .footer-top {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
