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

:root {
    --bg-dark: #07111f;
    --bg-soft: #f5f7fb;
    --text-dark: #0f172a;
    --text-light: #e2e8f0;
    --accent: #2563eb;
    --accent-2: #3b82f6;
    --border: rgba(255, 255, 255, 0.15);
}

body {
    font-family: "Google Sans Flex", Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
}

.profile-sidebar {
    width: 340px;
    min-height: 100vh;
    padding: 40px 24px;
    background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 35%, #dbeafe 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--border);
    position: sticky;
    top: 0;
    align-self: flex-start;
}

.profile-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.profile-sidebar h1 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.role {
    font-size: 1.05rem;
    color: #93c5fd;
    margin-bottom: 12px;
    font-weight: 600;
}

.bio {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 22px;
    max-width: 260px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.github-btn {
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
    color: #ffffff;
}

.linkedin-btn {
    background: #0a66c2;
    color: #ffffff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.skill-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
    color: #f8fafc;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.about-box {
    width: 100%;
    margin: 10px 0 20px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    text-align: left;
}

.about-box h3 {
    margin-bottom: 8px;
    color: #f8fafc;
}

.about-box p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.content-panel {
    flex: 1;
    padding: 32px 40px 48px;
    background: var(--bg-soft);
    color: var(--text-dark);
}

.top-nav {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.top-nav ul {
    display: flex;
    gap: 10px;
    list-style: none;
}

.top-nav a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.top-nav a:hover,
.top-nav a.active {
    background: #dbeafe;
    color: var(--accent);
}

.hero-section,
.content-section {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: center;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-copy h2,
.section-heading h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-copy p {
    font-size: 1rem;
    color: #475569;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background: #eff6ff;
    color: var(--accent);
}

.hero-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 20px;
    border-radius: 16px;
}

.hero-card h3 {
    margin-bottom: 10px;
}

.hero-card ul {
    padding-left: 18px;
    color: #334155;
}

.section-heading {
    margin-bottom: 18px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.project-card {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.project-card h3 {
    margin-bottom: 8px;
}

.project-card p {
    color: #475569;
    margin-bottom: 10px;
}

.project-card a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 16px;
}

.contact-card {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: white;
    padding: 22px;
    border-radius: 16px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #f8fafc;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form button {
    border: none;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    cursor: pointer;
    font-weight: 700;
}

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

    .profile-sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 28px 20px;
        position: relative;
        top: auto;
        align-self: auto;
    }

    .content-panel {
        width: 100%;
        padding: 24px 20px 32px;
    }

    .hero-section,
    .contact-layout,
    .project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
    }

    .top-nav {
        justify-content: flex-start;
    }

    .top-nav ul {
        flex-wrap: wrap;
    }
}