/* Fun @RedSketch Academy - Page Styles */

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.9) 0%, 
        rgba(147, 51, 234, 0.8) 50%, 
        rgba(251, 146, 60, 0.9) 100%
    );
    background-attachment: scroll;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.hero-content {
    color: white;
    animation: heroSlideIn 1.2s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: heroFloat 1.5s ease-out 0.3s both;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Video Container Styles */
.hero-video-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.hero-video-container:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

.floating-stats {
    position: absolute;
    top: 2rem;
    right: -2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: statsFloat 3s ease-in-out infinite;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.25rem;
}

/* ===== ANIMATIONS ===== */
@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-container,
    .hero-video-container {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .floating-stats {
        position: static;
        margin: 2rem auto 0;
        width: fit-content;
        display: flex;
        gap: 2rem;
    }
    
    .stat-item {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-primary, .cta-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-image,
    .video-wrapper {
        height: 350px;
    }
    
    .floating-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .floating-stats {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 1;
    }
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(220, 38, 38, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.loading-spinner p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ===== BUTTON UTILITIES ===== */
.btn-view-all {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    text-decoration: none;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* ===== UPCOMING EVENTS SECTION ===== */
.upcoming-events-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.upcoming-events-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 60 60"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(220,38,38,0.05)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.event-card {
    background: white !important;
    border-radius: var(--radius-xl);
    padding: 0 !important;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 300px !important;
    cursor: default;
}

/* Removed hover effects and pseudo elements */

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

.event-category {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.event-status {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-status.upcoming {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.event-status.filling-fast {
    background: rgba(251, 146, 60, 0.1);
    color: var(--accent);
    border: 1px solid rgba(251, 146, 60, 0.2);
}

.event-status.few-spots {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

.event-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.event-detail-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.event-participants {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(220, 38, 38, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.participant-avatars {
    display: flex;
    align-items: center;
}

.participant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
}

.participant-avatar:first-child {
    margin-left: 0;
}

.participant-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.participant-count strong {
    color: var(--primary);
    font-weight: 600;
}

.event-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-register {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-register:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-share {
    padding: 1rem;
    background: rgba(147, 51, 234, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-share:hover {
    background: rgba(147, 51, 234, 0.2);
    transform: translateY(-2px);
}

.view-all-events {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Loading States */
.events-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex-direction: column;
    gap: 1rem;
}

.events-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(220, 38, 38, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.events-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.events-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.events-empty p {
    margin-bottom: 2rem;
}

.btn-suggest-event {
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-suggest-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.3);
}

@media (max-width: 768px) {
    .upcoming-events-section {
        padding: 4rem 0;
    }
    
    .events-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        padding: 1.5rem;
    }
    
    .event-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .btn-register {
        width: 100%;
    }
    
    .participant-avatars {
        flex-wrap: wrap;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }
    
    .cta-primary,
    .cta-secondary,
    .loading-spinner {
        display: none !important;
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--input);
}

.modal-body {
    padding: 2rem;
}

/* ===== FORM STYLES ===== */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--background);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.checkbox-group label:hover {
    background: var(--input);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===== MODAL ANIMATIONS ===== */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* ===== SUCCESS NOTIFICATION ===== */
.success-notification {
    font-weight: 500;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

/* ===== GALLERY MODAL STYLES ===== */
.gallery-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
}

.gallery-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.gallery-nav-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: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-info {
    padding: 2rem;
    color: white;
    text-align: center;
}

.gallery-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

    .gallery-info p {
        margin: 0;
        color: rgba(255, 255, 255, 0.8);
    }

/* ===== EVENTS BY CATEGORY SECTION ===== */
.events-category-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.filter-btn {
    background: rgba(220, 38, 38, 0.05);
    color: var(--text-secondary);
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
}

.filter-btn:hover::before {
    left: 0;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.filter-btn.active::before {
    left: 0;
}

.events-container {
    width: 100%;
}

.events-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
    position: relative;
    z-index: 100;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
}

.category-event-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
}

.category-event-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.category-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.8) 0%, 
        rgba(147, 51, 234, 0.8) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.category-event-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.overlay-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-content {
    padding: 2rem;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    color: var(--primary);
}

.event-title-category {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.event-description-category {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.event-tag {
    background: rgba(147, 51, 234, 0.1);
    color: var(--secondary);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

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

.event-price {
    font-weight: 600;
    color: var(--primary);
}

.btn-learn-more {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.875rem;
}

.btn-learn-more:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* Category-specific styling */
.category-workshop .category-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.9));
    color: white;
}

.category-industry-visit .category-badge {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.9), rgba(126, 34, 206, 0.9));
    color: white;
}

.category-exhibition .category-badge {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.9), rgba(245, 158, 11, 0.9));
    color: white;
}

.category-celebration .category-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.9));
    color: white;
}

.category-professional-dev .category-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(79, 70, 229, 0.9));
    color: white;
}

