/* General Reset */
:root {
    --primary: #64ffda; /* Teal accent */
    --bg-dark: #0a192f;
    --bg-light: #112240;
    --text-main: #ccd6f6;
    --text-sec: #8892b0;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(10, 25, 47, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 { font-size: 4rem; margin-bottom: 20px; }
.highlight { color: var(--primary); }
.uni-name { color: #fff; font-weight: bold; }
.tagline { color: var(--text-sec); font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; }

.btn {
    padding: 12px 24px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    transition: 0.3s;
}
.btn:hover { background: rgba(100, 255, 218, 0.1); }

/* Container */
.container {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title { font-size: 2rem; margin-bottom: 10px; color: #fff; }
.section-subtitle { color: var(--text-sec); margin-bottom: 40px; }

/* Filter Buttons */
.filter-container { margin-bottom: 30px; display: flex; gap: 15px; flex-wrap: wrap; }

.filter-btn {
    background: transparent;
    border: 1px solid var(--text-sec);
    color: var(--text-sec);
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 20px;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

/* Notes Grid */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.note-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.note-card:hover { transform: translateY(-5px); }
.note-header { display: flex; gap: 10px; margin-bottom: 15px; }
.badge { font-size: 0.8rem; background: #233554; padding: 4px 8px; border-radius: 4px; color: var(--primary); }
.download-link { display: block; margin-top: 15px; color: var(--primary); font-size: 0.9rem; }

/* Featured Project (Pacman) */
.showcase-project {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    border: 1px solid #233554;
}

.video-wrapper {
    flex: 1 1 500px;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-info {
    flex: 1 1 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-stack { display: flex; gap: 15px; margin: 20px 0; font-family: monospace; color: var(--primary); }
.btn-small { color: var(--text-main); font-size: 0.9rem; margin-top: auto; }

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: var(--text-sec);
    font-size: 0.9rem;
}
.socials { margin-top: 15px; font-size: 1.2rem; }
.socials a { margin: 0 10px; transition: 0.3s; }
.socials a:hover { color: var(--primary); }

/* Hidden Class for Javascript Filtering */
.hide { display: none; }