* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    display: flex;
    background: #f5f7fa;
    color: #333;
    flex-direction: row;
}

.sidebar {
    width: 320px;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    padding: 40px 25px;
    position: fixed;
    height: 100vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 4px solid #3498db;
}

.name {
    text-align: center;
    margin-top: 20px;
    font-size: 26px;
    font-weight: 700;
    color: #222;
}

.role {
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
    color: #666;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 40px;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f0f4ff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.sidebar-links a:hover {
    background: #dce8ff;
}

.main {
    margin-left: 320px;
    padding: 50px;
    width: calc(100% - 320px);
}

h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #444;
}

p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill {
    background: #e8f0ff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid #d0ddff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.illustration {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.illustration img {
    width: 260px;
}

.reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.review-card {
    background: #f0f4ff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #333;
    width: 300px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.review-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-content {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.contact-links a:hover {
    color: #3498db;
}

@media (max-width: 900px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px 10px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 20px;
    }

    .sidebar-links {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 5px;
        margin-top: 10px;
    }

    .main {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }

    .illustration img {
        width: 180px;
    }

    .review-card {
        width: 100%;
    }
}