:root {
    --primary-dark: #0a0e27;
    --primary-navy: #1a1f3a;
    --accent-coral: #ff6b6b;
    --accent-teal: #4ecdc4;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.cinzel {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.libre-barcode {
    font-family: "Libre Barcode 39 Text", system-ui;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'Lora', serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top left, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    z-index: -1;
}

@keyframes morphBackground {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    33% { 
        transform: scale(1.1) rotate(120deg);
        filter: hue-rotate(60deg);
    }
    66% { 
        transform: scale(0.9) rotate(240deg);
        filter: hue-rotate(-60deg);
    }
}

.orb-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: floatOrb 30s infinite ease-in-out;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.2);
    }
    50% {
        transform: translate(-50px, -100px) scale(0.8);
    }
    75% {
        transform: translate(-75px, 50px) scale(1.1);
    }
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 14, 39, 0.95);
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-coral);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 145px 20px 50px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

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

.hero-header-image {
    width: min(320px, 70vw);
    height: min(320px, 70vw);
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-family: 'WindSong', cursive;
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 500;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #ff6b6b 50%, 
        #4ecdc4 75%, 
        #667eea 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    position: relative;
    animation: shimmer 8s linear infinite, glow 3s ease-in-out infinite;
    text-shadow: 
        0 0 30px rgba(102, 126, 234, 0.3),
        0 0 60px rgba(255, 107, 107, 0.2);
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(102, 126, 234, 0.4));
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 40px rgba(255, 107, 107, 0.6));
    }
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

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

@keyframes rainbowWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-20px) scale(1.05); }
    75% { transform: translateY(10px) scale(0.95); }
}

