/*
Theme Name: Flatsome Child
Template: flatsome
Version: 1.0
*/
.home-seo {
  padding: 100px 20px;
  background: #ffffff;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.download-btn {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 10px 20px;
  background: #1b5e4b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s ease;
}

.download-btn:hover {
  background: #0f3d2e;
}


html {
  scroll-behavior: smooth;
}



body {
  font-family: Georgia, serif;
  background: #ffffff;
  color: #222;
  font-size: 18px;
  line-height: 1.7;
}

.hero {
   position: relative;
  z-index: 10;
  height: 90vh;
 background: url('/wp-content/uploads/hero.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: relative;
  z-index: 11;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}


.hero-content {
     position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 20px;
  pointer-events: auto;
}

.hero-content h1 {
    color:white;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-content p {
  font-size: 20px;
  margin-top: 10px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}


.home-intro {
  padding: 100px 20px 0 20px;
  background: #ffffff;
  text-align: center;
}










.section-divider {
  width: 100%;
  height: 1px;
  margin: 80px 0;
  background: linear-gradient(to right, transparent, #1b5e4b, transparent);
  opacity: 0.5;
}






.topics {
  padding: 20px 20px 100px 20px;
  background: #ffffff;
  text-align: center;
}

.topics h2 {
  font-size: 36px;
  margin-bottom: 60px;
  font-weight: 600;
  color: #0f3d2e;
}

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.topic-card {
  display: block; /* important for clickable card */
  width: 280px;
  padding: 30px;
  background: #f4f8f6;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  transition: all 0.3s ease;
  border: 1px solid #e0ece8;
}

.topic-card:hover {
  background: #1b5e4b;
  color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.topic-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.topic-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

.topic-card:hover p {
  opacity: 0.95;
}

.topic-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
}




@media (max-width: 768px) {

  .hero {
    height: 75vh;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .download-btn {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 10px 20px;
  background: #1b5e4b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s ease;
}


}

@media (max-width: 768px) {

  .start-grid,
  .topic-grid,
  .most-read-grid {
    flex-direction: column;
    align-items: center;
  }

  .start-card,
  .topic-card,
  .most-card {
    width: 90%;
  }

}

@media (max-width: 768px) {

  .home-intro,
  .start-here,
  .topics,
  .most-read {
    padding: 60px 20px;
  }

}

@media (max-width: 768px) {

  body {
    font-size: 16px;
  }

  p {
    line-height: 1.6;
  }
  
  audio {
  width: 100%;
  margin: 20px 0;
}
a {
  padding: 4px 0;
}


}
