/* =========================
   VARIABLES & DESIGN SYSTEM
========================= */
:root {
    --primary: #0D9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --accent: #f97316;
    --accent-light: #ffedd5;
    --bg-main: #fcfbf9;
    --bg-light: #f3f4f6;
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.3);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.animated-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(-45deg, #fcfbf9, #f0fdfa, #fffbeb, #fcfbf9);
    background-size: 400% 400%; animation: gradientShift 15s ease infinite;
    z-index: -10; pointer-events: none;
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-dark); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

.bg-light { background-color: rgba(243, 244, 246, 0.6); backdrop-filter: blur(10px); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.bg-dark h2, .bg-dark h3 { color: var(--text-light); }

.btn-primary, .btn-secondary {
    display: inline-block; padding: 14px 28px; border-radius: var(--radius-pill);
    font-weight: 600; font-size: 1rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 25px rgba(13, 148, 136, 0.6); }

.btn-secondary {
    background-color: white; color: var(--text-dark); border: 1px solid #e2e8f0;
}
.btn-secondary:hover {
    border-color: var(--accent); color: var(--accent);
    transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 40px;
}
.glass-panel-inner {
    background: rgba(255, 255, 255, 0.95);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.highlight { color: var(--accent); font-weight: 800; }
.hover-glow:hover { text-shadow: 0 0 20px rgba(13,148,136,0.6); cursor: default; transition: text-shadow 0.3s ease; }

.section-tag {
    display: inline-block; font-family: var(--font-heading); color: var(--primary);
    font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem;
    margin-bottom: 15px; background: rgba(13, 148, 136, 0.1); padding: 6px 14px; border-radius: var(--radius-pill);
}
.section-title { font-size: 2.8rem; margin-bottom: 15px; font-weight: 900; letter-spacing: -1px; }
.section-subtitle { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; line-height: 1.7; }
.section-header { margin-bottom: 70px; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: transparent; z-index: 1000; transition: all 0.3s ease; }
.nav-container { display: flex; align-items: center; padding: 20px 5%; max-width: 1400px; margin: 0 auto; }
.logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; letter-spacing: -1px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 20px; }
.nav-links li a { font-weight: 600; color: var(--text-muted); }
.nav-links li a.btn-nav { color: white; padding: 10px 24px; font-size: 0.9rem; }
.nav-links li a:hover:not(.btn-nav) { color: var(--primary); }
.mobile-menu-btn { display: none; }

/* HERO */
.hero { position: relative; padding-top: 150px; padding-bottom: 80px; min-height: 90vh; display: flex; align-items: center; }
.hero-decorative-1 { position: absolute; top: -100px; right: -50px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(13,148,136,0.3) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; z-index: -1; animation: floatBlob 10s ease-in-out infinite; }
.hero-decorative-2 { position: absolute; bottom: -150px; left: -100px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; z-index: -1; animation: floatBlob 12s ease-in-out infinite reverse; }
@keyframes floatBlob { 0% { transform: scale(1) translate(0, 0); } 50% { transform: scale(1.1) translate(-20px, 30px); } 100% { transform: scale(1) translate(0, 0); } }

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

.availability-badge { display: inline-flex; align-items: center; gap: 10px; background: white; padding: 8px 16px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow-md); margin-bottom: 30px; border: 1px solid var(--glass-border); }
.status-dot { width: 10px; height: 10px; background-color: #10b981; border-radius: 50%; box-shadow: 0 0 10px rgba(16, 185, 129, 0.6); animation: pulseObj 2s infinite; }
@keyframes pulseObj { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.hero-title { font-size: 4.5rem; letter-spacing: -2px; margin-bottom: 10px; line-height: 1.1; }
.hero-subtitle { font-size: 1.8rem; color: var(--text-muted); margin-bottom: 25px; font-weight: 500; }
.hero-description { font-size: 1.15rem; color: var(--text-muted); max-width: 95%; margin-bottom: 40px; line-height: 1.8; }
.hero-cta { display: flex; gap: 15px; }

/* PROFILE VISUAL */
.hero-visual { position: relative; height: 100%; min-height: 500px; display: flex; justify-content: center; align-items: center; }
.profile-image-container { position: relative; width: 280px; height: 280px; z-index: 5; }
.profile-pic { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 8px solid white; box-shadow: var(--shadow-lg); z-index: 2; position: relative; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.profile-image-container:hover .profile-pic { transform: scale(1.05) rotate(3deg); }

.profile-glow { position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px; background: conic-gradient(from 0deg, var(--primary), var(--accent), #3b82f6, var(--primary)); border-radius: 50%; filter: blur(40px); opacity: 0.6; z-index: 1; animation: rotateGlow 8s linear infinite; }
@keyframes rotateGlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.float-badge { position: absolute; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-glass); font-weight: 700; font-size: 0.95rem; color: var(--text-dark); z-index: 10; border: 1px solid var(--glass-border); }
.float-1 { top: 10%; right: 0%; animation: float 6s ease-in-out infinite; }
.float-2 { bottom: 15%; left: 10%; animation: float 7s ease-in-out infinite reverse; }
.float-3 { top: 65%; right: -5%; left: auto; animation: float 8s ease-in-out infinite 1s; }

/* ABOUT & SKILLS */
.about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; }
.about-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 20px; }
.about-text strong { color: var(--text-dark); }
.about-location { margin-top: 30px; display: inline-block; padding: 12px 24px; background: white; border-radius: var(--radius-pill); font-weight: 700; box-shadow: var(--shadow-sm); color: var(--primary-dark); }
.about-stats { display: flex; flex-direction: column; gap: 30px; }
.stat-item { display: flex; flex-direction: column; align-items: flex-start; }
.stat-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-top: 10px; text-transform: uppercase; letter-spacing: 1px; }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.skill-category { padding: 30px; position: relative; overflow: hidden; background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.3s ease; }
.skill-category:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.skill-category::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.border-top-teal::before { background-color: var(--primary); }
.border-top-orange::before { background-color: var(--accent); }
.border-top-blue::before { background-color: #3b82f6; }
.border-top-purple::before { background-color: #8b5cf6; }

.skill-icon { font-size: 2.5rem; margin-bottom: 20px; }
.skill-category h3 { margin-bottom: 25px; font-size: 1.4rem; font-weight: 800; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { font-size: 0.9rem; padding: 8px 16px; border-radius: var(--radius-pill); font-weight: 600; transition: all 0.2s ease; }
.tag:hover { transform: scale(1.05); }
.tag-teal { background: #ccfbf1; color: #0f766e; }
.tag-orange { background: var(--accent-light); color: #c2410c; }
.tag-dark { background: #e2e8f0; color: #334155; }
.tag-purple { background: #ede9fe; color: #6d28d9; }


/* =========================
   PROJECTS (ACCORDION STYLES)
========================= */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.project-accordion {
    background: transparent;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}
.project-accordion:hover {
    box-shadow: var(--shadow-lg), 0 0 20px rgba(13, 148, 136, 0.15);
}

.accordion-header {
    position: relative;
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    cursor: pointer;
    background-color: var(--primary-dark);
}
.bg-syntrix { background: linear-gradient(135deg, #0D9488, #14b8a6, #f97316); }
.bg-hungerless { background: linear-gradient(135deg, #f59e0b, #f97316, #fbbf24); }

.header-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1; transition: background 0.3s ease;
}
.accordion-header:hover .header-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.1) 100%);
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}
.project-titles h3 { font-size: 2.8rem; color: white; margin-bottom: 5px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.project-titles .role { color: var(--primary-light); font-weight: 700; font-size: 1.1rem; }

.expand-btn {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white; padding: 10px 20px;
    border-radius: var(--radius-pill); font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 10px; transition: all 0.3s ease;
    font-family: var(--font-body); font-size: 0.95rem;
}
.expand-btn .arrow { transition: transform 0.4s ease; display: inline-block; }
.project-accordion.active .expand-btn .arrow { transform: rotate(180deg); }
.accordion-header:hover .expand-btn { background: var(--primary); border-color: var(--primary); }

.accordion-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    background: var(--bg-main);
}
.project-accordion.active .accordion-body {
    max-height: 3500px;
    opacity: 1;
}

.body-content { padding: 40px; border-top: none; }
.project-intro { margin-bottom: 30px; }
.project-intro h4 { font-size: 2rem; color: var(--text-dark); margin-bottom: 10px; }
.project-intro .desc { font-size: 1.15rem; color: var(--text-muted); max-width: 800px; }

.project-links { display: flex; gap: 15px; margin-top: 25px; }
.btn-outline {
    display: inline-block; padding: 10px 20px;
    border: 2px solid #cbd5e1; border-radius: var(--radius-md);
    color: var(--text-dark); font-weight: 700; font-size: 0.95rem; background: white;
}
.btn-outline:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }

/* Horizontal Carousel */
.carousel-container {
    margin: 40px 0;
    background: #f8fafc;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
}
.carousel-title {
    font-size: 1.3rem; font-weight: 800; margin-bottom: 15px; font-family: var(--font-heading);
}
.carousel-title span { font-weight: 500; font-size: 0.9rem; color: var(--text-muted); margin-left: 10px; }
.carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}
.carousel::-webkit-scrollbar { height: 10px; }
.carousel::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 10px; }
.carousel::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }

.carousel-item {
    min-width: 380px;
    height: 240px;
    background: transparent;
    border-radius: var(--radius-md);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    border: 1px solid #cbd5e1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.placeholder-icon {
    font-size: 3rem; margin-bottom: 10px; opacity: 0.8;
}
.carousel-item span {
    color: #475569; font-weight: 700; font-size: 1.2rem;
}

/* Contribution Boxes */
.contribution-accordion-grid {
    display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 20px;
}
@media screen and (min-width: 768px) {
    .contribution-accordion-grid { grid-template-columns: repeat(3, 1fr); }
    .cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.contrib-box {
    background: white; padding: 30px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease;
}
.contrib-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.border-solid-blue { border-top-color: #3b82f6; }
.border-solid-orange { border-top-color: var(--accent); }
.border-solid-teal { border-top-color: var(--primary); }

.contrib-box h5 {
    font-size: 1.15rem; margin-bottom: 20px; color: var(--text-dark);
    padding-bottom: 10px; border-bottom: 1px solid #e2e8f0;
}
.contrib-box ul {
    list-style-type: none; padding-left: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6;
}
.contrib-box ul li { margin-bottom: 15px; position: relative; padding-left: 20px; }
.contrib-box ul li::before {
    content: "→"; position: absolute; left: 0; color: var(--primary); font-weight: 800;
}
.contrib-box p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* TIMELINE */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 4px; background: rgba(13, 148, 136, 0.2); top: 0; bottom: 0; left: 50%; margin-left: -2px; }
.timeline-item { padding: 10px 50px; position: relative; width: 50%; margin-bottom: 40px; }
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-dot { position: absolute; width: 24px; height: 24px; right: -12px; background-color: var(--primary-light); border: 4px solid var(--bg-main); top: 30px; border-radius: 50%; z-index: 1; box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.2); }
.timeline-item:nth-child(even) .timeline-dot { left: -12px; }
.orange-dot { background-color: var(--accent); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2); }

.timeline-content { padding: 30px !important; }
.border-left-orange { border-left: 5px solid var(--accent) !important; }
.timeline-date { display: inline-block; padding: 6px 14px; background: rgba(13, 148, 136, 0.1); color: var(--primary-dark); border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 700; margin-bottom: 15px; }
.border-left-orange .timeline-date { background: rgba(249, 115, 22, 0.1); color: #c2410c; }
.timeline-content h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 800; }
.timeline-content h4 { font-size: 1.05rem; color: var(--text-muted); font-weight: 600; margin-bottom: 15px; }

/* CERTIFICATES */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-bottom: 50px; }
.cert-card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-align: center; transition: all 0.3s ease; border-bottom: 4px solid var(--primary); }
.cert-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.cert-year { font-family: var(--font-heading); font-size: 2.5rem; color: #cbd5e1; font-weight: 900; line-height: 1; margin-bottom: 15px; }
.cert-card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }

.extracurriculars { text-align: center; }
.extracurriculars h3 { margin-bottom: 25px; font-size: 1.5rem; font-weight: 800; }
.extra-tags { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.extra-tags span { background: white; padding: 12px 24px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); font-weight: 600; border: 1px solid var(--glass-border); }

.hover-lift { transition: transform 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); }

