/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary-color: #06d6a0;
  --accent-color: #f72585;
  
  /* Neutral Colors */
  --white-color: #ffffff;
  --light-color: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Success & Error Colors */
  --success-color: #06d6a0;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: --primary-color;
  
  /* Typography */
  --body-font: 'Inter', sans-serif;
  --heading-font: 'Poppins', sans-serif;
  
  /* Font Sizes */
  --biggest-font-size: 3.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.875rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  
  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  
  /* Margins */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  
  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --border-radius-sm: 0.375rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--gray-700);
  line-height: 1.6;
  background-color: var(--white-color);
}

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  color: var(--gray-900);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
}

.section {
  padding: 6rem 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--mb-0-5);
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section__description {
  color: var(--gray-500);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius-full);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white-color);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-200);
}

.scroll-header {
  box-shadow: var(--shadow-md);
}

.nav {
  height: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--heading-font);
  font-weight: var(--font-bold);
  font-size: 1.25rem;
  color: var(--gray-900);
}

.nav__logo i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--gray-600);
  font-weight: var(--font-medium);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.25rem;
  color: var(--gray-700);
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  padding-top: 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__data {
  z-index: 1;
}

.hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: var(--mb-1);
  line-height: 1.1;
}

.hero__description {
  font-size: 1.125rem;
  color: var(--gray-500);
  margin-bottom: var(--mb-2);
  line-height: 1.7;
}

.hero__features {
  display: grid;
  gap: 1rem;
  margin-bottom: var(--mb-2);
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-600);
}

.hero__feature i {
  color: var(--success-color);
  font-size: 1.25rem;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--mb-3);
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  width: 400px;
  filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.2));
}

.hero__stats {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-card {
  background: var(--white-color);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 100px;
}

.stat-card h3 {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-0-25);
}

.stat-card p {
  font-size: var(--small-font-size);
  color: var(--gray-500);
}

/* ===== CHALLENGES ===== */
.challenges {
  background: var(--light-color);
}

.challenges__container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.challenge__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}

.challenge__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.challenge__card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: var(--mb-1);
}

.challenge__card h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.challenge__card p {
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.services__container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}

.service__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
}

.service__icon i {
  font-size: 2rem;
  color: var(--white-color);
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.service__description {
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== WHY SEO STATS ===== */
.why-seo {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white-color);
}

.why-seo .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.why-seo .section__title {
  color: var(--white-color);
}

.why-seo .section__description {
  color: rgba(255, 255, 255, 0.8);
}

.stats__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat__item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  backdrop-filter: blur(10px);
}

.stat__number {
  font-size: 3rem;
  font-weight: var(--font-bold);
  color: var(--secondary-color);
  margin-bottom: var(--mb-1);
}

.stat__item h3 {
  color: var(--white-color);
  margin-bottom: var(--mb-1);
}

.stat__item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__img {
  border-radius: var(--border-radius-2xl);
  filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.15));
}