/* Loading and Empty States */
.category-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex-direction: column;
    gap: 1rem;
}

.category-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

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

.category-empty p {
    margin-bottom: 2rem;
}

/* ===== CELEBRATION EVENTS STYLES ===== */
.celebration-card {
    position: relative !important;
    overflow: hidden;
    background: white !important;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    cursor: default;
    pointer-events: none;
}

/* Disable all hover effects for celebration cards */
.celebration-card:hover,
.event-card.celebration-card:hover,
.category-event-card.celebration-card:hover {
    transform: none !important;
    box-shadow: var(--shadow) !important;
}

.celebration-card:hover .event-image,
.event-card.celebration-card:hover .event-image {
    transform: none !important;
    scale: 1 !important;
}

.celebration-card .event-image-container {
    position: relative !important;
    height: 220px !important;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
}

.celebration-card .event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    visibility: visible !important;
}

.event-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.celebration-card .event-content {
    padding: 1.5rem !important;
    background: white !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

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

.celebration-card .event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* No hover effects - static cards */

/* Celebration loading and empty states */
.category-loading,
.category-empty,
.category-error {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.category-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(34, 197, 94, 0.1);
    border-left: 3px solid rgb(34, 197, 94);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .events-category-section {
        padding: 4rem 0;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .celebration-card .event-image-container {
        height: 200px;
    }
    
    .celebration-card .event-content {
        padding: 1.25rem;
    }
    
    .celebration-card .event-title {
        font-size: 1.125rem;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .event-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn-learn-more {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .category-filters {
        padding: 0 1rem;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.625rem 1.25rem;
    }
    
    .event-image-container {
        height: 180px;
    }
}

/* ===== INTERACTIVE EVENT CALENDAR SECTION ===== */
.event-calendar-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.event-calendar-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 100 100"><defs><pattern id="calendar-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(147,51,234,0.08)"/><circle cx="80" cy="80" r="1" fill="rgba(220,38,38,0.08)"/><rect x="10" y="10" width="2" height="2" fill="rgba(147,51,234,0.05)"/><rect x="88" y="88" width="2" height="2" fill="rgba(220,38,38,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23calendar-pattern)"/></svg>');
    pointer-events: none;
}

.calendar-container {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin-top: 3rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--background);
}

.calendar-nav {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.calendar-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.calendar-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
    min-width: 200px;
}

.calendar-view-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    gap: 0.5rem;
}

.view-toggle-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-toggle-btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.view-toggle-btn:not(.active):hover {
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary);
}

