/* ================= Base ================= */

html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background: #fdfdfd;
    color: #222;
    scroll-behavior: smooth;
    justify-content: center;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
}

/* ============== Header =============== */

.site-header {
    background: white;
    padding: 1.2rem 1rem;
    text-align: center;
    border-bottom: 2px solid #eee;
}

.nav-bar {
    margin-bottom: 0.85rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.3rem;
    flex-wrap: wrap;
}

.nav-list a {
    font-weight: 600;
    font-size: 1rem;
    color: #444;
}

.header-content {
    padding-top: 0.5rem;
}

.site-title {
    font-size: 2.4rem;
    margin: 0;
}

.site-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.35rem;
}

/* ============== Main Sections =============== */

.main-content {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section {
    margin-bottom: 2.5rem;
display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.bio-text {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 720px;
    margin: auto;
    text-align: center;
}

/* ============== Footer =============== */

.site-footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.88rem;
    color: #777;
    border-top: 1px solid #eee;
}

/* ============ Animations ============ */
.animate {
    opacity: 0;
}

/* Fade In */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Fade In + Up */
.fade-in-up {
    animation: fadeInUp 0.9s ease-out forwards;
}

/* Delays */
.delay-1 {
    animation-delay: 0.4s;
}

.delay-2 {
    animation-delay: 0.8s;
}

.delay-3 {
    animation-delay: 1.2s;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ Responsive ============ */

@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
    .nav-list {
        gap: 0.8rem;
    }
    .bio-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .nav-list {
        flex-direction: column;
        gap: 0.6rem;
    }
    .profile-image {
        width: 140px;
        height: 140px;
    }
}
