/* Design Tokens & CSS Variables */
:root {
    --bg-base: #0a0b10;
    --bg-surface: rgba(20, 22, 33, 0.65);
    --bg-surface-hover: rgba(28, 31, 46, 0.85);
    --bg-input: rgba(10, 11, 16, 0.6);
    
    --accent-primary: #9d4edd;
    --accent-secondary: #00f5d4;
    --accent-gradient: linear-gradient(135deg, #9d4edd, #00f5d4);
    
    --text-primary: #f3f4f6;
    --text-secondary: #b3b9c9;
    --text-muted: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(157, 78, 221, 0.4);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & structural styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Ambient Glows */
.bg-glow {
    position: fixed;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    z-index: -10;
    pointer-events: none;
    transition: all 1s ease;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    background-color: var(--accent-primary);
}

.bg-glow-2 {
    bottom: -10%;
    right: -10%;
    background-color: var(--accent-secondary);
}

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

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    filter: brightness(1.2);
}

button, input, textarea, select {
    font-family: inherit;
    color: inherit;
}

/* Utilities */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    color: var(--accent-secondary);
}

/* Glassmorphism containers */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Header & Navigation Styles */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 11, 16, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: 72px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-secondary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.25);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.mobile-nav-toggle.open .hamburger {
    background: transparent;
}

