/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
}
a {
    text-decoration: none;
    color: inherit;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(45deg, #003366, #0055aa);
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px;
    margin-right: 10px;
}
.college-name h1 {
    font-size: 1.5rem;
}
.college-name p {
    font-size: 0.8rem;
}

/* Navbar */
nav {
    display: flex;
}
nav ul {
    display: flex;
    gap: 15px;
    list-style: none;
}
nav ul li a {
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}
nav ul li a:hover {
    background: #ffcc00;
    color: #003366;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -250px;
        height: 100%;
        width: 250px;
        background: linear-gradient(45deg, #003366, #0077cc);
        flex-direction: column;
        align-items: start;
        padding: 60px 20px;
        transition: right 0.3s ease;
    }
    nav.active {
        right: 0;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    nav ul li a {
        display: block;
        padding: 10px;
        font-size: 1.2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .hamburger {
        display: flex;
    }
}