.calendar-grid {
    display: grid;
    gap: 1px;
    background: var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Month View */
.calendar-grid.month-view {
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto repeat(6, 1fr);
}

.calendar-day-header {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.calendar-day {
    background: white;
    padding: 0.5rem;
    min-height: 120px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.calendar-day:hover {
    background: rgba(147, 51, 234, 0.05);
    border-color: rgba(147, 51, 234, 0.2);
}

.calendar-day.today {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(220, 38, 38, 0.1));
    border-color: var(--primary);
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: var(--text-muted);
}

.calendar-day.has-events {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(220, 38, 38, 0.05));
}

.calendar-day-number {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.calendar-day.other-month .calendar-day-number {
    color: var(--text-muted);
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.calendar-event {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.calendar-event.workshop {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.calendar-event.exhibition {
    background: linear-gradient(135deg, #10b981, #047857);
}

.calendar-event.celebration {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.calendar-event.industry-visit {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.calendar-event.competition {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.calendar-more-events {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 0.25rem;
    cursor: pointer;
    text-decoration: underline;
}

/* Week View */
.calendar-grid.week-view {
    grid-template-columns: auto repeat(7, 1fr);
    grid-template-rows: auto repeat(24, 1fr);
}

.week-time-slot {
    background: var(--background);
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.week-day-header {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
}

.week-day-cell {
    background: white;
    border: 1px solid var(--border-light);
    position: relative;
    min-height: 40px;
}

.week-event {
    position: absolute;
    left: 2px;
    right: 2px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Agenda View */
.calendar-grid.agenda-view {
    display: block;
    background: transparent;
}

.agenda-day {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.agenda-day-header {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.agenda-events {
    padding: 1.5rem;
}

.agenda-event {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    background: var(--background);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.agenda-event:hover {
    background: rgba(147, 51, 234, 0.05);
    transform: translateX(5px);
}

.agenda-event-time {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.agenda-event-details {
    flex: 1;
}

.agenda-event-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.agenda-event-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.agenda-event-category {
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Event Details Modal */
.event-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.event-details-modal.active {
    opacity: 1;
    visibility: visible;
}

.event-details-content {
    background: white;
    border-radius: var(--radius-2xl);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.event-details-modal.active .event-details-content {
    transform: translateY(0);
}

.event-details-header {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.event-details-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.event-details-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.event-details-body {
    padding: 2rem;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius-lg);
}

.event-detail-icon {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.event-detail-text h4 {
    margin: 0 0 0.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

.event-detail-text p {
    margin: 0;
    color: var(--text-secondary);
}

/* Loading and Empty States */
.calendar-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    flex-direction: column;
    gap: 1rem;
}

.calendar-loading .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .calendar-container {
        padding: 1.5rem;
    }
    
    .calendar-title {
        font-size: 1.5rem;
        min-width: 150px;
    }
    
    .calendar-day {
        min-height: 100px;
        padding: 0.25rem;
    }
    
    .calendar-event {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 768px) {
    .event-calendar-section {
        padding: 4rem 0;
    }
    
    .calendar-container {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .calendar-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .calendar-title {
        font-size: 1.25rem;
        order: -1;
    }
    
    .calendar-view-toggle {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .view-toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 0.25rem;
    }
    
    .calendar-day-number {
        font-size: 0.9rem;
    }
    
    .calendar-event {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
    }
    
    .agenda-event {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .agenda-event-time {
        align-self: flex-start;
    }
    
    .event-details-modal {
        padding: 1rem;
    }
    
    .event-details-header,
    .event-details-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .calendar-header {
        gap: 0.75rem;
    }
    
    .calendar-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .calendar-title {
        font-size: 1.1rem;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 0.2rem;
    }
    
    .calendar-day-number {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .calendar-event {
        font-size: 0.6rem;
        padding: 0.1rem 0.25rem;
    }
    
    .agenda-event-time {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .event-details-header,
    .event-details-body {
        padding: 1rem;
    }
}

/* ===== EVENT GALLERY SECTION ===== */
.event-gallery-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.event-gallery-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 100 100"><defs><pattern id="gallery-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1.5" fill="rgba(147,51,234,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(220,38,38,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23gallery-pattern)"/></svg>');
    pointer-events: none;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.gallery-filter-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
    border: 2px solid rgba(147, 51, 234, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.gallery-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transition: left 0.3s ease;
    z-index: -1;
}

.gallery-filter-btn:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.25);
}

.gallery-filter-btn:hover::before {
    left: 0;
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
}

.gallery-filter-btn.active::before {
    left: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(147, 51, 234, 0.85) 0%, 
        rgba(220, 38, 38, 0.85) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-overlay-icon {
    transform: translateY(0);
}

.gallery-overlay-text {
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.2s;
}

.gallery-item:hover .gallery-overlay-text {
    transform: translateY(0);
}

.gallery-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.gallery-video-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.gallery-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gallery-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-likes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.gallery-view-more {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.btn-load-more {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

/* Gallery Modal Enhancements */
.gallery-modal .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    padding: 0;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
}

.gallery-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.gallery-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.gallery-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem;
}

.gallery-image-container img,
.gallery-image-container video {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.gallery-nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-size: 1.2rem;
    color: var(--text-primary);
}

.gallery-nav-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.gallery-info {
    padding: 2rem;
    color: white;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-info h3 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.gallery-info p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.gallery-info .gallery-meta {
    justify-content: center;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* Loading and Empty States */
.gallery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    flex-direction: column;
    gap: 1rem;
}

.gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.gallery-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gallery-empty p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .gallery-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .event-gallery-section {
        padding: 4rem 0;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .gallery-filter-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .gallery-image-wrapper {
        height: 200px;
    }
    
    .gallery-content {
        padding: 1.25rem;
    }
    
    .gallery-modal .gallery-nav {
        padding: 0 1rem;
    }
    
    .gallery-modal .gallery-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-filters {
        padding: 0 1rem;
    }
    
    .gallery-filter-btn {
        font-size: 0.8rem;
        padding: 0.625rem 1.25rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image-wrapper {
        height: 180px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay-icon {
        font-size: 2rem;
    }
    
    .gallery-modal .modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .gallery-image-container {
        padding: 1rem;
        min-height: 50vh;
    }
}

/* ===== EVENT DETAILS MODAL ===== */
.event-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.event-details-modal.active {
    opacity: 1;
    visibility: visible;
}

.event-details-content {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.event-details-modal.active .event-details-content {
    transform: scale(1);
}

.event-details-header {
    position: relative;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.event-details-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.event-details-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.event-details-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    padding-right: 3rem;
}

.event-details-body {
    padding: 1.5rem 2rem 2rem;
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.event-detail-item:hover {
    background: var(--hover-bg);
}

.event-detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    color: white;
}

.event-detail-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.event-detail-text p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Event Details Modal Mobile Styles */
@media (max-width: 768px) {
    .event-details-content {
        width: 95%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .event-details-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .event-details-title {
        font-size: 1.5rem;
        padding-right: 2.5rem;
    }
    
    .event-details-body {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .event-detail-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .event-detail-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* ===== PAGINATION STYLES ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    gap: 0.5rem;
    padding: 0 0.75rem;
}

.pagination-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

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

.pagination-prev,
.pagination-next {
    padding: 0 1rem;
    border-radius: 25px;
    font-weight: 600;
}

.pagination-prev:hover,
.pagination-next:hover {
    background: var(--accent-color);
    color: white;
}

.pagination-ellipsis {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    user-select: none;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
        gap: 0.25rem;
    }
    
    .pagination-btn {
        min-width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 0 0.75rem;
        font-size: 0.8rem;
    }
    
    .pagination-prev i,
    .pagination-next i {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .pagination {
        padding: 0.5rem 0.75rem;
    }
    
    .pagination-prev span,
    .pagination-next span {
        display: none;
    }
}

/* ===== STUDENT EXPERIENCE STORIES SECTION ===== */
.student-stories-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.student-stories-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 100 100"><defs><pattern id="testimonial-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(220,38,38,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-pattern)"/></svg>');
    opacity: 0.3;
}

.stories-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.stories-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 2rem 0;
}

.story-card {
    flex: 0 0 400px;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-card.featured {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(220, 38, 38, 0.02) 100%);
}

.story-card.featured::before {
    content: '⭐ Featured Story';
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.story-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.story-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.story-course {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.story-event {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.story-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.story-rating .star {
    color: #ffd700;
    font-size: 1.1rem;
}

.story-testimonial {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.story-testimonial::before {
    content: '"';
    position: absolute;
    left: -0.2rem;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.story-testimonial::after {
    content: '"';
    position: absolute;
    right: -0.2rem;
    bottom: -1.5rem;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.story-achievement {
    background: linear-gradient(135deg, var(--accent-color), #e53e3e);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-achievement::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;
}

.story-card:hover .story-achievement::before {
    left: 100%;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--bg-primary);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

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

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--accent-color);
    opacity: 0.7;
}

/* Stories Section Mobile Styles */
@media (max-width: 768px) {
    .student-stories-section {
        padding: 3rem 0;
    }
    
    .story-card {
        flex: 0 0 300px;
        padding: 1.5rem;
    }
    
    .story-header {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .story-avatar {
        width: 50px;
        height: 50px;
    }
    
    .story-info h3 {
        font-size: 1.1rem;
    }
    
    .story-course, .story-event {
        font-size: 0.8rem;
    }
    
    .story-testimonial {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .story-achievement {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .carousel-controls {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .story-card {
        flex: 0 0 280px;
        padding: 1.2rem;
    }
    
    .stories-carousel {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .story-testimonial::before,
    .story-testimonial::after {
        font-size: 2rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* ===== REFINED INDUSTRY PARTNERSHIPS SECTION ===== */
.partnerships-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.partnerships-showcase {
    margin: 4rem 0;
}

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

.highlight-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e11d48 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2rem;
}

.highlight-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.highlight-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.partner-logos {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.partner-logos h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2rem 0;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partnership-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e11d48 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
}

.cta-content-partnership h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.cta-content-partnership p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.partnership-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-partner-refined {
    background: white;
    color: var(--accent-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-partner-refined:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* ===== REFINED COMMUNITY IMPACT SECTION ===== */
.impact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.impact-metrics {
    margin: 4rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, #e11d48 100%);
}

.metric-card.secondary::before {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
}

.metric-card.tertiary::before {
    background: linear-gradient(90deg, #06b6d4 0%, #0891b2 100%);
}

.metric-card.quaternary::before {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.metric-visual {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e11d48 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.metric-card.secondary .metric-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.metric-card.tertiary .metric-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.metric-card.quaternary .metric-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.metric-animation {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.metric-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.metric-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.metric-info p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.impact-stories {
    margin-top: 5rem;
    text-align: center;
}

.impact-stories h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 3rem 0;
}

.impact-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.impact-testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partnership-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .partnership-highlights {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-testimonials {
        grid-template-columns: 1fr;
    }
    
    .metric-visual {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-item {
        padding: 1.5rem;
    }
    
    .metric-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .partnership-benefits {
        justify-content: center;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .impact-stories h3 {
        font-size: 1.5rem;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    margin-top: 4rem;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-text {
    flex: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.cta-feature i {
    color: #ffd700;
    width: 20px;
}

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

.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary.cta-btn {
    background-color: #ff6b6b;
    color: white;
    border: 2px solid #ff6b6b;
}

.btn-primary.cta-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-secondary.cta-btn {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary.cta-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* CTA Responsive */
@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-features {
        align-items: center;
    }
}

/* ===== PAGINATION SECTION ===== */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

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

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    background-color: white;
    border-radius: 8px;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.page-number.active {
    background-color: #dc2626;
    border-color: #dc2626;
    color: white;
}

.pagination-info {
    color: #6b7280;
    font-size: 0.9rem;
}

/* ===== HERO STATS SECTION ===== */
.hero-stats-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    animation: heroSlideIn 0.6s ease-out forwards;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-stats-section {
        margin-top: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: row;
        text-align: left;
    }
}
}
}

/* Events pagination - show only first 9 events by default */
.events-grid .event-card:nth-child(n+10) {
    display: none;
}

/* When JavaScript loads, hide all first then show current page */
body.js-pagination-active .events-grid .event-card {
    display: none;
}

body.js-pagination-active .events-grid .event-card.show {
    display: block;
}

/* Pagination Responsive */
@media (max-width: 640px) {
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-btn span {
        display: none;
    }
    
    .pagination-btn {
        padding: 0.75rem;
    }
}

/* ===== ENHANCED HERO ELEMENTS ===== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: heroFloat 3s ease-in-out infinite;
}

.hero-badge i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.hero-title-main {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}

.hero-title-sub {
    display: block;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #64748b;
    margin-top: 0.5rem;
}

.hero-subtitle .highlight {
    color: #ff6b6b;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Quick Stats in Hero */
.hero-quick-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quick-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4ecdc4;
    line-height: 1;
}

.quick-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced CTA Buttons */
.cta-enhanced {
    position: relative;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: none;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 400px;
}

.cta-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.6);
}

.cta-content {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    color: white;
}

.cta-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-main {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.cta-sub {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.cta-urgency {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc2626;
    color: white;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 0 16px 0 16px;
    animation: pulse 2s infinite;
}

.cta-ghost {
    background: transparent;
    border: 2px solid #64748b;
    color: #64748b;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    max-width: 250px;
}

.cta-ghost:hover {
    border-color: #4ecdc4;
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.hero-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    border-left: 4px solid #10b981;
}

/* Enhanced Trust Section */
.hero-trust-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.company-logos {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logos-header span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.company-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.company-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.company-name {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.company-name:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.enhanced-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.enhanced-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.enhanced-stat-card:hover::before {
    transform: translateX(0);
}

.enhanced-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.enhanced-stat-card.featured {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(78, 205, 196, 0.15));
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
}

.stat-icon.success { background: linear-gradient(135deg, #10b981, #059669); }
.stat-icon.excellence { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-icon.placement { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.stat-icon.salary { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.stat-icon.certification { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.stat-icon.speed { background: linear-gradient(135deg, #84cc16, #65a30d); }

.enhanced-stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.enhanced-stat-card .stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
}

.enhanced-stat-card .stat-detail {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Enhanced Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-quick-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .cta-enhanced {
        max-width: 100%;
    }
    
    .cta-ghost {
        max-width: 100%;
    }
    
    .enhanced-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .logos-grid {
        gap: 1rem;
    }
    
    .company-logo {
        height: 30px;
    }
    
    .company-name {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-trust-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
}