* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background-color: #f1f5f9;
    color: #0f172a;
}


.portfolio-header {
    background: white;
    text-align: center;
    padding: 25px 0;
    border-bottom: 1px solid #e5e7eb;
}

.portfolio-header h1 {
    font-size: 36px;
    letter-spacing: 4px;
}

.portfolio-header::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    margin: 12px auto 0;
    border-radius: 5px;
}


.container {
    display: flex;
    min-height: 100vh;
}


.sidebar {
    width: 300px;
    background: linear-gradient(180deg, #020617, #0f172a);
    color: white;
    padding: 35px;
}

.profile-pic {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #334155;
    margin-bottom: 15px;
}

.sidebar h1 {
    font-size: 26px;
}

.designation {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 25px;
}

.sidebar section {
    margin-bottom: 30px;
}

.sidebar h2 {
    font-size: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #334155;
    padding-bottom: 5px;
}

.sidebar p,
.sidebar a {
    font-size: 14px;
    color: #cbd5f5;
    line-height: 1.6;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.sidebar a {
    position: relative;
}

.sidebar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #3b82f6;
    left: 0;
    bottom: -3px;
    transition: width 0.3s ease;
}

.sidebar a:hover::after {
    width: 100%;
}


.content {
    flex: 1;
    padding: 40px;
}

.section-card {
    background: white;
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.1);
}

.section-card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 12px;
}

.section-card h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 24px;
    background: #3b82f6;
    border-radius: 5px;
}


.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill {
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.skill:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.05);
}


.project {
    border-left: 4px solid #3b82f6;
    padding-left: 15px;
}

.project h3 {
    margin-bottom: 6px;
}
.footer {
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    color: #64748b;
    background-color: #f1f5f9;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

