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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: #0f172a;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: #8b5cf6;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 2px 20px rgba(59, 130, 246, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b82f6;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.nav-menu li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  vertical-align: middle;
  line-height: 1.2;
}

.nav-link:hover {
  color: #3b82f6;
  transform: translateY(-2px);
}

.nav-link:active {
  transform: translateY(0);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

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

.nav-toggle { display: none; }
.nav-toggle span { width: 25px; height: 3px; background: #e2e8f0; margin: 3px 0; transition: 0.3s; }

/* Hero Section */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
}
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.hero-content { max-width: 700px; color: white; margin-bottom: 4rem; }
.hero-title { font-size: 3.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.highlight {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); color: white; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3); }
.btn-secondary { background: rgba(59, 130, 246, 0.1); color: #8b9ac5; border: 1px solid rgba(59, 130, 246, 0.3); }
.btn-secondary:hover { background: rgba(59, 130, 246, 0.2); color: #d4d9ea; }
.hero-stats { 
  display: flex; 
  gap: 2rem; 
  color: white; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap; 
  margin-top: 2rem; 
}
.stat { 
  text-align: center; 
  padding: 1.5rem; 
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 12px; 
  backdrop-filter: blur(10px); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  flex: 1; 
  min-width: 200px; 
}
.stat h3 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; color: #f1f5f9; }
.stat p { opacity: 0.8; color: #94a3b8; }

/* Featured Event Banner */
.featured-event-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
  border-top: 3px solid #8b5cf6;
  border-bottom: 3px solid #8b5cf6;
  position: relative;
  overflow: hidden;
  animation: bannerGlow 3s ease-in-out infinite alternate;
}

.featured-event-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  animation: shimmer 2s infinite;
}

.featured-event-content {
  padding: 3rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.featured-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  animation: badgeBounce 2s ease-in-out infinite;
}

.badge-icon {
  font-size: 1rem;
  animation: iconSpin 2s linear infinite;
}

.featured-event-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.featured-event-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.featured-event-details {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-item i {
  color: #8b5cf6;
  font-size: 1rem;
}

.featured-event-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn-featured {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

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

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

.btn-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
  border-color: #c084fc;
}

.btn-secondary-featured {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.btn-secondary-featured:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: #8b5cf6;
}

.featured-event-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1f2937;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  animation: urgencyPulse 1.5s ease-in-out infinite;
  max-width: 300px;
  margin: 0 auto;
}

.featured-event-urgency i {
  font-size: 1rem;
  animation: clockTick 1s ease-in-out infinite;
}

/* Animations */
@keyframes bannerGlow {
  0% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  }
  100% {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes badgeBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

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

@keyframes urgencyPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes clockTick {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
}

/* Responsive Design for Featured Banner */
@media (max-width: 768px) {
  .featured-event-content {
    padding: 2rem 0;
  }
  
  .featured-event-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }
  
  .featured-event-description {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }
  
  .featured-event-details {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 0 1rem;
  }
  
  .featured-event-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  
  .btn-featured, .btn-secondary-featured {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .featured-event-urgency {
    font-size: 0.85rem;
    padding: 0.625rem 1.25rem;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .featured-event-content {
    padding: 1.5rem 0;
  }
  
  .featured-event-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  .featured-event-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .featured-event-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .detail-item {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .btn-featured, .btn-secondary-featured {
    max-width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  /* Better touch targets */
  .btn, .btn-filter, .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Improve scrolling on mobile */
  .calendar-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* Reduce animations on mobile for better performance */
  .featured-event-banner,
  .featured-event-badge,
  .featured-event-urgency {
    animation: none;
  }
  
  /* Ensure text is readable */
  .featured-event-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  /* Better spacing for mobile */
  .featured-event-banner {
    padding: 1rem 0;
  }
  
  .featured-event-content {
    padding: 1.5rem 0;
  }
}

/* Ensure all sections are properly centered */
.events-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 4rem 0;
  position: relative;
}

.events-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.about {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 4rem 0;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 60% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.featured-event-banner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.events-section .container,
.about .container,
.featured-event-banner .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Additional section styling */
.events-section {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* Section titles and subtitles */
.section-title {
  text-align: center;
  margin: 0 auto 1rem;
  width: 100%;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f1f5f9;
  background: linear-gradient(135deg, #ffffff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
  text-align: center;
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 800px;
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  opacity: 0.9;
}

/* Calendar controls */
.calendar-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 auto 2rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.btn-filter {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
}

.btn-filter:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-filter.active {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-color: #3b82f6;
  color: white;
}

.filter-label {
  font-weight: 600;
  color: #e2e8f0;
  margin-right: 0.5rem;
}

.btn-filter {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-filter:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #3b82f6;
  color: #ffffff;
}

.btn-filter.active {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Calendar container */
.calendar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#calendar {
  width: 100%;
  max-width: 100%;
}

/* About content */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.about-content p {
  text-align: center;
  margin: 0 auto 1rem;
  color: #ffffff;
  line-height: 1.6;
  font-size: 1.1rem;
}

.about-content a {
  color: #8b5cf6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.about-content a:hover {
  color: #a855f7;
  text-decoration: underline;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 3rem 0;
  margin-top: 0;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  width: 100%;
}

.footer-bottom p {
  color: #e2e8f0;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-social a {
  color: #a855f7;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  text-align: center;
}

.footer-social a:hover {
  color: #c084fc;
}

.footer-social i {
  font-size: 1.2rem;
}

/* Modal Styles */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); z-index: 1001; display: flex; align-items: center; justify-content: center; }
.modal-content { background: #1e293b; padding: 2rem; border-radius: 12px; width: 90%; max-width: 600px; position: relative; border: 1px solid rgba(148, 163, 184, 0.2); }
.modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; color: #94a3b8; cursor: pointer; }
.modal-content h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group-row { display: flex; gap: 1rem; }
.form-group-row .form-group { flex: 1; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem; background: #0f172a; border: 1px solid #334155; color: #e2e8f0; border-radius: 6px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #3b82f6; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.hero-stats {
  animation: fadeInUp 1s ease-out;
}

html { scroll-behavior: smooth; }

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ======================================== */

/* Mobile First Approach - Base styles for mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  /* Header */
  .nav-container {
    padding: 0 15px;
    height: 60px;
  }
  
  .nav-brand h1 {
    font-size: 1.25rem;
  }
  
  .nav-menu {
    display: none; /* Hide menu on mobile */
  }
  
  .nav-toggle {
    display: block;
    cursor: pointer;
    flex-direction: column;
    gap: 3px;
  }
  
  .nav-toggle span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    transition: 0.3s;
  }
  
  /* Hero Section */
  .hero {
    min-height: 90vh;
    padding-top: 60px;
  }
  
  .hero-container {
    padding: 0 15px;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Hero Stats */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
  }
  
  .stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
  }
  
  .stat h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .stat p {
    font-size: 0.85rem;
    opacity: 0.9;
  }
  
  /* Events Section */
  .events-section {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .events-section .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 1rem;
  }
  
  /* Calendar Controls */
  .calendar-controls {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    align-items: center;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }
  
  .filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .btn-filter {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    min-width: 100px;
    text-align: center;
    width: 100%;
    max-width: 200px;
  }
  
  .filter-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .btn-filter {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin: 0.1rem;
    text-align: center;
  }
  
  /* Calendar Container */
  .calendar-container {
    margin: 0 -20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: calc(100% + 40px);
    display: flex;
    justify-content: flex-start;
    padding: 0 20px;
  }
  
  #calendar {
    width: 100%;
    min-width: 700px;
  }
  
  /* About Section */
  .about {
    padding: 2rem 0;
  }
  
  .about-content {
    padding: 0 1rem;
    color: #ffffff;
  }
  
  .about-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0;
    margin-top: 0;
    text-align: center;
  }
  
  .footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 0 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
    color: #e2e8f0;
    text-align: center;
    width: 100%;
  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .footer-social a {
    font-size: 0.9rem;
    color: #a855f7;
    justify-content: center;
    text-align: center;
  }
  
  /* Modal */
  .modal-content {
    width: 95%;
    max-width: none;
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .modal-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .form-group-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form-group input, 
  .form-group textarea, 
  .form-group select {
    padding: 0.625rem;
    font-size: 0.9rem;
  }
}

/* Tablet Styles */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  /* Header */
  .nav-container {
    padding: 0 20px;
  }
  
  .nav-brand h1 {
    font-size: 1.4rem;
  }
  
  /* Hero Section */
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  
  .hero-actions {
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
  }
  
  .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
  
  /* Hero Stats */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat:last-child {
    grid-column: span 2;
    justify-self: center;
    max-width: 300px;
  }
  
  /* Events Section */
  .events-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Calendar Controls */
  .calendar-controls {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    flex-wrap: wrap;
  }
  
  .filter-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .btn-filter {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    min-width: 90px;
  }

  /* About Section */
  .about {
    padding: 3rem 0;
  }
  
  .about-content p {
    font-size: 1rem;
    color: #ffffff;
  }
  
  /* Footer */
  .footer {
    padding: 3rem 0;
    margin-top: 0;
    text-align: center;
  }
  
  .footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    width: 100%;
  }
  
  .footer-bottom p {
    color: #e2e8f0;
    text-align: center;
    width: 100%;
  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .footer-social a {
    color: #a855f7;
    justify-content: center;
    text-align: center;
  }
  
  /* Modal */
  .modal-content {
    width: 80%;
    max-width: 500px;
    padding: 2rem;
  }
  
  .form-group-row {
    flex-direction: row;
    gap: 1rem;
  }
}

/* Desktop Styles */
@media (min-width: 769px) {
  /* Navigation */
  .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  
  .nav-menu li {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 1rem;
    min-height: 44px;
    vertical-align: middle;
  }
  
  /* Hero Stats */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  /* Events Section */
  .events-section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  /* Calendar Controls */
  .calendar-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .btn-filter {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    min-width: 100px;
  }
  
  /* About Section */
  .about {
    padding: 4rem 0;
  }
  
  /* Footer */
  .footer {
    padding: 4rem 0;
    margin-top: 0;
    text-align: center;
  }
  
  .footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .footer-bottom p {
    color: #e2e8f0;
    text-align: center;
    width: 100%;
  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .footer-social a {
    color: #a855f7;
    justify-content: center;
    text-align: center;
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .hero-title {
    font-size: 3.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.2rem !important;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 3px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #e2e8f0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Menu Animation */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav-menu.active li {
  margin: 0.5rem 0;
  text-align: center;
}

.nav-menu.active .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.nav-menu.active .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }
  
  .btn:active {
    transform: scale(0.98);
  }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Ensure proper spacing on all devices */
* {
  box-sizing: border-box;
}

/* Prevent horizontal scroll on mobile */
body {
  overflow-x: hidden;
}

/* Improve readability on small screens */
@media (max-width: 480px) {
  body {
    font-size: 14px;
    line-height: 1.5;
  }
  
  h1, h2, h3 {
    line-height: 1.3;
  }
  
  p {
    line-height: 1.6;
  }
  
  /* Better touch targets */
  .btn, .btn-filter, .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Improve scrolling on mobile */
  .calendar-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* Reduce animations on mobile for better performance */
  .featured-event-banner,
  .featured-event-badge,
  .featured-event-urgency {
    animation: none;
  }
  
  /* Ensure text is readable */
  .featured-event-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  /* Better spacing for mobile */
  .featured-event-banner {
    padding: 1rem 0;
  }
  
  .featured-event-content {
    padding: 1.5rem 0;
  }
}