/* Index page specific styles */
.hero-bg {
  background: none;
  padding-bottom: 0;
}

.hero {
  background: none;
  text-align: center;
  padding-top: 0rem;
  padding-bottom: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.events-list {
  max-width: 1200px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 0 1.5rem;
}

.event-card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 350px;
  margin: 0 auto;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  opacity: 0.9;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(0, 95, 163, 0.15) 0%, rgba(0, 95, 163, 0.25) 100%);
  color: var(--primary);
  transition: all 0.2s ease;
  align-self: flex-start;
  box-shadow: 0 2px 4px rgba(0, 95, 163, 0.15);
  border: 1px solid rgba(0, 95, 163, 0.3);
}

.school-badge {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.15) 0%, rgba(46, 125, 50, 0.25) 100%);
  color: #2E7D32;
  border: 1px solid rgba(46, 125, 50, 0.3);
  box-shadow: 0 2px 4px rgba(46, 125, 50, 0.15);
}

.seminar-badge {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.15) 0%, rgba(13, 71, 161, 0.25) 100%);
  color: #0D47A1;
  border: 1px solid rgba(13, 71, 161, 0.3);
  box-shadow: 0 2px 4px rgba(13, 71, 161, 0.15);
}

.workshop-badge {
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.15) 0%, rgba(230, 81, 0, 0.25) 100%);
  color: #E65100;
  border: 1px solid rgba(230, 81, 0, 0.3);
  box-shadow: 0 2px 4px rgba(230, 81, 0, 0.15);
}

.event-badge:hover {
  background: linear-gradient(135deg, rgba(0, 95, 163, 0.2) 0%, rgba(0, 95, 163, 0.3) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 95, 163, 0.2);
}

.school-badge:hover {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.2) 0%, rgba(46, 125, 50, 0.3) 100%);
  box-shadow: 0 4px 8px rgba(46, 125, 50, 0.2);
}

.seminar-badge:hover {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.2) 0%, rgba(13, 71, 161, 0.3) 100%);
  box-shadow: 0 4px 8px rgba(13, 71, 161, 0.2);
}

.workshop-badge:hover {
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.2) 0%, rgba(230, 81, 0, 0.3) 100%);
  box-shadow: 0 4px 8px rgba(230, 81, 0, 0.2);
}

.event-status {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(0, 95, 163, 0.1) 0%, rgba(0, 95, 163, 0.15) 100%);
  color: var(--primary);
  transition: all 0.2s ease;
  align-self: flex-start;
  box-shadow: 0 2px 4px rgba(0, 95, 163, 0.1);
  border: 1px dashed rgba(0, 95, 163, 0.2);
}

.upcoming-status {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(25, 118, 210, 0.15) 100%);
  color: #1976D2;
  border: 1px dashed rgba(25, 118, 210, 0.2);
  box-shadow: 0 2px 4px rgba(25, 118, 210, 0.1);
}

.completed-status {
  background: linear-gradient(135deg, rgba(56, 142, 60, 0.1) 0%, rgba(56, 142, 60, 0.15) 100%);
  color: #388E3C;
  border: 1px dashed rgba(56, 142, 60, 0.2);
  box-shadow: 0 2px 4px rgba(56, 142, 60, 0.1);
}

.cancelled-status {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(211, 47, 47, 0.15) 100%);
  color: #D32F2F;
  border: 1px dashed rgba(211, 47, 47, 0.2);
  box-shadow: 0 2px 4px rgba(211, 47, 47, 0.1);
}

.event-status:hover {
  background: linear-gradient(135deg, rgba(0, 95, 163, 0.15) 0%, rgba(0, 95, 163, 0.2) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 95, 163, 0.15);
}

.upcoming-status:hover {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.15) 0%, rgba(25, 118, 210, 0.2) 100%);
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.15);
}

.completed-status:hover {
  background: linear-gradient(135deg, rgba(56, 142, 60, 0.15) 0%, rgba(56, 142, 60, 0.2) 100%);
  box-shadow: 0 4px 8px rgba(56, 142, 60, 0.15);
}

.cancelled-status:hover {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.15) 0%, rgba(211, 47, 47, 0.2) 100%);
  box-shadow: 0 4px 8px rgba(211, 47, 47, 0.15);
}

.event-title {
  font-size: 1.3rem;
  background: linear-gradient(90deg, var(--text-dark) 0%, var(--text-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.event-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: 500;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
  background: rgba(0, 95, 163, 0.03);
  padding: 0.8rem;
  border-radius: 8px;
}

.event-meta div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.event-meta i {
  color: var(--primary);
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
}

.event-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
  flex-grow: 1;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.event-actions button {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, rgba(0, 95, 163, 0.1) 0%, rgba(0, 95, 163, 0.2) 100%);
  color: var(--primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 95, 163, 0.1);
}

.event-actions button:hover {
  background: linear-gradient(135deg, rgba(0, 95, 163, 0.15) 0%, rgba(0, 95, 163, 0.25) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 95, 163, 0.15);
}

.event-actions button:active {
  transform: translateY(0);
}

.no-events {
  margin: 2rem auto;
}

.no-events p {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .events-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 0 0.3rem;
  }
  
  .event-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .event-title {
    font-size: 1.2rem;
  }
  
  .event-actions {
    flex-direction: column;
  }
  
  .event-actions button {
    width: 100%;
  }
} 