@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Poppins:wght@300;400;500;600&display=swap');

/* Updated color palette and typography */
:root {
  --yoga-beige-light: #f9f6f0;
  --yoga-green-light: #a7c4bc;
  --yoga-blue-light: #bfd7ea;
  --yoga-accent-light: #e6beae;
  --yoga-beige: #fcf9f2;
  --yoga-green: #6bab90;
  --yoga-blue: #88bbd6;
  --yoga-accent: #e07a5f;
  --text-dark: #2d3748;
  --text-medium: #4a5568;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--yoga-beige);
  color: var(--text-dark);
}

/* Improved text contrast and readability */
h1,
h2,
h3,
h4 {
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
}

p {
  color: var(--text-medium);
  font-weight: 500;
  line-height: 1.7;
}

/* Enhanced header styling */
header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

header a {
  font-weight: 600;
}

/* Brighter section backgrounds */
section {
  background-color: white;
}

section:nth-child(odd) {
  /*background-color: var(--yoga-beige);*/
}

/* Enhanced cards and containers */
.rounded-xl {
  border-radius: 1rem;
}

.shadow-sm {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.shadow-lg {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

/* Brighter, more vibrant accent colors */
.bg-yoga-green {
  background-color: var(--yoga-green);
}

.bg-yoga-blue {
  background-color: var(--yoga-blue);
}

.bg-yoga-accent {
  background-color: var(--yoga-accent);
}

.text-yoga-green {
  color: var(--yoga-green);
  font-weight: 600;
}

.text-yoga-blue {
  color: var(--yoga-blue);
  font-weight: 600;
}

.text-yoga-accent {
  color: var(--yoga-accent);
  font-weight: 600;
}

/* Enhanced buttons */
a[class*='bg-yoga'] {
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Improved floating CTA */
.floating-cta {
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Enhanced reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  animation: fadeInAnimation 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Improved background gradients */
.gradient-overlay {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(252, 249, 242, 0.95));
}

/* Enhanced hero section */
#home .absolute.inset-0.z-0 {
  opacity: 0.35;
}

/* Improved card styling */
.bg-yoga-beige {
  background-color: var(--yoga-beige);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bg-white {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Tags styling */
.bg-white.px-3.py-1.rounded-full {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.text-3xl {
  line-height: 1.5 !important;
}

/* Footer improvements */
footer {
  /*background-color: #2d3748;*/
}

footer h3 {
  color: white;
  font-weight: 600;
}

.floating-cta {
  transform: translateY(-100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Mobile styles */
@media (max-width: 768px) {
  .floating-cta a {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
  }
}

/* old styles */
/*.floating-cta {
	transform: translateY(100px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease-in-out;
}

.floating-cta.visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

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

@keyframes fadeInAnimation {
	0% { opacity: 0; transform: translateY(20px); }
	100% { opacity: 1; transform: translateY(0); }
}

.gradient-overlay {
	background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(249,246,240,0.9));
}*/

.navigation-bar.active {
  color: #10b981;
}

.tab-btn.active {
  color: #10b981;
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.1);
}

.select-plan-btn {
  width: 70% !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.025em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.select-plan-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, #6bab90, #047857); /* emerald gradient */
  color: white;
  box-shadow: 0 4px 12px rgba(107, 171, 144, 0.2); /* emerald shadow */
  border-color: rgba(107, 171, 144, 0.3);
}

.select-plan-btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #6bab90;
  transform: translateX(-50%);
  transition: width 0.6s ease;
}

.select-plan-btn:hover::after {
  width: 100%;
}

.pricing-card .pricing-section {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-card h3 {
  min-height: 64px; /* This accounts for two lines of text including Sanskrit */
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card .flex-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  z-index: 1100;
}

/*@media (max-width: 768px) {
  .toast-container {
    bottom: 10px;
    right: 10px;
  }
}*/

@media (max-width: 480px) {
  .toast-container {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  color: var(--white);
  animation: slideIn 0.3s ease-out, slideUp 0.3s ease-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

.toast-success {
  background-color: var(--yoga-green);
}

.toast-error {
  background-color: var(--yoga-accent);
}

.toast-info {
  background-color: var(--yoga-blue);
}

.delete-loader {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

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

.delete-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
}

.delete-button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(121deg, rgb(133 239 49 / 0%) 25.73%, hsla(0, 0%, 100%, 0.3) 45.27%, rgba(133, 239, 49, 0) 62.27%), #14b2e700;
  background-size: 200% 100%;
  animation: shimmerAnimation 2.5s infinite;
  pointer-events: none;
  border-radius: 1rem;
}

@keyframes shimmerAnimation {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/*
.partner-poster {
  opacity: 0;
  transition: opacity 0.5s ease-in;
  width: 100%;
  height: 100%;
}

.partner-poster.loaded {
  opacity: 1;
}*/