/* FOOTER */
.footer { padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand h2 { font-size: 2.2rem; margin-bottom: 20px; color: white; }
.footer-brand p { color: #94a3b8; max-width: 550px; font-size: 1.1rem; line-height: 1.7; }
.footer-links h3 { font-size: 1.3rem; margin-bottom: 25px; }
.contact-list li { margin-bottom: 18px; display: flex; align-items: center; gap: 15px; }
.contact-icon { font-size: 1.4rem; }
.contact-list a { color: #cbd5e1; font-weight: 500; font-size: 1.1rem; }
.contact-list a:hover { color: var(--primary-light); text-decoration: underline; }

.footer-bottom { text-align: center; padding-top: 35px; border-top: 1px solid #334155; color: #64748b; }

/* UTILITIES */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* MEDIA QUERIES */
@media screen and (max-width: 900px) {
    .section-title { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .hero { min-height: auto; padding-top: 120px; padding-bottom: 60px; }
    .hero-container, .about-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.4rem; }
    
    .hero-visual { min-height: 300px; margin-top: 20px; }
    .profile-image-container { width: 220px; height: 220px; }
    .float-badge { font-size: 0.8rem; padding: 8px 14px; }
    .float-1 { top: 0; right: 0; }
    .float-2 { bottom: 5%; left: 0; }
    .float-3 { top: auto; bottom: 0; right: -5%; }
    
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; }
    .timeline-item:nth-child(even) { left: 0%; }
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot { left: 18px; }
    
    /* Mobile Menu Core */
    .nav-links { 
        position: fixed; top: 70px; right: -100%; width: 100%; height: calc(100vh - 70px);
        background: rgba(252, 251, 249, 0.98); backdrop-filter: blur(10px);
        flex-direction: column; align-items: center; justify-content: center; margin: 0;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1); display: flex; gap: 40px; 
    }
    .nav-links.active { right: 0; }
    .nav-links li a { font-size: 1.5rem; }
    .nav-links li a.btn-nav { font-size: 1.2rem; padding: 15px 30px; margin-top: 20px; }
    .mobile-menu-btn { display: flex; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; }
    .mobile-menu-btn span { width: 30px; height: 3px; background: var(--text-dark); transition: all 0.3s ease; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    
    .header-content { flex-direction: column; align-items: flex-start; gap: 15px; }
    .project-titles h3 { font-size: 2rem; }
    
    .carousel-item { min-width: 280px; height: 200px; }
    
    .contribution-accordion-grid { grid-template-columns: 1fr; }
    .reveal-content { min-width: 100%; padding: 20px; }
    .body-content { padding: 20px; }
    
    .footer { padding: 60px 0 30px; }
    .footer-grid { gap: 40px; }
}

@media screen and (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-cta { flex-direction: column; gap: 15px; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    
    .stat-item { width: 100%; text-align: center; align-items: center; }
    .about-stats { gap: 40px; }
    
    .project-links { flex-direction: column; gap: 10px; }
    .btn-outline { text-align: center; }
}
