/* Base Font Variables */
:root {
    --font-primary: 'Neue Montreal', 'Montserrat', 'Inter', Arial, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', Times, serif;
    --font-system: -apple-system, system-ui, sans-serif;
}

/* Optimize Theme Variables */
:root[data-theme="digital-abyss"] {
    /* Core Colors */
    --bg-color: #0e0e0e;
    --text-color: #ffffff;
    --primary-color: #00f0c2;
    --secondary-color: #b0b0b0;
    --accent-color: #ecc94b;
    
    /* Derived Colors */
    --card-bg: #1a1a1a;
    --nav-bg: rgba(26, 32, 44, 0.5);
    --hover-bg: var(--card-bg);
    --border-color: #63b3ed;
    --input-bg: #181818;
    --input-border: #222;
    
    /* Text Colors */
    --big-intro: #cbd5e0;
    --heading-color: var(--big-intro);
    --subtitle-color: var(--secondary-color);
    --muted-text: #8892b0;
    --light-text: #fefee3;
    --date-color: #bfc9d1;
    --list-text: #aab8cf;
    --cursor-color: #c5d1e0;
    --error-color: #ff6b6b;
    
    /* Button Colors */
    --button-bg: #008c7a;
    --button-text: #0e0e0e;
    --button-hover: #024a70;
    --button-active: var(--button-hover);
    --button-hover-bg: #025a85;
    --button-hover-border: var(--button-hover-bg);
    --button-hover-text: #cbd5e0;
    
    /* Effects */
    --shadow: 0 6px 15px rgba(0,0,0,0.25);
    --plexus-particle: rgba(0, 240, 194, 0.18);
    --plexus-line: rgba(0, 240, 194, 0.13);
    --theme-toggle-icon: #fff;
    --theme-toggle-glow: rgba(0,240,194,0.45);
}

:root[data-theme="morning-fog"] {
    --bg-color: #efecea;
    --text-color: #79726e;
    --primary-color: #3a3c49;
    --secondary-color: #bdb5aa;
    --accent-color: #d43246;
    --card-bg: #fff;
    --border-color: #e2ded9;
    --nav-bg: #efecea;
    --big-intro: #16171a;
    --muted-text: #79726e;
    --light-text: #fff;
    --cursor-color: #3a3c49;
    --date-color: #bdb5aa;
    --list-text: #79726e;
    --error-color: #d43246;
    --button-text-color: #fff;
    --input-bg: #f6f5f4;
    --input-border: #bdb5aa;
    --hover-bg: #e2ded9;
    --button-active: #3a3c49;
    --button-hover-bg: #d43245c5;
    --button-hover-border: var(--button-hover-bg);
    --button-hover-text-color: var(--big-intro);
    --button-hover-text-color: var(--big-intro);
    --button-bg: #494b5c;
    --shadow: 0 6px 15px rgba(58,60,73,0.1);
    --plexus-particle-color: rgba(58, 60, 73, 0.18);
    --plexus-line-color: rgba(58, 60, 73, 0.13);
    --theme-toggle-icon-color: #79726e;
    --theme-toggle-glow: rgba(172, 162, 150, 0.35);
    --subtitle-color: #79726e;
    --heading-color: #3a3c49;
    --timeline-title-color: var(--big-intro);
    --timeline-desc-color: var(--subtitle-color);
    --emphasis-color: var(--primary-color);
    --about-desc-color: var(--subtitle-color);
}

