/* Event Page Specific Styles */

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

/* CSS Custom Properties (Variables) - Professional Blue Theme */
:root {
    /* Primary Colors - Professional Blue Theme */
    --primary-blue: #06b6d4;
    --primary-blue-light: #0891b2;
    --primary-blue-lighter: #0e7490;
    --primary-blue-dark: #0f172a;
    --primary-blue-darker: #1e293b;
    
    /* Secondary Colors */
    --secondary-purple: #334155;
    --secondary-purple-dark: #475569;
    --secondary-purple-light: #64748b;
    
    /* Background Colors */
    --bg-dark: #0f172a;
    --bg-dark-light: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.5);
    --bg-card-light: rgba(30, 41, 59, 0.3);
    --bg-overlay: rgba(255, 255, 255, 0.1);
    --bg-overlay-light: rgba(6, 182, 212, 0.05);
    --bg-overlay-medium: rgba(255, 255, 255, 0.2);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-gray-light: #94a3b8;
    
    /* Border Colors */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);
    --border-blue: rgba(6, 182, 212, 0.3);
    --border-blue-light: rgba(6, 182, 212, 0.2);
    --border-blue-medium: rgba(6, 182, 212, 0.4);
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(45deg, var(--primary-blue), var(--primary-blue-light));
    --gradient-primary-hover: linear-gradient(45deg, var(--primary-blue-dark), var(--primary-blue));
    --gradient-secondary: linear-gradient(45deg, var(--secondary-purple), var(--secondary-purple-dark));
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-card: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(30, 41, 59, 0.95));
    --gradient-newsletter: linear-gradient(135deg, var(--bg-dark) 0%, var(--newsletter-blue) 100%);
    
    /* Event Type Gradients */
    --gradient-workshop: linear-gradient(135deg, #f59e0b, #d97706 100%);
    --gradient-webinar: linear-gradient(135deg, #06b6d4, #0891b2 100%);
    --gradient-conference: linear-gradient(135deg, #8b5cf6, #7c3aed 100%);
    
    /* Additional Accent Colors */
    --accent-red: #ef4444;
    --accent-teal: #06b6d4;
    --accent-teal-dark: #0891b2;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --feature-tag-bg: #06b6d4;
    --feature-tag-text: #ffffff;
    
    /* Success/Accent Colors */
    --success-green: #10b981;
    --success-green-light: #34d399;
    --accent-orange: #f59e0b;
    --accent-orange-light: #fbbf24;
    
    /* Shadow Colors */
    --shadow-primary: rgba(6, 182, 212, 0.3);
    --shadow-primary-hover: rgba(6, 182, 212, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-dark-hover: rgba(0, 0, 0, 0.4);
    --shadow-success: rgba(16, 185, 129, 0.3);
    
    /* Animation Colors */
    --neural-node: rgba(6, 182, 212, 0.1);
    --pulse-ring: rgba(6, 182, 212, 0.3);
    
    /* Additional Colors */
    --hero-bg-purple: rgba(15, 23, 42, 0.7);
    --hero-bg-blue: rgba(6, 182, 212, 0.3);
    --hero-bg-dark: rgba(15, 23, 42, 0.2);
    --border-gray: rgba(51, 65, 85, 0.1);
    --accent-blue-light: rgba(6, 182, 212, 0.1);
    --white-overlay: rgba(255, 255, 255, 0.2);
    --white-overlay-90: rgba(255, 255, 255, 0.9);
    --white-overlay-95: rgba(255, 255, 255, 0.95);
    --highlight-bg: #06b6d4;
    --highlight-text: #ffffff;
    --border-light-gray: #e2e8f0;
    --past-overlay-blue: rgba(6, 182, 212, 0.8);
    --past-overlay-teal: rgba(6, 182, 212, 0.8);
    --newsletter-blue: #1e293b;
    --hero-dark-blue: #0f172a;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--hero-bg-purple) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--hero-bg-blue) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--hero-bg-dark) 0%, transparent 50%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-overlay);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    position: relative;
    justify-content: center;
    justify-items: center;
    z-index: 2;
  
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 640px;
    left: 10rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-blue-light), var(--primary-blue-lighter));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-primary-hover);
}

.btn-secondary {
    background: var(--bg-overlay);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-overlay-medium);
    transform: translateY(-3px);
}

/* Medical AI Animation */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.medical-ai-animation {
    position: relative;
    width: 250px;
    height: 250px;
}



/* Right Hero Section - Featured Event */
.hero-right-section {
    top: 5rem;
    margin-bottom: 2rem ;
    position: relative;
    width: 750px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    height: 700px;
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 25px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px var(--shadow-dark);
    backdrop-filter: blur(20px);
}

.hero-event-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow-dark-hover);
    border: 2px solid var(--border-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.hero-event-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px var(--shadow-dark-hover);
}

.hero-event-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: var(--text-primary);
}

.featured-event-card {
    position: relative;
    background: var(--bg-overlay);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 25px;
    padding: 1.5rem;
    box-shadow: 0 25px 80px var(--shadow-dark);
    border: 1px solid var(--border-medium);
    max-width: 600px;
    width: 100%;
}

