/* Professional Portfolio Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display&display=swap');

/* CSS Variables - Light Mode (default) */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-card: #ffffff;
    --background-transparent: rgba(255, 255, 255, 0.7);
    --background-alt-transparent: rgba(248, 250, 252, 0.7);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --nav-height: 70px;
    --nav-bg: rgba(255, 255, 255, 0.95);
}

/* CSS Variables - Dark Mode */
[data-theme="dark"] {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #f1f5f9;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --background: #0f172a;
    --background-alt: #1e293b;
    --background-card: #1e293b;
    --background-transparent: rgba(15, 23, 42, 0.7);
    --background-alt-transparent: rgba(30, 41, 59, 0.7);
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(15, 23, 42, 0.95);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--background);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
    background-color: var(--background-transparent);
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--primary-color);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-social {
    display: flex;
    gap: 1rem;
}

.nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--background-alt);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.nav-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--background-alt);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

.hero-text {
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-image img {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 5px solid white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* Option C: Highlighted Callout Box */
.about-intro {
    position: relative;
    padding: 3rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--background-alt) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.about-intro p {
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.about-content h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.75rem;
}

.highlights-list {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    list-style: none;
    padding: 0;
}

.highlights-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.highlights-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.highlights-list li strong {
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.skill-category {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

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

/* Animated Skill Tags */
.skills-container {
    max-width: 900px;
    margin: 0 auto;
}

.skill-category-tags {
    margin-bottom: 2rem;
    text-align: center;
}

.skill-category-tags h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category-tags h4 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.skill-category h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-category p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.education-card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.education-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.education-icon i {
    font-size: 1.75rem;
    color: white;
}

.education-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.education-card .school {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-card .date {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.education-card .coursework {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.education-card .coursework strong {
    color: var(--text-primary);
}

/* Experience Section */
.experience-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 2rem;
}

/* Vertical timeline line */
.experience-timeline::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-color) 100%);
    border-radius: 3px;
}

.experience-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 3rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    background: var(--background-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--background);
    box-shadow: 0 0 0 3px var(--primary-color);
    z-index: 2;
}

.experience-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

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

.experience-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-date .company-logo {
    margin-bottom: 1rem;
}

.experience-date .date {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.experience-content {
    position: relative;
}

.experience-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-content .company {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-content .company::before {
    content: '📍';
    font-size: 1rem;
}

.experience-content ul {
    list-style: none;
}

.experience-content li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.experience-content li::before {
    content: '▹';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.company-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 3px solid var(--border-color);
    padding: 12px;
    background: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.company-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Projects Section */
.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--background-card);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--primary-light);
}

.project-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    background-color: white;
    padding: 1rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--secondary-color);
}

.project-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.project-use {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border: 1px solid rgba(37, 99, 235, 0.2);
    line-height: 1.6;
}

.project-use strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Teaching Section */
.teaching-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.teaching-card {
    background: var(--background-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.teaching-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.teaching-card ul,
.teaching-card ol {
    padding-left: 1.25rem;
}

.teaching-card li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Part-time Section */
.parttime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.parttime-card {
    background: var(--background-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.parttime-card:hover {
    box-shadow: var(--shadow-md);
}

.parttime-card .date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.parttime-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.parttime-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--background-alt);
    padding: 1rem;
}

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

.special-note {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: white;
}

.special-note h3 {
    color: white;
    margin-bottom: 1rem;
}

.special-note p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* Resume Section */
.resume-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-alt-transparent);
    position: relative;
    z-index: 1;
}

.resume-section h2 {
    margin-bottom: 1rem;
}

.resume-section p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        width: 300px;
        height: 300px;
    }

    .hero-description {
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-social {
        display: none;
    }

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

    .section {
        padding: 3rem 0;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .experience-date {
        text-align: left;
    }

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

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

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

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth Scroll Padding */
section[id] {
    scroll-margin-top: calc(var(--nav-height) + 2rem);
}
