:root {
  --emerald: #2e8b57;
  --emerald-dark: #1e6b47;
  --gold: #daa520;
  --sky-blue: #87ceeb;
  --ivory: #fffff0;
  --warm-orange: #ff8c42;
  --beige: #f5f5dc;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --coral: #ff7f50;
  --deep-blue: #1a365d;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: #f9f9f9;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--emerald);
  font-size: 1.8rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0.5rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, var(--emerald), var(--gold));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-explore {
  background: linear-gradient(to right, var(--emerald), var(--emerald-dark));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.btn-explore:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
  color: white;
}

.btn-outline-explore {
  background: transparent;
  color: var(--emerald);
  border: 2px solid var(--emerald);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-explore:hover {
  background: var(--emerald);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

/* Hero Section */
.events-hero {
  height: 60vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.events-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.events-hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
}

.events-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.events-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--ivory);
}

/* Events Section */
.events-section {
  padding: 80px 0;
  background: white !important;
}


.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  color: black !important;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 5px;
  bottom: -15px;
  left: 0;
  background: linear-gradient(to right, var(--emerald), var(--gold)) !important;
  border-radius: 3px;
}

.event-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.event-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-img img {
  transform: scale(1.05);
}

.event-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--emerald);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 60px;
}

.event-month {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.event-day {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark) !important;
}

.card-text {
  color: var(--text-light) !important;
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.6;
}

.event-location {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Event Status Badges */
.event-status-upcoming {
  background-color: var(--emerald);
  color: white;
}

.event-status-ongoing {
  background-color: var(--gold);
  color: white;
}

.event-status-past {
  background-color: var(--text-light);
  color: white;
}

/* Event Filters */
.event-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.event-filter-btn {
  background: white;
  border: 2px solid #e9ecef;
  color: var(--text-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.event-filter-btn:hover,
.event-filter-btn.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: white;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  display: none;
}

.no-results i {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.no-results h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
}

.no-results p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 80px 0 20px;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--ivory);
}

.footer p {
  color: #bdc3c7;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--ivory);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--emerald);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: #95a5a6;
}

/* Responsive */
@media (max-width: 992px) {
  .events-hero {
    padding-top: 10rem;
    height: 60vh;
  }

  .events-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .events-hero {
    height: 35vh;
  }

  .events-title {
    font-size: 2.2rem;
  }

  .events-subtitle {
    font-size: 1.2rem;
  }

  .event-filters {
    gap: 10px;
  }

  .event-filter-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .events-hero {
    height: 30vh;
  }

  .events-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