.featured-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.featured-event-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.featured-badge {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.featured-event-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
}

.event-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px var(--shadow-primary);
    border: 1px solid var(--border-medium);
}

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

.date-text {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-category {
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px var(--shadow-primary);
    margin-bottom: 0.5rem;
}

.featured-event-details .event-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, var(--text-primary), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-event-details .event-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-weight: 400;
}

.event-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: var(--bg-overlay-light);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-blue);
    width: 18px;
    font-size: 1rem;
    background: var(--accent-blue-light);
    padding: 0.3rem;
    border-radius: 6px;
}

.event-cta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
}



.btn-featured {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    padding: 0.7rem 0rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-primary);
    position: relative;
    overflow: hidden;
    width: 100%;
    text-transform: none;
    letter-spacing: 0.3px;
}

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

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

.btn-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-primary-hover);
    background: var(--gradient-primary-hover);
}

.early-bird {
    background: linear-gradient(135deg, var(--success-green), var(--success-green-light));
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px var(--shadow-success);
    margin-top: 0.5rem;
}

/* Responsive Design for Featured Event */
@media (max-width: 1024px) {
    .featured-event-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .featured-event-image {
        aspect-ratio: 16/9;
    }
    
    .hero-right-section {
        gap: 1.5rem;
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .hero-event-image {
        max-width: 300px;

        margin: 0 auto;
    }
    
    .medical-ai-animation {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-right-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: center;
        padding: 1rem;
        width: 100%;
        left: 0;
        right: 0;
        margin: 1rem;
    }
    
    .hero-event-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-event-info {
        text-align: center;
    }
    
    .neural-animation-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }
    
    .medical-ai-animation {
        width: 150px;
        height: 150px;
    }
    
    .featured-event-card {
        padding: 1.5rem;
        max-width: 350px;
        position: relative;
        z-index: 2;
    }
    
    .featured-event-header h3 {
        font-size: 1.3rem;
    }
    
    .featured-event-details .event-title {
        font-size: 1.1rem;
    }
}

/* Event Categories */
.event-categories {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Ensure category cards are visible */
.event-categories [class*="category"],
.event-categories > div > div {
    opacity: 1 !important;
}

.category-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-blue);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-dark-hover);
    border-color: var(--primary-blue);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-primary);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Upcoming Events */
.upcoming-events {
    padding: 5rem 0;
    background: var(--bg-dark-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

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

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-blue);
    background: var(--bg-card);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-primary);
}

/* Grid Display Options */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    transition: all 0.3s ease;
}

/* Compact Grid Layout */
.events-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Dense Grid Layout */
.events-grid.dense {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Masonry Grid Layout */
.events-grid.masonry {
    column-count: 3;
    column-gap: 2rem;
}

.events-grid.masonry .event-card {
    break-inside: avoid;
    margin-bottom: 2rem;
    display: block;
}

/* List Layout */
.events-grid.list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.events-grid.list .event-card {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.events-grid.list .event-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.events-grid.list .event-content {
    flex: 1;
    padding: 1.5rem;
}

/* Grid Layout Controls */
.grid-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-blue);
}

.layout-toggle {
    display: flex;
    background: var(--bg-card-light);
    border-radius: 10px;
    padding: 0.25rem;
    border: 1px solid var(--border-blue);
}

.layout-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.layout-btn.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.layout-btn:hover:not(.active) {
    background: var(--bg-overlay);
    color: var(--text-primary);
}

/* Grid Size Controls */
.grid-size-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.size-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-blue);
    background: var(--bg-card);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.size-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-primary);
}

.size-btn:hover:not(.active) {
    background: var(--bg-overlay);
    color: var(--text-primary);
}

