.text-center {
  text-align: center;
}

#pageHeader {
  background: url("../img/blogs.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  /* background-position: center; */
  /* margin-bottom: 100px; */
}

h2,
h3,
h1 {
  margin: 0;
  padding: 0;
  font-size: 40px;
}

/* Main Section */
.main-section {
  margin-top: -5rem;
  background-color: #333;
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 60px 20px;
}

.main-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.main-description {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.whatsapp-join-btn {
  margin-top: 20px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  background-color: #25d366;
  color: #fff;
  font-size: 1rem;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.whatsapp-button:hover {
  background-color: #45cb76;
  color: white;
  text-decoration: none;
}

.whatsapp-button i {
  margin-left: 10px;
}

/* Blogs Section */
.blogs-section {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
}

.blog-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
  padding: 20px;
}
.blog-title {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.blog img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.blog-content {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.blog-content li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #666;
}

.blog-content .highlight {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.blog-paragraph {
  margin-top: 10px;
  color: #333;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 5px;
  font-size: 1rem;
  color: #555;
  gap: 10px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta strong {
  color: #333;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }

  .main-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .blog-title {
    font-size: 1.5rem !important;
  }
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.8rem;
  }
}
