/* ===== CLEAN MINIMAL UNIVERSITY PORTFOLIO ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #111111;
    line-height: 1.7;
}

/* ===== NAVIGATION ===== */

header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    z-index: 1000;
}

nav {
    width: 85%;
    margin: auto;
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #000;
}

/* ===== BURGER ===== */

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 22px;
    height: 2px;
    background: #111;
    margin: 5px;
}

/* ===== HOME SECTION ===== */

#home {
    padding-top: 140px;
    padding-bottom: 100px;
}

.home-container {
    width: 85%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.home-text {
    flex: 1;
    min-width: 300px;
}

.home-text h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
}

.home-text p {
    font-size: 16px;
    color: #555;
    max-width: 520px;
}

.home-image {
    flex: 1;
    text-align: center;
}

.home-image img {
    width: 280px;
    border-radius: 14px;
    object-fit: cover;
}

/* ===== GENERAL SECTIONS ===== */

section {
    padding: 100px 10%;
}

section h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
}

section h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #111;
    margin-top: 10px;
}

section p {
    max-width: 700px;
    font-size: 15px;
    color: #555;
}

/* ===== BUTTON ===== */

.button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    border: 1px solid #111;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    transition: 0.3s ease;
}

.button:hover {
    background: #111;
    color: #fff;
}

/* ===== CERTIFICATES ===== */

.certificate-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 25px;
}

.certificate-gallery img {
    width: 230px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.certificate-gallery img:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

/* ===== FOOTER ===== */

footer {
    border-top: 1px solid #eeeeee;
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

    .home-container {
        flex-direction: column;
        text-align: center;
    }

    .home-text p {
        margin: auto;
    }
}

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        right: 0;
        top: 75px;
        height: 100vh;
        width: 65%;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateX(100%);
        transition: 0.4s ease;
        border-left: 1px solid #eeeeee;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }
}