:root[data-theme="sakura-garden"] {
    --bg-color: #ffdbda;
    --text-color: #604d53;
    --primary-color: #604d53;
    --secondary-color: #9da3a4;
    --accent-color: #db7f8e;
    --card-bg: #d5c5c8;
    --border-color: #9da3a4;
    --nav-bg: #ffdbda;
    --big-intro: #795b64;
    --muted-text: #9da3a4;
    --light-text: #fff;
    --cursor-color: #604d53;
    --date-color: #9da3a4;
    --list-text: #604d53;
    --error-color: #db7f8e;
    --button-text-color: #fff;
    --input-bg: #fbeaec;
    --input-border: #d5c5c8;
    --hover-bg: #fbeaec;
    --button-bg: #db7f8e;
    --button-active: #e0829d;
    --button-hover-bg: #104d404f;
    --button-hover-border: var(--button-hover-bg);
    --button-hover-text-color: var(--big-intro);
    --shadow: 0 6px 15px rgba(96,77,83,0.10);
    --plexus-particle-color: rgba(219, 127, 142, 0.18);
    --plexus-line-color: rgba(219, 127, 142, 0.13);
    --subtitle-color: #6d7272;
    --theme-toggle-icon-color: #604d53;
    --theme-toggle-glow: rgba(219,127,142,0.25);
    --timeline-title-color: var(--big-intro);
    --timeline-desc-color: var(--subtitle-color);
    --emphasis-color: var(--primary-color);
    --heading-color: #604d53;
    --about-desc-color: var(--subtitle-color);
}


:root[data-theme="green-wilder"] {
    /* === Background Colors === */
    --bg-color: #d2e1cc;                      /* Main background (leafy light) */
    --card-bg: #dde5db;                       /* Card and container backgrounds (muted green) */
    --nav-bg: rgba(210, 225, 204, 0.92);      /* Navigation bar background */
    --hover-bg: #b7cbb2;                      /* Hovered background for inputs/buttons */

    /* === Text Colors === */
    --text-color: #161d23;                    /* Main text (deep green) */
    --big-intro: #161d23;                     /* Large intro text */
    --heading-color: var(--big-intro);        /* Section headings */
    --subtitle-color: #114538;                /* Subtitles (rich green) */
    --muted-text: #20443c;                    /* Muted/secondary text (matches card) */
    --light-text: #d2e1cc;                    /* Light text (on dark bg) */
    --date-color: var(--muted-text);          /* Dates in timeline */
    --list-text: var(--text-color);           /* List items */
    --cursor-color: var(--primary-color);     /* Typing cursor */
    --error-color: #e57373;                   /* Error messages */

    /* === Button Colors === */
    --button-bg: #0f444c;                     /* Button background (deep teal) */
    --button-text-color: #d2e1cc;             /* Button text (light) */
    --button-hover-bg: #70655D;               /* Button hover background (darker green) */
    --button-hover-border: var(--button-hover-bg); /* Button hover border */
    --button-hover-text-color: var(--big-intro);       /* Button hover text */
    --button-active: #5e8d83;                 /* Button active/pressed (muted green) */

    /* === Border Colors === */
    --border-color: #114538;                  /* Card and section borders */
    --input-border: var(--secondary-color);   /* Input border */

    /* === Accent Colors === */
    --primary-color: #0f444c;                 /* Primary accent (buttons, highlights) */
    --secondary-color: #5e8d83;               /* Secondary accent */
    --accent-color: #0a755a;                  /* Accent (decorative, lines, etc.) */

    /* === Input Colors === */
    --input-bg: #e5e6e1;                      /* Input background */

    /* === Effects & Shadows === */
    --shadow: 0 6px 15px rgba(22, 29, 35, 0.13); /* Card shadow */
    --plexus-particle-color: rgba(15, 68, 76, 0.18); /* Plexus effect */
    --plexus-line-color: rgba(15, 68, 76, 0.13);     /* Plexus effect */
    --theme-toggle-icon-color: var(--text-color);       /* Theme toggle icon */
    --theme-toggle-glow: rgba(15, 68, 76, 0.22);     /* Theme toggle glow */

    /* === Timeline Colors === */
    --timeline-title-color: var(--big-intro);           /* Timeline title */
    --timeline-desc-color: var(--subtitle-color);       /* Timeline description */
    --about-desc-color: var(--subtitle-color);
}

