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

        body {
            font-family: 'Montserrat', 'Poppins', 'Gill Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #ffffff;
            color: #1e293b;
            line-height: 1.6;
        }

        /* Hero Section with LSE Background */
        .hero-section {
            min-height: 100vh;
            width: 100%;
            background: linear-gradient(rgba(45, 55, 72, 0.85), rgba(107, 114, 128, 0.75)), 
                        url(logo/LSE-CBG.jpg);
            background-position: center;
            background-size: cover;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-content {
            text-align: center;
            color: white;
            max-width: 1200px;
            padding: 0 2rem;
            animation: fadeInUp 1s ease-out;
        }

        .hero-content h1 {
            font-size: 4.4rem;
            font-weight: 600;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .hero-content h2 {
            font-size: 1.5rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
            opacity: 0.95;
        }

        .hero-content h3 {
            font-size: 1.3rem;
            font-weight: 300;
            margin-bottom: 0rem;
            opacity: 1;
        }

        .hero-subtitle {
            font-size: 1rem;
            font-weight: 400;
            margin-bottom: 3rem;
            opacity: 0.85;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .explore-btn {
            display: inline-block;
            padding: 0.6rem 1.5rem;
            background: rgba(151, 0, 0, 0.9);
            border: 1px solid rgba(151, 0, 0, 0.9);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 500;
            font-size: 1rem;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
        }

        .explore-btn:hover {
            background: rgba(193, 0, 0, 0.4);
            border-color: rgba(193, 0, 0, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .logo-container {
            position: absolute;
            top: 1rem;
            right: 1rem;    
        }

        .logo-container img {
            height: 110px;
            width: auto;
            filter: drop-shadow(0 4px 8px rgba(108, 108, 108, 0.3));
            transition: transform 0.3s ease;            
        }

        .logo-container img:hover {
            transform: scale(1.02);
        }

        @media (max-width: 768px) {
            .logo-container {
                height: 45px;
            }
            
            .logo-container img {
                height: 45px;
            }
        }
        
        /* Main Content */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
            background: #fdfdfd;
        }

        .filters-section {
            margin-bottom: 2rem;
        }

        .filters-header {
            display: none;
        }

        .filters-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            font-size: 1rem;
            font-style: italic;
            font-weight: 550;
            color: #00000047;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
        }

        .filters-toggle:hover {
            color: #dc2626;
        }

        .filters-toggle-icon {
            margin-left: 0.5rem;
            transition: transform 0.3s ease;
        }

        .filters-toggle.active .filters-toggle-icon {
            transform: rotate(180deg);
        }

        .filters-content {
            display: none;
            background: transparent;
            border-radius: 0;
            padding: 2rem 0;
            box-shadow: none;
            border: none;
        }

        .filters-content.expanded {
            display: block;
            animation: fadeInUp 0.3s ease-out;
        }

        .filter-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
        }

        .filter-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #475569;
            margin-bottom: 0.5rem;
        }

        .filter-input {
            padding: 0.8rem 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background: #fafbfc;
            color: #334155;
        }

        .filter-input:focus {
            outline: none;
            border-color: #dc2626;
            background: white;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        }

        .directory-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }

        .student-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            border: 1px solid #e2e8f0;
            transition: all 0.4s ease;
            position: relative;
        }

        .student-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 40px rgba(45, 55, 72, 0.15);
            border-color: #dc2626;
        }

        .student-header {
            padding: 2rem 1.5rem 1rem;
            text-align: center;
            position: relative;
        }

        .student-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }

        .student-avatar.has-photo {
            font-size: 0;
            background-size: cover;
            background-position: center 25%;
            background-repeat: no-repeat;            
        }

        .student-avatar.no-photo {
            font-size: 2.5rem;
            font-weight: 400;
            background: linear-gradient(135deg, #7b7b7b, #2b2b2b);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .student-avatar::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;
        }

        .student-card:hover .student-avatar::before {
            left: 100%;
        }

        .student-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 0.5rem;
        }

        .student-program {
            font-size: 0.9rem;
            color: #dc2626;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .student-status {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background: transparent;
            color: #6b7280;
            border: 2px solid #6b7280;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .student-body {
            padding: 0 1.5rem 1.5rem;
            text-align: center;
        }

        /* IMPORTANT: This ensures details are hidden by default */
        .student-details {
            display: none;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #e2e8f0;
        }

        .student-details.expanded {
            display: block;
            animation: fadeInUp 0.3s ease-out;
        }

        .info-grid {
            display: grid;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            font-size: 0.9rem;
            color: #64748b;
        }

        .info-icon {
            margin-right: 0.8rem;
            width: 18px;
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .info-content {
            flex: 1;
        }

        .info-highlight {
            font-weight: 600;
            color: #374151;
        }

        .toggle-button {
            display: inline-block;
            width: auto;
            padding: 0;
            background: none;
            color: #6b7280;
            border: none;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .toggle-button:hover {
            color: #374151;
            text-decoration: underline;
        }

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

        .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: #970000;
            margin: 0;
        }

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

        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2.5rem;
            }
            
            .hero-content h2 {
                font-size: 1.2rem;
            }

            .main-content {
                padding: 2rem 1rem;
            }
            
            .directory-grid {
                grid-template-columns: 1fr;
            }
            
            .filter-grid {
                grid-template-columns: 1fr;
            }

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

            .section-title {
                font-size: 1.5rem;
            }
        }
        
        /* Smooth scroll */
        html {
            scroll-behavior: smooth;
        }
        
        /* Footer */
        .footer {
            background: #1e293b;
            color: #94a3b8;
            text-align: center;
            padding: 2rem 0;
            font-size: 0.9rem;
        }

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

        .footer a {
            color: #94a3b8;
            text-decoration: none;
            text-decoration: underline;
        }

        .footer a:hover {
            text-decoration: underline;
            opacity: 0.8;
        }

        .social-link {
            color: #94a3b8 !important;
            text-decoration: none;
            font-weight: 400;
            margin-left: 1rem;
            font-size: 0.9rem;
        }

        .social-link:hover {
            opacity: 0.8;
            text-decoration: underline;
        }        