:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --surface: #16161f;
    --border: rgba(255, 255, 255, 0.06);
    --text: #e4e4e7;
    --text-muted: #71717a;
    --text-dim: #52525b;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    --gradient-text: linear-gradient(135deg, #818cf8, #c084fc);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

/* NAV */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.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);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.mobile-link:hover {
    color: var(--text);
    padding-left: 12px;
}

/* HERO */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 24px 60px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 32px;
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.hero-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-greeting {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    display: block;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    background: linear-gradient(135deg, #fff 0%, #e4e4e7 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    min-height: 1.8rem;
    font-family: 'JetBrains Mono', monospace;
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent);
}

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

.hero-photo {
    flex-shrink: 0;
}

.photo-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(99, 102, 241, 0.3);
}

.photo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #a78bfa, #c084fc, #6366f1) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin-ring 8s linear infinite;
}

@keyframes spin-ring {
    to { transform: rotate(360deg); }
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary svg {
    transition: var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

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

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-dim);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 3px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* SECTIONS */
section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

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

.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

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

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

.about-lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

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

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.info-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

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

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.info-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

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

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

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

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

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--accent);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.timeline-content:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateX(4px);
}

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

.timeline-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--accent-light);
    font-weight: 500;
}

.timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-dim);
    white-space: nowrap;
    background: rgba(99, 102, 241, 0.08);
    padding: 4px 12px;
    border-radius: 100px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-light);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

/* PROJECTS */
.project-showcase {
    max-width: 900px;
}

.project-card-large {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.project-card-large:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-visual {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.project-icon-large {
    color: var(--accent-light);
    z-index: 2;
    opacity: 0.8;
}

.project-decorative {
    position: absolute;
    inset: 0;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.deco-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -40px;
    animation: deco-pulse 6s ease-in-out infinite;
}

.deco-circle:nth-child(2) {
    width: 140px;
    height: 140px;
    bottom: -20px;
    left: -20px;
    animation: deco-pulse 6s ease-in-out infinite 2s;
}

.deco-circle:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(99, 102, 241, 0.05);
    animation: deco-pulse 6s ease-in-out infinite 4s;
}

@keyframes deco-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.deco-circle:nth-child(3) {
    animation-name: deco-pulse-center;
}

@keyframes deco-pulse-center {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.project-info {
    padding: 32px;
}

.project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.project-date, .project-org {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.project-org {
    color: var(--accent-light);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.project-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* EDUCATION */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.edu-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}

.edu-card:hover::before {
    opacity: 1;
}

.edu-period {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.edu-icon {
    color: var(--accent-light);
    margin-bottom: 20px;
    opacity: 0.7;
}

.edu-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.edu-school {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 16px;
}

.edu-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.edu-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.edu-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.15);
}

/* CERTIFICATIONS */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cert-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateX(4px);
}

.cert-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.cert-icon.green { background: rgba(52, 211, 153, 0.12); color: #34d399; }
.cert-icon.orange { background: rgba(251, 146, 60, 0.12); color: #fb923c; }
.cert-icon.yellow { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.cert-icon.white { background: rgba(228, 228, 231, 0.08); color: #a1a1aa; }
.cert-icon.blue { background: rgba(96, 165, 250, 0.12); color: #60a5fa; }
.cert-icon.red { background: rgba(248, 113, 113, 0.12); color: #f87171; }

.cert-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.cert-issuer {
    display: block;
    font-size: 0.82rem;
    color: var(--accent-light);
    font-weight: 500;
}

.cert-date {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 2px;
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.skill-cat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--accent-light);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skill-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 6px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CONTACT */
#contact {
    text-align: center;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.contact-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact-card svg {
    color: var(--accent-light);
}

/* FOOTER */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-main {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

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

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

    .photo-wrapper {
        width: 220px;
        height: 220px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .project-card-large {
        grid-template-columns: 1fr;
    }

    .project-visual {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    section {
        padding: 80px 0;
    }

    .hero-name {
        letter-spacing: -1px;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

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

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

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-dot {
        left: -30px;
    }

    .timeline-header {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .photo-wrapper {
        width: 180px;
        height: 180px;
    }

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

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