:root[data-theme="piano-symphony"] {
    /* === Background Colors === */
    --bg-color: #242529;                       /* Dark charcoal (stronger contrast) */
    --card-bg: #353563;                        /* Deep indigo (less saturated) */
    --nav-bg: rgba(36, 37, 41, 0.85);           /* Semi-transparent dark for navbar */
    --hover-bg: #6b3b2d;                       /* Warm brick red (hover state) */

    /* === Text Colors === */
    --text-color: #e8e6e3;                     /* Soft off-white (better readability) */
    --big-intro: #f8d8b0;                      /* Warm ivory-peach for large headings */
    --heading-color: var(--big-intro);         /* Section headings */
    --subtitle-color: #d99a48;                 /* Muted orange-gold for subheadings */
    --muted-text: #89a8c1;                     /* Muted steel-blue for tertiary text */
    --light-text: #ffffff;                     /* Pure white for highlights */
    --date-color: var(--muted-text);           /* Dates in timeline */
    --list-text: var(--text-color);            /* List items */
    --cursor-color: var(--primary-color);      /* Blinking cursor */
    --error-color: #bf2e38;                    /* Deep crimson for errors */

    /* === Button Colors === */
    --button-bg: var(--primary-color);         /* Primary button background */
    --button-text-color: #242529;              /* Dark text on bright button */
    --button-hover-bg: #d88c3c;                /* Rich amber hover */
    --button-hover-border: var(--button-hover-bg);
    --button-hover-text-color: var(--light-text);
    --button-active: #00756a;                  /* Deep teal for active state */

    /* === Border Colors === */
    --border-color: #2979b5;                   /* Strong cerulean for borders */
    --input-border: var(--subtitle-color);     /* Orange-gold input border */

    /* === Accent Colors === */
    --primary-color: #f8d8b0;                  /* Ivory-peach accent */
    --secondary-color: #d88c3c;                /* Amber accent */
    --accent-color: #2979b5;                   /* Cerulean blue for highlights */

    /* === Input Colors === */
    --input-bg: #353563;                       /* Indigo input background */

    /* === Effects & Shadows === */
    --shadow: 0 6px 15px rgba(36, 37, 41, 0.25);
    --plexus-particle-color: rgba(88, 142, 188, 0.18); /* Softer sky blue */
    --plexus-line-color: rgba(88, 142, 188, 0.13);
    --theme-toggle-icon-color: var(--text-color);
    --theme-toggle-glow: rgba(248, 216, 176, 0.25);    /* Glow from ivory-peach */

    /* === Timeline Colors === */
    --timeline-title-color: var(--big-intro);
    --timeline-desc-color: var(--subtitle-color);
    --about-desc-color: var(--subtitle-color);
}


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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
    text-align: justify;
    font-weight: 400;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

html {
    min-height: 100%;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}

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

.logo {
    flex: 0 0 auto;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logo-text {
    color: var(--big-intro);
    font-family: 'Inter', 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-dot {
    color: var(--secondary-color);
    opacity: 0.7;
    font-size: 1.1em;
    margin: 0 0.6rem;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 1em;
}

.nav-links li:not(.nav-dot) {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease-out;
    padding: 0.5rem 0;
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.resume-btn {
    display: none;
}

/* Sections */
.section, .about-section, .contact-section {
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent !important;
}

#about {
    text-align: center;
}

.profile-image {
    margin: 0 auto;
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: float 6s ease-in-out infinite;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.3s;
}

.profile-image:hover::before {
    opacity: 0.4;
}

.profile-image .profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 auto;
    background: transparent;
    border: 3px solid transparent;
    background-clip: padding-box;
    background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    will-change: transform;
}

.profile-image:hover .profile-pic {
    transform: scale(1.04);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 500;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem 0 2rem 3rem;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--border-color) 10%, 
        var(--border-color) 90%, 
        transparent 100%);
}

.timeline-item {
    margin-bottom: 3.5rem;
    position: relative;
}

