/* Enhanced Styles for FitFlow Homepage */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #A5D6A7;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f9f9f9;
    --background-dark: #f0f0f0;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  *{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  /* General Styles */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
  }
  
  section {
    padding: 80px 20px;
  }
  
  .highlight {
    color: var(--primary-color);
    font-weight: 700;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
  }
  
  .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
  }
  
  /* Enhanced Hero Section */
  .enhanced-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
    background: linear-gradient(135deg, #f9f9f9 0%, #e9f5e9 100%);
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
  }
  
  .hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    animation: fadeInUp 0.8s ease-out;
  }
  
  .animated-text {
    position: relative;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
  }
  
  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    animation: fadeInUp 1.2s ease-out;
  }
  
  .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
  }
  
  .cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .cta-button.primary {
    background-color: var(--primary-color);
  }
  
  .cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
  }
  
  .cta-button.secondary:hover {
    background-color: rgba(76, 175, 80, 0.1);
  }
  
  .hero-visual {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
  }
  
  .stats-card {
    width: 45%;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
  }
  
  .stats-card.steps::before {
    background-color: var(--primary-color);
  }
  
  .stats-card.calories::before {
    background-color: #FF5722;
  }
  
  .stats-card.heart::before {
    background-color: #F44336;
  }
  
  .stats-card.water::before {
    background-color: var(--secondary-color);
  }
  
  .icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.5rem;
  }
  
  .stats-card.steps .icon-container {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
  }
  
  .stats-card.calories .icon-container {
    background-color: rgba(255, 87, 34, 0.1);
    color: #FF5722;
  }
  
  .stats-card.heart .icon-container {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
  }
  
  .stats-card.water .icon-container {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--secondary-color);
  }
  
  .stat-content {
    flex: 1;
  }
  
  .stat-content h3 {
    font-size: 0.9rem;
    margin: 0 0 5px;
    color: var(--text-light);
  }
  
  .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .progress-bar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    margin-bottom: 5px;
    overflow: hidden;
  }
  
  .progress {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 1s ease-in-out;
  }
  
  .stats-card.steps .progress {
    background-color: var(--primary-color);
  }
  
  .stats-card.calories .progress {
    background-color: #FF5722;
  }
  
  .heart-animation {
    text-align: center;
    margin: 5px 0;
  }
  
  .heart-animation i {
    color: #F44336;
    font-size: 1.5rem;
    animation: heartbeat 1.2s infinite;
  }
  
  .water-container {
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
  }
  
  .water-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--secondary-color);
    transition: height 1s ease-in-out;
  }
  
  .water-level::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(45deg, transparent 33.33%, #2196F3 33.33%, #2196F3 66.66%, transparent 66.66%);
    background-size: 20px 10px;
    animation: wave 1s linear infinite;
  }
  
  .stat-content p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-light);
    text-align: right;
  }
  
  .pulse-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.1);
    z-index: -1;
    animation: pulse 3s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 20px rgba(76, 175, 80, 0);
    }
    100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
  }
  
  @keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    14% {
      transform: scale(1.3);
    }
    28% {
      transform: scale(1);
    }
    42% {
      transform: scale(1.3);
    }
    70% {
      transform: scale(1);
    }
  }
  
  @keyframes wave {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: 20px;
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Enhanced Features Section */
  .enhanced-features {
    background-color: var(--white);
    padding: 80px 20px;
  }
  
  .features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .feature-card {
    width: calc(25% - 30px);
    min-width: 250px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 300px;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    font-size: 2rem;
    color: var(--primary-color);
  }
  
  .feature-content {
    padding: 0 20px 20px;
    text-align: center;
  }
  
  .feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
  }
  
  .feature-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
  }
  
  .feature-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(76, 175, 80, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    color: white;
  }
  
  .feature-card:hover .feature-hover {
    opacity: 1;
  }
  
  .feature-hover ul {
    list-style: none;
    padding: 0;
    text-align: left;
  }
  
  .feature-hover li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .feature-hover li i {
    margin-right: 10px;
  }
  
  /* How It Works Section */
  .how-it-works {
    background-color: var(--background-light);
    padding: 80px 20px;
  }
  
  .steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    margin: 20px;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    text-align: center;
  }
  
  .step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  .step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .step h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
  }
  
  .step p {
    color: var(--text-light);
  }
  
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    width: 50px;
  }
  
  /* Enhanced Testimonials Section */
  .enhanced-testimonials {
    background-color: var(--white);
    padding: 80px 20px;
  }
  
  .testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
  }
  
  .testimonial-card-container {
    position: relative;
    height: 300px;
    overflow: hidden;
  }
  
  .testimonial-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateX(50px);
    background-color: var(--background-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
  }
  
  .testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
  }
  
  .quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
  }
  
  .testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
  }
  
  .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 2rem;
  }
  
  .author-info h4 {
    margin: 0;
    font-size: 1.1rem;
  }
  
  .author-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--text-light);
  }
  
  .testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }
  
  .testimonial-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    padding: 0 15px;
  }
  
  .testimonial-btn:hover {
    color: var(--primary-color);
  }
  
  .testimonial-indicators {
    display: flex;
    margin: 0 20px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--background-dark);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
  }
  
  /* CTA Section */
  .cta-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
  }
  
  .cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9) 0%, rgba(33, 150, 243, 0.9) 100%);
    z-index: -1;
  }
  
  .cta-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
    position: relative;
    z-index: 1;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .cta-section .cta-button.primary {
    background-color: white;
    color: var(--primary-color);
  }
  
  .cta-section .cta-button.primary:hover {
    background-color: #f0f0f0;
  }
  
  .cta-section .cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
  }
  
  .cta-section .cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .enhanced-hero {
      flex-direction: column;
      text-align: center;
    }
    
    .hero-content {
      max-width: 100%;
      margin-bottom: 50px;
    }
    
    .hero-buttons {
      justify-content: center;
    }
    
    .feature-card {
      width: calc(50% - 30px);
    }
  }
  
  @media (max-width: 768px) {
    .enhanced-hero {
      padding: 40px 20px;
    }
    
    .hero-content h1 {
      font-size: 2.2rem;
    }
    
    .stats-card {
      width: 100%;
    }
    
    .feature-card {
      width: 100%;
    }
    
    .steps-container {
      flex-direction: column;
    }
    
    .step-connector {
      transform: rotate(90deg);
      margin: 10px 0;
    }
    
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
  }/* Enhanced WhatsApp Button Styles */
