/* ============================================================
   AKASH GURNALE — PORTFOLIO STYLESHEET
   A classy, professional dark-theme design with soft animations
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Background tones */
    --bg-primary: #0b0b10;
    --bg-secondary: #0f0f16;
    --bg-card: rgba(255, 255, 255, 0.025);
    --bg-card-hover: rgba(255, 255, 255, 0.045);

    /* Text */
    --text-primary: #e8e9ed;
    --text-secondary: #9499ae;
    --text-tertiary: #5d6178;

    /* Accent — soft slate-indigo */
    --accent: #818cf8;
    --accent-muted: rgba(129, 140, 248, 0.12);
    --accent-glow: rgba(129, 140, 248, 0.08);

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.10);

    /* Shadows & Glow */
    --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.3);
    --shadow-lift: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glow-card: 0 0 40px rgba(129, 140, 248, 0.05);
    --glow-card-hover: 0 0 60px rgba(129, 140, 248, 0.10);

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1120px;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Transition */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

ul {
    list-style: none;
}

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

strong {
    color: var(--text-primary);
    font-weight: 600;
}

::selection {
    background: var(--accent-muted);
    color: var(--accent);
}

/* ---------- Utility ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-secondary);
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 11, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
}

.nav-logo:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

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

.nav-links a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    background: var(--accent-muted) !important;
    color: var(--accent) !important;
    font-weight: 500 !important;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.nav-cta:hover {
    background: rgba(129, 140, 248, 0.18) !important;
    box-shadow: 0 0 24px var(--accent-glow);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: glowFloat 8s ease-in-out infinite;
}

@keyframes glowFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-40px, 30px);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-muted);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: 100px;
    margin-bottom: 32px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    }
}

.hero-greeting {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.hero-name {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 72px;
    font-weight: 900;
    display: block;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    border-radius: var(--radius-md);
    transition: all 0.35s var(--ease);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #0b0b10;
    box-shadow: 0 4px 20px rgba(129, 140, 248, 0.25);
}

.btn-primary:hover {
    background: #929bf9;
    box-shadow: 0 8px 32px rgba(129, 140, 248, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.stat-plus {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Profile Image */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: 0 0 60px rgba(129, 140, 248, 0.08), 0 0 120px rgba(129, 140, 248, 0.04);
    transition: all 0.5s var(--ease);
}

.hero-image-wrapper:hover {
    border-color: rgba(129, 140, 248, 0.3);
    box-shadow: 0 0 80px rgba(129, 140, 248, 0.12), 0 0 160px rgba(129, 140, 248, 0.06);
    transform: scale(1.02);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.1) 0%, rgba(129, 140, 248, 0.03) 100%);
    border-radius: 50%;
}

.image-placeholder span {
    font-size: 72px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    letter-spacing: -2px;
}

.placeholder-active .image-placeholder {
    display: flex;
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 12px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15.5px;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.35s var(--ease);
}

.detail-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-card-hover);
    transform: translateY(-2px);
}

.detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    border-radius: var(--radius-sm);
    color: var(--accent);
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.detail-value {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ---------- Skills ---------- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.skill-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-card-hover);
    transform: translateY(-4px);
}

.skill-card:hover::before {
    opacity: 0.5;
}

.skill-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    color: var(--accent);
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.skill-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

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

.tag {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.skill-card:hover .tag {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* ---------- Timeline / Experience ---------- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

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

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 32px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--text-tertiary);
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
    transition: all 0.3s var(--ease);
}

.timeline-dot.current {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 16px rgba(129, 140, 248, 0.3);
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 8px;
}

.timeline-card {
    flex: 1;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
}

.timeline-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-card-hover);
    transform: translateY(-2px);
}

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

.timeline-header h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.company {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.company-note {
    color: var(--text-tertiary);
    font-size: 13px;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.badge {
    display: inline-block;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
}

.badge-current {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.date {
    font-size: 13px;
    color: var(--text-tertiary);
}

.location {
    font-size: 12px;
    color: var(--text-tertiary);
}

.timeline-intro {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.timeline-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-points li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

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

/* ---------- Projects ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.project-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-card-hover);
    transform: translateY(-4px);
}

.project-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.project-content h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.project-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    white-space: nowrap;
    transition: all 0.3s var(--ease);
}

.project-card:hover .project-store-badge {
    color: var(--accent);
    border-color: rgba(129, 140, 248, 0.3);
    background: var(--accent-muted);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.project-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-muted);
    border-radius: 100px;
}

.project-rating {
    font-size: 12px;
    font-weight: 500;
    color: #f59e0b;
    letter-spacing: 0.2px;
}

.project-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech span {
    padding: 4px 11px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
}

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.blog-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-card-hover);
    transform: translateY(-4px);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
}

.blog-card:hover .blog-card-image::after {
    background: linear-gradient(to top, var(--bg-card-hover), transparent);
}

.blog-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.blog-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    letter-spacing: 0.3px;
}

.blog-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: var(--accent-muted);
    border-radius: 100px;
}

.blog-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s var(--ease);
}

.blog-card:hover .blog-card-body h3 {
    color: var(--accent);
}

.blog-card-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: color 0.3s var(--ease);
}

.blog-card:hover .blog-read-more {
    color: var(--accent);
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

.blog-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid rgba(129, 140, 248, 0.25);
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.blog-cta-link:hover {
    background: var(--accent-muted);
    border-color: rgba(129, 140, 248, 0.5);
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.15);
}

/* ---------- Education ---------- */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.edu-card {
    display: flex;
    gap: 24px;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    align-items: flex-start;
}

.edu-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-card-hover);
    transform: translateY(-3px);
}

.edu-year {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.4;
    letter-spacing: -1px;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 2px;
}

.edu-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.edu-specialization {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.edu-school {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-card-hover);
    transform: translateY(-4px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    color: var(--accent);
    transition: all 0.3s var(--ease);
}

.contact-card:hover .contact-icon {
    background: rgba(129, 140, 248, 0.18);
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
}

.contact-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-all;
}

.contact-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--text-tertiary);
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: all 0.3s var(--ease);
}

.contact-card:hover .contact-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---------- Footer ---------- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.footer-content p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.footer-copy {
    opacity: 0.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

    .hero-title {
        font-size: 46px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    /* Nav mobile */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 11, 16, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right 0.4s var(--ease);
        border-left: 1px solid var(--border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 16px;
        padding: 12px 16px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-wrapper {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .image-placeholder span {
        font-size: 48px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-actions {
        margin-bottom: 40px;
        justify-content: center;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Section headers */
    .section-title {
        font-size: 30px;
    }

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

    /* Timeline */
    .timeline-marker {
        display: none;
    }

    .timeline-item {
        gap: 0;
    }

    .timeline-card {
        padding: 24px 20px;
    }

    .timeline-header {
        flex-direction: column;
    }

    .timeline-meta {
        align-items: flex-start;
        text-align: left;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        flex-direction: column;
        padding: 28px 24px;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        height: 160px;
    }

    .blog-card-body {
        padding: 20px 20px 24px;
    }

    /* Education */
    .education-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

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