/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE STYLES */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7f9fc;
  color: #2c3e50;
  line-height: 1.6;
}

/* NAVIGATION */
nav {
  background-color: #4a90e2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

nav .logo img {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: #357abd;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(to right, #a1c4fd, #c2e9fb);
  color: #1c3d63;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: #4a90e2;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
}

.btn:hover {
  background-color: #357abd;
}

/* GENERIC SECTION STYLING */
.section {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section p {
  text-align: left;
  margin: 0 auto;
}

/* CARD SECTION */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  flex: 1 1 280px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.btn-link {
  display: inline-block;
  margin-top: 1rem;
  color: #4a90e2;
  font-weight: 600;
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
}

/* CALL TO ACTION */
.call-to-action {
  background-color: #fef9e7;
  border-top: 2px solid #ffe58a;
  border-bottom: 2px solid #ffe58a;
  text-align: center;
}

.call-to-action h2 {
  margin-bottom: 0.5rem;
}

/* FOOTER */
footer {
  background-color: #4a90e2;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer a {
  color: #e1f0ff;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

.myths-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.myth-item {
  flex: 0 1 calc(50% - 1.5rem); /* Two per row with spacing */
  display: flex;
  justify-content: center;
}

.myth-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* SECTION NAVIGATION BAR */
.section-nav {
  background: linear-gradient(to right, #6fb1fc, #4a90e2);
  padding: 1rem 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.section-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-nav ul li a {
  background-color: white;
  color: #4a90e2;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.section-nav ul li a:hover {
  background-color: #e3f0ff;
  transform: scale(1.05);
}

/* Responsive nav spacing */
@media (max-width: 768px) {
  .section-nav ul {
    gap: 0.5rem;
  }

  .section-nav ul li a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}
