*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 700;
}
/* Base styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
.logo{
    /* width: 200px; */
    height: auto;
    user-select: none;
}
header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.menu-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
    position: relative;
}
.navbar ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar ul li{
    padding: 0px 15px;
    list-style-type: none;
}
.navbar ul li a{
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 16px;
}
.navbar ul li a:hover{
    background-color: rgb(219, 216, 216);
    color: blueviolet;
    transform: translateY(-2px);
}
.hand{
    display: none;
    flex-direction: column;
    row-gap: 4px;
    background: none;
    outline: none;
    border: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.hand:hover {
    background-color: rgba(0,0,0,0.1);
}
.hand span{
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
}
/* Hamburger animation */
.hand.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hand.active span:nth-child(2) {
    opacity: 0;
}
.hand.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
.quote{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: blueviolet;
}
.quote h1{
    color: whitesmoke;
    padding: 10px;
}
#p{
    color: whitesmoke;
    padding: 10px; 
}
.dept-section{
    margin: 20px;
}
.dept-container{
    display: grid;
    grid-template-columns: repeat(3,minmax(300px,1fr));
    gap: 13px;
}
.dept{
    border: 2px solid black;
    font-weight: 700;
    font-variant: small-caps;
}
.dept img{
    width: 150px;
}
.dept img,h2,p{
    margin: 10px;
}
.footer{
    background-color: gray;
    color: white;
    text-align: center;
    padding: 15px;
}
@media (max-width: 768px) {
    .menu-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    .logo {
        /* width: 120px; */
        margin-bottom: 10px;
        margin-top: 10px;
        font-size: 16px;
    }
    .navbar {
        width: 100%;
    }
    .navbar ul {
        flex-direction: column;
        width: 100%;
        display: none;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        border-radius: 0 0 10px 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .navbar ul.active {
        display: flex;
        max-height: 500px;
    }
    .navbar ul li {
        width: 100%;
        text-align: center;
        padding: 0;
    }
    .navbar ul li a {
        width: 100%;
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    .navbar ul li a:hover {
        background-color: #f5f5f5;
        color: blueviolet;
    }
    .hand {
        display: flex;
    }
    .dept-container{
        grid-template-columns: 1fr;
    }
}