    /* CSS Variables */
    :root {
        --primary-green: #10B981;
        --primary-purple: #6D28D9;
        --primary-blue: #3B82F6;
        --secondary-gray: #6B7280;
        --light-gray: #F9FAFB;
        --border-gray: #E5E7EB;
        --text-dark: #1F2937;
        --text-light: #6B7280;
        --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        --gradient-primary: linear-gradient(135deg, #10b981, #059669);
        --gradient-secondary: linear-gradient(135deg, #3b82f6, #1d4ed8);
        --gradient-accent: linear-gradient(135deg, #667eea, #764ba2);
        --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Base Styles */
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        background: linear-gradient(135deg, #e9cff7 0%, #e0e7ff 50%, #9a7399 100%);
        min-height: 100vh;
        margin: 0;
        padding: 0;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Header and Navigation */
    .brand-name {
        color: var(--primary-purple);
        font-weight: bold;
    }

    .header-gradient-bar {
        height: 4px;
        background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-purple) 100%);
        width: 100%;
    }

    .main-nav-link:hover {
        color: var(--primary-purple);
    }

    .mobile-menu-button {
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        border-top: 1px solid var(--border-gray);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .mobile-nav a {
        display: block;
        padding: 0.75rem 1rem;
        text-decoration: none;
        color: #4B5563;
        font-weight: 500;
        transition: background-color 0.2s;
    }

    .mobile-nav a:hover {
        background-color: #F3F4F6;
    }

    .mobile-nav.open {
        display: block;
    }

    @media (max-width: 767px) {
        .desktop-nav, .desktop-actions {
            display: none;
        }
        .mobile-menu-button {
            display: flex;
        }
    }

    /* Hero Section */
    .hero-bg {
        background: linear-gradient(135deg, #667eea 0%, #69696a 100%);
        position: relative;
        overflow: hidden;
        min-height: 60vh;
        isolation: isolate;
        z-index: 1;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .gradient-text {
        background: linear-gradient(135deg, #FFD700, #FFA500);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: shimmer 3s ease-in-out infinite;
    }

    /* Buttons */
    .contact-button {
        background-color: var(--primary-purple);
    }

    .btn-hero-primary {
        background: var(--primary-purple);
        color: white;
        border: none;
        padding: 16px 32px;
        border-radius: 50px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 4px 15px rgba(219, 106, 241, 0.4);
        position: relative;
        overflow: hidden;
        text-decoration: none;
        display: inline-block;
    }

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(139, 199, 239, 0.5);
    }

    .btn-hero-primary::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;
    }

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

    .btn-hero-secondary {
        background: transparent;
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.95);
        padding: 14px 30px;
        border-radius: 50px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
    }

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

    /* Floating Cards */
    .floating-card {
        opacity: 1;
        animation: floatCard 6s ease-in-out infinite;
    }

    .floating-card.animation-delay-2000 {
        animation-delay: 2s;
    }

    /* Community Impact Stats */
    .stats-counter {
        position: relative;
        overflow: hidden;
        padding: 2rem;
        border-radius: 0.75rem;
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
        transition: var(--transition);
    }

    .stats-counter:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .stats-counter::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: counterShine 3s ease-in-out infinite;
    }

    .counter {
        font-size: 3rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Partner Ecosystem */
    .partner-ecosystem-header {
        background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
        border-radius: 24px;
        border: 1px solid rgba(255,255,255,0.3);
        box-shadow: var(--shadow-soft);
        margin-bottom: 2rem;
        margin-top: 4rem; 
        position: relative;
        z-index: 2;
    }

    /* Partner Ecosystem */
    .activity-upcoming-header {
        background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(236, 222, 237, 0.7) 100%);
        border-radius: 24px;
        border: 1px solid rgba(255,255,255,0.3);
        box-shadow: var(--shadow-soft);
        margin-bottom: 1rem;
        margin-top: 1rem; 
        position: relative;
        z-index: 1;
    }

    .section-header {
        text-align: center;
        padding: 2rem;
    }

    .section-badge {
        display: inline-block;
        padding: 0.5rem 1rem;
        background: var(--gradient-accent);
        color: white;
        border-radius: 20px;
        font-size: 0.875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 800;
        color: #1a202c;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1.25rem;
        color: #64748b;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.5;
    }

    /* FIXED: Partner Scroll Container and Buttons */
    .partners-scroll-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding: 1rem 0;
        min-height: 420px; /* Ensures consistent button positioning */
    }

    .partners-scroll-wrapper {
        display: flex;
        gap: 32px;
        padding: 1rem 60px; /* Space for buttons */
        margin: 0 -60px; /* Offset padding */
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .partners-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* FIXED: Partner Scroll Buttons - Properly Centered */
    .partners-scroll-container .scroll-btn {
        position: absolute;
        top: calc(50% + 40px); /* Offset for section header */
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--primary-green);
        color: var(--primary-green);
        font-size: 1.2rem;
        cursor: pointer;
        transition: var(--transition);
        z-index: 25 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-soft);
        pointer-events: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .partners-scroll-container .scroll-btn:hover {
        background: var(--primary-green);
        color: white;
        transform: translateY(-50%) scale(1.1);
    }

    .partners-scroll-container .scroll-btn.prev {
        left: 15px;
    }

    .partners-scroll-container .scroll-btn.next {
        right: 15px;
    }

    /* Partner Cards */
    .partner-card {
        background: white;
        border-radius: 20px;
        box-shadow: var(--shadow-soft);
        transition: var(--transition-slow);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        min-width: 320px;
        max-width: 320px;
        flex-shrink: 0;
    }

    .partner-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-1);
        transition: height 0.3s ease;
    }

    .partner-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--shadow-hover);
    }

    .partner-card:hover::before {
        height: 8px;
    }

    .partner-card.kimpax::before { background: var(--gradient-4); }
    .partner-card.kifor::before { background: var(--gradient-3); }
    .partner-card.rosy-grapes::before { background: var(--gradient-2); }
    .partner-card.kabu::before { background: var(--gradient-1); }

    .partner-logo {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        transition: var(--transition);
        overflow: hidden;
        background: #f5f5f5;
    }

    .partner-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        transition: var(--transition);
    }

    .partner-logo.kimpax { background: var(--gradient-4); }
    .partner-logo.kifor { background: var(--gradient-3); }
    .partner-logo.rosy-grapes { background: var(--gradient-2); }
    .partner-logo.kabu { background: var(--gradient-1); }

    .partner-card:hover .partner-logo {
        transform: scale(1.1) rotate(5deg);
    }

    .partner-badge {
        position: absolute;
        top: 1rem;
        right: 1rem;
        padding: 0.25rem 0.75rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .badge-direct {
        background: var(--gradient-primary);
        color: white;
    }

    .badge-partner {
        background: var(--gradient-secondary);
        color: white;
    }

    .partner-stats {
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        transition: var(--transition);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-item:hover {
        transform: translateX(4px);
    }

    .stat-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        margin-right: 0.5rem;
    }

    .scroll-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .scroll-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(16, 185, 129, 0.3);
        cursor: pointer;
        transition: var(--transition);
    }

    .scroll-dot.active {
        background: var(--primary-green);
        transform: scale(1.2);
    }

    .auto-scroll {
        animation: autoScroll 20s infinite linear;
        animation-play-state: running;
    }

    .auto-scroll:hover {
        animation-play-state: paused;
    }

    /* Event Cards */
    .event-card {
        background: white;
        border-radius: 20px;
        box-shadow: var(--shadow-soft);
        transition: var(--transition-slow);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        min-width: 320px;
        max-width: 320px;
        flex-shrink: 0;
    }

    .ribbon-completed {
        position: absolute;
        top: 15px;
        right: -35px;
        transform: rotate(45deg);
        background-color: rgba(74, 85, 104, 0.9);
        color: white;
        padding: 5px 40px;
        font-weight: bold;
        font-size: 14px;
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        pointer-events: none; /* Ribbons shouldn't block clicks */
    }

    .view-results-button {
        display: inline-block;
        width: 100%;
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: white;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 14px;
        position: relative !important;
        z-index: 15 !important;
        pointer-events: auto !important;
    }

    .view-results-button:hover {
        background: linear-gradient(135deg, #5855f7 0%, #7c3aed 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    }

    .view-results-button:active {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    }

    /* FIXED: Activities Scroll Container and Buttons */
    .activities-scroll-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding: 1rem 0;
        min-height: 560px; /* Ensures consistent button positioning */
        margin-bottom: 20px;
    }

    .activities-scroll-wrapper {
        display: flex;
        gap: 16px;
        padding: 10px 40px; /* Space for buttons */
        margin: 0 -60px; /* Offset padding */
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .activities-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Activity Cards in Scroll Mode */
    .activities-scroll-wrapper .event-card {
        flex: 0 0 340px;
        max-width: 340px;
        min-height: 540px;
        background: white;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        overflow: hidden;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        flex-direction: column; 
    }
    .expandable-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
        }
    .expandable-content.expanded {
            max-height: 1000px;
            transition: max-height 0.4s ease-in;
    }

        .preview-content {
            transition: opacity 0.3s ease;
        }
        .preview-content.hidden {
            opacity: 0;
            max-height: 0;
            overflow: hidden;
        }
        .expand-button {
            transition: transform 0.3s ease;
        }
        .expand-button.rotated {
            transform: rotate(180deg);
        }

    .activities-scroll-wrapper .event-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    /* FIXED: Activities Scroll Buttons - Properly Centered */
    .activities-scroll-container .activities-scroll-btn {
        position: absolute;
        top: calc(50% + 20px); /* Offset for section header */
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--primary-green);
        color: var(--primary-green);
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 25 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        pointer-events: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .activities-scroll-container .activities-scroll-btn:hover {
        background: var(--primary-green);
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    }

    .activities-scroll-container .activities-scroll-btn.prev {
        left: 15px;
    }

    .activities-scroll-container .activities-scroll-btn.next {
        right: 15px;
    }

    /* Horizontal card class for activities */
    .horizontal-card {
        min-width: 400px;
        max-width: 400px;
        flex-shrink: 0;
    }

    /* Scroll Indicators for Activities */
    .activities-scroll-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .activities-scroll-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #d1d5db;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .activities-scroll-dot.active {
        background: var(--primary-green);
        transform: scale(1.2);
    }

    .activities-scroll-dot:hover {
        background: #6b7280;
    }

    /* Highlighting for Latest Upcoming Activity */
    .latest-upcoming {
        background: linear-gradient(135deg, #f0fdf4, #e0f2fe); /* Subtle gradient background */
        border: 2px solid var(--primary-green); /* Green border */
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); /* Glowing effect */
        animation: highlightPulse 2s infinite ease-in-out, fadeIn 1s ease-out; /* Pulse and fade-in animations */
        position: relative; /* For positioning the badge */
        margin-bottom: 20px; /* Extra spacing below the card */
    }

    /* "Latest Upcoming Activity" Label */
    .latest-upcoming::before {
        content: "Latest Upcoming Activity 🌟";
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--primary-green);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 10;
        animation: badgeFadeIn 1s ease-out;
    }

    /* Enhance the UPCOMING Badge */
    .latest-upcoming .upcoming-badge {
        background: var(--primary-green); /* Brighter green */
        color: white;
        font-size: 0.9rem;
        padding: 6px 45px;
        animation: pulseBadge 1.5s infinite ease-in-out;
    }

    /* Enhance the Charity Impact Badge */
    .latest-upcoming .charity-badge {
        background: linear-gradient(90deg, #ef4444, #f97316); /* Red-orange gradient for more vibrancy */
        font-size: 0.75rem;
        padding: 4px 10px;
        animation: pulseBadge 1.5s infinite ease-in-out;
    }

    /* Animations for Highlighting */
    @keyframes highlightPulse {
        0% {
            box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
        }
        50% {
            box-shadow: 0 0 25px rgba(16, 185, 129, 0.8);
        }
        100% {
            box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @keyframes badgeFadeIn {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }

    @keyframes pulseBadge {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
        }
    }

    /* Adjust for Mobile Screens */
    @media (max-width: 768px) {
        .latest-upcoming::before {
            font-size: 0.75rem;
            padding: 4px 10px;
            top: -25px;
        }

        .latest-upcoming .upcoming-badge {
            font-size: 0.8rem;
            padding: 5px 40px;
        }

        .latest-upcoming .charity-badge {
            font-size: 0.65rem;
            padding: 3px 8px;
        }
    }
    /* Responsive Design - FIXED for both Partners and Activities */
    @media (max-width: 1024px) {
        .partners-scroll-container {
            min-height: 380px;
        }
        
        .activities-scroll-container {
            min-height: 580px;
        }
        
        .partners-scroll-container .scroll-btn {
            top: calc(50% + 30px);
        }
        
        .activities-scroll-container .activities-scroll-btn {
            top: calc(50% + 15px);
        }
    }

    @media (max-width: 768px) {
        .partners-scroll-container {
            min-height: 360px;
        }
        
        .activities-scroll-container {
            min-height: 520px;
        }
        
        .partners-scroll-container .scroll-btn,
        .activities-scroll-container .activities-scroll-btn {
            width: 44px;
            height: 44px;
            font-size: 1rem;
        }
        
        .partners-scroll-container .scroll-btn {
            top: calc(50% + 20px);
        }
        
        .activities-scroll-container .activities-scroll-btn {
            top: calc(50% + 10px);
        }

        .partner-card {
            min-width: 280px;
            max-width: 280px;
        }
        
        .partner-logo {
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
        }

        .activities-scroll-wrapper .event-card {
            flex: 0 0 320px;
            max-width: 320px;
        }

        .horizontal-card {
            min-width: 350px;
            max-width: 350px;
        }
    }

    @media (max-width: 640px) {
        .partners-scroll-container {
            min-height: 340px;
        }
        
        .activities-scroll-container {
            min-height: 480px;
        }
        
        .partners-scroll-container .scroll-btn,
        .activities-scroll-container .activities-scroll-btn {
            width: 40px;
            height: 40px;
            font-size: 0.9rem;
        }
        
        .activities-scroll-container .activities-scroll-btn {
            display: flex !important; /* Keep visible on mobile */
            top: 50%;
        }

        .activities-scroll-wrapper {
            gap: 16px;
            padding: 10px 20px;
            scroll-snap-type: x mandatory;
        }
        
        .activities-scroll-wrapper .event-card {
            flex: 0 0 280px;
            max-width: 280px;
            min-height: 500px;
            scroll-snap-align: start;
        }

        .horizontal-card {
            min-width: 300px;
            max-width: 300px;
        }
    }

    @media (max-width: 480px) {
        .horizontal-card {
            min-width: 300px;
            max-width: 300px;
        }
    }

    @media (max-width: 768px) {
        .activities-scroll-container {
            padding: 0.5rem 0; /* Reduced padding for mobile */
        }

        .activities-scroll-wrapper {
            flex-direction: column; /* Stack cards vertically */
            align-items: center; /* Center cards horizontally */
            overflow-x: hidden; /* Disable horizontal scrolling */
            overflow-y: visible; /* Allow vertical flow */
            padding: 0 10px; /* Minimal padding */
            gap: 20px; /* Space between cards */
        }

        .activities-scroll-wrapper .event-card {
            flex: none; /* Remove fixed width */
            width: 100%; /* Take full width of container */
            max-width: 400px; /* Cap max width for readability */
            min-height: auto; /* Allow card to size based on content */
            margin: 0 auto; /* Center card */
        }

        .horizontal-card {
            min-width: 100%;
            max-width: 400px;
        }

        .activities-scroll-wrapper .event-card img {
            height: 180px; /* Adjusted for mobile */
        }

        .activities-scroll-wrapper .event-card .p-4 {
            padding: 0.75rem;
        }

        /* Hide scroll buttons on mobile */
        .activities-scroll-container .activities-scroll-btn {
            display: none !important;
        }

        /* Hide scroll indicators on mobile */
        .activities-scroll-indicators {
            display: none !important;
        }
    }

    @media (max-width: 640px) {
        .activities-scroll-wrapper .event-card {
            max-width: 350px; /* Slightly smaller for smaller screens */
        }

        .horizontal-card {
            max-width: 350px;
        }

        .activities-scroll-wrapper .event-card img {
            height: 160px;
        }

        .activities-scroll-wrapper .event-card .p-4 {
            padding: 0.5rem;
        }
    }

    @media (max-width: 480px) {
        .activities-scroll-wrapper .event-card {
            max-width: 300px;
        }

        .horizontal-card {
            max-width: 300px;
        }
    }

    /* Modals */
    #registration-modal {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        inset: 0;
        background-color: transparent;
        z-index: 1000 !important;
        pointer-events: auto !important;
    }

    #registration-modal.hidden {
        display: none !important;
        pointer-events: none !important;
    }

    #registration-modal > div {
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        width: 100%;
        max-width: 600px;
        max-height: 80vh;
        overflow-y: auto;
        margin: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    #registration-modal .bg-purple-600 {
        background-color: var(--primary-purple);
        color: white;
        padding: 16px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        flex-shrink: 0;
    }

    #registration-modal .p-6 {
        padding: 20px;
        flex-grow: 1;
        overflow-y: auto;
        box-sizing: border-box;
    }

    #registration-form label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #374151;
    }

    #registration-form input,
    #registration-form select,
    #registration-form textarea {
        width: 100%;
        padding: 8px;
        border: 1px solid #D1D5DB;
        border-radius: 4px;
        margin-bottom: 16px;
    }

    #registration-form textarea {
        resize: vertical;
    }

    #registration-form button {
        cursor: pointer;
        padding: 10px 16px;
        border-radius: 6px;
        font-weight: bold;
        transition: background-color 0.2s ease-in-out;
    }

    #registration-form button[type="submit"] {
        background-color: var(--primary-purple);
        color: white;
        border: none;
    }

    #registration-form button[type="button"] {
        background-color: #E5E7EB;
        color: #374151;
        border: none;
    }

    #registration-form button:hover {
        opacity: 0.8;
    }

    #registration-modal > div::-webkit-scrollbar {
        width: 8px;
    }

    #registration-modal > div::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    #registration-modal > div::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    #registration-modal > div::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    #success-animation-modal {
        background: transparent !important;
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000 !important;
    }

    #success-animation-modal.hidden {
        display: none !important;
        pointer-events: none !important;
    }

    /* Notifications */
    .notification {
        animation: slideIn 0.3s ease-out forwards;
    }

    /* Checkmark Animation */
    .checkmark {
        width: 32px;
        height: 32px;
    }
    
    .checkmark__circle {
        stroke-dasharray: 166;
        stroke-dashoffset: 166;
        stroke-width: 2;
        stroke-miterlimit: 10;
        stroke: #10b981;
        fill: none;
        animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    }
    
    .checkmark__check {
        transform-origin: 50% 50%;
        stroke-dasharray: 48;
        stroke-dashoffset: 48;
        stroke-width: 3;
        stroke: #10b981;
        animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
    }

    /* Search and Filters Section */
    .search-input {
        background: white;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        padding: 1rem 1rem 1rem 3rem;
        width: 100%;
        font-size: 1rem;
        transition: var(--transition);
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    }

    .search-input:focus {
        outline: none;
        border-color: var(--primary-green);
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }

    .search-input::placeholder {
        color: #9ca3af;
    }

    .filter-tag {
        padding: 0.5rem 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 50px;
        background: white;
        color: #6b7280;
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
        white-space: nowrap;
    }

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

    .filter-tag.active {
        background: var(--primary-green);
        border-color: var(--primary-green);
        color: white;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }

    .filter-checkbox {
        display: flex;
        align-items: center;
        padding: 0.75rem;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        background: white;
        cursor: pointer;
        transition: var(--transition);
        position: relative;
    }

    .filter-checkbox:hover {
        border-color: var(--primary-green);
        background: rgba(16, 185, 129, 0.05);
    }

    .filter-checkbox input[type="checkbox"] {
        display: none;
    }

    .filter-checkbox .checkmark {
        width: 20px;
        height: 20px;
        border: 2px solid #d1d5db;
        border-radius: 4px;
        margin-right: 0.75rem;
        position: relative;
        transition: var(--transition);
        flex-shrink: 0;
    }

    .filter-checkbox input[type="checkbox"]:checked + .checkmark {
        background: var(--primary-green);
        border-color: var(--primary-green);
    }

    .filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
        content: '';
        position: absolute;
        left: 6px;
        top: 2px;
        width: 6px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .filter-checkbox .text {
        font-weight: 500;
        color: var(--text-dark);
        flex-grow: 1;
    }

    .filter-checkbox .count {
        font-size: 0.75rem;
        color: var(--text-light);
        background: #f3f4f6;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        margin-left: 0.5rem;
    }

    .filter-checkbox input[type="checkbox"]:checked ~ .text {
        color: var(--primary-green);
        font-weight: 600;
    }

    .filter-checkbox input[type="checkbox"]:checked ~ .count {
        background: rgba(16, 185, 129, 0.1);
        color: var(--primary-green);
    }

    .results-count {
        font-size: 0.875rem;
        color: var(--text-light);
        margin-top: 1rem;
        text-align: center;
        padding: 0.5rem;
        background: rgba(16, 185, 129, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }

    .platform-preview-gradient {
        background: linear-gradient(135deg, #f5f0f5 50%, #e0e7ff 100%, #d0c1d0 30%);
    }

    /* Button Enhancement for Clickability */
    .register-btn, 
    .view-results-button,
    button.register-btn,
    a.register-btn,
    a.view-results-button {
        position: relative !important;
        z-index: 15 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        display: inline-block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
    }

    /* Card hover effects - ensure buttons stay clickable */
    .partner-card:hover,
    .event-card:hover {
        z-index: 8 !important;
    }
    
    .partner-card img {
        max-width: 100% !important;
        max-height: 128px !important;
        object-fit: cover !important;
    }

    .partner-card:hover .register-btn,
    .partner-card:hover .view-results-button,
    .event-card:hover .register-btn,
    .event-card:hover .view-results-button {
        z-index: 20 !important;
    }

    .event-card,
    .partner-card {
        z-index: 5 !important;
    }

    .p-4,
    .card-content,
    .activity-actions,
    .button-container {
        position: relative !important;
        z-index: 10 !important;
        pointer-events: auto !important;
    }

    /* Animations */
    @keyframes slideIn {
        from { transform: translateY(100%); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px) translateX(0px); }
        25% { transform: translateY(-20px) translateX(10px); }
        50% { transform: translateY(0px) translateX(-10px); }
        75% { transform: translateY(20px) translateX(5px); }
    }

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

    @keyframes shimmer {
        0%, 100% { filter: hue-rotate(0deg); }
        50% { filter: hue-rotate(30deg); }
    }

    @keyframes counterShine {
        0% { left: -100%; }
        50% { left: 100%; }
        100% { left: 100%; }
    }

    @keyframes autoScroll {
        0% { transform: translateX(0); }
        25% { transform: translateX(-25%); }
        50% { transform: translateX(-50%); }
        75% { transform: translateX(-75%); }
        100% { transform: translateX(0); }
    }

    @keyframes stroke {
        100% {
            stroke-dashoffset: 0;
        }
    }

    /* Utility Classes */
    .p-6 { padding: 1.5rem; }
    .text-center { text-align: center; }
    .text-xl { font-size: 1.25rem; }
    .text-sm { font-size: 0.875rem; }
    .font-bold { font-weight: 700; }
    .font-medium { font-weight: 500; }
    .text-gray-900 { color: #111827; }
    .text-gray-600 { color: #4b5563; }
    .text-green-600 { color: #059669; }
    .text-blue-600 { color: #2563eb; }
    .text-purple-600 { color: #9333ea; }
    .text-pink-600 { color: #db2777; }
    .text-yellow-600 { color: #ca8a04; }
    .bg-green-100 { background-color: #dcfce7; }
    .bg-blue-100 { background-color: #dbeafe; }
    .bg-purple-100 { background-color: #f3e8ff; }
    .bg-pink-100 { background-color: #fce7f3; }
    .bg-yellow-100 { background-color: #fef3c7; }
    .mb-2 { margin-bottom: 0.5rem; }
    .mb-4 { margin-bottom: 1rem; }
    .mb-16 { margin-bottom: 4rem; }
    .flex { display: flex; }
    .items-center { align-items: center; }
    .max-w-7xl { max-width: 80rem; }
    .mx-auto { margin-left: auto; margin-right: auto; }


    /* CALENDAR SLIDE PANEL STYLES */
    .calendar-slide-panel {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 800px;
        background: white;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    .calendar-slide-panel.open {
        right: 0;
    }

    .calendar-panel-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .calendar-panel-backdrop.open {
        opacity: 1;
        visibility: visible;
    }

    .calendar-panel-header {
        background: linear-gradient(135deg, #7928CA 0%, #9333EA 100%);
        color: white;
        padding: 1.5rem 1rem;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .calendar-panel-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
    }

    .calendar-panel-close:hover {
        background: rgba(255,255,255,0.2);
    }

    .calendar-panel-content {
        padding: 1rem;
    }

    /* VIEW CALENDAR BUTTON */
    .view-calendar-btn {
        display: inline-block;
        width: 100%;
        background: linear-gradient(135deg, #7928CA 0%, #9333EA 100%);
        color: white;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 14px;
        margin-top: 1rem;
    }

    .view-calendar-btn:hover {
        background: linear-gradient(135deg, #6b21a8 0%, #7c3aed 100%);
        transform: translateY(-2px);
    }

    /* Copy calendar styles from paste.txt */
    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .calendar-nav {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .nav-btn {
        padding: 8px 12px;
        border: 1px solid #d1d5db;
        background: white;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .nav-btn:hover {
        background: #f9fafb;
    }

    .current-month {
        font-size: 1.125rem;
        font-weight: 600;
        color: #1f2937;
        min-width: 160px;
        text-align: center;
    }

    .legend {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
    }

    .legend-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #6b7280;
    }

    .legend-color {
        width: 12px;
        height: 4px;
        border-radius: 2px;
    }

    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 1px;
        background: #e5e7eb;
        border-radius: 8px;
        overflow: hidden;
    }

    .calendar-day-header {
        background: #f9fafb;
        padding: 12px 8px;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #6b7280;
    }

    .calendar-day {
        background: white;
        min-height: 80px;
        padding: 8px;
        cursor: pointer;
        transition: background 0.3s;
    }

    .calendar-day:hover {
        background: #f9fafb;
    }

    .calendar-day.today {
        background: #eff6ff;
    }

    .calendar-day.other-month {
        background: #f9fafb;
        color: #9ca3af;
    }

    .day-number {
        font-weight: 500;
        margin-bottom: 4px;
    }

    .day-events {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .event-dot {
        width: 100%;
        height: 4px;
        border-radius: 2px;
    }

    .event-tooltip {
        position: absolute;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        z-index: 1001;
        max-width: 320px;
        font-size: 14px;
        color: #1f2937;
    }

    .calendar-day.has-events {
        cursor: pointer;
    }

    .calendar-day.has-events:hover {
        background: #f3f4f6;
    }

