/* Community Page Specific Styles */

.community-features {
  background: white;
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: #f5f5f7;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 32px;
  color: #0071e3;
}

.feature-content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1d1d1f;
}

.feature-description {
  color: #515154;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  color: #0071e3;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: color 0.3s;
}

.feature-link:hover {
  color: #0056b8;
}

.feature-link i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.feature-link:hover i {
  transform: translateX(3px);
}

/* Community Events Section */
.community-events {
  background: #f5f5f7;
  padding: 80px 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.event-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-10px);
}

.event-icon {
  width: 70px;
  height: 70px;
  background: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.event-icon i {
  font-size: 28px;
  color: #0071e3;
}

.event-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1d1d1f;
}

.event-description {
  color: #515154;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.event-link {
  display: inline-flex;
  align-items: center;
  color: #0071e3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.event-link:hover {
  color: #0056b8;
}

.event-link i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.event-link:hover i {
  transform: translateX(3px);
}

/* Certification Program Section */
.certification-program {
  background: white;
  padding: 80px 0;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.cert-card {
  background: #f5f5f7;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-icon {
  width: 70px;
  height: 70px;
  background: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cert-icon i {
  font-size: 28px;
  color: #0071e3;
}

.cert-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cert-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1d1d1f;
}

.cert-description {
  color: #515154;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cert-features {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.feature-tag {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Join Community Section */
.join-community {
  background: #f5f5f7;
  padding: 80px 0;
  text-align: center;
}

.join-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-icon {
  width: 80px;
  height: 80px;
  background: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.join-icon i {
  font-size: 32px;
  color: #0071e3;
}

.join-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1d1d1f;
}

.join-description {
  color: #515154;
  line-height: 1.6;
  margin-bottom: 20px;
}

.join-link {
  display: inline-flex;
  align-items: center;
  color: #0071e3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.join-link:hover {
  color: #0056b8;
}

.join-link i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.join-link:hover i {
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .features-grid,
  .events-grid,
  .certification-grid {
    grid-template-columns: 1fr;
  }
  
  .community-features,
  .community-events,
  .certification-program,
  .join-community {
    padding: 60px 0;
  }
}