/* CSS Custom Properties (Variables) */
:root {
  /* Colors */
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-lighter: #f1f5f9;
  --bg-dark: #1e293b;
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --text-white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: rgba(15, 23, 42, 0.08);
  --shadow-md: rgba(15, 23, 42, 0.12);
  --shadow-lg: rgba(15, 23, 42, 0.15);
  --shadow-xl: rgba(15, 23, 42, 0.25);
  --glow: rgba(59, 130, 246, 0.5);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Layout */
  --container-max-width: 1200px;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Utility Classes */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.section__description {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: var(--text-white);
  padding: 8px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition);
  z-index: 1000;
}

.skip-to-content:focus {
  top: 6px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px; /* Accessibility: minimum touch target */
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
}

.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.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn--primary:hover,
.btn--primary:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  border: 2px solid var(--primary);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover,
.btn--secondary:focus {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn--light {
  background: var(--text-white);
  color: var(--primary);
  box-shadow: 0 4px 15px var(--shadow-lg);
}

.btn--light:hover,
.btn--light:focus {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-xl);
}

.btn--full {
  width: 100%;
}

.btn:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px var(--shadow);
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--border-light);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px var(--shadow-lg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
  position: relative;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: transform 0.3s ease;
}

.nav__brand:hover {
  transform: scale(1.05);
}

.nav__logo {
  /* width: 45px; */
  height: 45px;
  object-fit: contain;
  /* border-radius: 50%; */
  /* box-shadow: 0 4px 12px var(--shadow); */
  transition: all 0.3s ease;
}

/* .nav__logo:hover {
  box-shadow: 0 6px 20px var(--shadow-lg);
  transform: rotate(5deg);
} */

.nav__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.nav__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav__link:hover::before,
.nav__link:focus::before {
  opacity: 0.1;
}

.nav__link:hover,
.nav__link:focus,
.nav__link.active {
  color: var(--primary);
  transform: translateY(-2px);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--glow);
}

.nav__toggle,
.nav__close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: var(--spacing-xs);
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg);
    box-shadow: -2px 0 10px var(--shadow);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav__menu.show {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    padding: var(--spacing-2xl) var(--spacing-lg);
    gap: var(--spacing-lg);
  }

  .nav__close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    display: block;
  }

  .nav__toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 50%, var(--bg-lighter) 100%);
  padding: calc(90px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

.hero__container {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__description {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 0.7s forwards;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 0.9s forwards;
}

/* Trust Badges */
.trust-badges {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  padding: var(--spacing-xl) 0;
  position: relative;
}

.trust-badges::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trust-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.trust-badge:hover::before {
  left: 100%;
}

.trust-badge:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 35px var(--shadow-lg);
  background: rgba(255, 255, 255, 0.9);
}

.trust-badge__icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
  filter: drop-shadow(0 4px 8px var(--shadow));
  transition: transform 0.3s ease;
}

.trust-badge:hover .trust-badge__icon {
  transform: scale(1.2) rotateY(360deg);
}

.trust-badge__text {
  font-weight: 600;
  color: var(--text);
  position: relative;
  z-index: 2;
}

/* Services Section */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.service-card {
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-light) 100%);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 25px var(--shadow);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.service-card:hover::after {
  width: 300px;
  height: 300px;
}

.service-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 25px 50px var(--shadow-xl);
  border-color: rgba(59, 130, 246, 0.2);
}

.service-card__icon {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 8px var(--shadow));
  position: relative;
  z-index: 2;
}

.service-card:hover .service-card__icon {
  transform: scale(1.2) rotateY(360deg);
  filter: drop-shadow(0 8px 16px var(--shadow-lg));
}

.service-card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.service-card:hover .service-card__title {
  color: var(--primary);
}

.service-card__description {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.service-card__link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.service-card__link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.service-card__link:hover {
  color: var(--primary-dark);
}

.service-card__link:hover::after {
  transform: translateX(4px);
}

/* Projects Section */
.projects {
  background-color: var(--bg-light);
}

.projects__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-bottom: var(--spacing-xl);
}

.filter-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transition: left 0.5s ease;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover,
.filter-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-lg);
  border-color: var(--primary-light);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px) scale(1.05);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.project-card {
  background: var(--bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid var(--border-light);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px var(--shadow-xl);
  border-color: rgba(59, 130, 246, 0.3);
}

.project-card.hidden {
  display: none;
}

.project-card__image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: var(--font-size-sm);
  position: relative;
  overflow: hidden;
}

.project-card__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(245, 158, 11, 0.1) 50%,
    rgba(59, 130, 246, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-card__image::before {
  opacity: 1;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card__image img {
  transform: scale(1.1);
}

.project-card__content {
  padding: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.project-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-xs);
  transition: color 0.3s ease;
}

.project-card:hover .project-card__title {
  color: var(--primary);
}

.project-card__location {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.project-card__location::before {
  content: '📍';
  font-size: 0.875rem;
}

/* Why Choose Us Section */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  background-color: var(--bg);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: 0 2px 4px var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px var(--shadow-lg);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.feature-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.feature-card__description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Process Section */
.process {
  background-color: var(--bg-light);
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.process__step {
  text-align: center;
  position: relative;
}

.process__number {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto var(--spacing-md);
}

.process__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.process__description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials__carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.testimonial-card {
  display: none;
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-light) 100%);
  padding: var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 35px var(--shadow-lg);
  text-align: center;
  position: relative;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--primary-light);
  font-family: serif;
  opacity: 0.3;
}

