/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern CSS Reset */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --toggle-bg: #e5e7eb;
    --toggle-icon: #4b5563;
    --transition: all 0.3s ease;
}

/* Font Face */
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-Regular.woff2') format('woff2'),
         url('../fonts/IBMPlexMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Dark theme - Only page background changes */
[data-theme="dark"] {
    --bg-color: #1a1a1a;  /* Darker background */
}

/* Base font for most elements */
* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Apply IBM Plex Mono to selected elements */
.job-card,
.job-card .job-header h3,
.job-card .job-company,
.job-card .job-duration,
.job-card .job-description,
.job-card .description-text,
.job-card .tech-tag {
    font-family: 'IBM Plex Mono', monospace;
}

header h1 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0.5rem 0 0.25rem;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: #4b5563;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

[data-theme="dark"] .tagline {
    color: #9ca3af;
}

.intro p {
    font-family: 'IBM Plex Mono', monospace;
}

body {
    line-height: 1.6;
    color: #1f2937;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    z-index: -1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] body::before {
    opacity: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: moveGrid 20s linear infinite;
}

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

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

/* Procedural Backgrounds */
.profile-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(1px) brightness(0.9);
    z-index: 1;
    transition: all 0.5s ease;
}

/* Circuit Board Pattern */
.bg-circuit {
    background-color: #0f172a;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px, 40px 40px, 40px 40px;
}

/* Grid Pattern */
.bg-grid {
    background-color: #1e293b;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Particle Effect */
.bg-particles {
    background-color: #1e1b4b;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(56, 189, 248, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 50% 10%, rgba(124, 58, 237, 0.3) 0%, transparent 20%);
}

/* Wave Pattern */
.bg-waves {
    background-color: #0c4a6e;
    background-image: 
        radial-gradient(circle at 10% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 30%, rgba(56, 189, 248, 0.3) 0%, transparent 25%),
        radial-gradient(ellipse at 50% 80%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
}

/* Binary Code Effect */
.bg-binary {
    background-color: #0f172a;
    background-image: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(99, 102, 241, 0.05) 50%, 
            transparent 100%
        ),
        linear-gradient(
            rgba(0, 0, 0, 0.8) 0%, 
            transparent 100%
        ),
        repeating-linear-gradient(
            0deg,
            rgba(99, 102, 241, 0.1) 0px,
            rgba(99, 102, 241, 0.1) 1px,
            transparent 1px,
            transparent 20px
        );
}

[data-theme="dark"] .bg-circuit,
[data-theme="dark"] .bg-grid,
[data-theme="dark"] .bg-particles,
[data-theme="dark"] .bg-waves,
[data-theme="dark"] .bg-binary {
    filter: blur(1px) brightness(0.8);
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--text-color);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradientFlow 12s ease infinite, colorShift 6s ease infinite alternate;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

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

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

[data-theme="dark"] header h1 {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--toggle-bg);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--toggle-icon);
}

.theme-toggle:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

/* Tech tag styles */
.tech-tag {
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1f2937;
}

[data-theme="dark"] .tech-tag {
    background-color: rgba(255, 255, 255, 0.15);
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.link-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

[data-theme="dark"] .link-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .link-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .link-card,
[data-theme="dark"] .link-card i,
[data-theme="dark"] .link-card span {
    color: #f3f4f6;
}

[data-theme="dark"] .link-card:hover {
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Introduction Section */
.intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.7;
    color: #4b5563;
}

[data-theme="dark"] .intro {
    color: #e5e7eb;
    opacity: 0.9;
}

/* Tech Stack Section */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* Tech tag base styles */
.tech-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    margin: 2px;
    backdrop-filter: blur(5px);
}

.tech-tag.frontend { 
    background-color: #e0f2f1;  /* Light teal */
    color: #00695c;
    border-left: 3px solid #4db6ac;
}

.tech-tag.backend { 
    background-color: #e8f5e9;  /* Light green */
    color: #2e7d32;
    border-left: 3px solid #66bb6a;
}

.tech-tag.databases { 
    background-color: #e3f2fd;  /* Light blue */
    color: #1565c0;
    border-left: 3px solid #64b5f6;
}

.tech-tag.devops { 
    background-color: #fff3e0;  /* Light orange */
    color: #e65100;
    border-left: 3px solid #ff9800;
}

.tech-tag.tools { 
    background-color: #f3e5f5;  /* Light purple */
    color: #7b1fa2;
    border-left: 3px solid #ab47bc;
}

/* Hover effects */
.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    filter: brightness(0.95);
    background: var(--primary-color);
    color: white;
    border-color: transparent;
}

