/* Global Styles */
/* Version 1.0.2 - Enhanced by Cascade */
:root {
  --primary-color: #e5087e; /* Fallback for non-gradient contexts */
  --primary-pink: #e5087e;
  --primary-blue: #2b5dff;
  --primary-gradient: linear-gradient(
    45deg,
    var(--primary-pink),
    var(--primary-blue)
  );
  --primary-gradient-hover: linear-gradient(
    45deg,
    var(--primary-blue),
    var(--primary-pink)
  );
  --secondary-color: #433241;
  --light-color: #f7f4f1;
  --dark-color: #292233;
  --beige-color: #e8e1d8;
  --gray-text: #6c6672;
  --border-radius: 10px;
  --gold-accent: #c5a76c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  color: var(--secondary-color);
  background-color: #e8e1d8;
  line-height: 1.6;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-wrapper {
  background-color: #e8e1d8;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  animation: appear 1s ease-out forwards;
  transition: transform 0.5s ease, opacity 0.5s ease;
  padding: 0;
}

.site-wrapper.transitioning {
  opacity: 0.9;
  transform: scale(0.99);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  margin-top: 15px;
}

p {
  margin-bottom: 20px;
  color: var(--gray-text);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.tagTitle {
  display: inline-block;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  background-image: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}

.tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  background-image: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 50px;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background-image: var(--primary-gradient);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-button .btn-primary {
  font-size: 0.9rem;
  padding: 10px 25px;
}

.btn-primary:hover {
  background-image: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */
header {
  background-color: var(--light-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin: 0;
}

header nav {
  max-width: 1140px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: block;
  transition: transform 0.3s ease;
}

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

.logo img {
  height: 40px;
  fill: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}

.nav-links a {
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-image: var(--primary-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  background-image: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero Section */
.hero {
  background-color: var(--light-color);
  padding: 50px 0 100px;
  margin: 0;
  border-radius: 0 0 30px 30px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #e8e1d8;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content {
  flex: 1;
  padding-top: 40px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Highlights */
.services-highlights {
  background-color: #e8e1d8;
  padding: 30px 0 60px;
  position: relative;
  z-index: 2;
}

.services-highlights .container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.service-card {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #e9e0ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon-circle img {
  width: 40px;
  height: 40px;
}

/* About Therapist */
.about-therapist {
  background-color: var(--dark-color);
  color: white;
  padding: 20px 0;
  /* margin: 30px 40px; */
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-therapist::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  z-index: 0;
}

.about-therapist .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.therapist-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}

.therapist-image {
  flex: 0 0 220px;
  width: 280px;
  height: 280px;
}

.therapist-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #5d4b63;
  object-fit: cover;
  object-position: center 25%;
}

.therapist-intro {
  flex: 1;
}

.therapist-intro .tagTitle {
  margin-bottom: 10px;
}

.therapist-intro h2 {
  margin-bottom: 0;
}

.therapist-content {
  flex: 1;
}

.about-therapist p {
  color: #c8c3ce;
  font-size: 1.2rem;
}

.credentials {
  display: flex;
  margin: 30px 0;
  gap: 30px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 10px;
}

.credential img {
  width: 20px;
  height: 20px;
}

/* Services Section */
.services {
  background-color: #e8e1d8;
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

@media (min-width: 768px) {
  .services-grid {
    justify-content: center;
  }
  
  .services-grid .service-item {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 350px;
  }
}

.service-item {
  width: 100%;
  max-width: 350px;
}

.service-image {
  height: 250px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin-bottom: 20px;
  position: relative;
}

.service-item {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image placeholders */
.placeholder-image {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  border-radius: 50%;
}

.placeholder-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.hero-placeholder {
  border-radius: 50%;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 8px solid white;
}

.hero-placeholder::after {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 2px solid var(--gold-accent);
  pointer-events: none;
}

.placeholder-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.therapist-placeholder {
  border-radius: 50%;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background: linear-gradient(145deg, #62295a 0%, #905680 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 8px solid #5d4b63;
}

/* Quote Section */
.quote-section {
  background-color: var(--light-color);
  text-align: center;
  padding: 80px 0;
  margin: 30px 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.quote-section::after {
  content: "❝";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 100px;
  color: rgba(123, 56, 109, 0.05);
  font-family: serif;
}

blockquote {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  color: var(--secondary-color);
}

/* How It Works */
.how-it-works {
  background-color: #e8e1d8;
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px 0;
}

.step {
  flex: 1;
  max-width: 300px;
}

.step-number {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.step-arrow {
  margin: 0 20px;
}

.step-arrow img {
  width: 100px;
}

.cta-center {
  margin-top: 50px;
}

/* Contact Form */
.contact {
  background-color: var(--light-color);
  text-align: center;
  padding: 80px 0;
  margin: 30px 40px;
  border-radius: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--beige-color);
  color: var(--secondary-color);
  padding: 60px 0 40px;
  text-align: center;
  margin: 0;
  border-radius: 0 0 30px 30px;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo img {
  height: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-image: var(--primary-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  background-image: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-image: var(--primary-gradient);
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.footer-divider {
  width: 80%;
  height: 1px;
  background-color: var(--secondary-color);
  opacity: 0.3;
  margin: 30px auto;
}

.disclaimer {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.disclaimer p {
  font-size: 0.8rem;
  color: var(--secondary-color);
  opacity: 0.8;
  line-height: 1.4;
}

/* Plans Section */
.plans {
  background-color: var(--light-color);
  padding: 80px 0;
  position: relative;
  text-align: center;
}

.plans-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 50px 0 30px;
}

.plan-card {
  flex: 1;
  max-width: 400px;
  background-color: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
  border: 2px solid var(--primary-pink);
  transform: scale(1.05);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-header {
  margin-bottom: 30px;
}

.plan-header h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  background-image: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
}

.plan-duration {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 10px;
}

.plan-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 5px;
}

.plan-features {
  text-align: left;
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features ul {
  list-style: none;
  padding: 0;
}

.plan-features li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  color: var(--gray-text);
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-pink);
  font-weight: bold;
}

.plan-button {
  width: 100%;
  text-align: center;
}

.plan-comments {
  margin: 40px 0 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

.cta-contact {
  margin-top: 20px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-color);
  text-align: center;
  padding: 80px 0;
  margin: 30px 40px;
  border-radius: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.testimonials-slider {
  display: flex;
  overflow-x: hidden;
  gap: 30px;
  margin: 40px 0;
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
}

.quote-mark {
  font-size: 4rem;
  background-image: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.4;
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.author-info h4 {
  margin-bottom: 5px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(123, 56, 109, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-image: var(--primary-gradient);
  transform: scale(1.2);
}

/* FAQ Section */
.faq {
  background-color: #e8e1d8;
  padding: 80px 0;
  position: relative;
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 10px;
  padding: 0;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(123, 56, 109, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-toggle {
  font-size: 1.5rem;
  background-image: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 1000px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Animation classes */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Transition effects */
.transition-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Loading animation */
.loading-spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(123, 56, 109, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth page transitions */
.page-transition {
  animation: fadein 0.5s ease-in-out;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero .container {
    flex-direction: column;
  }

  .about-therapist .container {
    flex-direction: column;
  }

  .therapist-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .therapist-image {
    width: 140px;
    height: 140px;
    flex: 0 0 140px;
  }

  .hero-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto 30px;
  }

  .services-highlights .container,
  .services-grid,
  .plans-container {
    flex-direction: column;
  }

  .service-card,
  .service-item,
  .plan-card {
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .plan-card.featured {
    transform: scale(1);
  }

  .plan-card.featured:hover {
    transform: translateY(-10px);
  }

  .steps-container {
    flex-direction: column;
  }

  .step {
    margin-bottom: 30px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 0 0 30px;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    order: 3;
  }

  .credentials {
    flex-direction: column;
    gap: 15px;
  }

  blockquote {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    margin: 5px 10px;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}
