/* Project Thumbnail Hover Effect */
.thumbnail-card {
    width: 250px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.thumbnail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1);
}
.project-thumbnail {
    cursor: pointer;
    display: inline-block;
}
.thumbnail-card:hover,
.project-thumbnail:focus .thumbnail-card {
    transform: scale(1.07);
    box-shadow: 0 8px 24px rgba(11,95,255,0.12), 0 1.5px 6px rgba(0,0,0,0.08);
}
.thumbnail-card:hover img,
.project-thumbnail:focus .thumbnail-card img {
    transform: scale(1.05);
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: #f4f6f8;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #fff;
    border-bottom: 2px solid #0b5fff;
}

.nav-link.active {
    color: #fff;
    border-bottom: 2px solid #0b5fff;
}

@media (max-width: 820px) {
    .nav-container {
        padding: 0 16px;
        height: 50px;
    }

    .nav-brand {
        font-size: 16px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-link {
        font-size: 12px;
    }
}

.resume {
    max-width: 1000px;
    margin: 28px auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 28px;
}

.sidebar {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.photo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e6eef8;
}

.name {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.title {
    text-align: center;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 14px;
}

.sidebar h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #0f172a;
}

.contact p,
.skills ul {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

.skills ul {
    list-style: none;
    padding-left: 0;
}

.skills li {
    background: #eef2ff;
    margin: 6px 0;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 13px;
}

.downloadBtn {
    display: inline-block;
    margin-top: 14px;
    background: #0b5fff;
    color: #fff;
    padding: 10px 14px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.content {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.content section {
    margin-bottom: 18px;
}

.content h2 {
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 8px;
    border-left: 3px solid #0b5fff;
    padding-left: 10px;
}

.item h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.item ul {
    margin-left: 18px;
    list-style: disc;
    color: #334155;
}

/* Reference Styles */
.reference-item {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reference-item:last-child {
    border-bottom: none;
}

.reference-item h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #1f2937;
}

.reference-item .meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.reference-description {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-info {
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 820px) {
    .resume {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .sidebar {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .photo img {
        width: 96px;
        height: 96px;
    }

    .name { text-align: left; }
    .title { text-align: left; }
}

/* small helpers */
a { color: #0b5fff; }

/* Responsive styles for mobile and tablet */
@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 8px 8px;
    }
    .nav-menu {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-top: 8px;
    }
    .nav-link {
        font-size: 13px;
        padding: 8px 0;
    }
    .resume {
        grid-template-columns: 1fr;
        padding: 8px;
        margin: 8px auto;
    }
    .sidebar {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .photo img {
        width: 72px;
        height: 72px;
    }
    .name, .title {
        text-align: left;
        font-size: 16px;
    }
    .content {
        padding: 10px;
    }
    .content h2 {
        font-size: 14px;
    }
    .item h3 {
        font-size: 13px;
    }
    .meta {
        font-size: 12px;
    }
    .downloadBtn {
        padding: 8px 10px;
        font-size: 13px;
    }
}
