 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

 :root {
     --primary: #7C3AED;
     --primary-dark: #6D28D9;
     --primary-light: #8B5CF6;
     --secondary: #10B981;
     --secondary-dark: #059669;
     --accent: #F59E0B;
     --dark: #1F2937;
     --dark-2: #374151;
     --light: #F9FAFB;
     --light-2: #E5E7EB;
     --white: #FFFFFF;
     --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
     --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #FBBF24 100%);
     --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #34D399 100%);
     --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
     --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
     --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
     --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
     --radius-sm: 8px;
     --radius-md: 12px;
     --radius-lg: 16px;
     --radius-xl: 24px;
     --radius-2xl: 32px;
     --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
 }

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

 body {
     font-family: 'Inter', sans-serif;
     line-height: 1.6;
     color: var(--dark-2);
     background: var(--light);
     overflow-x: hidden;
 }

 /* Modern Hero Section */
 .hero-section {
     background: linear-gradient(135deg, #6a11cb 10%, #2575fc 100%);
     color: var(--white);
     padding: 5rem 0 4rem;
     position: relative;
     overflow: hidden;
 }

 .hero-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0V100H1000V0C800,70 600,90 400,80 200,70 100,40 0,0Z" fill="%23ffffff" opacity=".05"/></svg>');
     background-size: 100% auto;
     background-position: bottom;
 }

 .hero-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 24px;
     position: relative;
     z-index: 2;
 }

 .hero-content {
     text-align: center;
     max-width: 800px;
     margin: 0 auto;
 }

 .hero-badge {
     display: inline-block;
     background: rgba(255, 255, 255, 0.2);
     backdrop-filter: blur(10px);
     padding: 8px 20px;
     border-radius: var(--radius-2xl);
     margin-bottom: 24px;
     color: var(--white);
     font-size: 14px;
     font-weight: 500;
     letter-spacing: 0.5px;
     border: 1px solid rgba(255, 255, 255, 0.3);
 }

 .hero-title {
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 48px;
     font-weight: 800;
     line-height: 1.2;
     color: var(--white);
     margin-bottom: 20px;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 .hero-subtitle {
     font-size: 18px;
     color: rgba(255, 255, 255, 0.9);
     font-weight: 400;
     line-height: 1.6;
     max-width: 600px;
     margin: 0 auto;
 }

 /* Main Layout */
 .main-container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 40px 24px;
     display: grid;
     grid-template-columns: 1fr 380px;
     gap: 40px;
     position: relative;
 }

 @media (max-width: 1024px) {
     .main-container {
         grid-template-columns: 1fr;
         gap: 32px;
     }
 }

 /* Filter Tabs */
 .filter-section {
     background: var(--white);
     border-radius: var(--radius-lg);
     padding: 24px;
     margin-bottom: 32px;
     box-shadow: var(--shadow-md);
     border: 1px solid var(--light-2);
 }

 .filter-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 24px;
     flex-wrap: wrap;
     gap: 16px;
 }

 .filter-title {
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 20px;
     font-weight: 700;
     color: var(--dark);
 }

 .filter-tags {
     display: flex;
     gap: 12px;
     flex-wrap: wrap;
 }

 .filter-tag {
     padding: 10px 24px;
     border-radius: var(--radius-2xl);
     font-size: 14px;
     font-weight: 500;
     cursor: pointer;
     transition: var(--transition);
     border: 2px solid var(--light-2);
     background: var(--white);
     color: var(--dark-2);
     white-space: nowrap;
 }

 .filter-tag:hover {
     border-color: var(--primary-light);
     color: var(--primary);
     transform: translateY(-2px);
 }

 .filter-tag.active {
     background: var(--gradient-primary);
     color: var(--white);
     border-color: transparent;
     box-shadow: var(--shadow-md);
 }

 /* Event Grid */
 .events-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
     gap: 24px;
 }

 @media (max-width: 768px) {
     .events-grid {
         grid-template-columns: 1fr;
     }
 }

 /* Event Card - Modern Design */
 .event-card {
     background: var(--white);
     border-radius: var(--radius-lg);
     overflow: hidden;
     box-shadow: var(--shadow-md);
     transition: var(--transition-slow);
     position: relative;
     height: 100%;
     display: flex;
     flex-direction: column;
     border: 1px solid var(--light-2);
     opacity: 0;
     transform: translateY(20px);
     animation: cardEntrance 0.6s ease forwards;
     animation-delay: calc(var(--card-index) * 0.1s);
 }

 .event-card:hover {
     transform: translateY(-8px);
     box-shadow: var(--shadow-xl);
     border-color: var(--primary-light);
 }

 .event-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 4px;
     background: var(--gradient-primary);
     z-index: 1;
 }

 .event-badge {
     position: absolute;
     top: 20px;
     right: 20px;
     background: var(--white);
     padding: 6px 16px;
     border-radius: var(--radius-2xl);
     font-size: 12px;
     font-weight: 600;
     color: var(--primary);
     z-index: 2;
     box-shadow: var(--shadow-sm);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(124, 58, 237, 0.1);
 }

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

 .event-image {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: var(--transition-slow);
 }

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

 .image-overlay {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
     padding: 20px;
     color: var(--white);
     font-size: 14px;
     line-height: 1.4;
 }

 .event-content {
     padding: 24px;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
 }

 .event-meta {
     display: flex;
     align-items: center;
     gap: 12px;
     margin-bottom: 16px;
 }

 .event-date {
     display: flex;
     align-items: center;
     gap: 6px;
     font-size: 14px;
     font-weight: 500;
     color: var(--primary);
     background: rgba(124, 58, 237, 0.1);
     padding: 6px 12px;
     border-radius: var(--radius-2xl);
 }

 .event-category {
     font-size: 12px;
     font-weight: 500;
     color: var(--secondary);
     background: rgba(16, 185, 129, 0.1);
     padding: 4px 12px;
     border-radius: var(--radius-2xl);
 }

 .event-title {
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 20px;
     font-weight: 700;
     color: var(--dark);
     margin-bottom: 16px;
     line-height: 1.4;
 }

 .event-description {
     color: var(--dark-2);
     font-size: 14px;
     line-height: 1.6;
     margin-bottom: 24px;
     flex-grow: 1;
     text-align: justify;

 }

 .event-description p {
     margin-bottom: 12px;
 }

 .event-description ul {
     margin-left: 20px;
     margin-bottom: 12px;
 }

 .event-description li {
     margin-bottom: 6px;
     position: relative;
     padding-left: 8px;
 }

 .event-description li::before {
     content: '•';
     color: var(--primary);
     position: absolute;
     left: -12px;
 }

 .event-actions {
     display: flex;
     gap: 12px;
     margin-top: auto;
 }

 .btn-primary {
     background: var(--gradient-primary);
     color: var(--white);
     padding: 12px 24px;
     border-radius: var(--radius-md);
     font-weight: 600;
     font-size: 14px;
     border: none;
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     align-items: center;
     gap: 8px;
     text-decoration: none;
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: var(--shadow-lg);
 }

 .btn-outline {
     background: transparent;
     color: var(--primary);
     padding: 12px 24px;
     border-radius: var(--radius-md);
     font-weight: 600;
     font-size: 14px;
     border: 2px solid var(--primary-light);
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     align-items: center;
     gap: 8px;
     text-decoration: none;
 }

 .btn-outline:hover {
     background: rgba(124, 58, 237, 0.05);
     border-color: var(--primary);
 }

 /* Sidebar */
 .sidebar {
     position: sticky;
     top: 40px;
     height: fit-content;
 }

 .sidebar-section {
     background: var(--white);
     border-radius: var(--radius-lg);
     padding: 24px;
     margin-bottom: 24px;
     box-shadow: var(--shadow-md);
     border: 1px solid var(--light-2);
 }

 .sidebar-title {
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 18px;
     font-weight: 700;
     color: var(--dark);
     margin-bottom: 20px;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .sidebar-title::before {
     content: '';
     width: 4px;
     height: 20px;
     background: var(--gradient-primary);
     border-radius: var(--radius-sm);
 }

 /* Featured Event */
 .featured-event {
     border: 2px solid var(--accent);
     position: relative;
     overflow: hidden;
 }

 .featured-badge {
     position: absolute;
     top: 16px;
     right: 16px;
     background: var(--gradient-accent);
     color: var(--white);
     padding: 6px 16px;
     border-radius: var(--radius-2xl);
     font-size: 12px;
     font-weight: 700;
     z-index: 2;
 }

 .featured-image {
     width: 100%;
     height: 200px;
     object-fit: cover;
     border-radius: var(--radius-md);
     margin-bottom: 16px;
 }

 .featured-content h3 {
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 18px;
     font-weight: 700;
     color: var(--dark);
     margin-bottom: 12px;
     line-height: 1.4;
 }

 .featured-content p {
     font-size: 14px;
     color: var(--dark-2);
     line-height: 1.6;
     margin-bottom: 20px;
 }

 /* Stats */
 .stats-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 16px;
 }

 .stat-item {
     text-align: center;
     padding: 16px;
     background: var(--light);
     border-radius: var(--radius-md);
     transition: var(--transition);
 }

 .stat-item:hover {
     background: rgba(124, 58, 237, 0.05);
     transform: translateY(-2px);
 }

 .stat-number {
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 32px;
     font-weight: 800;
     color: var(--primary);
     line-height: 1;
     margin-bottom: 8px;
 }

 .stat-label {
     font-size: 12px;
     color: var(--dark-2);
     font-weight: 500;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 /* Upcoming Events */
 .upcoming-list {
     display: flex;
     flex-direction: column;
     gap: 16px;
 }

 .upcoming-item {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 16px;
     background: var(--light);
     border-radius: var(--radius-md);
     transition: var(--transition);
 }

 .upcoming-item:hover {
     background: rgba(124, 58, 237, 0.05);
     transform: translateX(4px);
 }

 .upcoming-date {
     min-width: 48px;
     text-align: center;
     background: var(--gradient-primary);
     color: var(--white);
     padding: 8px;
     border-radius: var(--radius-md);
     font-size: 12px;
     font-weight: 700;
 }

 .upcoming-info h4 {
     font-size: 14px;
     font-weight: 600;
     color: var(--dark);
     margin-bottom: 4px;
 }

 .upcoming-info p {
     font-size: 12px;
     color: var(--dark-2);
 }

 /* Pagination */
 .pagination {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 16px;
     margin-top: 48px;
     padding: 24px;
     background: var(--white);
     border-radius: var(--radius-lg);
     box-shadow: var(--shadow-md);
 }

 .pagination-btn {
     display: flex;
     align-items: center;
     gap: 8px;
     padding: 12px 24px;
     border-radius: var(--radius-md);
     font-weight: 600;
     font-size: 14px;
     cursor: pointer;
     transition: var(--transition);
     border: 2px solid var(--light-2);
     background: var(--white);
     color: var(--dark);
 }

 .pagination-btn:hover:not(.disabled) {
     border-color: var(--primary);
     color: var(--primary);
     transform: translateY(-2px);
 }

 .pagination-btn.disabled {
     opacity: 0.5;
     cursor: not-allowed;
 }

 .page-numbers {
     display: flex;
     gap: 8px;
 }

 .page-number {
     width: 40px;
     height: 40px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: var(--radius-md);
     font-weight: 600;
     cursor: pointer;
     transition: var(--transition);
     background: var(--white);
     color: var(--dark);
     border: 2px solid transparent;
 }

 .page-number:hover:not(.active) {
     border-color: var(--light-2);
     background: var(--light);
 }

 .page-number.active {
     background: var(--gradient-primary);
     color: var(--white);
     box-shadow: var(--shadow-md);
 }

 .page-info {
     font-size: 14px;
     color: var(--dark-2);
     font-weight: 500;
     margin-left: 16px;
 }

 /* Modal */
 .modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.95);
     backdrop-filter: blur(10px);
     z-index: 9999;
     align-items: center;
     justify-content: center;
     padding: 20px;
 }

 .modal.active {
     display: flex;
     animation: modalEntrance 0.3s ease;
 }

 .modal-content {
     width: 90%;
     max-width: 1200px;
     background: var(--white);
     border-radius: var(--radius-xl);
     overflow: hidden;
     box-shadow: var(--shadow-xl);
 }

 .modal-header {
     padding: 24px 32px;
     background: var(--gradient-primary);
     color: var(--white);
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .modal-title {
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 24px;
     font-weight: 700;
     color: var(--white);
 }

 .modal-close {
     background: rgba(255, 255, 255, 0.2);
     border: none;
     color: var(--white);
     width: 40px;
     height: 40px;
     border-radius: 50%;
     font-size: 20px;
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .modal-close:hover {
     background: rgba(255, 255, 255, 0.3);
     transform: rotate(90deg);
 }

 .modal-body {
     position: relative;
     padding: 0;
 }

 .slider {
     width: 100%;
     height: 500px;
     overflow: hidden;
     position: relative;
 }

 .slider-track {
     display: flex;
     height: 100%;
     transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .slider-slide {
     min-width: 100%;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
 }

 .slider-slide img {
     max-width: 100%;
     max-height: 100%;
     object-fit: contain;
     border-radius: var(--radius-md);
     cursor: zoom-in;
     transition: transform 0.3s ease;
 }

 .slider-slide img:hover {
     transform: scale(1.02);
 }

 .slider-nav {
     position: absolute;
     top: 50%;
     left: 0;
     right: 0;
     transform: translateY(-50%);
     display: flex;
     justify-content: space-between;
     padding: 0 20px;
     pointer-events: none;
 }

 .slider-btn {
     background: rgba(255, 255, 255, 0.9);
     border: none;
     width: 48px;
     height: 48px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: var(--transition);
     pointer-events: auto;
     box-shadow: var(--shadow-lg);
 }

 .slider-btn:hover {
     background: var(--white);
     transform: scale(1.1);
 }

 .slider-dots {
     position: absolute;
     bottom: 20px;
     left: 0;
     right: 0;
     display: flex;
     justify-content: center;
     gap: 8px;
 }

 .slider-dot {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.5);
     cursor: pointer;
     transition: var(--transition);
 }

 .slider-dot.active {
     background: var(--white);
     transform: scale(1.2);
 }

 .slider-counter {
     position: absolute;
     top: 20px;
     right: 20px;
     background: rgba(0, 0, 0, 0.7);
     color: var(--white);
     padding: 6px 12px;
     border-radius: var(--radius-2xl);
     font-size: 12px;
     font-weight: 600;
 }

 /* Lightbox - New for image zoom */
 .lightbox {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.98);
     z-index: 10000;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s ease;
 }

 .lightbox.active {
     display: flex;
     opacity: 1;
     animation: lightboxEntrance 0.3s ease;
 }

 .lightbox-content {
     position: relative;
     max-width: 95%;
     max-height: 95%;
 }

 .lightbox-img {
     max-width: 100%;
     max-height: 95vh;
     object-fit: contain;
     border-radius: var(--radius-md);
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
 }

 .lightbox-close {
     position: absolute;
     top: 20px;
     right: 20px;
     background: rgba(255, 255, 255, 0.2);
     border: none;
     color: var(--white);
     width: 50px;
     height: 50px;
     border-radius: 50%;
     font-size: 24px;
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 10001;
 }

 .lightbox-close:hover {
     background: rgba(255, 255, 255, 0.3);
     transform: rotate(90deg);
 }

 .lightbox-nav {
     position: absolute;
     top: 50%;
     left: 0;
     right: 0;
     transform: translateY(-50%);
     display: flex;
     justify-content: space-between;
     padding: 0 30px;
     pointer-events: none;
 }

 .lightbox-btn {
     background: rgba(255, 255, 255, 0.2);
     border: none;
     color: var(--white);
     width: 60px;
     height: 60px;
     border-radius: 50%;
     font-size: 24px;
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     align-items: center;
     justify-content: center;
     pointer-events: auto;
 }

 .lightbox-btn:hover {
     background: rgba(255, 255, 255, 0.3);
     transform: scale(1.1);
 }

 .lightbox-counter {
     position: absolute;
     bottom: 30px;
     left: 50%;
     transform: translateX(-50%);
     background: rgba(0, 0, 0, 0.7);
     color: var(--white);
     padding: 10px 20px;
     border-radius: var(--radius-2xl);
     font-size: 14px;
     font-weight: 600;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 /* Animations */
 @keyframes cardEntrance {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

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

 @keyframes modalEntrance {
     from {
         opacity: 0;
         transform: scale(0.9);
     }

     to {
         opacity: 1;
         transform: scale(1);
     }
 }

 @keyframes lightboxEntrance {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 /* Loading States */
 .loading {
     display: inline-block;
     width: 40px;
     height: 40px;
     border: 3px solid var(--light-2);
     border-top-color: var(--primary);
     border-radius: 50%;
     animation: spin 1s linear infinite;
 }

 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .hero-title {
         font-size: 36px;
     }

     .hero-subtitle {
         font-size: 16px;
     }

     .filter-header {
         flex-direction: column;
         align-items: flex-start;
     }

     .filter-tags {
         width: 100%;
         overflow-x: auto;
         padding-bottom: 8px;
     }

     .slider {
         height: 300px;
     }

     .modal-content {
         width: 95%;
     }

     .modal-title {
         font-size: 20px;
     }

     .lightbox-btn {
         width: 50px;
         height: 50px;
         font-size: 20px;
     }

     .lightbox-counter {
         bottom: 20px;
         font-size: 12px;
         padding: 8px 16px;
     }
 }

 @media (max-width: 480px) {
     .hero-title {
         font-size: 28px;
     }

     .event-actions {
         flex-direction: column;
     }

     .btn-primary,
     .btn-outline {
         width: 100%;
         justify-content: center;
     }

     .pagination {
         flex-wrap: wrap;
         padding: 16px;
     }

     .page-info {
         margin-left: 0;
         width: 100%;
         text-align: center;
         order: -1;
     }

     .slider-slide {
         padding: 10px;
     }

     .lightbox-btn {
         width: 40px;
         height: 40px;
         font-size: 18px;
         padding: 0 15px;
     }

     .lightbox-close {
         width: 40px;
         height: 40px;
         font-size: 20px;
         top: 10px;
         right: 10px;
     }
 }

 /* Accessibility */
 .sr-only {
     position: absolute;
     width: 1px;
     height: 1px;
     padding: 0;
     margin: -1px;
     overflow: hidden;
     clip: rect(0, 0, 0, 0);
     white-space: nowrap;
     border: 0;
 }

 /* Focus States */
 button:focus,
 a:focus,
 input:focus {
     outline: 2px solid var(--primary);
     outline-offset: 2px;
 }

 /* Print Styles */
 @media print {
     .event-card {
         break-inside: avoid;
         box-shadow: none;
         border: 1px solid #ddd;
     }

     .modal,
     .filter-tags {
         display: none;
     }
 }