/* =====================================================
   ABDUL QADIR — Modern Portfolio
   Complete Stylesheet
   ===================================================== */

/* ===================== VARIABLES ===================== */
:root {
    --primary: #1a56db;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --accent: #0ea5e9;
    --accent-light: #38bdf8;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --text: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --gradient-1: linear-gradient(135deg, #1a56db 0%, #0ea5e9 100%);
    --gradient-2: linear-gradient(135deg, #1e3a8a 0%, #1a56db 50%, #0ea5e9 100%);
    --gradient-3: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* ===================== RESET ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

    .navbar.scrolled {
        box-shadow: var(--shadow-md);
        background: rgba(255, 255, 255, 0.97);
    }

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.35rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .nav-links a {
        color: var(--text-secondary);
        font-weight: 500;
        font-size: 0.92rem;
        padding: 10px 18px;
        border-radius: 10px;
        transition: var(--transition-fast);
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary);
            background: rgba(26, 86, 219, 0.08);
        }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

    .btn-primary:hover {
        box-shadow: 0 8px 25px rgba(26, 86, 219, 0.45);
        transform: translateY(-3px);
    }

.btn-outline {
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

    .btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
        box-shadow: var(--shadow);
        transform: translateY(-2px);
    }

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 76px;
    background: var(--gradient-3);
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 800px;
        height: 800px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(26, 86, 219, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
        pointer-events: none;
    }

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: rgba(26, 86, 219, 0.08);
    border: 1px solid rgba(26, 86, 219, 0.15);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    width: fit-content;
}

    .hero-badge .dot {
        width: 8px;
        height: 8px;
        background: #22c55e;
        border-radius: 50%;
        animation: pulseDot 2s ease-in-out infinite;
    }

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.hero-affiliation {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: var(--shadow-sm);
}

    .hero-affiliation span {
        font-size: 0.9rem;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .hero-affiliation span i {
            color: var(--primary);
            width: 16px;
            text-align: center;
        }

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Typewriter */
.typewriter-wrapper {
    display: inline-flex;
    align-items: center;
}

.typewriter {
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 10px;
    min-height: 1.2em;
}

.typewriter-cursor {
    font-weight: 300;
    color: var(--primary);
    animation: blink 0.8s ease-in-out infinite;
    margin-left: 2px;
    font-size: 1.3em;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hero Photo */
.hero-photo-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-1);
    padding: 8px;
    box-shadow: 0 0 0 15px rgba(26, 86, 219, 0.15);
    position: relative;
    z-index: 2;
}

    .hero-photo img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 6px solid white;
    }

/* ORBIT RING - CENTERED AROUND PHOTO */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    animation: spin 45s linear infinite;
    z-index: 1;
}

.orbit-skill {
    position: absolute;
    top: 50%;
    left: 50%;
    background: white;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    white-space: nowrap;
    transform: translate(-50%, -50%);
    animation: orbit 45s linear infinite;
}

    /* Even spacing */
    .orbit-skill:nth-child(1) {
        animation-delay: 0s;
    }

    .orbit-skill:nth-child(2) {
        animation-delay: -5.6s;
    }

    .orbit-skill:nth-child(3) {
        animation-delay: -11.2s;
    }

    .orbit-skill:nth-child(4) {
        animation-delay: -16.8s;
    }

    .orbit-skill:nth-child(5) {
        animation-delay: -22.4s;
    }

    .orbit-skill:nth-child(6) {
        animation-delay: -28s;
    }

    .orbit-skill:nth-child(7) {
        animation-delay: -33.6s;
    }

    .orbit-skill:nth-child(8) {
        animation-delay: -39.2s;
    }

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateY(-210px) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateY(-210px) rotate(-360deg);
    }
}

/* Mobile Fix */
@media (max-width: 968px) {
    .hero-photo-wrapper {
        width: 260px;
        height: 260px;
    }

    .orbit-ring {
        width: 340px;
        height: 340px;
    }

    .orbit-skill {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}






/* Responsive */
@media (max-width: 968px) {
    .orbit-container {
        width: 300px;
        height: 300px;
    }

    .orbit-badge {
        font-size: 0.72rem;
        padding: 6px 12px;
    }
}


/* EXPERIENCE STRIP */
.experience-strip {
    background: white;
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.company-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

    .company-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-light);
    }

.company-logo {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
}

