/* Events Page Specific Styles */
:root {
  /* --primary-purple: #6366f1;
  --dark-purple: #4f46e5;
  --light-purple: #8b5cf6; */
  --purple-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --coral: #ff6b6b;
  --teal: #06d6a0;
  --amber: #fbbf24;
  --emerald: #10b981;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
}
/* 
/* Header Styles */
 /* header { */
  /* background: linear-gradient(135deg, var(--gray-800) 0%, #1a1a2e 50%, var(--dark-purple) 100%); */
  /* box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  z-index: 1050;
  color: black !important;
}  */

/* .navbar {
  padding: 0.5rem 0;
} */

/* .navbar-brand img {
  height: 50px;
} */

/* .navbar-nav .nav-link {
  color:black !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.25rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  margin: 0 0.25rem;
} */

/* .navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: var(--amber);
  color: var(--gray-800) !important;
  transform: translateY(-2px);
} */
/* 
.navbar-nav .btn-warning {
  background: var(--amber) !important;
  color: var(--gray-800) !important;
  font-weight: 700;
  border: none;
  padding: 0.75rem 1.5rem !important;
} */

/* Events Hero Section */
.events-hero {
  position: relative;
  min-height: 80vh;
  background: var(--purple-gradient);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float-shape 8s ease-in-out infinite;
}

.shape-1 {
  width: 120px;
  height: 120px;
  background: var(--coral);
  border-radius: 50%;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: var(--teal);
  transform: rotate(45deg);
  top: 60%;
  left: 5%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: var(--amber);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 30%;
  left: 15%;
  animation-delay: 4s;
}

.shape-4 {
  width: 90px;
  height: 90px;
  background: var(--emerald);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 70%;
  right: 20%;
  animation-delay: 6s;
}

@keyframes float-shape {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.content-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-badge i {
  margin-right: 0.5rem;
  color: var(--amber);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.title-line {
  display: block;
  animation: slideInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }

.title-line.highlight {
  background: linear-gradient(45deg, var(--amber), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes slideInUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 1rem;
  opacity: 0.8;
}

/* Events Navigation */
.events-nav {
  background: var(--gray-50);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.nav-pills-container {
  /* background: white; */
  /* border-radius: 50px; */
  padding: 0.5rem;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
  display: inline-block;
  margin: 0 auto;
}

.nav-pills .nav-link {
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  color: var(--gray-600);
  border: none;
  background: transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-pills .nav-link.active {
background: linear-gradient(to right, #E0569F, #6A329F);
    color: aliceblue;  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-pills .nav-link:hover:not(.active) {
  background: var(--gray-100);
  color: var(--amber);
}

/* Events Content */
.events-content {
  padding:0 !important;
  background: var(--gray-50);
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Styles */
.filter-container,
.archive-filter {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.filter-select {
  border: 2px solid var(--gray-100);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-select:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Event Cards */
.event-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

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

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

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

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

.event-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.event-badge.workshop {
  background: var(--emerald);
  color: white;
}

.event-badge.fundraiser {
  background: var(--coral);
  color: white;
}

.event-badge.awareness {
  background: var(--amber);
  color: var(--gray-800);
}

.event-badge.community {
  background: var(--teal);
  color: white;
}

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  color: white;
  padding: 0.75rem;
  border-radius: 12px;
  text-align: center;
  min-width: 70px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  z-index: 2;
}

.event-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.event-content {
  padding: 2rem;
}

.event-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-800);
  line-height: 1.3;
}

.event-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.event-meta {
  margin-bottom: 2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.meta-item i {
  margin-right: 0.75rem;
  color: var(--primary-purple);
  width: 16px;
}

.event-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.event-actions .btn {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: #6122ba ;
  color: #fff !important;
}

.event-actions .btn-primary {
  background: #b70816;
  border: none;
}

.event-actions .btn-primary:hover {
  background:#b70816;
  transform: translateY(-2px);
}

.event-actions .btn-outline-secondary {
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
}

.event-actions .btn-outline-secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--gray-700);
}

/* Archive Timeline */
.archive-timeline {
  position: relative;
}

.timeline-year {
  margin-bottom: 4rem;
}

.year-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.year-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}

.timeline-events {
  position: relative;
}

.timeline-events::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-purple), var(--light-purple));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  background: var(--primary-purple);
  color: white;
  padding: 1rem 0.5rem;
  border-radius: 12px;
  margin-right: 2rem;
  position: relative;
  z-index: 2;
}

.timeline-date .month {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.timeline-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.timeline-content {
  flex: 1;
}

.timeline-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.timeline-card .card-header {
  padding: 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-card .card-header h5 {
  margin: 0;
  font-weight: 700;
  color: var(--gray-800);
}

.timeline-card .card-body {
  padding: 1.5rem;
}

.timeline-card .card-body p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.impact-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.impact-stats .stat {
  text-align: center;
}

.impact-stats .number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
}

.impact-stats .label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-gallery {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.event-gallery img {
  width: 60px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gray-100);
}

.more-photos {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 600;
}

.timeline-card .card-footer {
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 1rem;
}

.timeline-card .card-footer .btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background-color: #6122ba;
  color: #fff !important;
}

/* Call to Action */
.cta-section {
  background: #b70816;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
/* .main-footer {
  background: var(--gray-800);
  color: white;
  padding: 2rem 0;
}

.footer-content h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-purple);
  color: white;
  transform: translateY(-3px);
} */

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav-pills-container {
     width: 100%;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    background-color:var(--white);
  }
  
  .nav-pills .nav-link {
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  
  .event-actions {
    flex-direction: column;
  }
  
  .timeline-events::before {
    left: 40px;
  }
  
  .timeline-date {
    width: 60px;
    margin-right: 1rem;
  }
  
  .impact-stats {
    justify-content: center;
    gap: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .filter-container .row,
  .archive-filter .row {
    gap: 1rem;
  }
  
  .filter-container .col-md-6,
  .archive-filter .col-md-4 {
    margin-bottom: 1rem;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-date {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .timeline-events::before {
    display: none;
  }
}

/* Loading and Animation States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-purple);
}