/* style/community-forum.css */
.page-community-forum {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa; /* Light background for general content */
}

.page-community-forum__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-community-forum__section {
  padding: 60px 0;
  text-align: center;
}

.page-community-forum__section--why-join,
.page-community-forum__section--get-started {
  background-color: #fff;
}

.page-community-forum__section--categories,
.page-community-forum__section--tips-strategies,
.page-community-forum__section--testimonials,
.page-community-forum__section--news-updates {
  background-color: #f1f1f1; /* Slightly darker background for contrast */
}

.page-community-forum__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient for hero */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-community-forum__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff; /* Ensure high contrast */
}

.page-community-forum__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #e0e0e0; /* Slightly off-white for contrast */
}

.page-community-forum__hero-actions .page-community-forum__btn {
  margin: 10px;
}

.page-community-forum__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  border: 2px solid transparent;
}

.page-community-forum__btn--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #333; /* Dark text for high contrast */
  border-color: #ffc107;
}

.page-community-forum__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #000;
}

.page-community-forum__btn--secondary {
  background-color: #007bff; /* Main color */
  color: #fff; /* White text for high contrast */
  border-color: #007bff;
}

.page-community-forum__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-community-forum__btn--outline {
  background-color: transparent;
  color: #ffc107; /* Auxiliary color for outline text */
  border-color: #ffc107;
}

.page-community-forum__btn--outline:hover {
  background-color: #ffc107;
  color: #333;
}

.page-community-forum__hero-image {
  max-width: 80%;
  height: auto;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-community-forum__image--centered {
  max-width: 70%;
  height: auto;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-community-forum__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main color for titles */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-community-forum__text {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-community-forum__text strong {
  color: #007bff;
}

.page-community-forum__features-grid,
.page-community-forum__category-grid,
.page-community-forum__testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-community-forum__feature-item,
.page-community-forum__category-item,
.page-community-forum__testimonial-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-community-forum__feature-item:hover,
.page-community-forum__category-item:hover,
.page-community-forum__testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-community-forum__feature-icon,
.page-community-forum__category-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #e9f5ff; /* Light blue background for icons */
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-community-forum__feature-title,
.page-community-forum__category-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-community-forum__feature-text,
.page-community-forum__category-description {
  font-size: 1em;
  color: #666;
}

.page-community-forum__list,
.page-community-forum__rules-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.page-community-forum__list li,
.page-community-forum__rules-list li {
  background-color: #fefefe;
  margin-bottom: 15px;
  padding: 15px 25px;
  border-left: 5px solid #ffc107; /* Auxiliary color for list item highlight */
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #444;
}

.page-community-forum__list li strong {
  color: #007bff;
}

.page-community-forum__rules-list li {
  border-left-color: #007bff;
}

.page-community-forum__testimonial-item {
  background-color: #e9f5ff; /* Light blue background for testimonials */
  border-left: 5px solid #007bff;
}

.page-community-forum__testimonial-text {
  font-style: italic;
  color: #333;
  margin-bottom: 15px;
}

.page-community-forum__testimonial-author {
  font-weight: bold;
  color: #007bff;
}

.page-community-forum__cta-buttons .page-community-forum__btn {
  margin: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-community-forum__hero-title {
    font-size: 2.5em;
  }
  .page-community-forum__hero-subtitle {
    font-size: 1.2em;
  }
  .page-community-forum__section-title {
    font-size: 2em;
  }
  .page-community-forum__hero-image,
  .page-community-forum__image--centered {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-community-forum__section {
    padding: 40px 0;
  }
  .page-community-forum__hero-title {
    font-size: 2em;
  }
  .page-community-forum__hero-subtitle {
    font-size: 1em;
  }
  .page-community-forum__section-title {
    font-size: 1.8em;
  }
  .page-community-forum__features-grid,
  .page-community-forum__category-grid,
  .page-community-forum__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-community-forum__btn {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-community-forum__list,
  .page-community-forum__rules-list {
    padding: 0 10px;
  }
  .page-community-forum__list li,
  .page-community-forum__rules-list li {
    padding: 10px 15px;
  }
}