/* ==========================================================================
   DIEM TIEN PORTFOLIO - DESIGN SYSTEM (LIGHT EDITORIAL)
   Theme: Xanh đen phối Xám trắng (Navy & Slate-White)
   ========================================================================== */

:root {
    /* Color Palette - Light mode focused on Navy & Slate White */
    --bg-primary: #f8fafc;     /* Xám trắng chủ đạo (60%) */
    --bg-secondary: #ffffff;   /* Nền card trắng tinh khiết */
    --bg-tertiary: #f1f5f9;    /* Nền xen kẽ các section */
    
    /* Text Colors - Xanh đen (Navy) làm màu chủ đạo */
    --text-primary: #0f172a;   /* Xanh đen sâu thẳm */
    --text-secondary: #334155; /* Xanh đen trung tính */
    --text-muted: #64748b;      /* Xám Slate */
    
    /* Accent & Highlights */
    --accent: #2563eb;         /* Royal Blue hiện đại */
    --accent-rgb: 37, 99, 235;
    --accent-gradient: linear-gradient(135deg, #0f172a 0%, #2563eb 100%); /* Xanh đen sang Royal Blue */
    --accent-glow: rgba(37, 99, 235, 0.1);
    
    /* Layout Constants */
    --max-width: 1120px;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-color-hover: rgba(37, 99, 235, 0.25);
    
    /* Typography Scales */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   1. Base Resets & Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    line-height: 1.625;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p {
    font-weight: 400;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ==========================================================================
   2. Background & Global Effects
   ========================================================================== */
/* Cyber Grid Overlay (Slate grid in light mode) */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
    opacity: 0.25;
    background-image: 
        linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Interactive Spotlight Cursor (Desktop only - Royal Blue glow) */
.spotlight-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

@media (pointer: fine) {
    .spotlight-cursor {
        opacity: 1;
    }
}

/* Blurred background floating orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}
.orb-1 {
    top: 10%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: rgba(37, 99, 235, 0.3); /* Royal Blue */
}
.orb-2 {
    top: 45%;
    left: 2%;
    width: 500px;
    height: 500px;
    background: rgba(14, 165, 233, 0.25); /* Cyan */
}
.orb-3 {
    bottom: 5%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(15, 23, 42, 0.15); /* Navy */
}

/* ==========================================================================
   3. Common Layout & Components
   ========================================================================== */
.section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.section:nth-of-type(even) {
    background-color: var(--bg-tertiary);
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.7rem);
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    margin-top: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

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

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

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(37, 99, 235, 0.03);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(37, 99, 235, 0.03), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Scroll Reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Image Media Captions */
.media-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

/* ==========================================================================
   4. Header & Navigation (Navy/White Glassmorphism)
   ========================================================================== */
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 48px);
    max-width: var(--max-width);
}

.nav-container {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 32px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    width: 100%;
}

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

.hero-badge {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-name {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

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

.hero-slogan {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-bio {
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 540px;
    color: var(--text-secondary);
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Interactive Floating Avatar Frame */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.avatar-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-visual:hover .avatar-container {
    transform: scale(1.03);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-frame-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--accent-gradient);
    z-index: -1;
    border-radius: 44px;
    opacity: 0.15;
    filter: blur(12px);
}

/* Floating Technology Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
    z-index: 10;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.badge-1 {
    top: 12%;
    left: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 25%;
    right: -30px;
    animation-delay: 1.5s;
}

.badge-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 3s;
}

.floating-badge svg {
    color: var(--accent);
}

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

/* ==========================================================================
   6. About Me & Personality Bento
   ========================================================================== */
.about-intro-card {
    grid-column: span 8;
}

.about-stats-card {
    grid-column: span 4;
}



.about-text {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.stats-number-group {
    text-align: center;
    padding: 12px 0;
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.stats-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
    display: block;
    font-weight: 600;
}

/* ==========================================================================
   7. Core Expertise
   ========================================================================== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.expertise-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(37, 99, 235, 0.03);
}

.expertise-icon {
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.expertise-card p {
    font-size: 0.95rem;
    line-height: 1.625;
}

/* ==========================================================================
   8. Case Studies / Projects
   ========================================================================== */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.project-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(37, 99, 235, 0.03);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-badge {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 16px;
}

.project-badge.award {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.project-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.project-desc {
    font-size: 0.98rem;
    margin-bottom: 24px;
    line-height: 1.65;
}

.project-details {
    margin-bottom: 24px;
}

.detail-item {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

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

/* Image 3: Inline image styling */
.project-inline-media {
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
}

.inline-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.project-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-bottom: 24px;
}

.project-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.project-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.project-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-media-container {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   9. Experience Timeline
   ========================================================================== */
.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 56px;
    margin-bottom: 56px;
}

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

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 4px solid var(--accent);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--accent);
}

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

.timeline-role {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-role span {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.timeline-company {
    color: var(--accent);
    font-weight: 700;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(37, 99, 235, 0.02);
}

.timeline-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.timeline-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.timeline-stats-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

/* Timeline images */
.timeline-media {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.timeline-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   10. Contact & Footer
   ========================================================================== */
.footer-section {
    padding: 80px 0 40px 0;
    background: #090d16; /* Dark background kept for footer only to give contrast transition */
    color: #ffffff;
    border-top: 1px solid var(--border-color);
}

.footer-section h1, .footer-section h2, .footer-section h3, .footer-section h4 {
    color: #ffffff;
}

.footer-section p {
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}

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

.footer-tagline {
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 400px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.98rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-item a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.social-btn.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

/* Contact Quick Form */
.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #94a3b8;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 0.85rem;
    color: #64748b;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-link {
    font-size: 0.85rem;
    color: #64748b;
}

.footer-link:hover {
    color: #ffffff;
}

/* ==========================================================================
   11. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .bento-grid {
        gap: 16px;
    }
    
    .hero-grid {
        gap: 32px;
    }
    
    .project-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 32px;
    }
    
    .project-media-container {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid var(--border-color);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        border-radius: 24px;
        gap: 20px;
        z-index: 1000;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-bio {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Place avatar on top of text on mobile */
        margin-bottom: 20px;
        max-width: 280px;
        aspect-ratio: 1 / 1;
        width: 100%;
    }
    
    .avatar-container {
        width: 100%;
        height: 100%;
    }
    
    .badge-1 { left: -10px; top: 10%; }
    .badge-2 { right: -10px; bottom: 20%; }
    .badge-3 { left: 5%; bottom: 5%; }
    
    .about-intro-card {
        grid-column: span 12;
    }
    
    .about-stats-card {
        grid-column: span 12;
    }
    

    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .timeline-date {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .project-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}
