/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  background-color: transparent;
  border: none;
}

/* Layout Containers */
.container,
.events-container,
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header,
main,
footer {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header Styles */
.events-header,
.contact-header {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(to right, #FF0000, #000000, #008000);
  color: white;
  margin-bottom: 2rem;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.events-header h1,
.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Event Filters */
.event-filters {
  background: white;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.category-tags,
.time-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-tag,
.time-option {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background-color: #e9ecef;
  transition: background-color 0.3s;
}

.category-tag.active,
.time-option.active {
  background-color: #007bff;
  color: white;
}

/* Events Display */
.event-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.event-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-date {
  background: #007bff;
  color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: bold;
}

.event-date .month {
  font-size: 1rem;
  text-transform: uppercase;
}

.event-details {
  padding: 1rem;
  flex: 1;
}

.event-category {
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background-color: #e9ecef;
}

.btn-register {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  text-align: center;
}

.past-event-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.past-event {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Page Styles */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info,
.contact-form {
  flex: 1 1 45%;
}

@media (max-width: 768px) {
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-item i {
  font-size: 1.25rem;
  color: #007bff;
  margin-top: 0.3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.submit-btn {
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.map-container {
  margin-top: 2rem;
}

.map iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
  height: 400px;
}

footer {
  text-align: center;
  padding: 1.5rem 0;
  background-color: #f1f1f1;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Home Page Styles */

/* Hero Section */
.hero {
  background: linear-gradient(to right, #007bff, #0056b3);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: white;
  color: #007bff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
  background-color: #0056b3;
  color: white;
}

/* Highlights Section */
.highlights {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.highlight-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  flex: 1 1 250px;
  transition: transform 0.3s;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card img {
  margin: 0 auto 1rem auto;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* News and Events */
.news-events {
  margin: 4rem 0;
}

.news-events h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.news-events .event-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.news-events .event-date {
  background: #007bff;
  color: white;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  min-width: 60px;
  margin-right: 1rem;
}

.news-events .event-date .day {
  font-size: 1.5rem;
  font-weight: bold;
}

.news-events .event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.news-events .event-info h3 {
  margin: 0;
  font-size: 1.1rem;
}

.news-events .event-info p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.read-more {
  color: #007bff;
  font-weight: bold;
  margin-top: 0.5rem;
  display: inline-block;
}

.view-all {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-weight: bold;
  color: #0056b3;
}

/* Quick Facts Section */
.quick-facts {
  margin: 4rem 0;
  text-align: center;
}

.quick-facts h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.fact {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.fact .number {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
}

.fact .label {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #555;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .highlights {
    flex-direction: column;
    align-items: center;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
