/* Root Variables */
:root {
    --bg-primary: #121212;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-muted: #b0b0b0;
    --accent-start: #FF1744;
    --accent-end: #FF6E40;
    --tooltip-shadow: rgba(255, 23, 68, 0.4);
    --bg: #0a0a0a;
    --surface: #111111;
    --border: #1a1a1a;
    --accent: #00d4ff;
    --text: #ffffff;
    --text-muted: #888888;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.light-theme {
    --bg-primary: #F5F5F5;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-muted: #555555;
    --accent-start: #D32F2F;
    --accent-end: #F06292;
    --tooltip-shadow: rgba(211, 47, 47, 0.3);
    --bg: #ffffff;
    --surface: #f5f5f5;
    --border: #e0e0e0;
    --accent: #0066cc;
    --text: #1a1a1a;
    --text-muted: #666666;
    --glass-background: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(200, 200, 200, 0.3);
    --glow-shadow: 0 0 15px rgba(211, 47, 47, 0.2);
}
.h2 {
   font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 100;
}
.h3 {
  font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* === Portfolio Styles === */
#portfolio {
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

/* Scroll Container */
.portfolio-scroll-container {
    overflow-x: auto;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
    padding-bottom: 0;
}

.portfolio-scroll-container::-webkit-scrollbar {
    height: 0px;
    background: transparent;
}

/* Scroll Wrapper */
.portfolio-scroll {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

/* Card Styles */
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    min-height: 340px;
    width: 280px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 8px 0;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
    border-color: var(--accent);
}

/* Image/Icon Container */
.portfolio-image {
    width: 100%;
    height: 120px;
    background: #F5F5F5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
    position: relative;
}

.portfolio-image img {
    filter: blur(1px); /* Adjust blur radius as needed, e.g., 4px for a moderate blur */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

/* Content */
.portfolio-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Light Theme Adjustments */
.light-theme .portfolio-card {
    box-shadow: 0 4px 12px var(--tooltip-shadow);
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-card {
        width: 250px;
        min-height: 300px;
    }
}
.project-title {
    text-decoration: underline;
    color: var(--accent);
}
.project-title:hover {
    opacity: 0.8;
}
