/* Hamburger menu styles */
.nav-toggle {
  display: none;
  font-size: 2rem;
  color: #ff9800;
  cursor: pointer;
  margin-left: 20px;
}

@media (max-width: 900px) {
  .top {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: block;
  }
  .top {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #222;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 0 10px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: none;
    z-index: 100;
  }
  .top.show {
    display: flex;
  }
  .top a {
    width: 100%;
    padding: 12px 24px;
    border-bottom: 1px solid #444;
    margin: 0;
  }
  .article-flex-grid {
    flex-direction: column;
    gap: 16px;
  }
  .article-flexbox {
    max-width: 100%;
    min-width: 180px;
  }
}
.mcq-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 8px 0 18px 0;
}
.mcq-group label {
  font-size: 1rem;
  color: #333;
  background: #f5f7fa;
  border-radius: 6px;
  padding: 6px 14px 6px 8px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid #eee;
  margin-bottom: 4px;
}
.mcq-group input[type="radio"] {
  margin-right: 6px;
}
.mcq-group label:hover, .mcq-group input[type="radio"]:focus + label {
  background: #ffecd2;
}
/* Mental State Questions Section */
.mental-state-questions-section {
  background: #f9f9fc;
  padding: 40px 0 32px 0;
  margin: 0 0 32px 0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.mental-state-note {
  text-align: center;
  margin-bottom: 18px;
}
.mental-state-note h2 {
  font-size: 1.7rem;
  color: #222;
  margin-bottom: 8px;
}
.mental-state-note p {
  font-size: 1.08rem;
  color: #444;
  margin: 0;
}
.mental-state-questions-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mental-state-questions-form ol {
  width: 100%;
  padding-left: 20px;
  margin-bottom: 18px;
}
.mental-state-questions-form li {
  margin-bottom: 6px;
  font-size: 1.08rem;
  color: #333;
}
.mental-state-questions-form textarea {
  width: 100%;
  min-height: 48px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 1rem;
  background: #fff;
  resize: vertical;
  transition: border 0.2s;
}
.mental-state-questions-form textarea:focus {
  border: 1.5px solid #ff9800;
  outline: none;
}
.mental-state-submit-btn {
  background: #ff9800;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 32px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.mental-state-submit-btn:hover {
  background: #e68900;
}
/* Wellness Intro Section */
.wellness-intro-section {
  background: #f7fafc;
  padding: 40px 0 32px 0;
  margin: 0 0 32px 0;
}
.wellness-intro-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 0 16px;
}
.wellness-intro-img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.wellness-intro-text {
  max-width: 480px;
}
.wellness-intro-text h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 12px;
}
.wellness-intro-text p {
  font-size: 1.13rem;
  color: #444;
  line-height: 1.7;
  margin: 0;
}
/* Read Button Styling for Article Flexboxes */
.read-btn {
  display: inline-block;
  margin: 12px auto 18px auto;
  padding: 10px 28px;
  background: linear-gradient(90deg, #ff9800 60%, #ffb347 100%);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.read-btn:hover {
  background: linear-gradient(90deg, #e68900 60%, #ff9800 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
/* Newsletter Section Styling */
.newsletter-section {
  background: #f5f7fa;
  padding: 48px 0 40px 0;
  border-radius: 18px;
  margin: 40px auto 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  text-align: center;
}
.newsletter {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 16px;
}
.newsletter h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 12px;
}
.newsletter p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 18px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.newsletter-form input[type="email"] {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 60%;
  max-width: 220px;
  background: #fff;
  transition: border 0.2s;
}
.newsletter-form input[type="email"]:focus {
  border: 1.5px solid #ff9800;
  outline: none;
}
.newsletter-form button {
  padding: 10px 22px;
  background: #ff9800;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover {
  background: #e68900;
}
 /* Navigation Bar */
    header {
      background: #222;
      color: #fff;
      padding: 15px 30px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo span {
      font-size: 1.5rem;
      font-weight: bold;
      color: #ff9800;
    }

    .top a {
      margin-left: 20px;
      text-decoration: none;
      color: #fff;
      font-weight: 500;
      transition: color 0.3s ease;
      cursor: pointer;
    }

    .top a:hover {
      color: #ff9800;
    }


    .article-flex-section {
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 16px;
 /* border-bottom: 1px solid black;*/
}
.article-flex-heading {
  text-align: center;
  margin-bottom: 32px;
  font-size: 2rem;
  color: #222;
}
.article-flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.article-flexbox {
  flex: 1 1 300px;
  max-width: 320px;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}
.article-flexbox img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.article-flexbox p {
  padding: 16px 12px 18px 12px;
  font-size: 1.05rem;
  color: #444;
  text-align: center;
  margin: 0;
}

 .article-header {
  background: #f5f7fa;
  padding: 48px 0 32px 0;
  text-align: center;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 32px;
  background-image: url('https://images.pexels.com/photos/33936499/pexels-photo-33936499.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.article-header-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}

.article-header-content h1 {
  font-size: 2.3rem;
  color: #222;
  margin-bottom: 16px;
  font-weight: 700;
}

.article-header-content p {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
  margin: 0;
}

.footer{
    text-align: center;
    padding: 20px;
    background:#ccc;
    color: white;
    margin-top: 20px;
}

.divide{
  display: flex;
  gap:10px;
}

.div{
  width: 30%;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 32px 0 16px 0;
}
.social-icons img {
  width: 28px;
  height: 28px;
  display: inline-block;
  filter: grayscale(0.2) brightness(0.9);
  transition: filter 0.2s;
}
.social-icons img:hover {
  filter: none;
}
@media (max-width: 900px) {
  .article-flex-grid {
    gap: 20px;
  }
  .article-flexbox {
    max-width: 100%;
    min-width: 180px;
  }
  .article-flexbox img {
    height: 120px;
  }
}