:root {
  --theme-primary: #8b5cf6;
  --theme-secondary: #7c3aed;
  --theme-dark: #4c1d95;
  --theme-light: #faf5ff;
  --glass-bg: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--theme-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.2) 0%, transparent 55%),
    linear-gradient(130deg, #4c1d95 0%, #5b21b6 50%, #6d28d9 100%);
  color: #fff;
  overflow: hidden;
  padding: 5rem 0 4rem;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-section::after,
.hero-section::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(60px);
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.hero-section::before {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -160px;
  animation-delay: 0s;
}

.hero-section::after {
  width: 260px;
  height: 260px;
  bottom: -80px;
  left: -100px;
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--theme-primary);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: center;
}

/* Modern Buttons */
.btn-gradient,
.wa-btn {
  color: #fff;
  padding: 0;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding-left: 2rem;
  padding-right: 2rem;
  white-space: nowrap;
  box-sizing: border-box;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* Desktop: Ensure buttons have same width */
@media (min-width: 992px) {
  .hero-cta {
    justify-content: flex-start;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 600px;
  }
  
  .hero-cta .btn-gradient,
  .hero-cta .wa-btn {
    width: 100%;
    min-width: 0;
  }
}

.btn-gradient i, .btn-gradient svg,
.wa-btn i, .wa-btn svg {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-gradient::before,
.wa-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-gradient:hover::before,
.wa-btn:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: #fff;
}

.btn-gradient:active {
  transform: translateY(-1px);
}

.wa-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  color: #fff;
  animation: none;
}

.wa-btn:active {
  transform: translateY(-1px);
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  backdrop-filter: blur(18px);
}

.breadcrumb {
  background: transparent;
  padding-left: 0;
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--theme-primary);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--theme-secondary);
}

/* Cards */
.trust-card,
.package-card,
.value-card,
.info-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trust-card::before,
.package-card::before,
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.trust-card:hover::before,
.package-card:hover::before,
.value-card:hover::before {
  transform: scaleX(1);
}

.trust-card:hover,
.package-card:hover,
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
}

.trust-icon,
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--theme-light), rgba(139, 92, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-primary);
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.trust-card:hover .trust-icon,
.value-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
  color: #fff;
}

.package-card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.package-card .package-features {
  flex-grow: 1;
}

.package-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-primary);
}

.premium-pill {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.25));
  color: var(--theme-primary);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.2s ease;
}

.package-features li:hover {
  transform: translateX(5px);
}

.package-features li i, .package-features li svg {
  color: #16a34a;
  font-size: 1.1rem;
}

.cta-section {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.1);
  color: var(--theme-primary);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.location-badge:hover {
  background: var(--theme-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.guarantee-section {
  background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(76, 29, 149, 0.5);
}

.guarantee-section::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 8s ease-in-out infinite;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0.15));
  color: #fff;
  margin-top: 1.25rem;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  transition: transform 0.3s ease;
}

.guarantee-badge:hover {
  transform: scale(1.05);
}

.testi-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 2rem;
  min-height: 200px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testi-card p {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--theme-primary);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border-color: var(--theme-primary);
}

.map-responsive {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-responsive:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.2);
}

.map-responsive iframe {
  border: none;
  border-radius: 1.25rem;
}

/* Section Titles */
h2.fw-bold {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.text-center h2.fw-bold::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
  border-radius: 2px;
}

/* Ensure equal height for cards in rows */
.row.g-4 {
  display: flex;
  flex-wrap: wrap;
}

.row.g-4 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.row.g-4 > [class*="col-"] > * {
  flex: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    padding: 4rem 0 3rem;
    min-height: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .btn-gradient,
  .wa-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero-section {
    text-align: center;
    padding: 3rem 0 2.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .highlight-pill {
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .trust-card,
  .package-card,
  .value-card,
  .info-card {
    padding: 1.5rem;
  }

  .guarantee-section {
    padding: 2rem 1.5rem;
  }

  .testi-card {
    padding: 1.5rem;
  }

  .location-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
  }
}

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

