:root {
    --primary-green: #3cae71;
    --bg-black: #050505;
    --text-white: #ffffff;
    --text-gray: #c6c6c6;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

header {
    background-color: rgba(0, 0, 0, 0.9);
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    border-bottom: 1px solid rgba(60, 174, 113, 0.2);
    backdrop-filter: blur(10px);
}

header .logo {
    height: 50px;
    width: auto;
}

header nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

header nav a {
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

header nav a:hover {
    color: var(--primary-green);
}

header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s;
}

header nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

footer {
    background-color: #000;
    padding: 50px 0 20px;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.social-links {
    display: flex;
    gap: 40px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid white;
    transition: 0.3s;
    background-color: black;
}

.social-item:hover img {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-green);
}

.social-item p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.progress-bar-container {
    width: 100%;
    max-width: 750px;
    height: 4px;
    background: #222;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.progress-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), #ffdb3a, var(--primary-green));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

.footer-bottom {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 20px;
}

.uni-info img {
    width: 200px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.uni-info img:hover {
    opacity: 1;
}

.copyright {
    text-align: right;
    color: #636363;
    font-size: 0.9rem;
}

@keyframes gradientMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    header nav ul {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: 0.3s;
    }

    header nav ul.active {
        transform: translateX(0);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