.whatsapp-button {
  position: fixed;
  bottom: clamp(20px, 4vw, 30px);
  right: clamp(20px, 4vw, 30px);
  background: linear-gradient(145deg, #2ad371, #1eae55);
  border-radius: 50px;
  padding: clamp(10px, 1.8vw, 15px) clamp(12px, 2.5vw, 18px); /* Reduced padding */
  font-size: clamp(14px, 1.8vw, 16px); /* Reduced font size */
  color: white;
  box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3), 0 5px 5px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite, buttonAnimate 1.5s ease-out infinite; /* Added animation */
  z-index: 1000;
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
  border: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animation for button movement */
@keyframes buttonAnimate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95); /* Slightly smaller size for animation */
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-button i {
  margin-right: 8px; /* Reduced margin for a more compact look */
  font-size: clamp(18px, 2.2vw, 22px); /* Reduced icon size */
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  background: linear-gradient(145deg, #20c866, #0f9d4a);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 8px 8px rgba(0, 0, 0, 0.1);
}

.whatsapp-button:active {
  transform: translateY(2px);
  box-shadow: 0 5px 10px rgba(37, 211, 102, 0.2);
}
/* Fade animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Modal Container */
.fitflow-chat-modal {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 10px;
  width: 250px;
  height: 320px;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show and hide classes with animations */
.fitflow-chat-modal.show {
  display: block;
  animation: fadeIn 0.4s forwards;
}

.fitflow-chat-modal.hide {
  animation: fadeOut 0.4s forwards;
}

/* Remaining styles (unchanged from yours) */
.fitflow-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fitflow-modal-header {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  background-color: var(--primary-color);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.fitflow-modal-header h3 {
  color: white;
  position: relative;
  top: -10px;
  left: 20px;
}

.fitflow-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  position: relative;
  left: 10px;
}

.fitflow-location {
  margin-left: auto;
  font-size: 0.8rem;
  color: white;
  position: relative;
  right: 99px;
  top: 15px;
}

.fitflow-chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background-color: rgb(234, 227, 227);
}

.fitflow-chat-message {
  margin-bottom: 10px;
}

.fitflow-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-top: 1px solid #eee;
  background-color: var(--text-light);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.fitflow-whatsapp-chat-btn {
  background-color: var(--primary-color);
  color: white;
  position: relative;
  left: 15px;
  border: none;
  padding: 10px 60px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.fitflow-whatsapp-chat-btn:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.fitflow-close-btn {
  font-size: 30px;
  position: relative;
  top: -10px;
  cursor: pointer;
  color: white;
}