/* Timeline dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item:hover::before {
    background-color: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
}

/* Hide the date wrapper - dates will be inline */
.timeline-date-wrapper {
    display: none;
}

/* Year markers - subtle */
.timeline-year {
    position: relative;
    margin-bottom: 1.5rem;
    margin-left: -6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    opacity: 0.8;
    text-align: right;
    width: 4rem;
    padding-right: 1rem;
}

/* Subtle horizontal bar for years */
.timeline-year::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0.8rem;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.4;
}

.timeline-content {
    flex: 1;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-color) 100%);
    padding: 2rem;
    border-radius: 16px;
    color: var(--text-color);
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.timeline-item:nth-child(even) .timeline-content {
    transform: translateX(30px) scale(0.95);
}

.timeline-item.visible .timeline-content {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Gradient border effect */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: var(--timeline-title-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.timeline-item.visible .timeline-content h3 {
    opacity: 1;
    transform: translateY(0);
}

/* Animated accent bar */
.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.6s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.visible .timeline-content h3::after {
    width: 60px;
}

/* Date styling */
.timeline-content .date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--date-color);
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible .timeline-content .date {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content ul {
    margin-top: 0.5rem;
    position: relative;
}

.timeline-content ul li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.8rem;
    line-height: 1.7;
    position: relative;
    padding-left: 0;
}

/* Remove custom bullets to fix double bullet issue */
.timeline-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.timeline-content ul li {
    list-style-type: disc;
}

.timeline-content ul li::marker {
    color: var(--primary-color);
}

.timeline-item.visible .timeline-content ul li {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

.timeline-item.visible .timeline-content ul li:nth-child(1) { transition-delay: 0.4s; }
.timeline-item.visible .timeline-content ul li:nth-child(2) { transition-delay: 0.5s; }
.timeline-item.visible .timeline-content ul li:nth-child(3) { transition-delay: 0.6s; }
.timeline-item.visible .timeline-content ul li:nth-child(4) { transition-delay: 0.7s; }
.timeline-item.visible .timeline-content ul li:nth-child(5) { transition-delay: 0.8s; }

.intro-description,
.timeline-content ul,
.timeline-content li {
    color: var(--timeline-desc-color);
    margin-bottom: 0.5em;
    font-weight: 300;
    text-align: left;
}

.timeline-content b,
.timeline-content strong {
    font-weight: bold;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 2rem 0;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.2s ease-out, transform 0.2s ease-out;
}

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

.company.highlight {
    font-weight: bold;
    font-size: 1.15em;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease-out;
}

a:visited {
    color: var(--primary-color);
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.2s ease-out;
}

a:hover::after, a:focus::after {
    width: 100%;
}

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

.intro-section {
    position: relative;
    overflow: hidden;
}

#plexus-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: block;
}

.intro-container.left-intro {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

.intro-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 15rem;
    animation: fadeSlideUp 0.8s ease-out;
}

.big-intro {
    color: var(--big-intro);
    font-size: 4.5rem;
    font-weight: 500;
    font-family: 'Inter', 'Calibre', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    line-height: 1.1;
    text-align: left;
}

.intro-main {
    color: var(--subtitle-color);
    font-size: 2.2rem;
    font-weight: 400;
    margin-left: 2px;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    line-height: 1.15;
    white-space: nowrap;
    position: relative;
}

.intro-main::after {
    content: '|';
    color: var(--cursor-color);
    animation: blink-caret 1s step-end infinite;
    margin-left: 2px;
}

/* Keyframes for the blinking caret */
@keyframes blink-caret {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: none; }
}

/* Waving hand */
.wave {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 0.8em;
    transform-origin: 70% 70%;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.wave:hover {
    animation: wave-hand 0.7s infinite;
}

@keyframes wave-hand {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(10deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(5deg); }
}

.wave:hover {
    animation: wave-hand 1.5s ease-in-out;
}

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

.section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    width: 100%;
}