.about__features {
  display: grid;
  gap: 1.5rem;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about__feature i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.about__feature h4 {
  font-size: 1.125rem;
  margin-bottom: var(--mb-0-5);
}

.about__feature p {
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== PROCESS ===== */
.process {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 100%);
  position: relative;
  overflow: hidden;
  color: var(--white-color);
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(247, 37, 133, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.process__card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  transform: translateY(0);
}

.process__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(99, 102, 241, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
}

.process__card:hover .card__glow {
  opacity: 1;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(200%) rotate(45deg); }
}

.card__header {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.step__icon-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step__icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px currentColor);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.step__number {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.step__number::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.process__card:hover .step__number::before {
  transform: translateX(100%);
}

.step__badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  border: 1px solid;
}

.step__badge.discovery {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-color: #60a5fa;
  color: white;
}

.step__badge.research {
  background: linear-gradient(135deg, #10b981, #047857);
  border-color: #34d399;
  color: white;
}

.step__badge.optimization {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fbbf24;
  color: white;
}

.step__badge.technical {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border-color: #a78bfa;
  color: white;
}

.step__badge.local {
  background: linear-gradient(135deg, #ec4899, #be185d);
  border-color: #f472b6;
  color: white;
}

.step__badge.content {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  border-color: #22d3ee;
  color: white;
}

.step__badge.authority {
  background: linear-gradient(135deg, #84cc16, #65a30d);
  border-color: #a3e635;
  color: white;
}

.step__badge.monitoring {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: #f87171;
  color: white;
}

.card__content {
  padding: 0 2rem 1rem;
}

.card__content h3 {
  margin-bottom: 1rem;
  color: var(--white-color);
  font-size: 1.25rem;
  line-height: 1.4;
}

.card__content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.feature__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature__item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.feature__icon {
  font-size: 1.25rem;
  opacity: 0.9;
}

.feature__item span:last-child {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.card__footer {
  padding: 1rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.progress__bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
  transition: width 1s ease-in-out;
  position: relative;
}

.progress__fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress__text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.process__flow {
  margin: 4rem 0 2rem;
  display: flex;
  justify-content: center;
}

.flow__line {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.flow__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.flow__dot.active {
  background: var(--primary-color);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.flow__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease;
}

.flow__dot.active::before {
  transform: translate(-50%, -50%) scale(1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.process__stats {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.process__stats .stat__item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.process__stats .stat__item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.process__stats .stat__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.process__stats .stat__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.process__stats .stat__number {
  font-size: 2.5rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process__stats .stat__label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-medium);
  font-size: 0.95rem;
}

/* Animation delays for cards */
.process__card[data-step="1"] { animation: fadeInUp 0.6s ease 0.1s both; }
.process__card[data-step="2"] { animation: fadeInUp 0.6s ease 0.2s both; }
.process__card[data-step="3"] { animation: fadeInUp 0.6s ease 0.3s both; }
.process__card[data-step="4"] { animation: fadeInUp 0.6s ease 0.4s both; }
.process__card[data-step="5"] { animation: fadeInUp 0.6s ease 0.5s both; }
.process__card[data-step="6"] { animation: fadeInUp 0.6s ease 0.6s both; }
.process__card[data-step="7"] { animation: fadeInUp 0.6s ease 0.7s both; }
.process__card[data-step="8"] { animation: fadeInUp 0.6s ease 0.8s both; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .process__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process__card {
    margin: 0 1rem;
  }
  
  .step__icon-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .flow__line {
    gap: 1rem;
  }
}

/* ===== CASE STUDIES ===== */
.case-studies__container {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-study__card {
  background: var(--white-color);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.case-study__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case-study__image {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.case-study__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  max-width: 180px;
  max-height: 140px;
}

.case-study__card:hover .case-study__image img {
  transform: scale(1.05);
}

.case-study__content {
  padding: 2rem;
}

.case-study__content h3 {
  margin-bottom: var(--mb-1);
}

.case-study__result {
  background: var(--light-color);
  padding: 1rem;
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--mb-1);
  text-align: center;
}

.result__number {
  font-size: 2rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  display: block;
}

.result__text {
  color: var(--gray-600);
  font-size: var(--small-font-size);
}

.case-study__content p {
  color: var(--gray-500);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

.case-study__link {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.case-study__link:hover {
  gap: 0.75rem;
}

/* ===== AUDIT SECTION ===== */
.audit {
  background: linear-gradient(135deg, var(--light-color) 0%, #f8faff 100%);
  position: relative;
  overflow: hidden;
}

.audit__container {
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.audit__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Enhanced Header */
.audit__header {
  margin-bottom: 2rem;
}

.audit__subtitle-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, var(--primary-color), #8b5cf6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

.audit__gift-icon {
  font-size: 1rem;
}

.audit__title-enhanced {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 1rem 0;
}

.audit__title-highlight {
  background: linear-gradient(45deg, var(--primary-color), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.audit__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--success-color);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  animation: float 3s ease-in-out infinite;
}

/* Enhanced Description */
.audit__description-enhanced {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* Enhanced Benefits */
.audit__benefits {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.audit__benefit-enhanced {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  animation: slideInLeft 0.6s ease-out;
}

.audit__benefit-enhanced:nth-child(2) {
  animation-delay: 0.1s;
}

.audit__benefit-enhanced:nth-child(3) {
  animation-delay: 0.2s;
}

.audit__benefit-enhanced:nth-child(4) {
  animation-delay: 0.3s;
}

.audit__benefit-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.audit__benefit-icon {
  background: linear-gradient(45deg, var(--primary-color), #8b5cf6);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.audit__benefit-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.audit__benefit-title {
  font-weight: 600;
  color: var(--dark-color);
  font-size: 1rem;
}

.audit__benefit-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Stats Section */
.audit__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.audit__stat {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.audit__stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.audit__stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* Enhanced Form */
.audit__form-wrapper {
  position: relative;
  animation: slideInRight 0.8s ease-out;
}

.audit__form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.audit__form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.audit__form-subtitle {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.audit__form-enhanced {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-2xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: hidden;
}

.audit__form-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary-color), #8b5cf6);
}

.audit__input-enhanced {
  font-size: 1rem;
  padding: 1.25rem 1rem 1.25rem 3.5rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
}

.audit__input-enhanced:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.audit__submit-btn {
  background: linear-gradient(45deg, var(--primary-color), #8b5cf6);
  border: none;
  padding: 1.25rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.audit__submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.audit__submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.audit__submit-btn:hover::before {
  left: 100%;
}

.btn__icon {
  transition: transform 0.3s ease;
}

.audit__submit-btn:hover .btn__icon {
  transform: translateX(3px);
}

.audit__form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.audit__form-note i {
  color: var(--success-color);
}

/* Background Elements */
.audit__bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.audit__bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  animation: float 6s ease-in-out infinite;
}

.audit__bg-circle--1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.audit__bg-circle--2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation-delay: 3s;
}

.audit__bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: slide 10s linear infinite;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-20px) translateY(-20px);
  }
}

/* Responsive Design for Audit Section */
@media screen and (max-width: 968px) {
  .audit__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .audit__title-enhanced {
    font-size: 2rem;
  }
  
  .audit__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .audit__stat {
    padding: 0.75rem;
  }
  
  .audit__stat-number {
    font-size: 1.25rem;
  }
  
  .audit__form-enhanced {
    padding: 2rem;
  }
  
  .audit__bg-circle--1 {
    width: 150px;
    height: 150px;
    top: 5%;
    right: 5%;
  }
  
  .audit__bg-circle--2 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 5%;
  }
}

@media screen and (max-width: 768px) {
  .audit__title-enhanced {
    font-size: 1.75rem;
  }
  
  .audit__description-enhanced {
    font-size: 1rem;
  }
  
  .audit__stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .audit__stat {
    padding: 1rem;
  }
  
  .audit__benefit-enhanced {
    padding: 0.75rem;
  }
  
  .audit__benefit-icon {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }
  
  .audit__form-enhanced {
    padding: 1.5rem;
  }
  
  .audit__submit-btn {
    padding: 1rem 1.5rem;
  }
}

/* ===== FORMS ===== */
.form__group {
  position: relative;
  margin-bottom: var(--mb-1-5);
}

.form__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius);
  font-size: var(--normal-font-size);
  transition: var(--transition);
  background: var(--white-color);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--gray-400);
  transition: var(--transition);
  pointer-events: none;
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: var(--smaller-font-size);
  color: var(--primary-color);
  background: var(--white-color);
  padding: 0 0.25rem;
}

/* ===== AUDIT FORM SPECIFIC STYLES ===== */
.audit__input-group {
  margin-bottom: 2rem;
}

.form__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form__icon {
  position: absolute;
  left: 1rem;
  color: var(--gray-400);
  font-size: 1.125rem;
  z-index: 1;
  transition: var(--transition);
}

.form__input--with-icon {
  padding-left: 3rem;
}

.form__input--with-icon:focus + .form__icon,
.form__input-wrapper:focus-within .form__icon {
  color: var(--primary-color);
}

/* ===== FAQ ===== */
.faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--white-color);
  border-radius: var(--border-radius-lg);
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.faq__question:hover {
  background: var(--light-color);
}

.faq__question h3 {
  font-size: 1.125rem;
  color: var(--gray-900);
}

.faq__question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq__item.active .faq__question i {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 200px;
}

.faq__answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__info {
  display: grid;
  gap: 2rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.contact__item h3 {
  margin-bottom: var(--mb-0-5);
}

.contact__item p {
  color: var(--gray-500);
  line-height: 1.6;
}

.contact__form-container {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer__content {
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: var(--mb-2);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--heading-font);
  font-weight: var(--font-bold);
  font-size: 1.25rem;
  margin-bottom: var(--mb-1);
}

.footer__logo i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.footer__description {
  color: var(--gray-400);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__social {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer__social:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.footer__list {
  display: grid;
  gap: 0.75rem;
}

.footer__link {
  color: var(--gray-400);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--white-color);
}

.footer__info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.footer__info i {
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.footer__bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--mb-1);
  text-align: center;
}

.footer__copy {
  color: var(--gray-400);
  font-size: var(--small-font-size);
}

.footer__copy .footer__link {
  color: var(--primary-color);
}

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background: var(--primary-color);
  color: var(--white-color);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
  z-index: var(--z-tooltip);
  box-shadow: var(--shadow-lg);
}

.scrollup:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.show-scroll {
  bottom: 3rem;
}

/* ===== RESPONSIVE ===== */
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }

  .section {
    padding: 4rem 0 2rem;
  }

  .hero__container,
  .about__container,
  .contact__container,
  .audit__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__data {
    text-align: center;
    order: 2;
  }

  .hero__image {
    order: 1;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .services__container,
  .challenges__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .footer__content {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__step {
    flex-direction: column;
    text-align: center;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white-color);
    padding: 6rem 2rem 2rem;
    transition: var(--transition);
    z-index: var(--z-fixed);
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }

  .nav__link {
    font-size: 1.125rem;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .nav__toggle {
    display: block;
  }

  .show-menu {
    right: 0;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__stats {
    position: static;
    transform: none;
    margin-top: 2rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .stats__container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .hero__title {
    font-size: 1.75rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .services__container,
  .challenges__container {
    grid-template-columns: 1fr;
  }

  .case-studies__container {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-width: auto;
  }
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar {
  width: 0.6rem;
  background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ===== NEW STYLES FOR CASE STUDIES METRICS ===== */
.case-study__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.metric {
  text-align: center;
  padding: 0.75rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.metric:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.metric__number {
  display: block;
  font-size: 1.1rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.metric__label {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
