
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

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

body {
    background: #121212;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 40px;
}

.container {
    width: 80%;
    max-width: 900px;
    padding-top: 20px;
    margin-left: 0 auto;
}

.skills-section {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    max-width: 400px;
}

.skills {
    list-style-type: none;
    padding: 0;
}

.skills li {
    margin-bottom: 10px;
}

p a {
    color: rgb(26, 100, 161);
    text-decoration: none;
}

p a:hover {
    color: white;
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background: rgb(26, 100, 161);
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.btn:hover {
    background: white;
    transform: scale(1.05);
}

h1 {
    font-size: 36px;
    color: white;
    margin-bottom: 10px;
    text-align: center;
}

h2 {
    text-align: center;
    margin-bottom: 15px;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.quick-links a {
    color: rgb(26, 100, 161);
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: white;
    text-decoration: underline;
}

.profile-photo {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    margin: 30px auto;
    display: block;
    border: 4px solid rgb(26, 100, 161);
    box-shadow: 0 0 25px rgb(26, 100, 161);
    background-color: #121212;
}

.role-cards {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    margin-bottom: 60px;
}

.role-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    color: #ccc;
    text-align: center;
    box-shadow: 0 0 10px rgb(26, 100, 161);
    transition: transform 0.3s ease;
}

.role-card h3 {
    color: rgb(26, 100, 161);
    margin-bottom: 10px;
}

.role-card:hover {
    transform: translateY(-5px);
}

.study-cards {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    margin-bottom: 60px;
}

.study-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    color: #ccc;
    text-align: center;
    box-shadow: 0 0 10px rgb(26, 100, 161);
    transition: transform 0.3s ease;
}

.study-card h3 {
    color: rgb(26, 100, 161);
    margin-bottom: 10px;
}

.study-card:hover {
    transform: translateY(-5px);
}


.content {
    text-align: center;
}

.content p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
    color: #ccc;
}

.floating-skills {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(0);
    width: 180px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 0 10px 10px 0;
    transition: transform 0.4s ease;
    z-index: 1500;
}

.toggle-skills-btn {
    position: fixed;
    top: 50%;
    left: 180px;
    transform: translateY(-50%);
    background: rgb(26, 100, 161);
    color: #121212;
    font-size: 18px;
    padding: 8px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: left 0.4s ease;
    z-index: 1600;
}


.toggle-skills-btn.collapsed {
    left: 0;
}

.floating-skills.collapsed {
    transform: translateY(-50%) translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.skill {
    display: flex;
    flex-direction: column;
    color: #ccc;
    font-size: 13px;
}

.floating-skills .skill {
    font-size: 11px;
}

.floating-skills .bar {
    height: 6px;
}

.floating-skills .skill span {
    font-size: clamp(10px, 1.2vw, 13px);
}

.floating-skills-wrapper {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 1500;
    transition: transform 0.4s ease;
}

.floating-skills-wrapper.collapsed {
    transform: translateY(-50%) translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.bar {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    height: 8px;
    margin-top: 3px;
    overflow: hidden;
}

.fill {
    background: rgb(26, 100, 161);
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-in-out;
}

@media (max-width: 768px) {
    .floating-socials {
        display: none;
    }
}

@media (max-width: 768px) {
    .floating-skills {
        width: 150px;
        padding: 10px;
    }
}