.section-heading h2 {
    color: var(--heading-color);
    font-size: 2.2rem !important;
    font-weight: 500;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    margin: 0;
    flex-shrink: 0;
    background: none;
    padding: 0;
    border-radius: 0;
    display: inline;
    align-items: center;
    height: 1.5em;
    line-height: 1.2;
}

.section-line {
    flex: 1;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.18;
    margin-left: 1.2rem;
    border-radius: 1px;
    align-self: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--button-bg);
    color: var(--button-text-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    z-index: 1;
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
    border: 1px solid transparent;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--button-hover-bg), var(--button-bg));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-btn:hover::before, .contact-btn:focus::before {
    opacity: 0.9;
}

/* Alternative subtle fade animation - uncomment to use instead of ripple effect
.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--button-hover-bg);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-btn:hover::before, .contact-btn:focus::before {
    opacity: 1;
    width: auto;
    height: auto;
}
*/

.contact-btn span {
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: color 0.3s ease;
}

.contact-btn::after {
    content: none;
}

.contact-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
    transform-origin: center;
}

.contact-btn:hover span {
    color: var(--button-hover-text-color);
}

.contact-btn:hover i, .contact-btn:focus i {
    color: var(--button-hover-text-color);
    transform: translateX(2px) rotate(-15deg);
}

.contact-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.20);
    background: var(--button-active);
}

.about-section {
    background: var(--bg-color);
    padding: 6rem 0 4rem 0;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text {
    flex: 2 1 350px;
    min-width: 300px;
    text-align: justify;
}

.about-text p {
    margin-bottom: 1.5em;
    color: var(--about-desc-color);
}

.about-image {
    flex: 1 1 220px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 3rem
}

.contact-section {
    background: var(--bg-color);
    padding: 6rem 0 4rem 0;
    text-align: center;
}

.contact-card {
    margin: 0 auto;
    max-width: 420px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 6px 24px 0 rgba(0,0,0,0.13);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-note {
    color: var(--subtitle-color);
    font-size: 1.08rem;
    margin-bottom: 2.2rem;
    font-style: italic;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: -0.1rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: var(--input-bg);
    color: var(--text-color);
    border: 1.5px solid var(--input-border);
    border-radius: 8px;
    font-family: 'Neue Montreal', 'Montserrat', 'Inter', Arial, sans-serif;
    font-size: 1.02rem;
    padding: 0.6rem 0.9rem 0.5rem 0.9rem;
    margin-bottom: 0.08rem;
    box-shadow: none;
    transition: border-color 0.2s ease-out, background 0.2s ease-out;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary-color);
    background: var(--hover-bg);
    outline: none;
}

.message-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--button-text-color);
    border: none;
    border-radius: 8px;
    font-family: 'Neue Montreal', 'Montserrat', 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
    padding: 1rem 2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn i {
    color: var(--button-text-color);
}

.submit-btn:hover {
    background: var(--button-hover-bg);
    box-shadow: 0 6px 18px 0 rgba(0,0,0,0.18);
    transform: scale(1.01);
}

.submit-btn:hover span, .submit-btn:hover i {
    color: var(--button-hover-text-color);
    transform: translateX(4px);
}

