* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: url(jpg-files/bg-2.png) no-repeat
    center center fixed;
    background-size: cover;
    background-position: center;
    color: #F5F6F7;
}

/* MAIN CARD */
.student-profile {
    width: 100%;
    max-width: 800px;
    background: rgba(18, 22, 28, 0);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 7px solid rgba(231, 233, 236, 0.1);
    animation: fadeIn 0.8s ease;
}

/* PROFILE IMAGE */
.student-profile img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #C4A467;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.student-profile img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(196, 164, 103, 0.25);
}

/* NAME */
.student-profile h1 {
    font-size: 2.2rem;
    color: #C4A467;
    margin-bottom: 10px;
}

.student-profile h1:hover {
    box-shadow: 0 15px 35px rgba(196, 164, 103, 0.25);
}

/* NICKNAME */
.student-profile h3 {
    font-size: 1.2rem;
    color: #C7CDD5;
    margin-bottom: 25px;
}

/* INFO BOX WRAPPER */
.info-box {
    background: rgba(231, 233, 236, 0.05);
    padding: 15px;
    /*border-left:  5px solid #C4A467;*/
    margin: 18px 0;
    max-width: 500px;
    border-radius: 22px;
    transition: .3s;
}

/* HOVER EFFECT */
.info-box:hover {
    background: rgba(196, 164, 103, 0.06);
    transform: translateX(8px);
    border-left: 4px solid #C4A467;

}

/* GRID ROW */
.info-box .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 10px;
}

/* LEFT SIDE (LABEL) */
.label {
    flex: 0 0 180px;
    text-align: right;
    font-weight: 600;
    color: #C4A467;
}

/* RIGHT SIDE (VALUE) */
.value {
    flex: 1;
    text-align: left;
    color: #E7E9EC;
}


/* BACK BUTTON */
.back-btn {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    padding: 14px 30px;
    background: #C4A467;
    color: #12161C;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(196, 164, 103, 0.4);
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    .student-profile {
        padding: 25px;
    }

    .student-profile h1 {
        font-size: 1.7rem;
    }

    .student-profile img {
        width: 170px;
        height: 170px;
    }

    .info-box .row {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
    }

    .label,
    .value {
        text-align: center;
        flex: unset;
    }
}