.mobile-nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Main Content Wrapper */
.app-main {
    flex: 1;
    margin-top: 72px;
    padding: 40px 24px 80px 24px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* View Sections (Single Page Application Router style) */
.view-section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO SECTION (Dashboard Home) */
.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 60px auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* SERVICES GRID (Dashboard cards) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.service-card.coming-soon {
    opacity: 0.65;
}

.service-card.coming-soon:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* Hover glowing background card effect */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0) var(--y, 0), rgba(255,255,255,0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

/* Service Colors */
.plex-color { color: #e5a00d; background: rgba(229, 160, 13, 0.12); }
.jellyfin-color { color: #8e44ad; background: rgba(142, 68, 173, 0.12); }
.nextcloud-color { color: #0082c9; background: rgba(0, 130, 201, 0.12); }
.ombi-color { color: #3498db; background: rgba(52, 152, 219, 0.12); }
.ai-color { color: #2ecc71; background: rgba(46, 204, 113, 0.12); }
.tautulli-color { color: #e74c3c; background: rgba(231, 76, 60, 0.12); }
.arcade-color { color: #f1c40f; background: rgba(241, 196, 15, 0.12); }
.image-color { color: #e67e22; background: rgba(230, 126, 34, 0.12); }

/* Status Badges */
.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-badge.online {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.12);
}

.status-badge.offline {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.12);
}

.status-badge.pending {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.12);
}

.pulse {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.service-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
    z-index: 2;
    font-weight: 700;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
    z-index: 2;
}

.service-btn {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    border: none;
    background: none;
    cursor: pointer;
}

.service-btn:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* GLASS BUTTON SYSTEM */
.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: var(--transition-fast);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.glass-btn.primary {
    background: var(--accent-gradient);
    border: none;
    color: #000;
    box-shadow: 0 4px 14px rgba(0, 245, 212, 0.25);
}

.glass-btn.primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(0, 245, 212, 0.4);
}

.glass-btn.danger {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.glass-btn.danger:hover {
    background: rgba(231, 76, 60, 0.25);
}

.glass-btn.large {
    padding: 14px 28px;
    font-size: 1rem;
}

.glass-btn.full-width {
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Action Bars for views */
.section-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.actions-group {
    display: flex;
    gap: 12px;
}

.hidden {
    display: none !important;
}

/* INTERACTIVE RESUME STYLES */
.resume-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background: var(--bg-surface);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Sidebar Columns */
.resume-sidebar {
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.resume-profile {
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.resume-avatar {
    width: 90px;
    height: 90px;
    background: var(--accent-gradient);
    border-radius: 50%;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}

.resume-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.resume-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.resume-contact-info,
.resume-skills,
.resume-homelab {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
}

.resume-homelab {
    border-bottom: none;
}

.resume-contact-info h3,
.resume-skills h3,
.resume-homelab h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--accent-secondary);
}

.resume-contact-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.resume-contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.info-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Skill tags & ranges */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skill-row {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.skill-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
}

/* Homelab Specs */
.specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.85rem;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.specs-list span.spec-val {
    color: var(--text-primary);
    font-weight: 500;
}

/* Resume right details panel */
.resume-details {
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.details-sec h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
    position: relative;
}

.details-sec h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-secondary);
}

.summary-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: justify;
}

/* Timeline Layout for Experience */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    padding-left: 20px;
}

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

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 2px solid var(--bg-base);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.job-role {
    font-size: 1.05rem;
    font-weight: 700;
}

.job-company {
    color: var(--accent-secondary);
    font-weight: 500;
    margin-left: 8px;
}

.job-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.job-details {
    list-style-position: inside;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 4px;
}

/* Projects & Education */
.projects-list,
.education-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.project-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.edu-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.edu-degree {
    font-weight: 600;
    font-size: 0.95rem;
}

.edu-school {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.edu-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Resume Editable Mode Styling */
.editable-input,
.editable-textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-family: inherit;
    color: var(--text-primary);
    margin: 4px 0 10px 0;
    transition: var(--transition-fast);
}

.editable-input:focus,
.editable-textarea:focus {
    border-color: var(--accent-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 245, 212, 0.15);
}

/* EXCUSE GENERATOR CONSOLE */
.excuse-container {
    max-width: 700px;
    margin: 40px auto 0 auto;
}

.excuse-card {
    background: var(--bg-surface);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.excuse-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid rgba(157, 78, 221, 0.3);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.excuse-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
    background: var(--accent-secondary);
    color: #000;
    border-color: transparent;
    font-weight: 600;
}

/* Excuse display output area */
.excuse-display-box {
    background: rgba(10, 11, 16, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    line-height: 1;
    pointer-events: none;
}

.quote-mark.open {
    top: 10px;
    left: 20px;
}

.quote-mark.close {
    bottom: -15px;
    right: 20px;
}

#excuseOutput {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.excuse-category-tag {
    position: absolute;
    bottom: 12px;
    left: 16px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.excuse-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

/* Excuse GIF Container styling */
.excuse-gif-container {
    width: 100%;
    max-width: 420px;
    height: 240px;
    margin: 0 auto 32px auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background: rgba(10, 11, 16, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.excuse-gif-container.hidden {
    display: none !important;
}

.excuse-gif-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.excuse-gif-container img.loaded {
    opacity: 1;
}

.gif-loader {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--accent-secondary);
    border-radius: 50%;
    animation: gifSpin 1s linear infinite;
    z-index: 1;
}

@keyframes gifSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Excuse adder */
.custom-excuse-adder {
    border-top: 1px solid var(--border-color);
    padding-top: 28px;
    text-align: left;
}

.custom-excuse-adder h4 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.custom-input-group {
    display: grid;
    grid-template-columns: 1fr 140px 80px;
    gap: 10px;
}

.custom-input-group input {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    width: 100%;
}

.custom-input-group select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    cursor: pointer;
}

.custom-input-group input:focus,
.custom-input-group select:focus {
    border-color: var(--accent-primary);
    outline: none;
}

/* Pulse animation for CTA generator button */
.animate-pulse {
    animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {
    0% { box-shadow: 0 4px 14px rgba(0, 245, 212, 0.25); }
    50% { box-shadow: 0 4px 20px rgba(0, 245, 212, 0.5); }
    100% { box-shadow: 0 4px 14px rgba(0, 245, 212, 0.25); }
}

/* CONTACT ME PAGE */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-card {
    background: var(--bg-surface);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-card h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 36px;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.icon-wrap svg {
    width: 20px;
    height: 20px;
}

.contact-details-list h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.contact-details-list a,
.contact-details-list p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Social Icon Row */
.social-channels h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-icon-btn svg {
    width: 20px;
    height: 20px;
}

.social-icon-btn:hover {
    color: var(--text-primary);
    background: rgba(157, 78, 221, 0.15);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

/* Contact Form Side */
.contact-form-card {
    background: var(--bg-surface);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 245, 212, 0.15);
}

/* FOOTER STYLES */
.app-footer {
    border-top: 1px solid var(--border-color);
    background: rgba(10, 11, 16, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 24px;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-meta {
    font-weight: 500;
}

/* TOAST NOTIFICATIONS */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(20, 22, 33, 0.9);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--accent-primary);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    min-width: 250px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast.success {
    border-left-color: var(--accent-secondary);
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    margin-left: 12px;
}

.toast-close:hover {
    color: var(--text-primary);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .resume-wrapper {
        grid-template-columns: 1fr;
        padding: 36px;
    }
    
    .resume-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 36px;
    }
    
    .resume-details {
        padding-left: 0;
        padding-top: 36px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(10, 11, 16, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 95;
    }
    
    .main-nav.open {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .nav-link {
        font-size: 1.15rem;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .custom-input-group {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        gap: 6px;
    }
    
    .tab-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* PRINT MEDIA STYLES (Special Print-Friendly Styling for the Resume) */
@media print {
    /* Hide everything that is NOT the resume container */
    body * {
        visibility: hidden;
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .app-main,
    #resume-view,
    #resumeContainer,
    #resumeContainer * {
        visibility: visible;
    }
    
    /* Position the resume perfectly on the print page */
    .app-main {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    #resume-view {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    #resumeContainer {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        grid-template-columns: 240px 1fr !important;
        gap: 30px !important;
        color: #000 !important;
        width: 100% !important;
    }
    
    /* Hide resume header actions and buttons */
    .section-actions-bar,
    .custom-excuse-adder,
    .bg-glow,
    .app-header,
    .app-footer,
    .toast-container {
        display: none !important;
    }
    
    /* Print Text color adjustments */
    h1, h2, h3, h4, p, span, li, td {
        color: #000 !important;
    }
    
    .resume-sidebar {
        border-right: 1px solid #ddd !important;
        padding-right: 20px !important;
    }
    
    .resume-avatar {
        background: #eee !important;
        border: 1px solid #ccc !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    
    .skill-bar-bg {
        border: 1px solid #ccc !important;
    }
    
    .skill-bar-fill {
        background: #444 !important;
    }
    
    .timeline-dot {
        background: #333 !important;
        border: 2px solid #fff !important;
    }
    
    .experience-timeline::before {
        background: #ddd !important;
    }
    
    .job-company {
        color: #333 !important;
        font-weight: bold !important;
    }
    
    .resume-contact-info h3,
    .resume-skills h3,
    .resume-homelab h3,
    .details-sec h3 {
        color: #111 !important;
        border-bottom-color: #333 !important;
    }
    
    .details-sec h3::after {
        background: #333 !important;
    }
}
