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

        html {
            overflow-x: hidden;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #0B6BFF 0%, #00C2A8 100%);
            min-height: 100vh;
            color: #333;
            overflow-x: hidden;
            width: 100%;
        }

        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #0B6BFF 0%, #00C2A8 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 1;
            transition: opacity 0.5s ease-out;
        }

        .loading-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loading-content {
            text-align: center;
            color: white;
        }

        .loading-logo {
            width: 80px;
            height: 80px;
            margin: 0 auto 2rem;
            animation: spin 2s linear infinite;
        }

        .loading-circle {
            stroke-dashoffset: 0;
            animation: loading-progress 2s ease-in-out infinite;
        }

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

        @keyframes loading-progress {
            0% { stroke-dashoffset: 180; }
            50% { stroke-dashoffset: 45; }
            100% { stroke-dashoffset: 180; }
        }

        .loading-progress {
            width: 200px;
            height: 4px;
            background: rgba(255,255,255,0.2);
            border-radius: 2px;
            margin: 1rem auto;
            overflow: hidden;
        }

        .loading-bar {
            height: 100%;
            background: #F39C12;
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .header {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .logo h1 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: #1B365D;
            margin-bottom: 0.25rem;
        }

        .logo-image {
            height: 80px;
            width: auto;
            max-width: 450px;
            margin-bottom: 0.5rem;
            transition: transform 0.3s ease;
        }

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

        .logo-subtitle {
            color: #00C2A8;
            font-weight: 600;
            font-size: 0.8em;
        }

        .tagline {
            color: #666;
            font-size: 0.9rem;
        }

        .search-container {
            flex: 1;
            max-width: 500px;
            position: relative;
        }

        .search-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .search-input {
            width: 100%;
            padding: 0.75rem 3rem 0.75rem 1rem;
            border: 2px solid #e1e8ed;
            border-radius: 25px;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            border-color: #F39C12;
            box-shadow: 0 0 0 3px rgba(243,156,18,0.1);
        }

        .voice-search-btn {
            position: absolute;
            right: 10px;
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .voice-search-btn:hover {
            background: #f0f0f0;
            color: #F39C12;
        }

        .voice-search-btn.recording {
            color: #e74c3c;
            animation: pulse 1s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .header-stats {
            display: flex;
            gap: 2rem;
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            display: block;
            font-size: 1.5rem;
            font-weight: 700;
            color: #1B365D;
        }

        .stat-label {
            font-size: 0.8rem;
            color: #666;
        }

        .filter-controls {
            background: white;
            padding: 1rem 2rem;
            border-bottom: 1px solid #e1e8ed;
        }

        .filter-section {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            gap: 2rem;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        .filter-buttons {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.5rem 1rem;
            border: 2px solid #e1e8ed;
            background: white;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: #F39C12;
            border-color: #F39C12;
            color: white;
            transform: translateY(-2px);
        }

        .clustering-section {
            margin-top: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .clustering-label {
            display: none; /* Hide old label completely */
        }

        .clustering-buttons {
            display: none; /* Hide old buttons completely */
        }

        .cluster-btn {
            padding: 0.5rem 1rem;
            border: 2px solid #3498DB;
            background: white;
            color: #3498DB;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .cluster-btn:hover {
            background: #3498DB;
            color: white;
            transform: translateY(-1px);
        }

        .cluster-btn.active {
            background: #3498DB;
            color: white;
            box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
        }

        /* Random Alumni button styling */
        #meet-random-alumni:hover {
            background: #27AE60 !important;
            color: white !important;
            transform: translateY(-1px);
        }

        #meet-random-alumni:active {
            background: #229954 !important;
            box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
        }

        /* Ensure button returns to normal state after click */
        #meet-random-alumni:focus {
            outline: none;
            background: white !important;
            color: #27AE60 !important;
            border-color: #27AE60 !important;
        }

        #meet-random-alumni:not(:hover):not(:active) {
            background: white !important;
            color: #27AE60 !important;
        }

        /* Degree Cluster Hamburger Menu */
        .degree-cluster-nav {
            position: sticky;
            top: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem;
            margin-bottom: 1rem;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
            z-index: 100;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .degree-hamburger {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.25rem;
            background: white;
            border: 2px solid #9b59b6;
            border-radius: 10px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            color: #9b59b6;
            transition: all 0.3s ease;
            position: relative;
            z-index: 10;
        }

        .degree-hamburger:hover {
            background: #9b59b6;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
        }

        .degree-hamburger.active {
            background: #9b59b6;
            color: white;
            border-radius: 10px 10px 0 0;
        }

        .degree-hamburger-icon {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .degree-hamburger-line {
            width: 18px;
            height: 2.5px;
            background: currentColor;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .degree-hamburger.active .degree-hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .degree-hamburger.active .degree-hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .degree-hamburger.active .degree-hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        .degree-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border: 2px solid #9b59b6;
            border-top: none;
            border-radius: 0 10px 10px 10px;
            box-shadow: 0 6px 20px rgba(155, 89, 182, 0.2);
            min-width: 280px;
            opacity: 0;
            transform: translateY(-15px);
            pointer-events: none;
            transition: all 0.3s ease;
            z-index: 9;
        }

        .degree-dropdown.active {
            opacity: 1;
            transform: translateY(0);
            pointer-events: all;
        }

        .degree-category-btn {
            padding: 0.875rem 1.25rem;
            border: none;
            border-bottom: 1px solid rgba(155, 89, 182, 0.15);
            background: white;
            color: #9b59b6;
            border-radius: 0;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            width: 100%;
        }

        .degree-category-btn:last-child {
            border-bottom: none;
            border-radius: 0 0 8px 8px;
        }

        .degree-category-btn:hover {
            background: #f8f4ff;
            color: #8e44ad;
            padding-left: 1.5rem;
        }

        .degree-category-btn.active {
            background: #9b59b6;
            color: white;
            font-weight: 600;
        }

        .degree-category-btn.active::before {
            content: '✓';
            margin-right: 0.25rem;
            font-weight: bold;
        }

        .degree-category-icon {
            font-size: 1.1em;
        }

        /* Second Level Hamburger Menu (Specific Degrees) */
        .degree-hamburger-secondary {
            display: none; /* Hidden by default */
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.25rem;
            background: white;
            border: 2px solid #e67e22;
            border-radius: 10px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            color: #e67e22;
            transition: all 0.3s ease;
            position: relative;
            z-index: 10;
        }

        .degree-hamburger-secondary:hover {
            background: #e67e22;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
        }

        .degree-hamburger-secondary.active {
            background: #e67e22;
            color: white;
            border-radius: 10px 10px 0 0;
        }

        .degree-hamburger-secondary.show {
            display: inline-flex;
        }

        .degree-dropdown-secondary {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border: 2px solid #e67e22;
            border-top: none;
            border-radius: 0 10px 10px 10px;
            box-shadow: 0 6px 20px rgba(230, 126, 34, 0.2);
            min-width: 280px;
            opacity: 0;
            transform: translateY(-15px);
            pointer-events: none;
            transition: all 0.3s ease;
            z-index: 9;
            max-height: 300px;
            overflow-y: auto;
        }

        .degree-dropdown-secondary.active {
            opacity: 1;
            transform: translateY(0);
            pointer-events: all;
        }

        .degree-specific-btn {
            padding: 0.875rem 1.25rem;
            border: none;
            border-bottom: 1px solid rgba(230, 126, 34, 0.15);
            background: white;
            color: #e67e22;
            border-radius: 0;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            width: 100%;
        }

        .degree-specific-btn:last-child {
            border-bottom: none;
            border-radius: 0 0 8px 8px;
        }

        .degree-specific-btn:hover {
            background: #fdf6f0;
            color: #d35400;
            padding-left: 1.5rem;
        }

        .degree-specific-btn.active {
            background: #e67e22;
            color: white;
            font-weight: 600;
        }

        .degree-specific-btn.active::before {
            content: '✓';
            margin-right: 0.25rem;
            font-weight: bold;
        }



        .main-content {
            padding: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Upcoming Events Section */
        .upcoming-events {
            margin-bottom: 3rem;
            padding: 2rem 0;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

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

        .section-header h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #1B365D;
            margin: 0;
        }

        .view-all-link {
            color: #0B6BFF;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .view-all-link:hover {
            color: #00C2A8;
        }

        .events-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 1.5rem;
            padding: 0 2rem;
        }

        .event-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            border: 1px solid rgba(11, 107, 255, 0.1);
        }

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

        .event-card.featured {
            background: linear-gradient(135deg, #0B6BFF 0%, #00C2A8 100%);
            color: white;
            border: none;
        }

        .event-badge {
            position: absolute;
            top: -8px;
            right: 16px;
            background: #00C2A8;
            color: white;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .event-content h3 {
            font-size: 1.25rem;
            font-weight: 700;
            margin: 0 0 1rem 0;
            color: inherit;
        }

        .event-date, .event-location {
            font-size: 0.9rem;
            margin: 0.5rem 0;
            opacity: 0.9;
        }

        .event-description {
            font-size: 0.9rem;
            line-height: 1.5;
            margin: 1rem 0;
            opacity: 0.8;
        }

        .event-tags {
            display: flex;
            gap: 0.5rem;
            margin: 1rem 0;
            flex-wrap: wrap;
        }

        .tag {
            background: rgba(255, 255, 255, 0.2);
            color: inherit;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        .event-card:not(.featured) .tag {
            background: rgba(11, 107, 255, 0.1);
            color: #0B6BFF;
        }

        .event-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .btn-primary, .btn-secondary {
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: white;
            color: #0B6BFF;
        }

        .event-card.featured .btn-primary {
            background: rgba(255, 255, 255, 0.9);
            color: #0B6BFF;
        }

        .event-card:not(.featured) .btn-primary {
            background: #0B6BFF;
            color: white;
        }

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

        .btn-primary:hover, .btn-secondary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        /* Coming Soon Event Styles */
        .event-card.coming-soon {
            position: relative;
            opacity: 0.7;
        }

        .event-card.coming-soon .event-content {
            filter: blur(3px);
        }

        .event-card.coming-soon:hover {
            transform: none;
            opacity: 0.7;
        }

        .event-card.coming-soon:hover .event-content {
            filter: blur(3px);
        }

        .coming-soon-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(11, 107, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            z-index: 2;
            filter: none !important;
        }

        .coming-soon-text {
            background: rgba(11, 107, 255, 0.9);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            filter: none !important;
        }

        /* Past Events Section */
        .past-events-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .past-event-card {
            padding: 0;
            overflow: hidden;
        }

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

        .past-event-images {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
        }

        .past-event-image {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease;
        }

        .past-event-image.active {
            opacity: 1;
        }

        .past-event-image .placeholder-label {
            background: rgba(0, 0, 0, 0.25);
            backdrop-filter: blur(4px);
            color: white;
            font-weight: 600;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            padding: 6px 14px;
            border-radius: 20px;
        }

        .past-event-dots {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            z-index: 3;
            display: flex;
            justify-content: center;
            gap: 6px;
        }

        .past-event-dots .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            transition: background 0.3s ease, transform 0.3s ease;
        }

        .past-event-dots .dot.active {
            background: #ffffff;
            transform: scale(1.3);
        }

        /* Home Page Styles */
        .home-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .hero-section {
            text-align: center;
            padding: 4rem 0;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            margin-bottom: 3rem;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            color: #1B365D;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: #666;
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .hero-btn {
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary.hero-btn {
            background: #0B6BFF;
            color: white;
        }

        .btn-primary.hero-btn:hover {
            background: #0056CC;
            transform: translateY(-2px);
        }

        .btn-secondary.hero-btn {
            background: white;
            color: #0B6BFF;
            border: 2px solid #0B6BFF;
        }

        .btn-secondary.hero-btn:hover {
            background: #0B6BFF;
            color: white;
            transform: translateY(-2px);
        }

        .btn-link.hero-btn {
            background: transparent;
            color: #00C2A8;
            border: 1px solid #00C2A8;
        }

        .btn-link.hero-btn:hover {
            background: #00C2A8;
            color: white;
            transform: translateY(-2px);
        }



        /* Alumni Page Styles */
        .alumni-page {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        .alumni-page-header {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .alumni-page-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1B365D;
            margin: 0;
        }

        .alumni-page-header .btn-secondary {
            background: white;
            color: #0B6BFF;
            border: 2px solid #0B6BFF;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .alumni-page-header .btn-secondary:hover {
            background: #0B6BFF;
            color: white;
            transform: translateY(-2px);
        }

        /* Enhanced Filter Controls */
        #alumni-filter-controls {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        #alumni-filter-controls .clustering-label {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1B365D;
            margin-bottom: 1rem;
        }

        #alumni-filter-controls .clustering-buttons {
            display: none; /* Hide old alumni filter buttons completely */
        }

        #alumni-filter-controls .cluster-btn {
            background: white;
            color: #0B6BFF;
            border: 2px solid #0B6BFF;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        #alumni-filter-controls .cluster-btn:hover,
        #alumni-filter-controls .cluster-btn.active {
            background: #0B6BFF;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(11, 107, 255, 0.3);
        }

        #alumni-filter-controls .cluster-btn.meet-random-alumni {
            background: white;
            color: #00C2A8;
            border-color: #00C2A8;
        }

        #alumni-filter-controls .cluster-btn.meet-random-alumni:hover {
            background: #00C2A8;
            color: white;
            box-shadow: 0 4px 12px rgba(0, 194, 168, 0.3);
        }

        .cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            padding: 1rem;
            min-height: 600px;
            width: 100%;
            transition: all 0.6s ease;
        }

        .cards-container.clustering {
            display: block;
            position: relative;
        }

        .cluster-group {
            margin-bottom: 5rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Old wide-bar header removed in favor of card-style header below */

        .cluster-cards {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            position: relative;
            min-height: 360px;
            padding: 0;
        }

        /* Fanned Deck of Cards Layout - Centered with space for lifted cards */
        .cluster-cards.deck-mode {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            width: 100%;
            min-height: 750px;
            padding: 6rem 2rem 4rem 2rem;
            overflow-x: visible;
            overflow-y: visible;
            scroll-behavior: smooth;
            margin: 0 auto;
        }

        /* Multi-row cluster tuning: reduce per-row height and add vertical spacing to avoid hover collisions */
        .cluster-group.multi-row .cluster-cards.deck-mode { min-height: 420px; padding: 3rem 1rem 2.5rem; }
        .cluster-group.multi-row .cluster-cards.deck-mode + .cluster-cards.deck-mode { margin-top: 120px; }

        .cluster-cards.deck-mode .alumni-card {
            position: absolute;
            width: 320px;
            height: 520px;
            border-radius: 16px;
            background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: 
                0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            overflow: hidden;
            backdrop-filter: blur(10px);
            /* Dynamic positioning set by JavaScript - no rotation */
            transform: translateX(var(--card-x, 0px)) translateY(0px);
            z-index: var(--card-z, 1);
        }

        /* PURE Y-AXIS FLOATING ANIMATION - Card lifts UP from deck */
        .cluster-cards.deck-mode .alumni-card:hover {
            transform: translateX(var(--card-x, 0px)) translateY(calc(var(--card-y, 0px) - 120px)) !important;
            z-index: 100 !important;
            /* Smooth floating UP - natural ease-out like lifting a card */
            transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }

        /* SMOOTH SETTLING DOWN - Card gently returns to deck */
        .cluster-cards.deck-mode .alumni-card:not(:hover) {
            /* Slower, gentle descent back into deck */
            transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        /* CLICK FEEDBACK - Extra lift when pressed */
        .cluster-cards.deck-mode .alumni-card:active {
            transform: translateX(var(--card-x, 0px)) translateY(calc(var(--card-y, 0px) - 140px));
            /* Quick responsive lift */
            transition: transform 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        /* Fanned deck entrance animation */
        .cluster-cards.deck-mode .alumni-card.clustering {
            opacity: 0;
            transform: translateX(var(--card-x, 0px)) translateY(100px) scale(0.8);
            animation: fannedCardSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes fannedCardSlideIn {
            to {
                opacity: 1;
                transform: translateX(var(--card-x, 0px)) translateY(var(--card-y, 0px)) scale(1);
            }
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        @keyframes fadeInGroup {
            from {
                opacity: 0;
                transform: translate3d(0, 15px, 0);
            }
            to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        .cluster-group {
            opacity: 0;
            animation: fadeInGroup 0.4s ease-out forwards;
        }

        .alumni-card {
            width: 100%;
            height: auto;
            min-height: 320px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.12);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.06);
            transform: translate3d(0, 0, 0);
            backface-visibility: hidden;
            will-change: transform, opacity;
        }

        .alumni-card:hover:not(.cluster-cards.deck-mode .alumni-card) {
            transform: translate3d(0, -4px, 0);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.15);
            border-color: rgba(0,0,0,0.1);
        }

        /* Override for normal view only */
        .cards-container:not(.clustering) .alumni-card:hover {
            transform: translate3d(0, -4px, 0);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.15);
            border-color: rgba(0,0,0,0.1);
        }

        /* Sticky cluster jump navigation */
        .cluster-jump-nav {
            position: sticky;
            top: 64px;
            z-index: 850;
            display: flex;
            gap: 0.6rem;
            padding: 0.6rem 0.75rem;
            margin: 0 0 0.75rem 0;
            background: #ffffff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            border: 1px solid rgba(0,0,0,0.06);
            border-radius: 12px;
            overflow-x: auto;
            white-space: nowrap;
        }

        .cluster-jump-chip {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.92rem;
            line-height: 1;
            padding: 0.55rem 0.8rem;
            border-radius: 12px;
            border: 1px solid rgba(0,0,0,0.08);
            background: #fff;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        .cluster-jump-chip:hover {
            background: #f9fafb;
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.06);
        }

        .cluster-jump-chip .chip-title { color: #1B365D; font-weight: 600; }
        .cluster-jump-chip .chip-count {
            font-size: 0.82rem;
            color: #1B365D;
            background: #F3F4F6;
            padding: 0.2rem 0.5rem;
            border-radius: 999px;
            border: 1px solid rgba(0,0,0,0.06);
        }

        /* Cluster group header - inline (non-sticky) + collapse affordance */
        .cluster-group { scroll-margin-top: 0; position: relative; margin: 0 0 8px 0; }
        /* remove leftover header bar style */
        .cluster-header { display: none; }

        .cluster-group:nth-child(even) .cluster-card { background: #F8FAFC; }
        .cluster-card .header-left, .cluster-card .header-right { display: inline-flex; align-items: center; gap: 8px; }
        .cluster-card .preview-avatars { display: inline-flex; align-items: center; gap: 4px; margin-right: 4px; }
        .cluster-card .preview-avatars .avatar {
            width: 20px; height: 20px; border-radius: 50%;
            background: #E5E7EB; border: 1px solid rgba(0,0,0,0.08);
            display: inline-block;
        }
        .cluster-card .stat.pill { font-size: 0.8rem; line-height: 1; padding: 0.28rem 0.5rem; border-radius: 999px; border: 1px solid rgba(0,0,0,0.06); background: #F3F4F6; color: #1B365D; }
        .cluster-card .stat.pill.green { background: #ECFDF5; border-color: #A7F3D0; }
        .cluster-card .stat.pill.gray { background: #F3F4F6; }
        .cluster-card .stat.pill.blue { background: #EEF2FF; border-color: #C7D2FE; }

        .cluster-card .cluster-badge { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #ccc; }
        .cluster-card .cluster-title { font-weight: 600; font-size: 1rem; color: #1B365D; }
        .cluster-card .cluster-count { font-size: 0.85rem; background: #F3F4F6; color: #1B365D; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid rgba(0,0,0,0.06); }
        .cluster-card .toggle-icon { margin-left: 0.5rem; transition: transform 0.25s ease; }
        .cluster-group.collapsed .toggle-icon { transform: rotate(-90deg); }

        /* Collapsible deck container */
        .cluster-cards.deck-mode { transition: max-height 0.4s ease, opacity 0.3s ease; overflow: visible; position: relative; z-index: 1; }
        .cluster-group.collapsed .cluster-cards.deck-mode { max-height: 0 !important; min-height: 0 !important; opacity: 0.0; pointer-events: none; margin: 0 !important; padding: 0 !important; }

        /* Tighten header-to-deck spacing */
        .cluster-card + .cluster-cards.deck-mode { margin-top: 20px; }

        /* Cluster header as a true card with progress ring */
        .cluster-card { position: relative; }
        .cluster-card .ring {
            width: 44px; height: 44px; border-radius: 50%; position: relative;
            background: conic-gradient(#27AE60 calc(var(--pct, 0) * 1%), #E5E7EB 0);
        }
        .cluster-card .ring-inner {
            position: absolute; inset: 4px; background: #fff; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.7rem; color: #1B365D; font-weight: 700;
        }

        /* Opening animation for decks */
        .cluster-group.opening .cluster-cards.deck-mode { animation: deckReveal 0.35s ease-out both; }
        @keyframes deckReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

        /* Enforce card-sized headers (avoid full-width bars) */
        .cluster-group .cluster-card {
            display: grid !important;
            grid-template-columns: 52px 1fr auto !important;
            width: clamp(300px, 50vw, 460px) !important;
            align-self: center !important;
            margin-left: 0 !important;
            padding: 12px 14px !important;
            border-radius: 16px !important;
            background: linear-gradient(180deg, #ffffff, #fafbfc) !important;
        }

        /* Overview grid of cluster cards - always 3 per row, regardless of how many classes exist */
        .cluster-overview-grid {
            display: grid;
            grid-template-columns: repeat(3, 280px);
            justify-content: center;
            gap: 24px;
            align-items: stretch;
            max-width: 1200px;
            margin: 0 auto;
        }

        .cluster-overview-grid .alumni-card {
            width: 280px;
        }
        
        @media (max-width: 768px) { 
            /* Make cluster cards (class year cards) display in single column on mobile */
            .cluster-overview-grid {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                gap: 16px !important;
            }
            
            .cluster-overview-grid .alumni-card {
                width: 280px !important;
                max-width: calc(100vw - 2rem) !important;
                margin: 0 !important;
            }

            /* MOBILE ONLY - Ensure alumni cards display 2 in a row */
            .cards-container {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.75rem !important;
                padding: 0.5rem !important;
            }
            
            .cards-container .alumni-card {
                width: 100% !important;
                max-width: none !important;
                margin: 0 !important;
                min-height: 280px !important;
            }
        }

        /* Use alumni card visual style */
        .cluster-select.alumni-card { cursor: pointer; }
        .cluster-select.alumni-card:hover { transform: translateY(-4px); }
        .cluster-select .title { font-weight: 800; font-size: 1.1rem; color: #1B365D; text-align:center; letter-spacing:-0.01em; }
        
        /* Degree results container */
        .degree-results-container {
            margin-top: 2rem;
            min-height: 200px;
        }
        .cluster-select .meta { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:8px; }
        .cluster-select .pill { font-size: 0.85rem; padding: 6px 10px; border-radius: 999px; background:#F3F4F6; border:1px solid rgba(0,0,0,0.06); color:#1B365D; }
        .cluster-select .chev { font-size: 1rem; color:#1B365D; }
        .cluster-select.expanded { transform: translateY(16px); }

        .cluster-expansion-row { 
            width: 100%; 
            margin-top: 12px; 
            display: flex;
            justify-content: center;
        }

        /* Expansion grid under selected tile: same as main page grid */
        .cluster-expansion-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            width: 100%;
            max-width: 1400px;
            margin: 12px auto 24px;
            padding: 1rem;
            box-sizing: border-box;
        }
        @media (max-width: 1400px) { .cluster-expansion-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; } }
        @media (max-width: 1024px) { .cluster-expansion-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; padding: 0.5rem; } }
        /* Mobile override for cluster expansion grid - force 2 columns ONLY on mobile */
        @media (max-width: 480px) { .cluster-expansion-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; } }

        /* Keep alumni cards same as main page - no overrides needed */
        .cluster-expansion-grid .alumni-card {
            /* Remove all custom sizing - let it use main page styles */
            position: relative !important;
            width: 100% !important;
            height: auto !important;
            min-height: 320px !important;
            margin: 0 !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }
        
        /* Use main page hover animation */
        .cluster-expansion-grid .alumni-card:hover {
            transform: translate3d(0, -4px, 0) !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.15) !important;
            border-color: rgba(0,0,0,0.1) !important;
        }

        .deal-in { opacity: 0; transform: translateY(-12px); animation: dealIn 0.4s ease-out forwards; }
        @keyframes dealIn { to { opacity: 1; transform: translateY(0); } }

        /* Cluster Overview Tiles (optional summary grid) */
        .cluster-overview {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 12px;
            padding: 8px 0 14px;
            margin-bottom: 10px;
        }
        .cluster-tile {
            display: grid;
            grid-template-columns: 42px 1fr auto;
            align-items: center;
            gap: 10px;
            padding: 12px;
            border-radius: 14px;
            border: 1px solid rgba(0,0,0,0.06);
            background: #fff;
            box-shadow: 0 4px 10px rgba(0,0,0,0.06);
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .cluster-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
        .cluster-tile .ring { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(#27AE60 calc(var(--pct,0)*1%), #E5E7EB 0); position: relative; }
        .cluster-tile .ring-inner { position: absolute; inset: 3px; background: #fff; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-size: 0.68rem; color:#1B365D; font-weight:700; }
        .cluster-tile .title { font-weight: 700; font-size: 0.96rem; color:#1B365D; letter-spacing:-0.01em; }
        .cluster-tile .subtitle { font-size: 0.8rem; color:#6b7280; }
        .cluster-tile .pills { display:flex; align-items:center; gap:6px; }
        .cluster-tile .pill { font-size: 0.75rem; padding: 3px 8px; border-radius: 999px; background:#F3F4F6; border:1px solid rgba(0,0,0,0.06); color:#1B365D; }
        .cluster-tile .chev { font-size: 0.9rem; color:#1B365D; }

        .card-content {
            padding: 1.5rem 1.5rem;
            display: flex;
            flex-direction: column;
            height: 100%;
            background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
        }

        .card-header {
            text-align: center;
            margin-bottom: 1.25rem;
            position: relative;
        }

        .card-header::after {
            content: '';
            position: absolute;
            bottom: -0.5rem;
            left: 50%;
            transform: translateX(-50%);
            width: 25px;
            height: 2px;
            background: linear-gradient(90deg, #1B365D, #3498DB);
            border-radius: 1px;
        }

        /* (Badges removed per request) */

        .profile-photo {
            width: 75px;
            height: 75px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            margin: 0 auto;
            border: 3px solid #e9ecef;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        /* Class-based border colors */
        .profile-photo.class-2021 { border-color: #FF6B6B !important; } /* Coral Red - 2021 */
        .profile-photo.class-2022 { border-color: #4ECDC4 !important; } /* Teal - 2022 */
        .profile-photo.class-2023 { border-color: #45B7D1 !important; } /* Sky Blue - 2023 */
        .profile-photo.class-2024 { border-color: #96CEB4 !important; } /* Sage Green - 2024 */
        .profile-photo.class-2025 { border-color: #FFEAA7 !important; } /* Golden Yellow - 2025 */
        .profile-photo.class-2026 { border-color: #B19CD9 !important; } /* Lavender Purple - 2026 */
        .profile-photo.class-unknown { border-color: #95A5A6 !important; } /* Gray - Unknown */

        .profile-photo:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .photo-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8f9fa;
            color: #ccc;
            font-size: 2rem;
        }

        .card-body {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .alumni-name {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            text-align: center;
            letter-spacing: -0.02em;
            line-height: 1.3;
        }

        .graduation-class {
            color: #6c757d;
            font-size: 0.875rem;
            margin-bottom: 0.25rem;
            text-align: center;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .degree-info {
            color: #495057;
            font-size: 0.875rem;
            font-weight: 400;
            margin-bottom: 1.25rem;
            text-align: center;
            font-style: italic;
            opacity: 0.9;
        }

        .professional-info {
            flex: 1;
            margin-bottom: 1.5rem;
            background: rgba(248, 249, 250, 0.5);
            padding: 1rem;
            border-radius: 8px;
            border-left: 3px solid #3498DB;
        }

        .current-position {
            font-weight: 600;
            color: #2c3e50;
            font-size: 1.05rem;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }

        .company-name {
            color: #495057;
            font-weight: 500;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .industry-name {
            color: #6c757d;
            font-size: 0.875rem;
            text-transform: capitalize;
            font-weight: 400;
            opacity: 0.9;
        }

        .card-footer {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            padding-top: 0.75rem;
            border-top: 1px solid rgba(0,0,0,0.06);
        }

        .linkedin-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #0A66C2, #0e76d3);
            color: white;
            padding: 0.75rem 1.25rem;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.3s ease;
            justify-content: center;
            border: none;
            box-shadow: 0 2px 6px rgba(10, 102, 194, 0.2);
        }

        .linkedin-button:hover {
            background: linear-gradient(135deg, #004182, #0056b3);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
        }

        .linkedin-placeholder {
            color: #6c757d;
            font-size: 0.875rem;
            text-align: center;
            padding: 0.75rem 1.25rem;
            background: #f8f9fa;
            border-radius: 6px;
            border: 1px solid #e9ecef;
            font-weight: 500;
        }

        .attending-badge {
            background: linear-gradient(135deg, #28a745, #34ce57);
            color: white;
            padding: 0.75rem 1.25rem;
            border-radius: 6px;
            font-size: 0.875rem;
            font-weight: 600;
            text-align: center;
            box-shadow: 0 2px 8px rgba(40, 167, 69, 0.25);
            border: none;
        }

        .not-attending {
            background: #f8f9fa;
            color: #6c757d;
            padding: 0.75rem 1.25rem;
            border-radius: 6px;
            font-size: 0.875rem;
            text-align: center;
            border: 1px solid #e9ecef;
            font-weight: 500;
        }



        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: white;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.3s ease;
        }

        .notification.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .notification.success {
            border-left: 4px solid #27AE60;
        }

        .fade-in {
            opacity: 0;
            transform: translate3d(0, 20px, 0);
            animation: fadeInSmooth 0.6s ease-out forwards;
        }

        @keyframes fadeInSmooth {
            to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.visible {
            opacity: 1;
            pointer-events: all;
        }

        .modal-content {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .modal-content.network-modal-content {
            max-width: 65vw;
            width: 65vw;
            max-height: 70vh;
            height: 70vh;
            padding: 0;
        }

        .modal-overlay.visible .modal-content {
            transform: scale(1);
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
            padding: 0.5rem;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: #f0f0f0;
            color: #333;
        }

        /* Mobile-specific styling for modal close button */
        @media (max-width: 768px) {
            .modal-close {
                position: fixed !important; /* Use fixed positioning for mobile */
                top: 1rem !important;
                right: 1rem !important;
                z-index: 10000 !important; /* Ensure it's above everything */
                background: rgba(255, 255, 255, 0.9) !important;
                color: #333 !important;
                border: 1px solid rgba(0, 0, 0, 0.1) !important;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
                width: 44px !important;
                height: 44px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                font-size: 1.2rem !important;
            }
            
            .modal-close:hover {
                background: rgba(240, 240, 240, 0.95) !important;
                transform: scale(1.05) !important;
            }
        }

        .detail-modal {
            text-align: left;
        }

        /* Network Visualization Modal Styles */
        .network-modal {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            background: #f8fafc;
            border-radius: 12px;
            overflow: hidden;
        }

        .network-header {
            background: linear-gradient(135deg, #0B6BFF 0%, #00C2A8 100%);
            color: white;
            padding: 2rem;
            text-align: center;
            border-radius: 12px 12px 0 0;
        }

        .network-header h2 {
            margin: 0 0 0.5rem 0;
            font-size: 2rem;
            font-weight: 700;
        }

        .network-header p {
            margin: 0 0 1rem 0;
            opacity: 0.9;
            font-size: 1.1rem;
        }

        .network-filters {
            display: flex;
            gap: 8px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 1rem;
        }

        .filter-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 16px;
            background: white;
            border: 2px solid #0B6BFF;
            border-radius: 8px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s ease;
            color: #0B6BFF;
        }

        .filter-btn:hover {
            background: #0B6BFF;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(11, 107, 255, 0.3);
        }

        .filter-btn.active {
            background: #0B6BFF;
            border-color: #0B6BFF;
            color: white;
            box-shadow: 0 4px 12px rgba(11, 107, 255, 0.3);
        }

        .filter-btn.clear-filters {
            background: white;
            border-color: #00C2A8;
            color: #00C2A8;
        }

        .filter-btn.clear-filters:hover {
            background: #00C2A8;
            color: white;
            box-shadow: 0 4px 12px rgba(0, 194, 168, 0.3);
        }

        .filter-icon {
            font-size: 14px;
        }

        .filter-label {
            font-size: 11px;
            font-weight: 600;
        }

        .network-content {
            position: relative;
            background: linear-gradient(135deg, rgba(11, 107, 255, 0.02) 0%, rgba(0, 194, 168, 0.02) 100%);
            display: flex;
            min-height: 500px;
            border-radius: 12px;
        }

        .network-left-panel {
            width: 300px;
            background: rgba(255, 255, 255, 0.95);
            border-right: 1px solid rgba(11, 107, 255, 0.1);
            padding: 1.5rem;
            border-radius: 12px 0 0 12px;
            backdrop-filter: blur(10px);
        }

        .network-right-panel {
            flex: 1;
            position: relative;
        }

        .network-alumni-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 1.5rem;
        }

        .network-alumni-card .profile-section {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .network-alumni-card .profile-photo {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            border: 3px solid #F39C12;
            flex-shrink: 0;
            overflow: hidden;
        }

        .network-alumni-card .profile-info h3 {
            margin: 0 0 0.25rem 0;
            color: #1B365D;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .network-alumni-card .profile-info p {
            margin: 0;
            color: #666;
            font-size: 0.9rem;
        }

        .network-alumni-card .details-section {
            display: grid;
            gap: 0.75rem;
        }

        .network-alumni-card .detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

        .network-alumni-card .detail-item .icon {
            width: 20px;
            text-align: center;
        }

        .network-alumni-card .detail-item .label {
            font-weight: 500;
            color: #1B365D;
        }

        .network-alumni-card .detail-item .value {
            color: #666;
        }

        .network-connections-details {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .network-connections-details h4 {
            margin: 0 0 1rem 0;
            color: #1B365D;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .connection-category {
            margin-bottom: 1.5rem;
        }

        .connection-category:last-child {
            margin-bottom: 0;
        }

        .connection-category h5 {
            margin: 0 0 0.75rem 0;
            color: #1B365D;
            font-size: 1rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .connection-category .category-icon {
            font-size: 1.1rem;
        }

        .connection-category .category-count {
            background: #667eea;
            color: white;
            padding: 0.2rem 0.5rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: auto;
        }

        .connection-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 0.5rem;
        }

        .connection-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem;
            background: #f8fafc;
            border-radius: 8px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .connection-item:hover {
            background: #e2e8f0;
        }

        .connection-item .connection-photo {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 600;
            color: #1B365D;
            flex-shrink: 0;
            overflow: hidden;
        }

        .connection-item .connection-info {
            flex: 1;
            min-width: 0;
        }

        .connection-item .connection-name {
            font-weight: 500;
            color: #1a202c;
            margin-bottom: 0.1rem;
        }

        .connection-item .connection-detail {
            color: #666;
            font-size: 0.75rem;
        }

        .network-visualization {
            width: 100%;
            height: 100%;
            border-radius: 0 0 12px 12px;
        }

        .network-controls {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 10;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .network-controls select {
            width: 200px;
            padding: 0.5rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.9rem;
            background: white;
            color: #1a202c;
            cursor: pointer;
            transition: border-color 0.2s ease;
        }

        .network-controls select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .network-controls label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #1B365D;
            font-size: 0.9rem;
        }

        .network-sidebar {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 250px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            z-index: 10;
        }

        .network-sidebar h3 {
            margin: 0 0 1rem 0;
            font-size: 1.1rem;
            color: #1B365D;
            font-weight: 600;
        }

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

        .most-connected li {
            padding: 0.5rem;
            margin-bottom: 0.5rem;
            background: #f8fafc;
            border-radius: 6px;
            font-size: 0.85rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .most-connected .name {
            font-weight: 500;
            color: #1a202c;
        }

        .most-connected .connections {
            background: #667eea;
            color: white;
            padding: 0.2rem 0.5rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }



        /* Network node and link styles */
        .network-visualization .link {
            stroke: #999;
            stroke-opacity: 0.6;
        }

        .network-visualization .node {
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .network-visualization .node:hover {
            transform: scale(1.1);
        }

        .network-visualization .node circle {
            stroke: #fff;
            stroke-width: 2px;
        }

        .network-visualization .node text {
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            font-weight: 500;
            text-anchor: middle;
            fill: #1a202c;
            pointer-events: none;
        }

        /* Connected Alumni Cards Styles */
        .connected-alumni-cards {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 0;
            padding: 12px;
            width: 100%;
            align-content: flex-start;
            justify-content: flex-start;
            position: relative;
        }

        .connected-alumni-card {
            width: 200px;
            height: 280px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            padding: 16px;
            color: white;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border: 2px solid transparent;
            margin: 0;
        }



        .connected-alumni-card .card-photo {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin: 0 auto 12px;
            border: 3px solid rgba(255,255,255,0.3);
        }

        .connected-alumni-card .card-name {
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            margin-bottom: 8px;
            line-height: 1.2;
        }

        .connected-alumni-card .card-role {
            font-size: 12px;
            text-align: center;
            opacity: 0.9;
            margin-bottom: 12px;
            line-height: 1.3;
        }

        .connected-alumni-card .card-details {
            font-size: 11px;
            opacity: 0.8;
            line-height: 1.4;
        }

        .connected-alumni-card .card-detail-item {
            display: flex;
            align-items: center;
            margin-bottom: 4px;
            gap: 6px;
        }

        .connected-alumni-card .card-detail-icon {
            width: 12px;
            text-align: center;
            flex-shrink: 0;
        }



        .connected-alumni-card.cohort {
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
        }

        .connected-alumni-card.professional {
            background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
        }

        .connected-alumni-card.friendship {
            background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
        }

        /* Filter-based card styling */
        .connected-alumni-card.class-connection {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        }

        .connected-alumni-card.degree-connection {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        }

        .connected-alumni-card.industry-connection {
            background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
        }

        .connected-alumni-card.company-connection {
            background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
        }

        .connected-alumni-card.general-connection {
            background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
        }

        /* Connection badges at bottom of card */
        .connection-badges {
            position: absolute;
            bottom: 8px;
            left: 8px;
            right: 8px;
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            justify-content: center;
        }

        .connection-badge {
            background: rgba(255, 255, 255, 0.9);
            color: #333;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 9px;
            font-weight: 600;
            backdrop-filter: blur(5px);
            box-shadow: 0 1px 4px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.3);
            display: inline-flex;
            align-items: center;
            gap: 2px;
        }

        .connection-badge.class-badge {
            background: rgba(231, 76, 60, 0.9);
            color: white;
        }

        .connection-badge.degree-badge {
            background: rgba(52, 152, 219, 0.9);
            color: white;
        }

        .connection-badge.industry-badge {
            background: rgba(39, 174, 96, 0.9);
            color: white;
        }

        .connection-badge.company-badge {
            background: rgba(243, 156, 18, 0.9);
            color: white;
        }

        /* Animation for connected alumni cards */
        .connected-alumni-card.fade-in {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }

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

        /* Smooth card entrance animation */
        .connected-alumni-card.fan-in {
            opacity: 0;
            transform: translateY(30px) scale(0.95);
            animation: smoothSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        }

        @keyframes smoothSlideIn {
            0% {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }
            60% {
                opacity: 0.8;
                transform: translateY(-5px) scale(1.02);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Smooth hover animation */
        .connected-alumni-card {
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .connected-alumni-card:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 0 12px 30px rgba(0,0,0,0.2);
            border-color: rgba(255,255,255,0.4);
            z-index: 10;
        }

        /* Smooth click animation */
        .connected-alumni-card:active {
            transform: translateY(-4px) scale(1.01);
            transition: all 0.15s ease;
        }

        /* Mini Card Styles */
        .mini-card {
            transform: scale(0.5) !important;
            transform-origin: top center !important;
            width: 200px !important;
            height: 280px !important;
            margin: 0 !important;
            display: block !important;
        }

        .mini-card:hover {
            transform: scale(0.55) translateY(-15px) !important;
            transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
            z-index: 10 !important;
        }

        .mini-card .alumni-name {
            font-size: 14px !important;
        }

        .mini-card .graduation-class,
        .mini-card .degree-info,
        .mini-card .current-position,
        .mini-card .company-name,
        .mini-card .industry-name {
            font-size: 11px !important;
        }

        .mini-card .profile-photo {
            width: 60px !important;
            height: 60px !important;
        }

        .mini-card .linkedin-button {
            font-size: 10px !important;
            padding: 4px 8px !important;
        }

        .mini-card .attending-status {
            font-size: 9px !important;
            padding: 2px 6px !important;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .network-modal {
                height: 70vh;
            }

            .network-controls,
            .network-sidebar {
                position: relative;
                width: auto;
                margin-bottom: 1rem;
            }

            .network-content {
                padding: 1rem;
            }

            .network-controls select {
                width: 100%;
            }

            .network-sidebar {
                width: 100%;
            }
        }

        .detail-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #f0f0f0;
        }

        .detail-photo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            border: 4px solid #F39C12;
            flex-shrink: 0;
            overflow: hidden;
        }

        .detail-info h2 {
            color: #1B365D;
            margin-bottom: 0.5rem;
        }

        .detail-role {
            color: #666;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }

        .detail-location {
            color: #999;
            font-size: 0.9rem;
        }

        .detail-sections {
            display: grid;
            gap: 1.5rem;
        }

        .detail-section h4 {
            color: #1B365D;
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
        }

        .detail-section ul {
            list-style: none;
            padding: 0;
        }

        .detail-section li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .detail-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 2px solid #f0f0f0;
        }

        .btn-connect,
        .btn-message,
        .btn-qr {
            flex: 1;
            padding: 0.75rem 1rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-connect {
            background: #F39C12;
            color: white;
        }

        .btn-connect:hover {
            background: #e67e22;
            transform: translateY(-2px);
        }

        .btn-message {
            background: #3498db;
            color: white;
        }

        .btn-message:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }

        .btn-qr {
            background: #9b59b6;
            color: white;
        }

        .btn-qr:hover {
            background: #8e44ad;
            transform: translateY(-2px);
        }

        /* Responsive Grid Breakpoints */
        @media (max-width: 1400px) {
            .cards-container {
                grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
                gap: 1.2rem;
            }
        }

        @media (max-width: 1024px) {
            .cards-container {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
                gap: 1rem;
                padding: 0.5rem;
            }
        }

        /* Tablet responsive settings */
        @media (max-width: 1024px) and (min-width: 769px) {
            .cluster-cards.deck-mode {
                padding: 5rem 1.5rem 3rem 1.5rem;
                min-height: 680px;
            }

            .cluster-cards.deck-mode .alumni-card {
                width: 300px;
                height: 480px;
            }

            .cluster-cards.deck-mode .alumni-card:hover {
                transform: translateX(var(--card-x, 0px)) translateY(-100px) !important;
                transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
            }

            .cluster-cards.deck-mode .alumni-card:not(:hover) {
                transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            }
        }

        @media (max-width: 768px) {
            .header-content,
            .filter-section {
                flex-direction: column;
                gap: 1rem;
            }

            .logo-image {
                height: 65px;
                max-width: 350px;
            }

            .cards-container {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 1rem;
                padding: 0.5rem;
            }

            .alumni-card {
                min-height: 300px;
            }

            .card-content {
                padding: 1.5rem 1.25rem;
            }

            .professional-info {
                padding: 1rem;
            }

            .main-content {
                padding: 1rem;
            }

            .header-stats {
                gap: 1rem;
            }

            .filter-buttons {
                justify-content: center;
            }

            /* Events Section Mobile Styles */
            .upcoming-events {
                margin-bottom: 2rem;
                padding: 1rem 0;
            }

            .section-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
                padding: 0 1rem;
            }

            .section-header h2 {
                font-size: 1.5rem;
            }

            .events-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
                padding: 0 1rem;
            }

            .event-card {
                padding: 1rem;
            }

            .event-content h3 {
                font-size: 1.1rem;
            }

            .event-actions {
                flex-direction: column;
                gap: 0.5rem;
            }

            .btn-primary, .btn-secondary {
                width: 100%;
                text-align: center;
                padding: 12px 16px;
            }

            .past-events-grid {
                grid-template-columns: 1fr;
            }

            /* Home Page Mobile Styles */
            .home-page {
                padding: 1rem;
            }

            .hero-section {
                padding: 2rem 1rem;
                margin-bottom: 2rem;
            }

            .hero-title {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .hero-actions {
                flex-direction: column;
                align-items: center;
            }

            .hero-btn {
                width: 100%;
                max-width: 300px;
                text-align: center;
            }



            .alumni-page {
                padding: 1rem;
            }

            .alumni-page-header {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .alumni-page-header h2 {
                font-size: 1.5rem;
            }

            .modal-content {
                padding: 1.5rem;
                width: 95%;
            }

            .detail-header {
                flex-direction: column;
                text-align: center;
            }

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

        @media (max-width: 480px) {
            .cards-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
                padding: 0.5rem;
            }

            .alumni-card {
                min-height: 240px;
                font-size: 0.8rem;
            }

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

            .professional-info {
                padding: 0.5rem;
            }
            
            .alumni-card .alumni-name {
                font-size: 1.0rem !important;
                margin-bottom: 0.25rem;
                font-weight: 700;
            }
            
            .alumni-card .current-position {
                font-size: 0.7rem !important;
                line-height: 1.2;
            }
            
            .alumni-card .company-name {
                font-size: 0.63rem !important;
            }

            .profile-photo {
                width: 75px;
                height: 75px;
            }

            .clustering-section {
                margin-top: 1rem;
                flex-direction: column;
                gap: 0.75rem;
            }

            /* Mobile adjustments for the new design */
            .mobile-cluster-selector {
                margin: 0.5rem;
                padding: 1rem;
            }
            
            .mobile-cluster-grid {
                grid-template-columns: repeat(2, 1fr) !important; /* Mobile: 2 columns */
                gap: 0.75rem !important;
            }
            
            .mobile-cluster-option {
                padding: 0.75rem;
            }
            
            .mobile-cluster-icon {
                font-size: 1.75rem;
            }
            
            .mobile-cluster-label {
                font-size: 0.8rem;
            }
        }

        /* New cluster selector - now used for all screen sizes */
        .mobile-cluster-selector {
            display: block;
            background: linear-gradient(135deg, rgba(11, 107, 255, 0.5) 0%, rgba(0, 194, 168, 0.5) 100%);
            border-radius: 16px;
            padding: 1.5rem;
            margin: 1rem;
            box-shadow: 0 8px 32px rgba(11, 107, 255, 0.2);
        }
        
        /* Desktop specific adjustments - all 6 cards in one row */
        @media screen and (min-width: 769px) {
            .mobile-cluster-selector {
                margin: 1.5rem auto;
                max-width: 1200px; /* Increased to fit 6 cards */
                padding: 2rem;
            }
            
            .mobile-cluster-grid {
                grid-template-columns: repeat(6, 1fr) !important; /* All 6 cards in one row - force override */
                gap: 1rem !important; /* Slightly smaller gap to fit better */
            }
            
            .mobile-cluster-option {
                padding: 1rem; /* Adjusted padding for better fit */
            }
            
            .mobile-cluster-icon {
                font-size: 2rem; /* Slightly smaller icons */
            }
            
            .mobile-cluster-label {
                font-size: 0.85rem; /* Adjusted font size */
            }
            
            .mobile-cluster-count {
                font-size: 0.7rem; /* Smaller count text */
            }
            
            .mobile-cluster-title {
                font-size: 1.3rem;
            }
        }

        .mobile-cluster-title {
            color: black;
            font-size: 1.1rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .mobile-cluster-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* Default mobile: 2 columns */
            gap: 1rem;
        }

        /* Force desktop to 6 columns - highest specificity */
        @media screen and (min-width: 1024px) {
            .mobile-cluster-selector .mobile-cluster-grid {
                grid-template-columns: repeat(6, 1fr) !important;
                gap: 1rem !important;
            }
        }
        
        /* Tablet/smaller desktop fallback */
        @media screen and (min-width: 769px) and (max-width: 1023px) {
            .mobile-cluster-selector .mobile-cluster-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 1rem !important;
            }
        }

        .mobile-cluster-option {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .mobile-cluster-option::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-cluster-option:hover::before,
        .mobile-cluster-option.active::before {
            opacity: 1;
        }

        .mobile-cluster-option:hover,
        .mobile-cluster-option.active {
            transform: translateY(-2px) scale(1.02);
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .mobile-cluster-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        .mobile-cluster-label {
            color: black;
            font-size: 0.85rem;
            font-weight: 600;
            line-height: 1.2;
        }

        .mobile-cluster-count {
            color: rgba(0, 0, 0, 0.7);
            font-size: 0.7rem;
            margin-top: 0.25rem;
        }

        /* Special styling for active option */
        .mobile-cluster-option.active {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.6);
        }

        .mobile-cluster-option.active .mobile-cluster-icon {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Continue with other styles */
        @media (max-width: 768px) {
            /* Mobile responsive settings */
            .cluster-cards.deck-mode {
                padding: 4rem 1rem 2rem 1rem;
                min-height: 620px;
                overflow-x: auto;
            }

            .cluster-cards.deck-mode .alumni-card {
                width: 260px;
                height: 440px;
            }

            .cluster-cards.deck-mode .alumni-card:hover {
                transform: translateX(var(--card-x, 0px)) translateY(-80px) !important;
                transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
            }

            .cluster-cards.deck-mode .alumni-card:not(:hover) {
                transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            }

            /* Mobile Width and Centering Fixes */
            * {
                max-width: 100%;
                box-sizing: border-box;
            }

            .header-content,
            .filter-section,
            .main-content,
            .home-page,
            .alumni-page {
                width: 100%;
                padding-left: 1rem;
                padding-right: 1rem;
                margin-left: auto;
                margin-right: auto;
            }

            .cards-container {
                width: 100%;
                padding: 0.5rem;
                justify-content: center;
            }

            .alumni-card {
                max-width: calc(100vw - 2rem);
                margin: 0 auto;
            }

            /* Prevent horizontal overflow */
            .cluster-overview-grid,
            .cluster-expansion-grid {
                width: 100%;
                padding: 0.5rem;
                overflow-x: hidden;
            }

            /* Center align text and content */
            .section-header,
            .hero-section {
                text-align: center;
                width: 100%;
            }
        }

        /* Extra Small Mobile Devices (480px and below) */
        @media (max-width: 480px) {
            .header-content,
            .filter-section,
            .main-content,
            .home-page,
            .alumni-page {
                padding-left: 0.5rem;
                padding-right: 0.5rem;
            }

            .cards-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
                padding: 0.25rem;
            }

            .alumni-card {
                min-width: auto;
                max-width: none;
                min-height: 200px;
                font-size: 0.7rem;
            }
            
            .card-content {
                padding: 0.5rem 0.5rem;
            }
            
            .professional-info {
                padding: 0.375rem;
            }
            
            .alumni-card h3,
            .alumni-card .alumni-name {
                font-size: 1.0rem !important;
                margin-bottom: 0.2rem;
                font-weight: 700;
            }
            
            .alumni-card .role,
            .alumni-card .current-position {
                font-size: 0.7rem !important;
                line-height: 1.1;
            }
            
            .alumni-card .company,
            .alumni-card .company-name {
                font-size: 0.63rem !important;
            }
            
            .profile-photo {
                width: 75px;
                height: 75px;
            }

            .logo-image {
                height: 50px;
                max-width: 280px;
            }

            .cluster-overview-grid .alumni-card {
                width: calc(100vw - 2rem);
                max-width: 320px;
            }
        }


