/* styles.css */
:root {
  --primary-color: #4A7C59;
  --primary-dark: #3A6149;
  --primary-light: #7AB894;
  --secondary-color: #F9A03F;
  --accent-color: #D64933;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #FFFFFF;
  --bg-alt: #F7F9FC;
  --border-color: #E1E5EE;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-start: #4A7C59;
  --gradient-end: #3A6149;
  --success-color: #28a745;
  --card-bg: #FFFFFF;
  --footer-bg: #202A36;
  --footer-text: #FFFFFF;
  
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  --border-radius: 8px;
  --border-radius-large: 16px;
  --transition: all 0.3s ease;
  
  --container-width: 1200px;
  --container-padding: 1.5rem;
  
  --header-height: 80px;
}

/* CSS Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-color);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Global Components */
.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(214, 73, 51, 0.3);
}

.cta-button:hover, .cta-button:focus {
  background-color: #c53c28;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 73, 51, 0.4);
  color: white;
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(214, 73, 51, 0.3);
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: block;
  }
}

/* Header and Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  z-index: 1001;
}

.desktop-nav {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.language-selector {
  position: relative;
}

.language-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  color: var(--text-color);
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.language-button:hover {
  color: var(--primary-color);
}

.flag-icon {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.language-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px var(--shadow-color);
  padding: 0.5rem 0;
  z-index: 1001;
  max-height: 300px;
  overflow-y: auto;
}

.language-dropdown.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.language-dropdown li {
  margin: 0;
}

.language-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  transition: var(--transition);
}

.language-dropdown a:hover {
  background-color: var(--bg-alt);
  color: var(--primary-color);
}

.language-dropdown img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.mobile-menu-toggle {
  z-index: 1001;
  color: var(--text-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background-color: white;
  overflow: hidden;
  transition: height 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  height: auto;
  padding: calc(var(--header-height) + 1rem) 1.5rem 2rem;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu a {
  color: var(--text-color);
  font-size: 1.25rem;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--primary-color);
}

.mobile-menu .cta-button {
  margin-top: 1rem;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
  
  .desktop-nav {
    display: block;
  }
  
  .desktop-nav ul {
    display: flex;
    gap: 2rem;
  }
  
  .desktop-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
  }
  
  .desktop-nav a:hover {
    color: var(--primary-color);
  }
  
  .header-right {
    gap: 2rem;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  color: white;
  margin-bottom: 1.25rem;
}

.hero-text .subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero-text .credibility-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  transform: translateY(0px);
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  border-radius: var(--border-radius-large);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  height: auto;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (min-width: 992px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .hero-text {
    flex: 1;
    text-align: left;
    padding-right: 2rem;
  }
  
  .hero-image {
    flex: 1;
  }
}

/* Grid Layouts */
.grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Styles */
.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Section Styles */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background-color: var(--bg-alt);
}

.intro-section {
  padding-top: calc(var(--header-height) + 3rem);
}

/* Flex Layout */
.flex-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 992px) {
  .flex-layout {
    flex-direction: row;
    align-items: center;
  }
  
  .image-column, .text-column {
    flex: 1;
  }
}

.image-column img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Feature Styles */
.feature {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(74, 124, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.feature-content {
  flex: 1;
}

/* Progress Bar Styles */
.content-with-progress {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 992px) {
  .content-with-progress {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  
  .text-content, .image-content {
    flex: 1;
  }
}

.progress-container {
  margin-top: 1.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.progress-bar {
  height: 10px;
  background-color: rgba(74, 124, 89, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  border-radius: 5px;
  transition: width 1.5s ease;
  animation: progress 1.5s ease forwards;
}

@keyframes progress {
  from { width: 0; }
  to { width: var(--width, 100%); }
}

.image-content img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 124, 89, 0.05), rgba(74, 124, 89, 0.1));
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.testimonial-name {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.testimonial-location {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Wellness Cards */
.wellness-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wellness-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.wellness-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.wellness-card:hover::after {
  transform: scaleX(1);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(74, 124, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.wellness-card:hover .card-icon {
  transform: rotateY(180deg);
  background-color: var(--primary-color);
  color: white;
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

details:last-child {
  margin-bottom: 0;
}

details[open] {
  background-color: rgba(74, 124, 89, 0.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

summary {
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--primary-color);
  transition: var(--transition);
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 18px;
}

details[open] summary::after {
  content: '–';
}

details p {
  margin-top: 1rem;
  color: var(--text-light);
}

/* Conclusion Section */
.conclusion-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 992px) {
  .conclusion-content {
    flex-direction: row;
    align-items: center;
  }
  
  .conclusion-text {
    flex: 2;
  }
  
  .conclusion-cta {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.shimmer-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.shimmer {
  position: relative;
  overflow: hidden;
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

.shimmer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shimmer 3s infinite;
  z-index: 1;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* Footer Styles */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.footer-column h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.disclaimer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.copyright {
  text-align: center;
}

.copyright p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Animations and Effects */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-text {
  animation: slideInLeft 1s ease;
}

.hero-image {
  animation: slideInRight 1s ease;
}

/* Media Queries for Responsiveness */
@media (max-width: 767px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
    min-height: auto;
  }
  
  h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
  }
  
  .hero-image img {
    max-width: 300px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Accessibility Improvements */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.cta-button:focus {
  outline: 2px solid white;
}

/* Frosted Glass Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 3D Transform Effects */
.card-3d {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-3d:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.1),
    20px 20px 30px rgba(0, 0, 0, 0.05);
}