body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
line-height: 1.6;
color: #222;
background: #fff;
}
header {
background: linear-gradient(135deg,#003366,#004080);
color: white;
padding: 80px 20px 60px;
text-align: center;
position: relative;
}
header::after {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 64, 128, 0.6);
z-index: 1;
}
header * {
position: relative;
z-index: 2;
}
header img {
max-height: 80px;
margin-bottom: 10px;
}
nav {
background: #003366;
text-align: center;
padding: 15px 0;
position: sticky;
top: 0;
z-index: 10;
}
nav a {
color: white;
text-decoration: none;
margin: 0 20px;
font-weight: bold;
transition: color 0.3s ease;
}
nav a:hover {
color: #ffcc00;
}
section {
padding: 60px 20px;
max-width: 1100px;
margin: auto;
}
h2 {
color: #004080;
margin-bottom: 30px;
text-align: center;
font-size: 2em;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 30px;
margin-top: 30px;
}
.stat-block {
background: #f1f6fc;
padding: 25px;
border-radius: 12px;
text-align: center;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
transition: transform 0.3s ease;
}
.stat-block:hover {
transform: scale(1.03);
}
.stat-block h3 {
font-size: 2.5em;
color: #004080;
margin-bottom: 10px;
}

/* Events Section Enhanced Styles */
.events-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.filter-btn {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #e9ecef;
  color: #495057;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  background: linear-gradient(135deg, #004080 0%, #0056b3 100%);
  border-color: #004080;
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 64, 128, 0.25);
}

.filter-btn.active {
  background: linear-gradient(135deg, #004080 0%, #0056b3 100%);
  border-color: #004080;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 64, 128, 0.4);
  transform: translateY(-2px);
}

.filter-btn:focus {
  outline: 2px solid #004080;
  outline-offset: 2px;
}

/* Enhanced Timeline Layout */
.events-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.events-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #004080 0%, #0056b3 50%, #004080 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 64, 128, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
}

.timeline-item:nth-child(odd) .event-card {
  margin-left: 0;
  margin-right: 55%;
}

.timeline-item:nth-child(even) .event-card {
  margin-left: 55%;
  margin-right: 0;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #004080, #0056b3);
  border: 4px solid white;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(0, 64, 128, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.timeline-item:hover .timeline-marker {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 0 8px rgba(0, 64, 128, 0.3);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 35px;
  margin-top: 30px;
  padding: 0 20px;
}

.event-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(0, 64, 128, 0.1);
  backdrop-filter: blur(10px);
}

.event-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 64, 128, 0.2);
  border-color: rgba(0, 64, 128, 0.3);
}

.event-card.hidden {
  display: none;
}

.event-image-container {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.event-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 64, 128, 0.2) 0%, rgba(0, 51, 102, 0.5) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover .event-image-container::before {
  opacity: 1;
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.event-card:hover img {
  transform: scale(1.08) rotate(1deg);
}

.event-date-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
  border: 1px solid rgba(0, 64, 128, 0.1);
}

.event-date-badge .month {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  color: #004080;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-date-badge .year {
  display: block;
  font-size: 1.2em;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.event-content {
  padding: 28px;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.event-type {
  background: linear-gradient(135deg, #004080, #0056b3);
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 64, 128, 0.3);
}

.event-partners {
  font-size: 0.85em;
  color: #666;
  font-weight: 500;
  font-style: italic;
}

.event-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.event-card:hover .event-title {
  color: #004080;
}

.event-description {
  color: #666;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.learn-more-btn {
  background: linear-gradient(135deg, #004080, #0056b3);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 64, 128, 0.3);
}

.learn-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.learn-more-btn:hover::before {
  left: 100%;
}

.learn-more-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 64, 128, 0.4);
}

.learn-more-btn:focus {
  outline: 2px solid #004080;
  outline-offset: 2px;
}

/* Loading Animation */
.events-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 1.1em;
  color: #666;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #004080;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  margin: 20px;
  padding: 40px;
  border-radius: 24px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s ease;
  border: 1px solid rgba(0, 64, 128, 0.1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #999;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #004080;
  background: rgba(0, 64, 128, 0.1);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-timeline::before {
    left: 30px;
  }
  
  .timeline-item:nth-child(odd) .event-card,
  .timeline-item:nth-child(even) .event-card {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .events-filters {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 10px;
  }
  
  .event-image-container {
    height: 220px;
  }
  
  .event-content {
    padding: 24px;
  }
  
  .event-title {
    font-size: 1.3em;
  }
  
  .modal-content {
    margin: 15px;
    padding: 30px;
    border-radius: 20px;
  }
}
.cta {
background: #e6f0ff;
padding: 50px 30px;
text-align: center;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.cta p {
font-size: 1.2em;
margin-bottom: 20px;
}
.cta a {
background: #004080;
color: white;
padding: 12px 24px;
border-radius: 6px;
text-decoration: none;
font-weight: bold;
transition: background 0.3s ease;
}
.cta a:hover {
background: #003060;
}
footer {
background: #003366;
color: white;
padding: 25px 20px;
text-align: center;
font-size: 0.95em;
}
@media (max-width: 600px) {
nav a {
display: block;
margin: 10px 0;
}
.event img {
height: 160px;
}
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #004080;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  display: none;
  cursor: pointer;
}
form input, form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form button {
  background: #004080;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}
form button:hover {
  background: #003060;
}