/* Dark mode adjustments */
[data-theme="dark"] .tech-tag {
    background: rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .tech-tag.frontend {
    background-color: rgba(0, 150, 136, 0.2);
    border-left: 3px solid #4db6ac;
}

[data-theme="dark"] .tech-tag.backend {
    background-color: rgba(67, 160, 71, 0.2);
    border-left: 3px solid #66bb6a;
}

[data-theme="dark"] .tech-tag.databases {
    background-color: rgba(30, 136, 229, 0.2);
    border-left: 3px solid #64b5f6;
}

[data-theme="dark"] .tech-tag.tools {
    background-color: rgba(142, 36, 170, 0.2);
    border-left: 3px solid #ab47bc;
}

[data-theme="dark"] .tech-tag.devops {
    background-color: rgba(245, 124, 0, 0.2);
    border-left: 3px solid #ff9800;
}

[data-theme="dark"] .tech-tag:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.profile-pic {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e5e7eb;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: #f0f0f0;
}

.profile-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.9);
    z-index: 1;
    transition: all 0.5s ease;
}

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

.profile-pic:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.profile-pic img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 2;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
}

[data-theme="dark"] .profile-pic {
    border-color: #6b7280;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

[data-theme="dark"] .profile-pic:hover {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.initials {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #2193b0, #6dd5ed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 2rem;
    font-weight: 400;
}

[data-theme="dark"] .tagline {
    color: #e5e7eb;
    opacity: 0.9;
}

/* Links Section */
.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 70px;
    min-width: 100px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 0.25rem;
}

.link-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Default blue for links without specific colors */
.link-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3b82f6, #60a5fa, #93c5fd, #60a5fa, #3b82f6);
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: 0.3s;
    animation: gradientBG 3s ease infinite;
}

