:root {
  --primary: #1e5631;     /* Darker green */
  --primary-light: #a7e3b9; 
  --secondary: #e83e8c;   /* Pink */
  --secondary-light: #f8d7e6;
  --text-dark: #333333;
  --text-light: #666666;
  --background: #ffffff;
  --gray-light: #f8f8f8;
  --gray-medium: #e0e0e0;
  --transition: all 0.3s ease;
  --blood-red: #e41b17;   /* Blood red color for the donation section */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--background);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* Section styling */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 15px auto 0;
}

.section-tagline {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--background);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 32px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: top 0.3s, opacity 0.3s, background-color 0.3s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 12px;
}

.brand-title {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--primary);
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-link:hover {
  color: inherit;
}

.navbar-links {
  display: flex;
  gap: 30px;
}

.navbar-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.navbar-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary);
  transition: var(--transition);
}

.navbar-links a:hover {
  color: var(--secondary);
}

.navbar-links a:hover:after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hide nav by default after hero */
.navbar.hide {
  top: -80px;
  opacity: 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?w=1920&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  width: 100%;
  text-align: center;
  color: white;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
}

.hero-slide {
  display: none;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  left: 0;
  right: 0;
}

.hero-slide.active {
  display: flex;
  opacity: 1;
  z-index: 1;
}

.hero-content {
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 32px;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  opacity: 0.9;
}

.hero-button {
  display: inline-block;
  padding: 14px 36px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: none;
}

.hero-button:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30,86,49,0.25);
}

.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 5;
}

.hero-nav-btn {
  background: rgba(255,255,255,0.8);
  border: none;
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.hero-nav-btn:hover {
  background: var(--primary);
  color: white;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--secondary);
  transform: scale(1.3);
}

