/* Basic Setup */
:root {
  --primary-color: #c792ea; /* Soft, mystical purple */
  --secondary-color: #ffcb6b; /* Warm, golden accent */
  --dark-bg: #241b3a; /* Deep space purple */
  --text-light: #f5f0ff; /* Light lavender */
  --text-dark: #1e1e1e;
  --bg-light: #fbfaff; /* Very light purple background */
  --font-main: "Helvetica", "Arial", sans-serif;
  --font-headings: "Georgia", "Times New Roman", serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  line-height: 1.6;
  background-color: #241b3a; /* Deep space purple */
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

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

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-padding {
  padding: 60px 0;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #8c7da7;
  margin-bottom: 40px;
}

/* Header & Navigation */
.site-header {
  background: var(--dark-bg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo a {
  color: var(--text-light);
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.main-nav li {
  margin-left: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.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;
}

/* Hero Section */
#hero {
  background: url("sl1.webp") no-repeat center center/cover;
  color: var(--text-light);
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-left: 20px;
  padding-right: 20px;
}

#hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero .phone-number a {
  font-size: 2.5rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 10px;
  display: inline-block;
}

#hero .subtitle {
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5px 15px;
  display: inline-block;
  border-radius: 5px;
  margin-bottom: 30px;
}

.btn {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* Social Icon Links */
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.social-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.social-label {
  color: var(--secondary-color);
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.social-link {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.3s ease,
    border-color 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px) scale(1.03);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.social-icon {
  display: block;
  width: 34px;
  height: 34px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-light);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease,
    border-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.back-to-top:hover {
  transform: translateY(6px) scale(1.03);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.back-to-top svg {
  width: 32px;
  height: 32px;
}

/* About Section */
#about {
  background: #241b3a;
  text-align: center;
}

#about h2,
#about .section-subtitle,
#testimonials h2 {
  color: red;
}

/* Force red for requested headings and labels */
#services h2,
#counseling h2,
#counseling .section-subtitle,
#cleansing h2,
#cleansing .section-subtitle,
#counseling .card-title,
#cleansing .card-title {
  color: red;
}
#about p.section-subtitle {
  font-size: 1.2rem;
  color: red;
  margin-bottom: 20px;
}
#about p.intro-p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: red;
}
#hero .subtitle {
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5px 15px;
  display: inline-block;
  border-radius: 5px;
  margin-bottom: 30px;
  color: yellow;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #4a3f6b; /* A richer purple */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(40, 27, 66, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid var(--primary-color);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(40, 27, 66, 0.15);
}

.service-card h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-card p {
  color: yellow;
}

/* Testimonials Section */
#testimonials {
  background-color: #4a3f6b;
}

#testimonials h2 {
  color: red;
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
}

.testimonial-card {
  background-color: #4a3f6b;
  border: 1px solid var(--primary-color);
  border-radius: 25px;
  padding: 25px;
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(40, 27, 66, 0.15);
}

.testimonial-content p {
  margin: 0 0 1rem;
  color: yellow;
}

.testimonial-content .author {
  margin-top: 15px;
  font-weight: bold;
  font-style: normal;
  color: yellow;
  text-align: right;
}

/* Powers Section */
.powers-grid {
  display: grid;
  gap: 2rem;
}

.power-card {
  background-color: #4a3f6b; /* A richer purple */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid var(--primary-color);
  text-align: center;
}

.power-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(40, 27, 66, 0.2);
}

.power-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.power-card-content {
  padding: 1rem;
}

.power-card h3 {
  margin: 0 0 0.5rem;
  color: yellow;
  font-size: 1.4rem;
}

.power-card p {
  color: yellow;
  font-size: 0.95rem;
  margin-bottom: 0;
}

#powers .section-subtitle,
#services .section-subtitle {
  font-size: 1.4rem;
  color: red;
}

/* Info/Content Cards */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-card {
  background-color: #4a3f6b;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  padding: 24px;
  color: var(--text-light);
  box-shadow: 0 8px 20px rgba(40, 27, 66, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(40, 27, 66, 0.2);
}

.card-title {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

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

.clean-list li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.note-box {
  margin-top: 30px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--primary-color);
  border-left: 4px solid var(--secondary-color);
  border-radius: 10px;
  padding: 20px 22px;
  color: var(--text-light);
}

/* Emphasize key note sentence in red */
.note-box p:first-child {
  color: red;
}

/* Make other provided content yellow for consistency */
#counseling .info-card p,
#counseling .clean-list li,
#cleansing .clean-list li,
.note-box p:not(:first-child),
.note-box li {
  color: yellow;
}

/* Footer */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
}

.site-footer .phone-number a {
  color: var(--text-light);
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
}

.site-footer .cta-buttons {
  margin: 20px 0;
}

/* Phone Number with Icon */
.phone-number a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.phone-number a:hover {
  transform: scale(1.05);
}

#hero .phone-number a:hover {
  color: var(--primary-color);
}

.phone-icon {
  margin-right: 10px;
  width: 1em; /* Scale with font size */
  height: 1em; /* Scale with font size */
  fill: currentColor; /* Inherit color from the link */
  vertical-align: middle;
}

.site-footer .phone-number a:hover {
  color: var(--primary-color);
}

/* 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 1s ease-in-out forwards;
}

.animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

/* Blinking emphasis - stronger red hue */
@keyframes blinkStrongRed {
  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 0 rgba(255, 0, 0, 0);
    filter: drop-shadow(0 0 0 rgba(255, 0, 0, 0));
  }
  50% {
    opacity: 0.7;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.9);
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.7));
  }
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  #hero h1 {
    font-size: 2.8rem;
  }

  #hero .phone-number a {
    font-size: 1.8rem;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--dark-bg);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

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

  .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);
  }

  .hero-content,
  .site-footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-buttons {
    gap: 18px;
  }

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

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

@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);
  }
}