.fade-in-section {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

.company-link {
    color: var(--primary-color);
    font-weight: 250;
}

.contact-btn-icon {
    font-size: 0.9em;
}
.scroll-down-arrow {
    position: absolute;
    bottom: clamp(80px, 12vh, 160px);
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    color: var(--text-color);
    animation: bounceDown 2s ease-in-out infinite;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.3s, color 0.3s;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.scroll-down-arrow:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

@keyframes fadeInScrollText {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 0.85; transform: translateY(0); }
}

.section-divider {
    width: 100vw;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
    z-index: 2;
    background: transparent;
}

.section-divider svg {
    display: block;
    width: 100vw;
    height: 80px;
    color: var(--primary-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.89rem;
    margin-top: 0.08rem;
    margin-bottom: 0.08rem;
    min-height: 1em;
    text-align: left;
    padding-left: 0.2rem;
    letter-spacing: 0.01em;
    font-weight: 400;
    opacity: 0.92;
    line-height: 1.2;
    transition: opacity 0.2s;
}

input, textarea {
    background: var(--card-bg);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-family: 'Neue Montreal', 'Montserrat', 'Inter', Arial, sans-serif;
    font-size: 1.02rem;
    padding: 0.6rem 0.9rem 0.5rem 0.9rem;
}

input::placeholder, textarea::placeholder {
    color: var(--secondary-color);
    opacity: 1;
}

::-webkit-scrollbar {
    width: 8px;
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--card-bg);
    border-radius: 8px;
}

.theme-toggle-btn {
    margin-left: 1.5rem;
    position: relative;
}

.theme-toggle-icon {
    background: none;
    border: none;
    color: var(--theme-toggle-icon);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: transform 0.2s ease-out, color 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
    outline: none;
    position: relative;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.theme-toggle-icon:hover {
    background: var(--theme-toggle-glow);
    box-shadow: 0 0 0 3px var(--theme-toggle-glow), 0 0 8px 2px var(--theme-toggle-glow);
    color: var(--theme-toggle-icon);
}

.theme-toggle-icon:focus {
    outline: none;
    box-shadow: none;
    background: none;
}

.theme-toggle-icon:focus-visible {
    outline: 2px solid var(--theme-toggle-glow);
    outline-offset: 2px;
}

.theme-toggle-icon.spinning {
    animation: spin-palette 0.6s cubic-bezier(0.4,0,0.2,1);
}

@keyframes spin-palette {
    0% { transform: rotate(0deg); }
    80% { transform: rotate(340deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Tooltip for theme name */
.theme-toggle-btn[title] {
    position: relative;
}
.theme-toggle-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    top: 120%;
    transform: translateX(-50%);
    background: var(--bg-color);
    color: var(--primary-color);
    padding: 0.35em 0.8em;
    border-radius: 6px;
    font-size: 0.95rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 1;
    z-index: 10;
    box-shadow: 0 2px 8px var(--shadow);
}
.theme-toggle-btn[title]::after {
    opacity: 0;
    transition: opacity 0.2s;
}

body {
    font-family: var(--font-primary);
    font-family: 'Inter', 'Montserrat', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-weight: 500;
}

/* Contact Form Button Specific Styles */
.contact-form .submit-btn {
    background: var(--primary-color);
    color: var(--button-text-color);
    border: none;
    border-radius: 8px;
    font-family: 'Neue Montreal', 'Montserrat', 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
    padding: 1rem 2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .submit-btn:hover {
    background: var(--button-hover-bg);
    color: var(--button-text-color);
    box-shadow: 0 6px 18px 0 rgba(0,0,0,0.18);
    transform: scale(1.01);
}

/* Reset general button styles */
button {
    background: none;
    border: none;
    padding: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
}

.contact-btn:hover, .contact-btn:focus {
    color: var(--button-hover-text-color);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.25);
    transform: translateY(-2px);
    border-color: rgba(108, 92, 231, 0.3);
}

.about-paragraph {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
    margin-bottom: 2.2rem;
}
.about-paragraph.visible {
    opacity: 1;
    transform: none;
}
.about-text .about-paragraph-title {
    display: flex;
    align-items: center;
    font-size: 1.32rem;
    font-weight: 350;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
    letter-spacing: 0.04em;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    text-transform: capitalize;
    position: relative;
    gap: 0.7rem;
}
.about-paragraph-title::before {
    content: '';
    display: inline-block;
    width: 1.2px;
    height: 1.3em;
    background: var(--accent-color);
    border-radius: 2px;
    margin-right: 0.5rem;
    opacity: 0.85;
    flex-shrink: 0;
}

.intro-flex .contact-btn {
    opacity: 0;
    transform: translateY(32px);
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.intro-flex .contact-btn.visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.nav-links li:not(:last-child)::after { content: none; }

/* Footer nav styles */
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s ease-out;
    margin: 0 0.1rem;
}
.footer-nav a:hover {
    color: var(--primary-color);
}
.footer-divider {
    color: var(--secondary-color);
    opacity: 0.7;
    margin: 0 0.5rem;
    font-size: 1.2em;
    user-select: none;
}

/* Header hide/show transition */
.hide-header {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.company-link,
.timeline-content b,
.timeline-content strong {
    color: var(--emphasis-color);
}

@keyframes fly-off {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  60% {
    transform: translateX(60px) rotate(-10deg);
    opacity: 1;
  }
  100% {
    transform: translateX(180px) rotate(-30deg);
    opacity: 0;
  }
}

.submit-btn .fa-paper-plane.fly-off {
  animation: fly-off 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}

/* Project Section Modern Card Styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin-top: 2.5rem;
}

.project-block {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-color) 100%);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  will-change: opacity, transform;
  min-width: 0;
  max-width: 100%;
  position: relative;
  min-height: 440px;
  backface-visibility: hidden;
}

.project-block.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Gradient border effect on hover */
.project-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-color), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.project-block:hover::before {
  opacity: 1;
}

.project-block:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--primary-color);
}
.project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-color);
  border-bottom: 1.5px solid var(--border-color);
}
.project-content {
  padding: 1.5rem 1.5rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1 1 auto;
  position: relative;
  min-height: 270px;
  padding-bottom: 4.2rem;
  z-index: 1;
}
.project-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--timeline-title-color);
  margin-bottom: 0.2rem;
}
.project-why {
  color: var(--timeline-desc-color);
  font-size: 1.01rem;
  margin-bottom: 0.2rem;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0.5rem 0 0.2rem 0;
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 500;
  letter-spacing: 0.01em;
  justify-content: flex-start;
  order: 10;
}
.project-tech .tech-item {
  background: none;
  color: var(--text-color);
  padding: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  box-shadow: none;
  margin: 0;
  white-space: nowrap;
}
.project-links {
  display: flex;
  gap: 1.1rem;
  margin-top: 0.3rem;
  position: absolute;
  left: 1.5rem;
  bottom: 1.2rem;
  order: 20;
}
.project-links a {
  color: var(--primary-color);
  font-size: 1.35rem;
  transition: transform 0.2s ease-out, color 0.2s ease-out;
}
.project-links a:hover {
  color: var(--accent-color);
  transform: scale(1.18) translateY(-2px);
}