.testimonial-card.active {
  display: block;
  animation: testimonialSlide 0.6s ease-out;
}

@keyframes testimonialSlide {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.testimonial__stars {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-lg);
  filter: drop-shadow(0 2px 4px var(--shadow));
}

.testimonial__text {
  font-size: var(--font-size-lg);
  color: var(--text);
  margin-bottom: var(--spacing-xl);
  font-style: italic;
  line-height: 1.7;
  position: relative;
}

.testimonial__author {
  color: var(--text-light);
  position: relative;
}

.testimonial__author::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.testimonial__author strong {
  color: var(--text);
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-lg);
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary);
  background-color: var(--bg);
  color: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: var(--font-size-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__btn:hover,
.testimonials__btn:focus {
  background-color: var(--primary);
  color: var(--text-white);
}

/* About Section */
.about {
  background-color: var(--bg-light);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about__description {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--primary);
}

.stat__label {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.about__locations h3 {
  color: var(--text);
  margin-bottom: var(--spacing-xs);
}

.about__locations p {
  color: var(--text-light);
}

.about__image {
  width: 100%;
  height: 400px;
  background-color: var(--bg);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  text-align: center;
  padding: var(--spacing-2xl) 0;
}

.cta-banner__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.cta-banner__description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

/* Contact Section */
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
}

.contact__details {
  margin-bottom: var(--spacing-xl);
}

.contact__item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contact__icon {
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.contact__text h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-xs);
}

.contact__text p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact__map {
  margin-top: var(--spacing-lg);
}

.map-placeholder {
  width: 100%;
  height: 250px;
  background-color: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

/* Form Styles */
.contact__form {
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-light) 100%);
  padding: var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 35px var(--shadow-lg);
  position: relative;
  border: 1px solid var(--border-light);
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.form__group {
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.form__label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 4px 12px var(--shadow-md);
  transform: translateY(-2px);
  background: var(--bg);
}

.form__input:focus + .form__label,
.form__textarea:focus + .form__label {
  color: var(--primary);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__error {
  display: block;
  color: var(--error);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-sm);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form__error:not(:empty) {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer__brand h3 {
  margin-bottom: var(--spacing-sm);
}

.footer__logo {
  /* width: 40px; */
  border-radius: 10px;
  height: 40px;
  object-fit: contain;
  margin-bottom: var(--spacing-sm);
}

.footer__links h4,
.footer__services h4,
.footer__social h4 {
  margin-bottom: var(--spacing-md);
  color: var(--text-white);
}

.footer__links ul,
.footer__services ul {
  list-style: none;
}

.footer__links li,
.footer__services li {
  margin-bottom: var(--spacing-xs);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--text-white);
}

.social__links {
  display: flex;
  gap: var(--spacing-md);
}

.social__links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social__links a:hover {
  color: var(--text-white);
  transform: translateY(-2px);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #059669;
  color: var(--text-white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px var(--shadow-lg);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 1000;
  max-width: 400px;
}

.toast.show {
  transform: translateX(0);
}

.toast__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.toast__close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: var(--font-size-lg);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.in-view {
  opacity: 1;
  transform: scale(1);
}

.rotate-in {
  opacity: 0;
  transform: rotateY(-90deg);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-in.in-view {
  opacity: 1;
  transform: rotateY(0);
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--bg-light) 25%,
    var(--bg-lighter) 50%,
    var(--bg-light) 75%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Loading Animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Glitch Effect for Hover States */
.glitch {
  position: relative;
}

.glitch:hover::before,
.glitch:hover::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch:hover::before {
  animation: glitch1 0.3s infinite;
  color: var(--primary);
  z-index: -1;
}

.glitch:hover::after {
  animation: glitch2 0.3s infinite;
  color: var(--accent);
  z-index: -2;
}

@keyframes glitch1 {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

@keyframes glitch2 {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(2px, 2px);
  }
  40% {
    transform: translate(2px, -2px);
  }
  60% {
    transform: translate(-2px, 2px);
  }
  80% {
    transform: translate(-2px, -2px);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bg-light);
  z-index: 1001;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0%;
  transition: width 0.1s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --spacing-2xl: 2rem;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .trust-badges__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .process__timeline {
    grid-template-columns: 1fr;
  }

  .about__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .contact__content {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social__links {
    justify-content: center;
  }
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced Mobile Menu Animation */
@media screen and (max-width: 768px) {
  .nav__menu.show .nav__link {
    animation: slideInFromRight 0.6s ease forwards;
  }
  
  @keyframes slideInFromRight {
    0% {
      opacity: 0;
      transform: translateX(50px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* Improved Focus States */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
}

/* Selection Color */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text);
}

::-moz-selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text);
}

/* Print Styles */
@media print {
  .header,
  .nav__toggle,
  .scroll-indicator,
  .toast {
    display: none !important;
  }
  
  .hero {
    padding-top: var(--spacing-lg);
    min-height: auto;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  .btn {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    background: transparent !important;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .trust-badges__grid {
    grid-template-columns: 1fr;
  }

  .projects__filters {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 200px;
  }
}