@keyframes rotate {
    0% { transform: perspective(1000px) rotateY(0deg); }
    100% { transform: perspective(1000px) rotateY(360deg); }
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (max-width: 480px) {
    .contact-pills {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-pill {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator::after {
    content: '↓';
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 25px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    margin-top: 5rem;
    position: relative;
    background: var(--bg-dark);
    min-height: 700px;
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.gallery-cards-container {
    display: flex;
    flex: 1;
    max-width: 100%;
    padding: 0 3rem;
    margin: 0 auto;
    overflow: auto;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
}

.card {
    flex: 1 1 1%;
    position: relative;
    opacity: 0.2;
    transition: flex 600ms cubic-bezier(0.25, 1, 0.5, 1), opacity 250ms ease;
}

.card:hover {
    flex-basis: 30%;
}

.card__inner {
    margin: 0.25rem;
    background: var(--card-bg);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card picture {
    width: 100%;
    height: 0;
    padding-bottom: 600px;
    overflow: hidden;
    position: relative;
}

.card picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card.is-active,
.card:hover {
    opacity: 1;
}

/* Card margin-top pattern for staggered effect */
.card:nth-child(1),
.card:nth-child(5),
.card:nth-child(9),
.card:nth-child(13) {
    margin-top: 0;
}

.card:nth-child(2),
.card:nth-child(4),
.card:nth-child(6),
.card:nth-child(8),
.card:nth-child(10),
.card:nth-child(12),
.card:nth-child(14) {
    margin-top: 2.5%;
}

.card:nth-child(3),
.card:nth-child(7),
.card:nth-child(11),
.card:nth-child(15) {
    margin-top: 5%;
}

/* Mobile Gallery Styles */
.mobile-gallery-section {
    display: none;
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.mobile-gallery-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mobile-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-gallery-track::-webkit-scrollbar {
    display: none;
}

.mobile-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
}

.mobile-gallery-slide img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    display: block;
}

.mobile-gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    gap: 0.5rem;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.mobile-gallery-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-gallery-dots .dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .gallery-section {
        display: none;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .mobile-gallery-section {
        display: block;
    }
    
    .gallery-cards-container {
        padding: 0 15px;
        flex-direction: column;
        margin: 0 auto;
    }
    
    .card {
        flex: 1 1 auto;
        width: 100%;
        margin-top: 1rem !important;
        opacity: 1;
    }
    
    .card picture {
        padding-bottom: 300px;
    }
}

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

    .nav-container {
        padding: 0 10px;
    }

    .hero {
        padding: 125px 10px 40px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 9vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .gallery-cards-container {
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .experience-timeline {
        padding: 0;
    }
    
    .experience-item,
    .experience-item:nth-child(even) {
        padding-left: 0;
        margin: 0 10px 2.5rem 10px;
    }
    
    .card picture {
        padding-bottom: 250px;
    }

    .skills-grid,
    .portfolio-grid {
        padding: 0 10px;
    }
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
}

.skill-category:nth-child(2)::before {
    background: var(--gradient-2);
}

.skill-category:nth-child(3)::before {
    background: var(--gradient-3);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.skill-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.skill-item:hover {
    color: var(--text-light);
    padding-left: 10px;
}

.skill-item:last-child {
    border-bottom: none;
}

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

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent-coral), transparent);
}

.experience-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.experience-item:nth-child(even) {
    flex-direction: row-reverse;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.experience-content {
    width: 45%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.experience-content:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.experience-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent-coral);
    border-radius: 50%;
    border: 4px solid var(--primary-dark);
    z-index: 1;
}

.experience-date {
    font-weight: 600;
    color: var(--accent-coral);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-company {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.experience-company a {
    color: var(--accent-teal);
    text-decoration: none;
}

.experience-company a:hover {
    text-decoration: underline;
}

.experience-achievements {
    list-style: none;
    padding: 0;
}

.experience-achievements li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.experience-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-coral);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 107, 107, 0.1));
    transition: top 0.3s ease;
}

.portfolio-item:hover::before {
    top: 0;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.portfolio-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Number highlighting for experience and portfolio sections */
.highlight-number {
    font-weight: bold;
    color: #cbd5e1;
    text-shadow: 0 0 8px rgba(203, 213, 225, 0.4);
}

.portfolio-metric {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid var(--accent-coral);
    border-radius: 20px;
    color: var(--accent-coral);
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-metric i {
    color: white;
}

/* Education Section */
.education-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.education-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.education-card .coursework {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
}

/* Languages Section */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 3rem auto 0;
}

.language-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.language-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.language-level {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Bio Section */
.bio-section {
    padding: 5rem 0;
    position: relative;
}

@media (max-width: 768px) {
    .bio-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .bio-section {
        padding: 2rem 0;
    }
}

.bio-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 90vw);
    height: min(600px, 90vw);
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.bio-content {
    max-width: 1000px;
    margin: 3rem auto 0;
    text-align: justify;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}


.bio-content p {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}


.bio-content p:nth-child(2) {
    animation-delay: 0.3s;
}

.bio-content p:nth-child(4) {
    animation-delay: 0.4s;
}

.bio-content p:nth-child(5) {
    animation-delay: 0.5s;
}

.bio-image {
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation-delay: 0.1s;
}

.bio-text-content {
    display: flex;
    flex-direction: column;
}



/* Responsive adjustments for bio images */
@media (max-width: 768px) {
    .bio-content {
        font-size: 1rem;
        padding: 2rem 1.5rem;
        margin: 2rem 15px 0;
        width: calc(100% - 30px);
        box-sizing: border-box;
        display: block;
        grid-template-columns: none;
        gap: 0;
    }
    
    .bio-image {
        max-width: 200px;
        display: block;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 480px) {
    .bio-content {
        padding: 1.5rem 1rem;
        margin: 1.5rem 10px 0;
        width: calc(100% - 20px);
    }

    .bio-image {
        max-width: 100%;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(10, 15, 20, 0.95) 0%, rgba(20, 25, 30, 0.95) 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section-title {
    color: var(--accent-coral);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Footer Navigation */
.footer-nav-links {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.footer-nav-links li {
    margin: 0;
}

.footer-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.footer-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-coral);
    transition: width 0.3s ease;
}

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

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

/* Footer Contact */
.footer-contact-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.footer-contact-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-pill i {
    font-size: 1.1rem;
    color: var(--accent-coral);
    flex-shrink: 0;
}

.footer-contact-pill span {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-contact-pill:hover {
    background: rgba(255, 100, 100, 0.1);
    border-color: var(--accent-coral);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 100, 100, 0.2);
}

.footer-contact-pill:hover span {
    color: var(--text-primary);
}

/* Footer Bottom */
.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-contact-links {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 145px 15px 50px;
    }

    .hero h1 {
        font-size: clamp(3rem, 10vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .experience-timeline {
        padding: 0;
    }
    
    .experience-timeline::before {
        display: none;
    }

    .experience-item,
    .experience-item:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        padding-left: 0;
        margin: 0 15px 3rem 15px;
    }

    .experience-content {
        width: 100%;
        margin: 0;
    }

    .experience-dot {
        display: none;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .skills-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    /* Footer Responsive */
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-nav-links {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .footer-contact-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
    }
    
    .footer-contact-pill {
        padding: 0.6rem 0.9rem;
    }
    
    .footer-contact-pill i {
        font-size: 1rem;
    }
    
    .footer-contact-pill span {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    footer {
        padding: 2.5rem 0 1rem;
        margin-top: 3rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section-title {
        font-size: 1rem;
    }
    
    .footer-contact-pill {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .footer-contact-pill span {
        font-size: 0.8rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-coral);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}