/* Animation for fade-in-project */
.fade-in-project {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1), transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}
.fade-in-project.visible {
  opacity: 1;
  transform: none;
}

.project-content, .project-title, .project-why, .project-tech {
  text-align: left;
}

.project-content b, .project-content strong {
  color: var(--emphasis-color);
  font-weight: bold;
}

/* Archive Table Styles */
.archive-section {
  background: var(--bg-color);
  min-height: 100vh;
  padding: 6rem 0 4rem 0;
}
.archive-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--big-intro);
  margin-bottom: 0.5rem;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.archive-subtitle {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.archive-table-wrapper {
  overflow-x: auto;
  background: none;
  border-radius: 12px;
  box-shadow: none;
}
.archive-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.archive-table th, .archive-table td {
  padding: 1.1rem 1.2rem;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  word-break: break-word;
}
.archive-table th {
  font-weight: 600;
}
.archive-table td {
  font-weight: 400;
}
.archive-table tr:last-child td {
  border-bottom: none;
}
.archive-table strong {
  color: var(--timeline-title-color);
  font-weight: 600;
}
.archive-table a {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-right: 0.7rem;
  transition: color 0.2s ease-out, transform 0.2s ease-out;
}
.archive-table a:hover {
  color: var(--accent-color);
  transform: scale(1.15) translateY(-2px);
}

/* --- Other Projects CTA (distinct from links) --- */
.other-projects-cta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  outline: none;
  user-select: none;
  width: fit-content;
  color: var(--primary-color);
  background: none;
  border: none;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}
