
body {
    margin: 0;
    background: #1a1a1d;
    font-family: 'Poppins', sans-serif;

    /* Default visible state */
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* When leaving the page */
body.fade-out {
    opacity: 0;
    transform: translateX(-40px);
}

/* When entering the page */
body.fade-in {
    opacity: 1;
    transform: translateX(40px);
}


.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(#0f0f0f, #1c1c1e);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* WHITE CIRCLE */
.circle-bg {
    width: 550px;
    height: 550px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}

/* PROFILE IMAGE */
.profile-img {
    position: absolute;
    z-index: 2;
    width: 330px;
    height: 330px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #D8A7B1;
    box-shadow: 0px 10px 35px rgba(0,0,0,0.45);
    transition: all 0.9s ease;
}

/* FINAL POSITION (UP + LEFT) */
.profile-img.move-up-left {
    transform: translate(-50px, -20px) scale(0.8);
    opacity: 0.75;
}

/* LEFT TEXT */
.left-text {
    position: absolute;
    left: 6%;
    bottom: 25%;
    color: #ddd;
    z-index: 3;
}

.left-text h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
}

.left-text h2 {
    font-size: 18px;
    font-weight: 300;
    margin-top: 10px;
    color: #aaa;
}

/* SIDE BAR */
.side-bar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 100;
}

.side-bar a {
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #D8A7B1;
    border-radius: 30px;
    text-decoration: none;
    color: #D8A7B1;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}

.side-bar a:hover {
    background: #D8A7B1;
    color: #1a1a1d;
    transform: translateX(-8px);
}

.title_Mla {
    color: #D8A7B1;
    font-size: 58px;
    letter-spacing: 4px;
    font-weight: 700;
}

/* ------------------ RESPONSIVE ------------------ */

@media (max-width: 900px) {

    body {
        overflow-x: hidden;
    }

    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .circle-bg {
        width: 250px;
        height: 250px;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
    }

    .profile-img {
        width: 200px;
        height: 200px;
        position: relative;
        margin-top: 60px;
        transform: none !important;
        opacity: 1 !important;
    }

    .left-text {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
        text-align: center;
    }

    .title_Mla {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .left-text h2 {
        font-size: 16px;
    }

    /* Sidebar → top bar */
    .side-bar {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .side-bar a {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 20px;
    }
}

/* VERY SMALL PHONES */
@media (max-width: 480px) {

    .circle-bg {
        width: 220px;
        height: 220px;
        top: 40px;
    }

    .profile-img {
        width: 160px;
        height: 160px;
        margin-top: 50px;
    }

    .title_Mla {
        font-size: 26px;
    }

    .side-bar a {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* SOCIAL LINKS */
.social-links {
    margin-top: 12px;
    display: flex;
    gap: 18px;
}

.social-links a {
    color: #D8A7B1;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid #D8A7B1;
    padding: 6px 14px;
    border-radius: 20px;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: #D8A7B1;
    color: #1a1a1d;
}
