/* Modern Design System */
:root {
  /* Colors - Richer, more vibrant palette */
  --primary-color: #d946ef; /* Vivid magenta */
  --primary-dark: #a21caf;
  --secondary-color: #fbbf24; /* Rich gold */
  --accent-red: #ef4444;
  --accent-red-glow: rgba(239, 68, 68, 0.4);

  /* Backgrounds with gradients */
  --dark-bg: #0f0a1f;
  --dark-bg-secondary: #1a0f2e;
  --card-bg: rgba(26, 15, 46, 0.8);
  --card-border: rgba(217, 70, 239, 0.2);

  /* Text colors */
  --text-light: #f3f4f6;
  --text-muted: #9ca3af;
  --text-accent: #fbbf24;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* Modern fonts */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter",
    sans-serif;
  --font-headings: "Georgia", "Playfair Display", serif;

  /* Shadows & effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(217, 70, 239, 0.3);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  line-height: 1.7;
  background: linear-gradient(135deg, #0f0a1f 0%, #1a0f2e 50%, #0f0a1f 100%);
  background-attachment: fixed;
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--space-md);
}

h1,
h2,
h3 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
  color: var(--text-light);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

/* Slightly larger base paragraph text for readability */
p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.section-padding {
  padding: var(--space-xl) 0;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

/* Modern Header & Navigation */
.site-header {
  background: rgba(15, 10, 31, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.logo a {
  color: var(--text-light);
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform var(--transition-base);
}

.logo a:hover {
  transform: scale(1.05);
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: var(--space-sm);
}

.main-nav li {
  margin-left: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: all var(--transition-base);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  background: transparent;
  border-color: var(--accent-red);
  color: var(--accent-red);
  transform: translateY(-2px) scale(1.05);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  position: relative;
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--text-light);
  transition: all 0.3s ease-in-out;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Modern Hero Section */
#hero {
  background: url("sl1.webp") no-repeat center center/cover;
  color: var(--text-light);
  text-align: center;
  padding: clamp(80px, 15vh, 140px) var(--space-md);
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 10, 31, 0.85) 0%,
    rgba(26, 15, 46, 0.75) 50%,
    rgba(15, 10, 31, 0.85) 100%
  );
  z-index: 1;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--dark-bg));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

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

#hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(
    135deg,
    #ffffff,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGlow 3s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(217, 70, 239, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(217, 70, 239, 0.8));
  }
}

#hero .phone-number a {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

#hero .phone-number a:hover {
  transform: scale(1.05);
  background: rgba(217, 70, 239, 0.2);
  border-color: var(--primary-color);
  box-shadow: 0 0 30px var(--accent-red-glow);
}

#hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-red)
  );
  padding: var(--space-sm) var(--space-md);
  display: inline-block;
  border-radius: 9999px;
  margin-bottom: var(--space-lg);
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
  animation: pulse 2s ease-in-out infinite;
}

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

/* Modern Buttons */
.btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: #ffffff;
  padding: 0.85rem 2rem;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 var(--space-sm);
  transition: all var(--transition-base);
  display: inline-block;
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

/* Modern Social Icons */
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.social-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  animation: float 3s ease-in-out infinite;
}

.social-item:nth-child(2) {
  animation-delay: 0.3s;
}

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