.cta-text {
  position: relative;
  z-index: 2;
  color: var(--primary-color);
  transition: color 0.2s;
}
.cta-arrow {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.28s cubic-bezier(0.4,0,0.2,1), transform 0.28s cubic-bezier(0.4,0,0.2,1);
  color: var(--primary-color);
}
.other-projects-cta:hover .cta-text,
.other-projects-cta:focus .cta-text {
  color: var(--accent-color);
}
.other-projects-cta:hover .cta-arrow,
.other-projects-cta:focus .cta-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-color);
}
.other-projects-cta:active .cta-text {
  color: var(--primary-color);
}

.archive-table th, .archive-table td {
  vertical-align: middle;
}

.archive-project-link {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease-out, border-bottom 0.18s ease-out;
}
.archive-project-link:hover, .archive-project-link:focus {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  text-decoration: none;
}
.archive-project-link strong {
  font-weight: 500;
  color: inherit;
}

.return-btn {
  position: fixed;
  top: 2.2rem;
  left: 2.2rem;
  z-index: 100;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--primary-color);
  transition: transform 0.18s ease-out, color 0.18s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}
.return-btn svg {
  display: block;
  width: 2.2rem;
  height: 2.2rem;
}
.return-btn:hover, .return-btn:focus {
  color: var(--accent-color);
  transform: scale(1.08);
}

/* Media Queries */
@media (max-width: 900px) {
    /* Navigation */
    .resume-btn {
        margin: 1rem 0 0 0;
        width: 100%;
        text-align: center;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Archive */
    .archive-title { 
        font-size: 2.1rem; 
    }
    .archive-table th, 
    .archive-table td { 
        padding: 0.7rem 0.5rem; 
        font-size: 0.98rem; 
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }

    /* Layout */
    .section {
        padding: 4rem 0;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    /* Contact */
    .contact-card {
        padding: 1.5rem;
    }

    /* Projects */
    .project-image { 
        height: 150px; 
    }
    .project-content { 
        padding: 1.1rem 0.7rem 3.2rem 0.7rem; 
    }
    .project-title { 
        font-size: 1.13rem; 
    }
    .project-links { 
        left: 0.7rem; 
        bottom: 1.1rem; 
    }
    .project-content { 
        min-height: 180px; 
        padding-bottom: 3.2rem; 
    }

    /* Archive */
    .archive-section { 
        padding: 3rem 0 2rem 0; 
    }
    .archive-title { 
        font-size: 1.5rem; 
    }
    .archive-table th, 
    .archive-table td { 
        padding: 0.5rem 0.2rem; 
        font-size: 0.89rem; 
    }

    /* Return Button */
    .return-btn {
        padding: 0.5rem 1rem;
    }
    .return-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Image Loading Optimizations */
img {
    content-visibility: auto;
    contain: size layout paint;
}

.profile-pic {
    content-visibility: auto;
    contain: size layout paint;
    will-change: transform;
}

.project-image {
    content-visibility: auto;
    contain: size layout paint;
    will-change: transform;
    background: var(--card-bg);
    transition: opacity 0.3s ease-out;
}

.project-image[loading="lazy"] {
    opacity: 0;
}

.project-image.loaded {
    opacity: 1;
}

/* Add loading animation for images */
@keyframes imageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-loading {
    animation: imageLoad 0.3s ease-out;
}

/* SPA Page Content Containers */
.page-content {
    width: 100%;
    transition: opacity 0.3s ease-out;
}

.page-content[style*="display: none"] {
    opacity: 0;
}

.page-content[style*="display: block"] {
    opacity: 1;
}