* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #020d1a;
    color: #e0eaf5;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 100, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 25, 60, 0.7);
    border: 1px solid rgba(50, 120, 255, 0.2);
    border-radius: 50px;
    padding: 14px 40px;
    backdrop-filter: blur(16px);
    z-index: 100;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: #8aa8cc;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

.nav-links a i {
    font-size: 0.85rem;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
    border-bottom: 2px solid #3a7fff;
}

.content {
    width: 100%;
    max-width: 820px;
    padding: 120px 30px 140px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
    position: relative;
}

.page-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 100;
    color: #e0eaf5;
    margin-bottom: 10px;
}

.page-title span {
    color: #4a9eff;
}


.glass-box {
    background: rgba(10, 25, 60, 0.45);
    border: 1px solid rgba(50, 120, 255, 0.18);
    border-radius: 20px;
    padding: 30px 35px;
    backdrop-filter: blur(16px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-box:hover {
    border-color: rgba(74, 158, 255, 0.35);
    box-shadow: 0 0 30px rgba(50, 120, 255, 0.08);
}


.box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(50, 120, 255, 0.15);
}

.box-header i {
    font-size: 1.2rem;
    color: #4a9eff;
    width: 36px;
    height: 36px;
    background: rgba(50, 120, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e0eaf5;
}


.glass-box > p {
    color: #a0b8d0;
    font-size: 0.97rem;
    line-height: 1.9;
    font-weight: 300;
}

.glass-box > p strong {
    color: #d0e4f5;
    font-weight: 600;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-category h4 {
    font-size: 0.88rem;
    color: #6a90b8;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.tag {
    background: rgba(50, 120, 255, 0.1);
    border: 1px solid rgba(50, 120, 255, 0.25);
    color: #4a9eff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(50, 120, 255, 0.2);
    border-color: #4a9eff;
    box-shadow: 0 0 10px rgba(50, 120, 255, 0.25);
}


.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 16px;
    bottom: 0;
    width: 1px;
    background: rgba(50, 120, 255, 0.25);
}

.timeline-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #4a9eff;
    border: 2px solid rgba(50, 120, 255, 0.3);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #d0e4f5;
    margin-bottom: 4px;
}

.timeline-content .inst {
    font-size: 0.88rem;
    color: #4a9eff;
    margin-bottom: 2px;
}

.timeline-content .sub {
    font-size: 0.82rem;
    color: #6a90b8;
    margin-bottom: 6px;
}

.year {
    font-size: 0.8rem;
    color: #506a88;
    background: rgba(50, 120, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(50, 120, 255, 0.15);
}


.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cert-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(50, 120, 255, 0.05);
    border: 1px solid rgba(50, 120, 255, 0.12);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: rgba(50, 120, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.3);
}

.cert-item > i {
    font-size: 1.4rem;
    color: #4a9eff;
    margin-top: 2px;
    flex-shrink: 0;
}

.cert-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d0e4f5;
    margin-bottom: 4px;
}

.cert-item p {
    font-size: 0.83rem;
    color: #6a90b8;
    line-height: 1.5;
}


.hobbies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hobby-card {
    flex: 1;
    min-width: 130px;
    background: rgba(50, 120, 255, 0.06);
    border: 1px solid rgba(50, 120, 255, 0.15);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.hobby-card:hover {
    background: rgba(50, 120, 255, 0.13);
    border-color: rgba(74, 158, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(50, 120, 255, 0.15);
}

.hobby-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.hobby-card h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #d0e4f5;
    margin-bottom: 4px;
}

.hobby-card p {
    font-size: 0.75rem;
    color: #6a90b8;
}


.social-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 16px 0;
    background: linear-gradient(to top, rgba(2, 13, 26, 0.95), transparent);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(50, 130, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a9eff;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(10, 30, 70, 0.5);
}

.social-icon:hover {
    border-color: #4a9eff;
    background: rgba(50, 130, 255, 0.15);
    box-shadow: 0 0 15px rgba(50, 130, 255, 0.4);
    color: #ffffff;
    transform: translateY(-3px);
}

.divider-line {
    width: 1px;
    height: 28px;
    background: rgba(50, 130, 255, 0.25);
}


@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .navbar {
        padding: 12px 20px;
        top: 12px;
    }

    .content {
        padding: 100px 16px 120px;
    }

    .glass-box {
        padding: 22px 20px;
    }

    .hobbies-grid {
        gap: 10px;
    }

    .hobby-card {
        min-width: 100px;
    }
}

body {
    animation: fadeIn 0.5s ease;
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}