/* ===== CSS Variables ===== */
:root {
    --primary-color: #ea580c;
    --primary-dark: #c2410c;
    --primary-light: #fb923c;
    --bg-dark: #09090b;
    --bg-darker: #030305;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(234, 88, 12, 0.4);
    --gradient-orange: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
    --gradient-dark: linear-gradient(135deg, #09090b 0%, #18181b 100%);
    --glow-orange: 0 0 60px rgba(234, 88, 12, 0.15);

    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Consolas', monospace;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

::selection {
    background-color: rgba(234, 88, 12, 0.3);
    color: white;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(9, 9, 11, 0.9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    background: transparent;
    transition: none;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links a:hover::after {
    width: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 1.5px;
    background-color: var(--text-secondary);
    transition: var(--transition-smooth);
    border-radius: 1px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 25s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: 8s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-dark) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 769px) {
    .hero-grid {
        grid-template-columns: 1fr auto;
    }
}

.hero-text {
    max-width: 720px;
}

/* Hero Status Badge */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.2);
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.status-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
}

.status-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.6;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-core {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Hero Bento Grid */
.hero-bento {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 280px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.bento-card:hover {
    border-color: var(--border-hover);
}

.bento-card-offset {
    transform: translateX(1rem);
}

.bento-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
}

.bento-card-header:not(:last-child) {
    margin-bottom: 1rem;
}

.bento-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    font-size: 1rem;
    color: var(--text-muted);
}

.bento-icon-accent {
    background: rgba(234, 88, 12, 0.15);
    color: var(--primary-color);
}

.bento-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.bento-bar-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.bento-bar-fill {
    height: 100%;
    background: var(--gradient-orange);
    border-radius: var(--radius-pill);
}

.bento-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.5s ease;
}

.bento-card:hover .bento-image {
    opacity: 0.8;
    filter: grayscale(0);
}

.hero-name {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    background: none;
    letter-spacing: -3px;
}

.hero-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.15em;
    font-weight: 500;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 2.5rem;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--text-muted) 0%, transparent 100%);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 0.6; transform: translateY(10px); }
}

/* ===== Sections ===== */
.section {
    padding: 7rem 2rem;
    position: relative;
}

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

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

.section-header {
    margin-bottom: 2rem;
}

.section-header-center {
    text-align: center;
}

.section-header-center .section-number,
.section-header-center .section-title {
    justify-content: center;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.section-number {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    max-width: 680px;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 680px;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    gap: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.expertise-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.expertise-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.expertise-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: block;
}

.expertise-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ===== Skills Section ===== */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.skill-category:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.skill-category.highlight {
    background: var(--bg-card);
    border-color: var(--border-hover);
    box-shadow: var(--glow-orange);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-category-icon {
    font-size: 1.75rem;
}

.skill-category-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.skill-card.featured {
    border-color: var(--border-hover);
    background: rgba(234, 88, 12, 0.04);
}

.skill-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.skill-header h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.skill-badge {
    background: rgba(234, 88, 12, 0.12);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.skill-bar-container {
    background-color: rgba(255, 255, 255, 0.06);
    height: 4px;
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: 1rem;
}

.skill-bar {
    height: 100%;
    background: var(--gradient-orange);
    border-radius: var(--radius-pill);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.additional-tech {
    margin-top: 3rem;
}

.additional-tech h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.tech-tag:hover {
    border-color: var(--border-hover);
    color: var(--primary-light);
    background: rgba(234, 88, 12, 0.06);
}

/* ===== Experience Section ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--border-color) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 0 2px var(--border-color);
}

.timeline-item.current::before {
    box-shadow: 0 0 0 2px var(--primary-color), 0 0 12px rgba(234, 88, 12, 0.5);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 2px var(--primary-color), 0 0 12px rgba(234, 88, 12, 0.5); }
    50% { box-shadow: 0 0 0 4px var(--primary-color), 0 0 20px rgba(234, 88, 12, 0.6); }
}

.experience-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.experience-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--bg-card-hover);
}

.experience-card.current {
    border-color: var(--border-hover);
    box-shadow: var(--glow-orange);
}

.experience-header {
    margin-bottom: 1.25rem;
}

.experience-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.experience-company {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
}

.experience-company:hover {
    color: var(--primary-light);
}

.experience-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.experience-period {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.8rem;
}

.experience-period.current {
    background: rgba(234, 88, 12, 0.12);
    color: var(--primary-light);
    border: 1px solid rgba(234, 88, 12, 0.2);
    font-weight: 600;
}

.experience-summary {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.achievements {
    list-style: none;
}

.achievements li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    line-height: 1.7;
    font-size: 0.9rem;
    position: relative;
}

.achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* ===== Education Section ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1rem;
    margin-bottom: 4rem;
}

.education-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.education-card.primary {
    border-color: var(--border-hover);
    box-shadow: var(--glow-orange);
}

.education-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--bg-card-hover);
}

.education-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: block;
}

.education-degree {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.education-institution {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.education-period {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
}

.learning-section {
    margin-top: 4rem;
}

.learning-section h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.learning-card {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.learning-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.learning-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: block;
}

.learning-card h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.learning-card ul {
    list-style: none;
}

.learning-card li {
    color: var(--text-secondary);
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.85rem;
}

.learning-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* ===== Personal Life Section ===== */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.interest-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    grid-column: span 4;
}

.interest-card-wide {
    grid-column: span 8;
}

.interest-card:hover {
    border-color: var(--border-hover);
}

/* Image-backed interest cards */
.interest-card-image {
    padding: 0;
    min-height: 300px;
}

.interest-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.interest-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transition: all 0.6s ease;
}

.interest-card-image:hover .interest-card-bg img {
    opacity: 0.5;
    transform: scale(1.05);
}

.interest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(9, 9, 11, 0.3) 60%, transparent 100%);
}

.interest-card-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.interest-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 1;
}

.interest-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

.interest-card-wide h3 {
    font-size: 1.5rem;
}

.interest-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
}

.interest-card-image p {
    color: rgba(255, 255, 255, 0.7);
}

.volunteer-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-hover);
    transition: var(--transition-smooth);
    box-shadow: var(--glow-orange);
}

.volunteer-section:hover {
    transform: translateY(-2px);
}

.volunteer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.volunteer-title-group h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.volunteer-organization {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.volunteer-period {
    background: rgba(234, 88, 12, 0.12);
    color: var(--primary-light);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.volunteer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.volunteer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.volunteer-link:hover {
    color: var(--primary-light);
}

/* ===== Contact Section ===== */
.section-contact {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(234, 88, 12, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

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

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

.contact-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--bg-dark);
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1.25rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
        gap: 0.25rem;
    }

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

    .nav-links a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-status {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-bento {
        display: none;
    }

    .hero-name {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

    .expertise-grid,
    .skills-grid,
    .learning-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

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

    .interest-card,
    .interest-card-wide {
        grid-column: span 1;
    }

    .interest-card-image {
        min-height: 240px;
    }

    .volunteer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -1.85rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 1.25rem;
    }

    .hero {
        padding: 5rem 1.25rem 3rem;
    }

    .nav-container {
        padding: 0.875rem 1.25rem;
    }

    .skill-category,
    .experience-card,
    .education-card {
        padding: 1.5rem;
    }
}