/* LinkedIn - Pastel Blue */
.link-card[href*="linkedin"]::before {
    background: linear-gradient(45deg, #a7c7e7, #bfd8f0, #d7e9fa, #bfd8f0, #a7c7e7);
}

/* GitHub - Pastel Gray (stays black and white) */
.link-card[href*="github"] i {
    filter: grayscale(100%) brightness(0%) !important;
    opacity: 0.8 !important;
}

.link-card[href*="github"]::before {
    background: linear-gradient(45deg, #d1d5db, #e5e7eb, #f3f4f6, #e5e7eb, #d1d5db);
}

/* Blathers - Pastel Green */
.link-card[href*="blathers"]::before {
    background: linear-gradient(45deg, #a7f3d0, #bbf7d0, #d1fae5, #bbf7d0, #a7f3d0);
}

/* Email - Pastel Red */
.link-card[href^="mailto:"]::before {
    background: linear-gradient(45deg, #fecaca, #fca5a5, #fecaca, #fca5a5, #fecaca);
}

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

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.link-card[href*="linkedin"]:hover {
    border-color: #a7c7e7;
    box-shadow: 0 0 15px rgba(167, 199, 231, 0.4);
}

.link-card[href*="github"]:hover {
    border-color: #d1d5db;
    box-shadow: 0 0 15px rgba(209, 213, 219, 0.4);
}

.link-card[href*="blathers"]:hover {
    border-color: #a7f3d0;
    box-shadow: 0 0 15px rgba(167, 243, 208, 0.4);
}

.link-card[href^="mailto:"]:hover {
    border-color: #fecaca;
    box-shadow: 0 0 15px rgba(254, 202, 202, 0.4);
}

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

.link-card i, .link-icon {
    width: 2.1rem;  /* 20% larger than 1.75rem */
    height: 2.1rem;  /* 20% larger than 1.75rem */
    margin: 0 0 0.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make GitHub icon black and white */
.link-card[href*="github"] i {
    filter: grayscale(100%) brightness(0%);
    opacity: 0.8;
}

.link-card[href*="github"]:hover i {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

/* Make email icon red */
.link-card[href^="mailto:"] i {
    color: #dc2626;
}

.link-card[href^="mailto:"]:hover i {
    color: #b91c1c;
}

.link-card i {
    font-size: 1.8rem;  /* 20% larger than 1.5rem */
}

.link-icon {
    fill: var(--primary-color);
}

.link-card span {
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    line-height: 1.2;
}

/* Job References Section */
.job-references {
    margin: 3rem 0;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.job-references h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: -0.01em;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

[data-theme="dark"] .job-references h2 {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.job-references h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
    border-radius: 3px;
}

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

.job-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    line-height: 1.6;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.job-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.job-header h3 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.job-company {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.job-duration {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 400;
}

[data-theme="dark"] .job-company {
    color: #60a5fa;
}


.job-description {
    color: #4b5563;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Dark theme for job cards */
[data-theme="dark"] .job-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .job-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .job-header h3 {
    color: #ffffff;
}

[data-theme="dark"] .job-company {
    color: #60a5fa;
}

[data-theme="dark"] .job-description {
    color: #d1d5db;
    opacity: 0.9;
}

[data-theme="dark"] .job-duration {
    color: #9ca3af;
}

[data-theme="dark"] .job-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Blathers Card Styles */
.blathers-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5dc 0%, #e8f4f8 100%);
    border: 2px solid #8bc34a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blathers-card .job-header h3 {
    color: #4a6741;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blathers-card .job-header h3 i {
    color: #8bc34a;
}

.blathers-card .job-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 4px;
}

.blathers-card .job-company {
    color: #1e88e5; /* Blue from Animal Crossing palette */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blathers-card .job-company:visited {
    color: #8e24aa; /* Purple for visited links */
}

.blathers-card .job-company:hover {
    text-decoration: underline;
    color: #1565c0; /* Darker blue on hover */
}

/* Dark mode styles */
[data-theme="dark"] .blathers-card .job-company {
    color: #64b5f6; /* Lighter blue for dark mode */
}

[data-theme="dark"] .blathers-card .job-company:visited {
    color: #ba68c8; /* Lighter purple for dark mode */
}

[data-theme="dark"] .blathers-card .job-company:hover {
    color: #42a5f5; /* Brighter blue on hover in dark mode */
}

.blathers-card .job-duration {
    background: #8bc34a;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85em;
}

.blathers-card .paw-decoration {
    position: absolute;
    top: 20px; /* Increased from 10px */
    right: 10px;
    opacity: 0.1;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.blathers-card .paw-decoration {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blathers-card .leaf-decoration {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(139, 195, 74, 0.8));
}

[data-theme="dark"] .blathers-card .leaf-decoration {
    opacity: 0.7; /* Maintain 70% opacity in dark mode */
}

[data-theme="dark"] .blathers-card .paw-decoration {
    opacity: 0.25;
}

[data-theme="dark"] .blathers-card .paw-decoration i {
    text-shadow: 0 0 8px rgba(139, 195, 74, 0.4);
}

.blathers-card .job-description {
    position: relative;
    z-index: 2;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 15px 0;
}

.blathers-card .description-text {
    display: inline-block;
    background: rgba(255,255,255,0.7);
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid #8bc34a;
}

.blathers-card .job-skills {
    position: relative;
    z-index: 2;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Blathers card specific tech tags - now using the same as global */

.blathers-card .tech-tag.databases {
    background-color: #e3f2fd;  /* Light blue */
    color: #1565c0;
    border-left: 3px solid #64b5f6;
}

.blathers-card .tech-tag.tools {
    background-color: #f3e5f5;  /* Light purple */
    color: #7b1fa2;
    border-left: 3px solid #ab47bc;
}

/* Dark mode styles */
[data-theme="dark"] .blathers-card {
    background: linear-gradient(135deg, #2a2a1e 0%, #1e2a2f 100%);
    border-color: #5a8f5a;
}

[data-theme="dark"] .blathers-card .job-header h3 {
    color: #b8d8b8;
}

[data-theme="dark"] .blathers-card .job-header h3 i {
    color: #5a8f5a;
}

[data-theme="dark"] .blathers-card .job-company {
    color: #a0c0a0;
}

[data-theme="dark"] .blathers-card .job-duration {
    background: #5a8f5a;
    color: white;
}

[data-theme="dark"] .blathers-card .description-text {
    background: rgba(0, 0, 0, 0.2);
    color: #e0e0e0;
    border-left-color: #5a8f5a;
}

[data-theme="dark"] .blathers-card .tech-tag {
    background: rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .blathers-card .tech-tag.frontend {
    background-color: rgba(0, 150, 136, 0.2);
    border-left: 3px solid #4db6ac;
}

[data-theme="dark"] .blathers-card .tech-tag.backend {
    background-color: rgba(67, 160, 71, 0.2);
    border-left: 3px solid #66bb6a;
}

[data-theme="dark"] .blathers-card .tech-tag.databases {
    background-color: rgba(30, 136, 229, 0.2);
    border-left: 3px solid #64b5f6;
}

[data-theme="dark"] .blathers-card .tech-tag.tools {
    background-color: rgba(142, 36, 170, 0.2);
    border-left: 3px solid #ab47bc;
}

/* USF Card Styles */
.usf-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fffcf5 0%, #fff9e6 100%);
    border: 2px solid #f2a900; /* USF Gold border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.usf-card .job-header h3 {
    color: #006341; /* Darker USF Green */
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-transform: none; /* Removed uppercase */
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-size: 1.2rem; /* Consistent with other job cards */
}

.usf-card .job-header h3 i {
    color: #f2a900; /* USF Gold */
    font-size: 1.2em;
}

.usf-card .job-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 4px;
}

.usf-card .job-company {
    color: #006341; /* USF Green */
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem; /* Matched Blathers card */
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    margin-bottom: 0.25rem;
}

.usf-card .job-company a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.usf-card .job-company a:hover {
    color: #f2a900; /* USF Gold on hover */
    text-decoration: underline;
}

[data-theme="dark"] .usf-card .job-company {
    color: #f2a900; /* USF Gold in dark mode */
    background: none;
}

.usf-card .job-duration {
    background: #f2a900; /* USF Gold */
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 4px;
}

.usf-card .bull-decoration {
    position: absolute;
    top: 20px; /* Increased from 10px */
    right: 10px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.usf-card .usf-bull {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.1; /* Reduced to 20% opacity */
    filter: drop-shadow(0 0 12px rgba(242, 169, 0, 0.6));
    transition: all 0.3s ease;
}

[data-theme="dark"] .usf-card .usf-bull {
    opacity: 0.2; /* Maintain 20% opacity in dark mode */
    filter: drop-shadow(0 0 15px rgba(242, 169, 0, 0.8));
}

/* Add subtle animation on hover */
.usf-card:hover .usf-bull {
    filter: drop-shadow(0 0 15px rgba(242, 169, 0, 0.8));
    opacity: 0.15;
}

[data-theme="dark"] .usf-card:hover .usf-bull {
    filter: drop-shadow(0 0 18px rgba(242, 169, 0, 1));
    opacity: 0.25;
}

.usf-card .job-description {
    position: relative;
    z-index: 2;
    color: #333;
    line-height: 1.6;
    margin: 15px 0;
}

.usf-card .description-text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #f2a900; /* USF Gold */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Dark mode styles */
[data-theme="dark"] .usf-card {
    background: linear-gradient(135deg, #1a1f26 0%, #0d1218 100%);
    border: 2px solid #f2a900; /* USF Gold border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .usf-card .job-header h3 {
    color: #f2a900; /* USF Gold */
}

[data-theme="dark"] .usf-card .job-company {
    color: #4d9de0; /* Lighter blue for better visibility */
}

[data-theme="dark"] .usf-card .job-company a {
    color: inherit;
}

[data-theme="dark"] .usf-card .job-company a:hover {
    color: #f2a900; /* USF Gold on hover */
    text-decoration: underline;
}

[data-theme="dark"] .usf-card .job-duration {
    background: #f2a900; /* USF Gold in dark mode */
    color: white;
    box-shadow: 0 2px 8px rgba(242, 169, 0, 0.3);
    font-weight: 600;
}

[data-theme="dark"] .usf-card .description-text {
    background: rgba(0, 0, 0, 0.2);
    color: #e0e0e0;
    border-left-color: #f2a900; /* USF Gold */
}

[data-theme="dark"] .usf-card .bull-decoration i {
    color: #f2a900; /* USF Gold */
    text-shadow: 0 0 8px rgba(242, 169, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    header {
        padding: 1.5rem 0;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .job-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-card {
        padding: 1.25rem;
    }
    
    .job-header h3 {
        font-size: 1.2rem;
        margin-right: 40px; /* Make room for the decoration */
    }
    
    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-duration {
        margin-top: 0.5rem;
    }
    
    .bull-decoration, .paw-decoration {
        width: 60px !important;
        height: 60px !important;
        top: 15px !important;
        right: 10px !important;
    }
    
    .usf-bull, .leaf-decoration {
        width: 100% !important;
        height: 100% !important;
    }
    
    .job-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .job-skills {
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
    
    .links {
        gap: 0.75rem;
        padding: 0 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .link-card {
        height: 60px;
        padding: 0.5rem;
        min-width: 80px;
        margin: 0 0.1rem;
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 0.5rem);
    }
    
    .link-card i, .link-icon {
        width: 1.8rem;
        height: 1.8rem;
        margin-bottom: 0.25rem;
    }
    
    .link-card span {
        font-size: 0.8rem;
    }
    
    .intro p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .tech-stack {
        gap: 0.5rem;
    }
}

/* Footer */
footer {
    text-align: center;
    margin-top: auto;
    padding: 2rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .links {
        grid-template-columns: 1fr;
    }
}
