/* 
 * Global Styles
 * -------------
 * Color Palette:
 * - Cloud Mint: #B2F7EF
 * - Warm Clay: #DDA15E
 * - Charcoal Plum: #4B3F72
 * - Snow Petal: #FFF5F7
 * - Midnight Oil: #121212
 */

:root {
  --color-cloud-mint: #B2F7EF;
  --color-warm-clay: #DDA15E;
  --color-charcoal-plum: #4B3F72;
  --color-snow-petal: #FFF5F7;
  --color-midnight: #121212;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Typography & Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-midnight);
  background-color: var(--color-snow-petal);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-charcoal-plum);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-charcoal-plum);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-warm-clay);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-warm-clay);
  margin: 1rem auto;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-charcoal-plum);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-warm-clay);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal-plum);
  border: 2px solid var(--color-charcoal-plum);
}

.btn-secondary:hover {
  background-color: var(--color-charcoal-plum);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 245, 247, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
}

.logo a {
  color: var(--color-charcoal-plum);
  text-decoration: none;
  text-transform: lowercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.logo a:hover {
  color: var(--color-warm-clay);
}

.main-nav {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu li {
  display: flex;
  align-items: center;
}

.menu li a {
  font-weight: 500;
  display: block;
  padding: 0.5rem 0.8rem;
}

.menu-toggle,
.menu-icon {
  display: none;
}

/* Mobile menu */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
  }

  .menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 6px auto;
    background-color: var(--color-charcoal-plum);
    transition: var(--transition);
  }

  .menu-toggle {
    display: none;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    background-color: var(--color-snow-petal);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 1;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding-top: 4rem;
  }

  .menu-toggle:checked ~ .menu {
    right: 0;
  }

  .menu li {
    margin: 1rem 0;
  }

  .menu li a {
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 140px; /* Increased padding from 80px to 140px */
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-snow-petal) 0%, var(--color-cloud-mint) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(178, 247, 239, 0.4) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(221, 161, 94, 0.3) 0%, transparent 30%);
  animation: pulse 15s infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: 
    linear-gradient(to bottom right, var(--color-cloud-mint) 0%, transparent 50%),
    linear-gradient(to bottom left, var(--color-warm-clay) 0%, transparent 50%);
  opacity: 0.2;
  transform-origin: bottom;
  animation: wave 20s ease-in-out infinite;
  border-radius: 50% 50% 0 0;
  z-index: 1;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes wave {
  0%, 100% {
    transform: scaleX(1.5) translateY(10px);
  }
  50% {
    transform: scaleX(1.8) translateY(-5px);
  }
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  flex: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

.hero-image img {
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Introduction Section */
.introduction {
  position: relative;
  background-color: white;
}

.intro-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.intro-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.intro-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.intro-content {
  flex: 1;
  min-width: 300px;
}

/* Benefits Section */
.benefits {
  background-color: var(--color-cloud-mint);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  top: -150px;
  left: -150px;
  animation: float 10s ease-in-out infinite;
}

.benefits::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(221, 161, 94, 0.15);
  bottom: -100px;
  right: -100px;
  animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(15px, -15px);
  }
  50% {
    transform: translate(0, 15px);
  }
  75% {
    transform: translate(-15px, -15px);
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--color-charcoal-plum);
}

.benefit-card {
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(178, 247, 239, 0.1) 100%);
  transition: all 0.6s ease;
}

.benefit-card:hover::before {
  top: 0;
}

.benefit-image {
  width: 100%;
  height: 200px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-image img {
  transform: scale(1.05);
}

/* Session Types */
.sessions {
  background-color: white;
}

.session-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.session-card {
  border: 2px solid var(--color-cloud-mint);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.session-card:hover {
  border-color: var(--color-charcoal-plum);
  box-shadow: var(--shadow-md);
}

.session-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cloud-mint);
  border-radius: 50%;
}

/* How It Works */
.how-it-works {
  background-color: var(--color-snow-petal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-charcoal-plum);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Testimonials */
.testimonials {
  background-color: white;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 300%;
}

.testimonial {
  flex: 1;
  min-width: 33.333%;
  padding: 2rem;
  position: relative;
}

.testimonial-content {
  background-color: var(--color-snow-petal);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-content::before {
  content: """;
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 5rem;
  font-family: var(--font-secondary);
  color: var(--color-warm-clay);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.testimonial-name {
  font-weight: 600;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-cloud-mint);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--color-charcoal-plum);
  transform: scale(1.2);
}

/* CSS-only slider animation */
@keyframes slide {
  0%, 25% {
    transform: translateX(0);
  }
  33%, 58% {
    transform: translateX(-33.333%);
  }
  66%, 91% {
    transform: translateX(-66.666%);
  }
  100% {
    transform: translateX(0);
  }
}

.testimonial-track {
  animation: slide 30s infinite cubic-bezier(0.25, 0.1, 0.25, 1);
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.slider-dot {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--color-charcoal-plum);
  border-radius: 50%;
  opacity: 0.2;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.slider-dot:hover::after {
  width: 24px;
  height: 24px;
}

.slider-dot.active::after {
  width: 18px;
  height: 18px;
  opacity: 0.3;
}

/* Pricing Section */
.pricing {
  background-color: var(--color-cloud-mint);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(75, 63, 114, 0.1);
}

.pricing-table th {
  background-color: var(--color-charcoal-plum);
  color: white;
}

.pricing-table tr:nth-child(odd) {
  background-color: white;
}

.pricing-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.7);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal-plum);
}

/* FAQ Section */
.faq {
  background-color: white;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  background-color: var(--color-snow-petal);
  padding: 0;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question-link {
  padding: 1.5rem;
  display: block;
  width: 100%;
  position: relative;
  text-decoration: none;
  color: var(--color-midnight);
}

.faq-question-link::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  transition: var(--transition);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-question-link::after {
  content: "−";
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Contact Form */
.contact {
  background-color: var(--color-snow-petal);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-cloud-mint);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-midnight);
  background-color: #f8f9fa;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  color: var(--color-midnight);
  background-color: #fff;
  border-color: var(--color-charcoal-plum);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(75, 63, 114, 0.25);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
  min-width: 1.2rem;
  height: 1.2rem;
}

.form-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--color-charcoal-plum);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-contact li,
.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-legal a {
  color: white;
  text-decoration: underline;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--color-cloud-mint);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Page Content (Policy pages) */
.page-content {
  padding: 8rem 0 5rem;
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.page-title {
  margin-bottom: 2rem;
}

/* Thank You Page */
.thank-you {
  padding: 10rem 0;
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-frame {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  border: 2px solid var(--color-cloud-mint);
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--shadow-md);
  position: relative;
}

.thank-you-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px dashed var(--color-warm-clay);
  border-radius: calc(var(--border-radius) + 5px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.thank-you h1 {
  margin-bottom: 2rem;
  color: var(--color-charcoal-plum);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  section {
    padding: 4rem 0;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 450px;
    padding-top: 280px; /* Greatly increased padding for mobile */
  }
  
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content, .hero-image {
    max-width: 100%;
  }
  
  .pricing-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero {
    min-height: 400px;
    padding-top: 320px; /* Extremely increased padding for smaller screens */
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 1rem 0.5rem;
  }
  
  .form-check {
    padding-right: 1rem;
  }
  
  .testimonial-content {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .cookie-content p {
    font-size: 0.9rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
}
