:root {
  --brand-green: #86a614;
  --brand-purple: #8a1c8c;
  --brand-lilac: #e4c2f2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  position: relative;
}

.pattern-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(138, 28, 140, 0.16) 1px,
    transparent 0
  );
  background-size: 120px 120px;
  opacity: 0.4;
  z-index: 0;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand-purple);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-green));
  color: #fff;
  box-shadow: 0 20px 40px rgba(138, 28, 140, 0.25);
}

.btn-secondary {
  border: 1px solid rgba(134, 166, 20, 0.5);
  color: var(--brand-green);
  background-color: rgba(228, 194, 242, 0.3);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background-color: rgba(134, 166, 20, 0.08);
}

.hero-card {
  border-radius: 34px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(
    180deg,
    rgba(138, 28, 140, 0.16),
    rgba(134, 166, 20, 0.08)
  );
  box-shadow: 0 40px 70px rgba(22, 8, 23, 0.15);
}

.floating-card {
  position: absolute;
  left: 10%;
  bottom: -3rem;
  width: min(80%, 320px);
  padding: 1.4rem;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 30px 60px rgba(34, 17, 35, 0.25);
}

.service-card {
  padding: 2rem;
  border-radius: 24px;
  background-color: #fff;
  border: 1px solid rgba(12, 10, 7, 0.05);
  box-shadow: 0 25px 60px rgba(24, 12, 25, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 28, 140, 0.25);
}

.service-card h3 {
  margin-top: 1.3rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.service-card p {
  margin-top: 0.7rem;
  color: #475569;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-purple);
  border-radius: 999px;
  background-color: rgba(138, 28, 140, 0.1);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.2;
  font-weight: 600;
  color: #111827;
}

.section-copy {
  color: #475569;
  font-size: 1rem;
}

.about-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  border: 1px dashed rgba(138, 28, 140, 0.3);
  animation: pulse 6s ease-in-out infinite;
}

.about-pill {
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background-color: rgba(134, 166, 20, 0.15);
  font-weight: 500;
  color: #3b3b3b;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(138, 28, 140, 0.3);
  color: var(--brand-purple);
  background-color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand-purple);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
}

.icon-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.testimonial-card {
  padding: 1.8rem;
  border-radius: 24px;
  background-color: #fff;
  box-shadow: 0 18px 40px rgba(20, 7, 21, 0.12);
  border: 1px solid rgba(138, 28, 140, 0.08);
}

.testimonial-card p {
  color: #475569;
  line-height: 1.7;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #475569;
}

.form-input {
  width: 100%;
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background-color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 2px rgba(138, 28, 140, 0.2);
}

.contact-card {
  padding: 2rem;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(138, 28, 140, 0.12);
  box-shadow: 0 30px 60px rgba(18, 9, 19, 0.12);
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(0.95);
  }
}

@media (max-width: 640px) {
  .floating-card {
    position: static;
    margin-top: 1.5rem;
    width: 100%;
  }

  .hero-card {
    min-height: 320px;
  }
}
