* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: radial-gradient(circle at 20% 20%, #1e3a8a, #0f172a 60%);
    color: #fff;
    overflow-x: hidden;
}

.bg-blur {
    position: fixed;
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, #00f5ff, #6366f1);
    filter: blur(180px);
    opacity: 0.2;
    top: -200px;
    left: -200px;
    animation: move 12s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(200px, 200px);
    }
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 50px;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00f5ff, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 15px #00f5ff;
}

.logo span {
    font-size: 12px;
    color: #bbb;
}

.sidebar nav a {
    display: block;
    cursor: pointer;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #ccc;
    text-decoration: none;
    transition: .3s;
}

.sidebar nav a:hover {
    transform: translateX(4px);
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: rgba(0, 245, 255, 0.15);
    color: #00f5ff;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.main {
    flex: 1;
    padding: 50px;
}

.header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    align-items: center;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
}

.status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #aaa;
}

.dot {
    width: 10px;
    height: 10px;
    background: #00ffae;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffae;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
    border: 1px solid #00f5ff;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 20px;
}

.card button {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #00f5ff, #6366f1);
    color: #fff;
    cursor: pointer;
    transition: .3s;
}

.card button:hover {
    opacity: 0.85;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.about-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
}

.profile-card {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
}

.profile-left {
    width: 280px;
    text-align: center;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f5ff, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.5);
}

.role {
    font-size: 14px;
    color: #bbb;
}

.location {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00f5ff, #6366f1);
    color: #fff;
    text-decoration: none;
}

.skills {
    margin-top: 20px;
}

.skill {
    margin-bottom: 15px;
}

.bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.bar div {
    height: 100%;
    background: linear-gradient(90deg, #00f5ff, #6366f1);
    width: 0;
    transition: 1s ease;
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 50px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: #00f5ff;
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 6px;
    box-shadow: 0 0 10px #00f5ff;
}

.timeline-content {
    margin-left: 17px;
}

.expand-content {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    color: #bbb;
}

.expand-btn {
    margin-top: 5px;
    padding: 3px 5px;
    font-size: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.about-hero {
    text-align: center;
    margin-bottom: 60px;
}

.about-tagline {
    color: #bbb;
    margin-top: 10px;
}

.experience-counter {
    margin-top: 20px;
}

.counter-box {
    display: inline-block;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.profile-card {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.profile-left {
    width: 280px;
}

.profile-right {
    flex: 1;
}

.bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin: 6px 0 15px;
}

.bar div {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00f5ff, #6366f1);
    border-radius: 5px;
    transition: 1s ease;
}

.certifications {
    margin-top: 60px;
}

.badge {
    display: inline-block;
    padding: 10px 18px;
    margin: 10px 10px 0 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

body.light {
    background: #f5f7fa;
    color: #111;
}

body.light .profile-card,
body.light .counter-box,
body.light .badge {
    background: #ffffff;
}

.parallax-bg {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00f5ff, #6366f1);
    filter: blur(180px);
    opacity: 0.2;
    top: -200px;
    right: -200px;
    z-index: -1;
}

#themeToggle {
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    cursor: pointer;
    transition: .3s;
}

#themeToggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media(max-width:768px) {
    .sidebar {
        display: none;
    }

    .main {
        padding: 25px;
    }
}