.company-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.company-card p {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.company-year {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}


/* ===================== FEATURED STRIP ===================== */
.featured-strip {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.featured-strip-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.featured-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

    .featured-strip-label i {
        font-size: 1rem;
        color: #3ddc84;
    }

.featured-projects-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.featured-project-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

    .featured-project-card:hover {
        border-color: var(--primary-light);
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
        background: white;
    }

.fp-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.banking-icon {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.lifestyle-icon {
    background: linear-gradient(135deg, #9333ea, #c084fc);
}

.energy-icon {
    background: linear-gradient(135deg, #b45309, #fbbf24);
}

.fp-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.fp-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ===================== STATS BAR ===================== */
.stats-bar {
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.stat-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(26, 86, 219, 0.08);
    color: var(--primary);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* ===================== SECTIONS ===================== */
section {
    padding: 80px 0;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

    .section-label i {
        font-size: 0.85rem;
    }

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 12px;
    max-width: 650px;
    line-height: 1.8;
}

/* ===================== PROJECTS HERO ===================== */
.projects-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    overflow: hidden;
    padding-top: 76px;
}

.projects-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.25;
    animation: floatOrb 25s ease-in-out infinite;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: #3b82f6;
    top: -20%;
    right: -10%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: #0ea5e9;
    bottom: -15%;
    left: -10%;
    animation-delay: 10s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -50px) scale(1.2);
    }
}

.projects-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

    .projects-hero-content h1 {
        font-size: 3.4rem;
        line-height: 1.15;
        font-weight: 900;
        margin-bottom: 20px;
        letter-spacing: -1px;
    }

.projects-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 600px;
}

.projects-stats-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

    .stat-pill i {
        color: var(--accent-light);
    }

/* ===================== PROJECT SHOWCASE ===================== */
.project-showcase {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
    margin: 60px 0;
    padding: 48px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .project-showcase:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }

    .project-showcase.reverse {
        grid-template-columns: 320px 1fr;
    }

        .project-showcase.reverse .project-showcase-visual {
            order: -1;
        }

.project-showcase-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.project-category {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.project-showcase-content > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-badge {
    background: rgba(26, 86, 219, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(26, 86, 219, 0.12);
    transition: var(--transition-fast);
}

    .tech-badge:hover {
        background: rgba(26, 86, 219, 0.15);
    }

.project-showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    max-width: 280px;
    margin: 0 auto;
    border: 12px solid #1a1a2e;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.1);
    background: #000;
    position: relative;
}

    .phone-mockup::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 24px;
        background: #1a1a2e;
        border-radius: 0 0 16px 16px;
        z-index: 2;
    }

    .phone-mockup img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        display: block;
    }

/* ===================== PUBLICATIONS ===================== */
.pub-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .pub-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--gradient-1);
        border-radius: 0 4px 4px 0;
    }

    .pub-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-3px);
    }

.pub-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(26, 86, 219, 0.08);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.pub-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.pub-authors {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

    .pub-authors strong {
        color: var(--primary);
        font-weight: 600;
    }

.pub-venue {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 16px;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition-fast);
    background: var(--bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    margin-top: 8px;
}

    .pub-link:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* ===================== TIMELINE ===================== */
.timeline {
    position: relative;
    padding-left: 32px;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 7px;
        top: 8px;
        bottom: 8px;
        width: 2px;
        background: linear-gradient(to bottom, var(--primary), var(--accent), var(--border));
        border-radius: 2px;
    }

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 24px 28px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

    .timeline-item:hover {
        box-shadow: var(--shadow-md);
        border-color: rgba(26, 86, 219, 0.15);
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -29px;
        top: 28px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--primary);
        border: 3px solid white;
        box-shadow: var(--shadow);
    }

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

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-role {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.timeline-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(26, 86, 219, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

    .timeline-bullets li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 9px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
    }

/* ===================== SKILLS ===================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.skill-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

    .skill-category:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

.skill-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.skill-cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.skill-cat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

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

.skill-tag {
    padding: 6px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

    .skill-tag:hover {
        border-color: var(--primary-light);
        color: var(--primary);
        background: rgba(26, 86, 219, 0.04);
    }

/* ===================== EDUCATION ===================== */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.edu-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .edu-card.current {
        border-color: rgba(26, 86, 219, 0.3);
        box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.06);
    }

    .edu-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-3px);
    }

.current-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-1);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edu-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.edu-degree {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.edu-school {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.edu-details {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.edu-focus {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================== CONTACT ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
    display: block;
}

    .contact-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-3px);
        border-color: rgba(26, 86, 219, 0.2);
    }

    .contact-card i {
        font-size: 1.8rem;
        margin-bottom: 12px;
        display: block;
        color: var(--primary);
    }

    .contact-card h4 {
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 6px;
        color: var(--text);
    }

    .contact-card p {
        font-size: 0.85rem;
        color: var(--text-secondary);
    }

/* ===================== FOOTER ===================== */
.footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 24px;
    font-size: 0.82rem;
}

    .footer a {
        color: var(--accent-light);
    }

        .footer a:hover {
            text-decoration: underline;
        }

/* ===================== SCROLL TO TOP ===================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

    .scroll-top.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(26, 86, 219, 0.4);
    }

/* ===================== ANIMATIONS ===================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ===================== RESPONSIVE — TABLET ===================== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-badge {
        margin: 0 auto 24px;
    }

    .hero-affiliation {
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-photo-wrapper {
        order: -1;
    }

    .hero-photo {
        width: 240px;
        height: 240px;
    }

    .floating-badge {
        display: none;
    }

    .featured-projects-row {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px;
    }

        .project-showcase.reverse {
            grid-template-columns: 1fr;
        }

            .project-showcase.reverse .project-showcase-visual {
                order: 0;
            }

    .project-tech-stack {
        justify-content: center;
    }

    .project-showcase-content .btn {
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        width: 240px;
        max-width: 240px;
    }

        .phone-mockup img {
            height: 420px;
        }

    .projects-hero-content h1 {
        font-size: 2.5rem;
    }
}

/* ===================== RESPONSIVE — MOBILE ===================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

        .nav-links.active {
            display: flex;
        }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .skills-grid,
    .edu-grid {
        grid-template-columns: 1fr;
    }

    .project-showcase {
        padding: 24px;
        gap: 30px;
    }

    .projects-hero-content h1 {
        font-size: 2rem;
    }

    .projects-hero {
        min-height: 50vh;
    }
}

/* ===================== RESPONSIVE — SMALL MOBILE ===================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .pub-card {
        padding: 20px;
    }

    .timeline-item {
        padding: 18px 20px;
    }

    .phone-mockup {
        width: 200px;
        max-width: 200px;
    }

        .phone-mockup img {
            height: 350px;
        }

    .stat-pill {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .projects-hero-content h1 {
        font-size: 1.7rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
