/* Upcoming Events Section */
.events-section {
  background-color: #fff9d6;
  padding: 3rem 1rem;
  text-align: center;
}

.events-section .section-title {
  font-size: 2.2rem;
  color: #8c6500;
}

.events-section .section-logo {
  width: 60px;
  margin: 0.5rem auto 1.2rem;
  opacity: 0.9;
}

.events-section .section-description {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #6b5600;
  font-size: 1rem;
}

/* Event Cards Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.event-card {
  background-color: #fff4b6;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.event-date {
  font-size: 0.9rem;
  color: #8c6500;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.event-date span {
  display: inline-block;
  color: #a97800;
}

.event-title {
  font-size: 1.3rem;
  color: #533c00;
  margin: 0.5rem 0 0.5rem;
}

.event-desc {
  font-size: 0.95rem;
  color: #5f5030;
  margin-bottom: 0.8rem;
}

.event-location {
  color: #8c6500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-view-events {
  background-color: #a97800;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-view-events:hover {
  background-color: #8c6500;
}


/* Online Classes Section */
.session-focus {
  background-color: #fffaf3;
  text-align: center;
  padding: 4rem 1rem;
}

.session-focus .section-title {
  font-size: 2.4rem;
  color: #8c6500;
}

.session-focus .section-logo {
  width: 65px;
  margin: 0.5rem auto 1.2rem;
  opacity: 0.9;
  margin-top: -10px;
}

.session-subheading {
  font-size: 1.75rem;
  color: #7a5c00;
  font-weight: 600;
  margin-top: -20px;
}

.session-subheading1 {
  font-size: 1.75rem;
  color: #7a5c00;
  font-weight: 600;
  margin-top: 0;
}

.session-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.session-card {
  background-color: #fff9d6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 1.2rem;
}

.session-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.session-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.session-heading {
  font-size: 1.4rem;
  color: #533c00;
  margin: 0.8rem 0 0.3rem;
}

.session-description {
  color: #5f5030;
  font-size: 0.95rem;
  padding: 0 1rem;
}


/* event links section */
.events-links-section {
  text-align: center;
  background-color: #fff9e7;
  padding: 3rem 1rem;
}

.events-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 2rem;
}

.events-links a {
  display: block;
  background-color: #fff4b6;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #5f5030;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.events-links a:hover {
  background-color: #f0d96b;
  transform: translateY(-3px);
}



/* Responsive Adjustments */
@media (max-width: 768px) {
  .events-hero .section-title,
  .events-section .section-title,
  .session-focus .section-title {
    font-size: 2rem;
  }

  .event-title {
    font-size: 1.1rem;
  }

  .session-heading {
    font-size: 1.2rem;
  }
}
