/* ========================================
   CSS Variables & Design System
   ======================================== */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1729;
    --bg-card: #151d32;
    --bg-card-hover: #1a2340;
    --accent: #00d4aa;
    --accent-rgb: 0, 212, 170;
    --accent-glow: rgba(0, 212, 170, 0.12);
    --accent-secondary: #6366f1;
    --accent-secondary-rgb: 99, 102, 241;
    --text-primary: #c8d6e5;
    --text-secondary: #7f8ea3;
    --text-heading: #e8edf5;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 212, 170, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: rgba(var(--accent-rgb), 0.3);
    color: #fff;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #33e0be;
}

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

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

/* ========================================
   Utilities
   ======================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(80px, 12vh, 120px) 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-hover), transparent);
    max-width: 300px;
}

.section-number {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.9em;
    font-weight: 500;
}

.mono {
    font-family: var(--font-mono);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition-slow), transform 0.7s var(--transition-slow);
}

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

.reveal-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-child.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
    height: var(--nav-height);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

.nav-logo:hover {
    color: var(--accent);
}

.logo-bracket {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

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

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

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--nav-height) 24px 0;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-name {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 20px;
    min-height: 2rem;
}

.hero-title {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    font-weight: 400;
}

.cursor {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 300;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #33e0be;
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-glow);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-socials {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-socials a {
    color: var(--text-secondary);
    transition: color var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.hero-socials a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    color: var(--text-secondary);
    animation: bounce 2s ease infinite;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

.about-text p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.timeline-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    font-family: var(--font-mono);
}

.timeline {
    position: relative;
    padding-left: 28px;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

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

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2.5px solid var(--accent);
    z-index: 1;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   Experience Section
   ======================================== */
.experience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    border-left: 3px solid var(--accent);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.experience-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

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

.exp-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
}

.exp-company {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 4px;
}

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

.exp-date {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
}

.exp-type {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(var(--accent-rgb), 0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.exp-list {
    list-style: none;
}

.exp-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.exp-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1rem;
}

.exp-list li:last-child {
    margin-bottom: 0;
}

/* ========================================
   Projects Section
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(var(--accent-rgb), 0.05);
}

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

.project-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-card__icon {
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: var(--radius-sm);
}

.project-card__location {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.project-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-card__title a {
    color: var(--text-heading);
    transition: color var(--transition);
}

.project-card__title a:hover {
    color: var(--accent);
}

.project-card__description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.project-card__tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.skills-group__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 20px;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-group__title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.skill-bar {
    margin-bottom: 18px;
}

.skill-bar:last-child {
    margin-bottom: 0;
}

.skill-bar__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-bar__name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-bar__percent {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

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

.skill-bar__fill {
    height: 100%;
    width: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.skill-bar__fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
    opacity: 0;
    transition: opacity 0.3s ease 1.3s;
}

.skill-bar__fill.animated::after {
    opacity: 1;
}

/* Extras: Languages, Soft Skills, Interests */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

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

.extras-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.language-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

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

.language-item > span:first-child {
    min-width: 80px;
    color: var(--text-primary);
    font-weight: 500;
}

.language-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.dot.filled {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.3);
}

.language-level {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.soft-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soft-skill {
    font-size: 0.825rem;
    color: var(--text-primary);
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    transition: all var(--transition);
}

.soft-skill:hover {
    background: rgba(var(--accent-rgb), 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

/* ========================================
   Certifications Section
   ======================================== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(var(--accent-rgb), 0.05), transparent 30%);
    animation: shimmer 6s linear infinite;
    opacity: 0;
    transition: opacity var(--transition);
}

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

@keyframes shimmer {
    to { transform: rotate(360deg); }
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cert-card__badge {
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cert-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.cert-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cert-issuer {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.cert-link {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 12px;
    position: relative;
    z-index: 1;
    transition: color var(--transition);
}

a.cert-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.cert-card:hover .cert-link {
    color: var(--accent);
}

a.cert-card:hover h3 {
    color: var(--accent);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

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

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

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    color: var(--text-secondary);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    color: var(--accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.contact-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-heading);
}

.contact-card__value {
    font-size: 0.85rem;
    color: var(--text-secondary);
    word-break: break-all;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer p {
    margin-bottom: 4px;
}

.footer strong {
    color: var(--accent);
    font-weight: 600;
}

.footer-year {
    font-size: 0.8rem;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.4);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

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

    .nav-links a {
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .experience-card {
        padding: 24px;
    }

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

    .exp-meta {
        align-items: flex-start;
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

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

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

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-child {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .skill-bar__fill {
        transition: none;
    }

    .cursor {
        animation: none;
    }

    .scroll-arrow {
        animation: none;
    }

    .cert-card::before {
        animation: none;
    }

    .project-card,
    .cert-card,
    .contact-card,
    .back-to-top {
        transition: none;
    }
}