.social-label {
  color: var(--text-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.social-link {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
  background: rgba(26, 15, 46, 0.6);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  position: relative;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1) rotate(5deg);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.social-icon {
  display: block;
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Modern Back to Top Button */
.back-to-top {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 1100;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  background: linear-gradient(135deg, var(--dark-bg-secondary), var(--dark-bg));
  backdrop-filter: blur(10px);
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-glow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* About Section */
#about {
  background: var(--dark-bg);
  text-align: center;
  position: relative;
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(217, 70, 239, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

#about h2 {
  color: var(--accent-red);
  filter: drop-shadow(0 0 10px var(--accent-red-glow));
}

#about .section-subtitle {
  font-size: 1.35rem;
  color: var(--accent-red);
  margin-bottom: var(--space-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#about p.intro-p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--accent-red);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: var(--space-md);
  background: rgba(239, 68, 68, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Modern Services Section */
#services h2 {
  color: var(--accent-red);
  filter: drop-shadow(0 0 10px var(--accent-red-glow));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: var(--space-lg);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

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

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.service-card h3 {
  color: var(--text-accent);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card p {
  color: var(--text-accent);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

/* Modern Service images */
.service-card img,
.service-card .service-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin: var(--space-md) 0;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.service-card:hover img {
  transform: scale(1.05);
}

#services .section-subtitle {
  font-size: 1.4rem;
  color: var(--accent-red);
  font-weight: 700;
}

/* Modern Testimonials Section */
#testimonials {
  background: var(--dark-bg-secondary);
  position: relative;
}

#testimonials::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(217, 70, 239, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

#testimonials h2 {
  color: var(--accent-red);
  filter: drop-shadow(0 0 10px var(--accent-red-glow));
}

.testimonial-grid {
  display: grid;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.testimonial-content p {
  margin: 0 0 var(--space-md);
  color: var(--text-accent);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-content .author {
  margin-top: var(--space-md);
  font-weight: 700;
  font-style: normal;
  color: var(--text-accent);
  text-align: right;
  font-size: 1.05rem;
}

/* Modern Powers Section */
#powers h2 {
  color: var(--accent-red);
  filter: drop-shadow(0 0 10px var(--accent-red-glow));
}

#powers .section-subtitle {
  font-size: 1.35rem;
  color: var(--accent-red);
  font-weight: 700;
}

.powers-grid {
  display: grid;
  gap: var(--space-lg);
}

.power-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--card-border);
  text-align: center;
  position: relative;
}

.power-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.power-card:hover::after {
  opacity: 1;
}

.power-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.power-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.power-card:hover img {
  transform: scale(1.1);
}

.power-card-content {
  padding: var(--space-md);
}

.power-card h3 {
  margin: 0 0 var(--space-sm);
  color: var(--text-accent);
  font-size: 1.5rem;
  font-weight: 700;
}

.power-card p {
  color: var(--text-accent);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Modern Info/Content Cards */
#counseling h2,
#cleansing h2 {
  color: var(--accent-red);
  filter: drop-shadow(0 0 10px var(--accent-red-glow));
}

#counseling .section-subtitle,
#cleansing .section-subtitle {
  color: var(--accent-red);
  font-weight: 700;
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.info-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: var(--space-lg);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.card-title {
  margin-top: 0;
  margin-bottom: var(--space-md);
  color: var(--accent-red);
  font-size: 1.35rem;
  font-weight: 700;
}

.clean-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.clean-list li {
  position: relative;
  padding-left: 28px;
  margin: var(--space-sm) 0;
  color: var(--text-accent);
  font-size: 1.05rem;
  line-height: 1.7;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  box-shadow: 0 0 8px rgba(217, 70, 239, 0.5);
}

.note-box {
  margin-top: var(--space-lg);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent-red);
  border-radius: 16px;
  padding: var(--space-lg);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.note-box p:first-child {
  color: var(--accent-red);
  font-weight: 700;
  font-size: 1.15rem;
}

#counseling .info-card p,
#counseling .clean-list li,
#cleansing .clean-list li,
.note-box p:not(:first-child),
.note-box li {
  color: var(--text-accent);
}

/* Modern Footer */
.site-footer {
  background: linear-gradient(
    180deg,
    var(--dark-bg) 0%,
    var(--dark-bg-secondary) 100%
  );
  color: var(--text-light);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--card-border);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(217, 70, 239, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer p {
  font-size: 1.05rem;
  margin: var(--space-sm) 0;
}

.site-footer .phone-number a {
  color: var(--text-light);
  font-size: 1.65rem;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

.site-footer .phone-number a:hover {
  transform: scale(1.05);
  background: rgba(217, 70, 239, 0.2);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.site-footer .cta-buttons {
  margin: var(--space-lg) 0;
}

/* Phone Number Styling */
.phone-number a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.phone-icon {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Enhanced Animation Styles */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1.2s ease-out forwards;
}

.animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.js .animate-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Enhanced blinking red emphasis */
@keyframes blinkStrongRed {
  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
  }
  50% {
    opacity: 0.85;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.9);
    filter: drop-shadow(0 0 15px rgba(239, 68, 68, 0.7));
  }
}

.blink-strong-red {
  animation: blinkStrongRed 2s ease-in-out infinite;
}

/* Modern Responsive Styles */
@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-lg: 2rem;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    background: rgba(15, 10, 31, 0.98);
    backdrop-filter: blur(20px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-lg);
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-bottom: 1px solid var(--card-border);
  }

  .main-nav.active ul {
    display: flex;
  }

  .main-nav li {
    margin: 0;
    width: 100%;
  }

  .main-nav a {
    font-size: 1.1rem;
    padding: 0.85rem 1.5rem;
    text-align: center;
    width: 100%;
    display: block;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active .hamburger {
    background: transparent;
  }

  .nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .cta-buttons {
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .social-link {
    width: 64px;
    height: 64px;
  }

  .back-to-top {
    right: var(--space-sm);
    bottom: var(--space-sm);
    width: 54px;
    height: 54px;
  }

  .service-card img,
  .service-card .service-image {
    height: 200px;
  }

  .power-card img {
    height: 220px;
  }
}

@media (min-width: 769px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .powers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .powers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