/* Responsive Grid Design */
@media (max-width: 1200px) {
    .events-grid.masonry {
        column-count: 2;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .events-grid.compact {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .events-grid.dense {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .events-grid.masonry {
        column-count: 1;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .events-grid.compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .events-grid.dense {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .events-grid.list .event-card {
        flex-direction: column;
    }
    
    .events-grid.list .event-image {
        width: 100%;
        height: 180px;
    }
    
    .grid-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .layout-toggle {
        justify-content: center;
    }
    
    .grid-size-controls {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .event-filters {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .event-card.compact .event-content {
        padding: 0.75rem;
    }
    
    .event-card.dense .event-content {
        padding: 0.5rem;
    }
}

/* Grid Animation Classes */
.events-grid.fade-in {
    animation: fadeInGrid 0.6s ease-out;
}

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

.events-grid.slide-in {
    animation: slideInGrid 0.5s ease-out;
}

@keyframes slideInGrid {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Quick View Toggle */
.quick-view-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow-primary);
    transition: all 0.3s ease;
    z-index: 1000;
}

.quick-view-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px var(--shadow-primary-hover);
}

.quick-view-toggle i {
    font-size: 1.5rem;
}

.event-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: all 0.3s ease;
    border: 2px solid var(--border-blue);
    opacity: 1 !important; /* Ensure cards are visible by default with high specificity */
}

/* Compact Event Card */
.event-card.compact {
    border-radius: 15px;
}

.event-card.compact .event-image {
    height: 150px;
}

.event-card.compact .event-content {
    padding: 1rem;
}

.event-card.compact .event-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-card.compact .event-description {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.event-card.compact .event-footer {
    padding: 0.75rem 0;
}

/* Dense Event Card */
.event-card.dense {
    border-radius: 12px;
}

.event-card.dense .event-image {
    height: 120px;
}

.event-card.dense .event-content {
    padding: 0.75rem;
}

.event-card.dense .event-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.event-card.dense .event-description {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.event-card.dense .event-footer {
    padding: 0.5rem 0;
}

/* Enhanced Event Card Hover Effects */
.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-dark-hover);
    border-color: var(--primary-blue);
}

.event-card.compact:hover {
    transform: translateY(-5px);
}

.event-card.dense:hover {
    transform: translateY(-3px);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-dark-hover);
    border-color: var(--primary-blue);
}

.event-image {
    height: 200px;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.workshop-bg {
    background: var(--gradient-workshop);
}

.webinar-bg {
    background: var(--gradient-webinar);
}

.conference-bg {
    background: var(--gradient-conference);
}

.event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white-overlay-90);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.event-badge.live {
    background: var(--accent-orange);
    color: var(--text-primary);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.event-date-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white-overlay-95);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
}

.event-content {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-type {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-location {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 2000;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-speakers {
    margin-bottom: 1.5rem;
}

.speaker-avatars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.speaker-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    border: 2px solid var(--text-primary);
}

.speaker-count {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-left: 0.5rem;
}

.event-features {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--feature-tag-bg);
    color: var(--feature-tag-text);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.event-highlights {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.highlight {
    background: var(--highlight-bg);
    color: var(--highlight-text);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light-gray);
}

.event-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-register {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-primary);
    color: var(--text-primary);
    text-decoration: none;
}

/* Upcoming Event Card Actions */
.event-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-agenda,
.btn-info {
    flex: 1;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-blue);
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-agenda:hover,
.btn-info:hover {
    background: var(--border-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
    text-decoration: none;
}

@media (max-width: 480px) {
    .event-actions {
        flex-direction: column;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: var(--gradient-newsletter);
    color: var(--text-primary);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
}

.subscribe-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.btn-subscribe {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .subscribe-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .event-card {
        margin: 0 1rem;
    }
    
    .newsletter-text h2 {
        font-size: 2rem;
    }
}

/* Past Events Section */
.past-events {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.past-events .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.past-events .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.past-event-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-blue);
}

.past-event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-dark-hover);
}

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

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

.past-event-card:hover .past-event-img {
    transform: scale(1.1);
}

.past-event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--past-overlay-blue), var(--past-overlay-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.past-event-card:hover .past-event-overlay {
    opacity: 1;
}

.past-event-date {
    text-align: center;
    color: var(--text-primary);
}

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

.past-date-month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.past-date-year {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

.past-event-content {
    padding: 1.5rem;
}

.past-event-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.past-event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.past-event-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.past-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.past-stat i {
    color: var(--primary-blue);
    width: 16px;
}

.past-event-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-more-info,
.btn-view-gallery {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-more-info {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.btn-more-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

.btn-view-gallery {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-blue);
}

.btn-view-gallery:hover {
    background: var(--border-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.past-events-cta {
    text-align: center;
}

.btn-view-all-past {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 20px var(--shadow-primary);
}

.btn-view-all-past:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary-hover);
}

/* Annual Conference Section Styles */
.annual-conference {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-light) 100%);
    position: relative;
    overflow: hidden;
}

.annual-conference::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.conference-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.conference-highlights {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.conference-highlights h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 2rem;
}

.highlights-list li:last-child {
    border-bottom: none;
}

.highlights-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.conference-tracks {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.conference-tracks h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tracks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.track-card {
    background: var(--bg-card-light);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-primary);
    border-color: var(--border-blue);
}

.track-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.track-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.sponsorship-info {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
    text-align: center;
}

.sponsorship-info h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sponsorship-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sponsorship-info .btn {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.sponsorship-info .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-primary);
}

/* Responsive Design for Annual Conference */
@media (max-width: 768px) {
    .conference-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tracks-grid {
        grid-template-columns: 1fr;
    }
    
    .conference-highlights,
    .conference-tracks,
    .sponsorship-info {
        padding: 1.5rem;
    }
    
    .highlights-list li {
        padding-left: 1.5rem;
    }
}

/* Responsive Design for Past Events */
@media (max-width: 768px) {
    .past-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .past-event-image {
        height: 180px;
    }
    
    .past-event-content {
        padding: 1.25rem;
    }
    
    .past-event-title {
        font-size: 1.1rem;
    }
    
    .past-event-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .past-event-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-more-info,
    .btn-view-gallery {
        width: 100%;
    }
}