/* About Section */
.about-section {
  background-color: var(--gray-light);
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.about-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.about-icon .fas.fa-weight,
.about-icon .fas.fa-heartbeat {
  color: var(--secondary);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.about-card p {
  color: var(--text-light);
}

/* Products Section */
.products-section {
  padding: 100px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
  color: var(--primary);
}

.product-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.product-link {
  display: inline-block;
  margin: 0 20px 20px;
  color: var(--secondary);
  font-weight: 500;
  position: relative;
}

.product-link:after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.product-link:hover:after {
  margin-left: 10px;
}


/* Stories Section */
.stories-section {
  padding: 100px 0;
}

.stories-slider {
  position: relative;
  margin-bottom: 30px;
  height: 350px;
}

.story {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.story.active {
  display: flex;
  opacity: 1;
}

.story-image {
  flex: 1;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
}

.story-content {
  flex: 1;
  padding: 40px;
  background: white;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.story-content p {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.story-author {
  font-weight: 600;
  color: var(--secondary);
}

.stories-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.stories-btn {
  background: var(--gray-light);
  border: none;
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.stories-btn:hover {
  background: var(--primary);
  color: white;
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
}

.footer-content {
  display: flex;
  padding: 70px 0;
  gap: 50px;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  width: 100px;
  margin-bottom: 15px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--secondary-light);
}

.footer-column a {
  display: block;
  color: white;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-column a:hover {
  opacity: 1;
  color: var(--secondary-light);
}

.footer-social {
  flex: 1;
}

.footer-social h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--secondary-light);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}

.footer-bottom {
  background: rgba(0,0,0,0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--secondary-light);
}

/* BMI Calculator Section */
.bmi-calculator-section {
  background-color: var(--gray-light);
  padding: 100px 0;
}

.bmi-container {
  display: flex;
  gap: 50px;
  margin-top: 30px;
}

.bmi-info {
  flex: 1;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.bmi-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.bmi-info p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.bmi-categories {
  margin-top: 30px;
  background: var(--gray-light);
  padding: 20px;
  border-radius: 8px;
}

.bmi-categories h4 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.bmi-categories ul {
  list-style: none;
}

.bmi-categories li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.bmi-categories li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.bmi-underweight { color: #2196F3; font-weight: 600; }
.bmi-normal { color: #4CAF50; font-weight: 600; }
.bmi-overweight { color: #FF9800; font-weight: 600; }
.bmi-obese { color: #F44336; font-weight: 600; }

.bmi-calculator {
  flex: 1;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.bmi-calculator h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.input-with-unit {
  position: relative;
}

.input-with-unit input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 1px solid var(--gray-medium);
  border-radius: 5px;
  font-size: 1rem;
}

.input-with-unit .unit {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.9rem;
}

.unit-toggle {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.unit-toggle label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--text-dark);
}

.calculate-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.calculate-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

#bmi-result {
  margin-top: 30px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.result-hidden {
  display: none;
}

.result-value {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.result-value strong {
  font-size: 2rem;
  color: var(--primary);
}

.result-category {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

#bmi-message {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Mascot Section */
.mascot-section {
  background-color: #fff;
  padding: 80px 0;
}

.mascot-container {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.mascot-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot-main {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.mascot-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mascot-info h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.mascot-info p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.mascot-secondary {
  margin-top: auto;
  text-align: center;
}

.mascot-sub {
  max-width: 60%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.image-note {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

.mascot-note {
  background-color: var(--gray-light);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.mascot-note ol {
  margin-left: 20px;
  margin-top: 10px;
  color: var(--text-light);
}

.mascot-note li {
  margin-bottom: 5px;
}

/* Research & Methodology Section */
.research-section {
  background-color: var(--gray-light);
  padding: 100px 0;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.research-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.research-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.research-card h3 i {
  color: var(--secondary);
  margin-right: 10px;
}

.research-list, .methodology-list {
  margin: 20px 0 0 0;
  padding-left: 20px;
}

.research-list li, .methodology-list li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.methodology-list {
  counter-reset: methodology-counter;
  list-style-type: none;
  padding-left: 0;
}

.methodology-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
}

.methodology-list li:before {
  counter-increment: methodology-counter;
  content: counter(methodology-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  background-color: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Reviews Section - Fixed and Centered */
.reviews-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff 0%, var(--gray-light) 100%);
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  align-items: stretch; /* Ensure all cards stretch to same height */
}

.review-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  opacity: 1; /* Make visible by default */
  transform: none; /* Remove initial transform */
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure consistent height */
  min-height: 450px; /* Set minimum height for consistency */
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.review-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0; /* Prevent image from shrinking */
}

.reviewer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.review-card:hover .reviewer-image {
  transform: scale(1.05);
}

.review-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute content evenly */
}

.reviewer-info {
  margin-bottom: 15px;
}

.reviewer-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.review-stars {
  color: #FFD700;
  margin-bottom: 10px;
}

.review-content p {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
  flex-grow: 1; /* Let text take available space */
  position: relative;
  padding-left: 20px;
  display: flex;
  align-items: center; /* Center text vertically */
}

.review-content p::before {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
  top: -10px;
  left: 0;
}

/* Remove animation variants that are causing positioning issues */
.review-card[data-animation="fade-right"],
.review-card[data-animation="fade-left"],
.review-card[data-animation="fade-up"],
.review-card.animate {
  opacity: 1;
  transform: none;
}

/* Super Simple FAQ Section to Ensure It Works */
.faq-section {
  background: linear-gradient(180deg, var(--gray-light) 0%, #fff 100%);
  padding: 100px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  border: 1px solid var(--gray-medium);
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: white;
  border-left: 0px solid var(--secondary);
}

.faq-question:hover {
  background-color: rgba(231, 241, 236, 0.5);
}

.faq-item.active .faq-question {
  border-left: 5px solid var(--secondary);
  background-color: rgba(231, 241, 236, 0.5);
}

.faq-question h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0;
  padding-right: 20px;
  flex: 1;
}

.faq-icon {
  color: var(--secondary);
  font-size: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(232, 62, 140, 0.1);
  border-radius: 50%;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* Mobile Responsive for FAQ */
@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .faq-question, 
  .faq-answer p {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .faq-question h3 {
    font-size: 1rem;
    padding-right: 10px;
  }
}

/* ...existing code... */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nutrition-content {
    flex-direction: column;
  }
  
  .story {
    flex-direction: column;
    height: auto;
  }
  
  .story-image img {
    border-radius: 10px 10px 0 0;
  }
  
  .story-content {
    border-radius: 0 0 10px 10px;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .hero-slide {
    flex-direction: column;
    gap: 30px;
  }
  
  .hero-content {
    margin-bottom: 0;
  }
  
  .hero-image img {
    max-height: 40vh;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }
  
  .navbar-toggle {
    display: block;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .navbar-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 15px;
    z-index: 99;
  }
  
  .navbar-links.active {
    display: flex;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .hero-slide {
    padding: 20px;
    justify-content: center;
    padding-top: 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 100%;
  }
  
  .hero-button {
    padding: 14px 32px;
    min-width: 180px;
    font-size: 1.1rem;
  }
  
  .hero-controls {
    bottom: 30px;
  }
  
  .hero-nav-btn {
    width: 45px;
    height: 45px;
  }
  
  .hero-dot {
    width: 8px;
    height: 8px;
  }
  
  /* Fix component stacking on mobile */
  .bmi-container,
  .mascot-container {
    flex-direction: column;
    gap: 30px;
  }
  
  /* Form adjustments for better touch experience */
  input, select, button {
    font-size: 16px; /* Prevent iOS zoom */
  }
  
  /* Adjust card spacing */
  .about-grid,
  .products-grid,
  .reviews-container {
    gap: 20px;
  }
  
  /* Fix BMI calculator radio buttons */
  .unit-toggle {
    margin-bottom: 15px;
  }
  
  .unit-toggle label {
    padding: 5px 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    padding: 0 15px;
  }
  
  .hero-controls {
    bottom: 20px;
  }
  
  /* Better spacing for mobile */
  .container {
    padding: 0 15px;
  }
  
  /* Improve section spacing */
  section {
    padding: 40px 0;
  }
  
  /* Better card layouts on small screens */
  .product-card h3,
  .research-card h3 {
    font-size: 1.2rem;
  }
  
  /* Adjust spacing in review cards */
  .review-card {
    min-height: auto; /* Remove fixed height on mobile */
  }
  
  .review-image {
    height: 180px; /* Smaller images on mobile */
  }
  
  /* Fix hero button on mobile */
  .hero-button {
    width: 80%;
    max-width: 250px;
  }
  
  /* Fix small text in inputs */
  .input-with-unit input {
    height: 48px;
  }
}

/* Add landscape orientation fix */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 450px;
  }
  
  .hero-slider {
    height: auto;
    min-height: 370px;
  }
  
  .hero-content {
    padding-top: 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 360px) {
  .navbar {
    padding: 10px 15px;
  }
  
  .logo {
    height: 30px;
  }
  
  .brand-title {
    font-size: 1.2rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .hero-button {
    padding: 12px 28px;
  }
  
  .hero-controls {
    bottom: 15px;
    gap: 8px;
  }
  
  .hero-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  
  /* Improve touch targets on very small screens */
  .product-link, .text-button {
    padding: 8px 0;
    display: inline-block;
  }
  
  .stories-btn {
    width: 36px;
    height: 36px;
  }
  
  .social-icons a {
    width: 36px;
    height: 36px;
  }
  
  /* Adjust section headers */
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-tagline {
    font-size: 1rem;
  }
  
  /* Stack review cards on tiny screens */
  .reviews-container {
    grid-template-columns: 1fr;
  }
  
  /* Fix BMI calculator */
  .unit-toggle {
    flex-direction: column;
    gap: 10px;
  }
  
  /* Fix social icons layout */
  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Fix for tall mobile devices - ensure proper hero height */
@media (max-height: 700px) and (max-width: 480px) {
  .hero-slide {
    padding-top: 30px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .hero-button {
    padding: 10px 24px;
  }
  
  .hero-controls {
    bottom: 12px;
  }
}