/* ========== BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== HERO GEOMETRIC SHAPES ========== */
.hero-shape {
  position: absolute;
  pointer-events: none;
}

.shape-circle-1 {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -150px;
}

.shape-circle-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.06);
  bottom: 10%;
  left: 5%;
}

.shape-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 24px;
  top: 25%;
  right: 3%;
  transform: rotate(15deg);
}

.shape-dots {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 38%;
  background-image: radial-gradient(circle, rgba(13, 148, 136, 0.15) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.7;
}

/* ========== ABOUT DIAMOND & STRIPES ========== */
.about-shape {
  position: absolute;
  pointer-events: none;
}

.shape-diamond {
  width: 300px;
  height: 300px;
  background: rgba(13, 148, 136, 0.08);
  transform: rotate(45deg);
  top: -50px;
  right: -80px;
  border-radius: 8px;
}

.shape-stripes {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.02) 20px,
    rgba(255, 255, 255, 0.02) 40px
  );
}

/* ========== CTA GEOMETRIC SHAPES ========== */
.cta-shape {
  position: absolute;
  pointer-events: none;
}

.shape-geo-1 {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -60px;
  left: 10%;
}

.shape-geo-2 {
  width: 150px;
  height: 150px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 30px;
  bottom: -30px;
  right: 15%;
  transform: rotate(30deg);
}

/* ========== SERVICE CARDS ========== */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0D9488, #14B8A6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ========== WHY CARDS ========== */
.why-card {
  position: relative;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.why-card:hover::after {
  width: 60%;
}

.why-card:nth-child(odd)::after {
  background: #0D9488;
}

.why-card:nth-child(even)::after {
  background: #1E293B;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========== MOBILE MENU ========== */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(30, 41, 59, 0.08);
  text-decoration: none;
}

.mobile-link:last-child {
  border-bottom: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
  .shape-circle-1 {
    width: 350px;
    height: 350px;
  }

  .shape-circle-2 {
    width: 180px;
    height: 180px;
  }

  .shape-rect-1 {
    width: 80px;
    height: 80px;
  }

  .shape-dots {
    width: 120px;
    height: 120px;
  }

  .shape-diamond {
    width: 180px;
    height: 180px;
  }

  .shape-stripes {
    width: 250px;
    height: 250px;
  }

  .shape-geo-1 {
    width: 150px;
    height: 150px;
  }

  .shape-geo-2 {
    width: 90px;
    height: 90px;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .why-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
  }

  .service-card:hover,
  .why-card:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
