/* Global Styles */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  scroll-behavior: smooth;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #022315;
  padding: 15px 20px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #2e7d32, #1b5e20);
  color: rgb(255, 255, 255);
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background-color: #ffcc00;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background-color: #ffaa00;
  transform: scale(1.05);
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  text-align: center;
  background: white;
}

.feature {
  background: #e3f2e1;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Testimonials */
#testimonials {
  text-align: center;
  background: #f8f8f8;
  padding: 50px 20px;
}

.testimonial-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.testimonial {
  background: white;
  padding: 15px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.testimonial:hover {
  transform: scale(1.05);
}

.testimonial h4 {
  margin-top: 10px;
  font-weight: bold;
}

button.prev,
button.next {
  background: #2c7a59;
  color: white;
  border: none;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
}

button.prev:hover,
button.next:hover {
  background: #ffcc00;
  color: #333;
}

/* Newsletter Section */
.newsletter {
  text-align: center;
  padding: 50px 20px;
  background: #2c7a59;
  color: white;
}

.newsletter input {
  padding: 10px;
  width: 250px;
  margin-right: 10px;
  border: none;
  border-radius: 5px;
}

.newsletter button {
  padding: 10px 20px;
  border: none;
  background: #ffcc00;
  color: #333;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter button:hover {
  background: #ffaa00;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #2c7a59;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active div:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/*Health Diagnosis*/
.diagnosis {
  text-align: center;
  padding: 50px 20px;
  background: #f8f8f8;
}

.diagnosis-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.diagnosis-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.diagnosis-box h3 {
  margin-bottom: 10px;
}

.diagnosis-box .btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: #2c7a59;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.diagnosis-box .btn:hover {
  background: #ffcc00;
  color: #333;
}
/* Key Statistics Section */
.statistics {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
  background: #e3f2e1;
  text-align: center;
}

.stat-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 180px;
  transition: transform 0.3s;
}

.stat-box:hover {
  transform: scale(1.05);
}

.stat-box h3 {
  font-size: 28px;
  color: #2c7a59;
  margin-bottom: 5px;
}

.stat-box p {
  font-size: 16px;
  color: #555;
  font-weight: bold;
}

/* How It Works Section */
.how-it-works {
  text-align: center;
  padding: 60px 20px;
  background: #f8f8f8;
}

.how-it-works h2 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.step {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 230px;
  text-align: center;
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-5px);
}

.step span {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: #2c7a59;
  background: #ffcc00;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
}

.step h3 {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: #555;
}

/* Footer */
footer {
  background: #2c3e50;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 20px;
}

.footer-section {
  flex: 1;
  min-width: 220px;
  text-align: left;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #ffcc00;
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  color: #ddd;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

/* ✅ Contact Links - Fix Blue Color */
.footer-section ul li a {
  color: white !important; /* Force white text */
  text-decoration: none !important; /* Remove underline */
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px; /* Space between icon and text */
}

/* Change color on hover */
.footer-section ul li a:hover {
  color: #ffcc00 !important; /* Yellow on hover */
}

/* ✅ Add Icons for Email & Phone */
.footer-section ul li a[href^="mailto:"]::before {
  content: "📧"; /* Email icon */
  font-size: 16px;
}

.footer-section ul li a[href^="tel:"]::before {
  content: "📞"; /* Phone icon */
  font-size: 16px;
}

/* ✅ Footer Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  background: #ffcc00; /* Matching theme color */
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}

.social-icons a img {
  width: 25px;
  height: 25px;
  display: block;
}

.social-icons a:hover {
  background: #ffaa00;
  transform: scale(1.1);
}

/* ✅ Footer Bottom Section */
.footer-bottom {
  border-top: 1px solid #555;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 14px;
  color: #bbb;
}
