/* CSS Variables for Theme Support */
:root {
    /* Light Theme Colors - Clean Professional Theme */
    --primary-color: #2E2E2E;
    --primary-hover: #1a1a1a;
    --secondary-color: #FFFFFF;
    --secondary-hover: #f8f9fa;
    --accent-color: #4A90E2;
    --accent-hover: #357abd;
    --tertiary-color: #4A90E2;
    --tertiary-hover: #357abd;
    --text-primary: #2E2E2E;
    --text-secondary: #4a4a4a;
    --text-muted: #6c757d;
    --bg-primary: #F4F4F4;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 20px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #2E2E2E 0%, #4A90E2 100%);
    --gradient-secondary: linear-gradient(90deg, #2E2E2E, #4A90E2);
    --gradient-accent: linear-gradient(135deg, #4A90E2 0%, #357abd 100%);
    --code-bg: #f8f9fa;
    --code-border: #e9ecef;
    --terminal-bg: #2E2E2E;
    --terminal-text: #FFFFFF;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --info-color: #4A90E2;
}

[data-theme="dark"] {
    /* Dark Theme Colors - Clean Professional Theme */
    --primary-color: #FFFFFF;
    --primary-hover: #f8f9fa;
    --secondary-color: #2E2E2E;
    --secondary-hover: #1a1a1a;
    --accent-color: #4A90E2;
    --accent-hover: #357abd;
    --tertiary-color: #4A90E2;
    --tertiary-hover: #357abd;
    --text-primary: #FFFFFF;
    --text-secondary: #e9ecef;
    --text-muted: #adb5bd;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2E2E2E;
    --bg-card: #2E2E2E;
    --border-color: #495057;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 10px 20px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #FFFFFF 0%, #4A90E2 100%);
    --gradient-secondary: linear-gradient(90deg, #FFFFFF, #4A90E2);
    --gradient-accent: linear-gradient(135deg, #4A90E2 0%, #357abd 100%);
    --code-bg: #2E2E2E;
    --code-border: #495057;
    --terminal-bg: #1a1a1a;
    --terminal-text: #FFFFFF;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --info-color: #4A90E2;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(46, 46, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: particleFloat 30s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.95);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.1);
}

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

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(46, 46, 46, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="matrix" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" font-family="monospace" font-size="12" fill="white" opacity="0.1" text-anchor="middle">01</text></pattern></defs><rect width="100" height="100" fill="url(%23matrix)"/></svg>');
    pointer-events: none;
    animation: matrixScroll 20s linear infinite;
}

@keyframes matrixScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--primary-color); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
    position: relative;
    font-family: 'Courier New', monospace;
}

.hero-title::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
    margin-left: 5px;
}

.hero-title:hover {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px); }
    20% { transform: translateX(2px); }
    30% { transform: translateX(-1px); }
    40% { transform: translateX(1px); }
    50% { transform: translateX(0); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.highlight {
    color: var(--secondary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline 1s ease-out 0.5s forwards;
}

@keyframes underline {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
    animation: slideInLeft 1s ease-out 0.4s both;
    font-family: 'Courier New', monospace;
    position: relative;
}

.hero-description::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    align-items: center;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: white;
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: white;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Dark theme button hover overrides */
[data-theme="dark"] .btn-primary:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out 0.8s both;
}

.stat {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: scale(1.05);
}

/* Dark theme hero stats hover */
[data-theme="dark"] .stat:hover {
    transform: scale(1.05);
}

[data-theme="dark"] .stat:hover .stat-number {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.5s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2E2E2E, #4A90E2, #FFFFFF, #2E2E2E);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.profile-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.profile-card:hover .profile-avatar {
    transform: scale(1.1);
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.profile-info h3::after {
    content: '>';
    color: var(--primary-color);
    margin-left: 5px;
    animation: blink 1s infinite;
}

.profile-info p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.profile-cv {
    margin-top: 1rem;
    text-align: center;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
}

.cv-download-btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cv-download-btn i {
    font-size: 0.9rem;
}

/* Dark theme CV download button override */
[data-theme="dark"] .cv-download-btn {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

[data-theme="dark"] .cv-download-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 60px; }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(46, 46, 46, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 144, 226, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-intro {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.about-avatar::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.stat-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-highlights h3,
.about-education h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-highlights h3 i,
.about-education h3 i {
    color: var(--accent-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-education {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.education-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.education-item.featured {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(46, 46, 46, 0.05));
    border-radius: 8px;
    padding: 1.5rem;
    margin: -0.5rem -0.5rem 1.5rem -0.5rem;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.education-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    flex: 1;
}

.badge {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.award {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #2E2E2E;
    font-weight: 700;
}

.education-item p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.education-item .date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.highlight-tag {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

/* Experience Section */
.experience {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-secondary);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item:nth-child(odd) {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.timeline-item:nth-child(even) {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 2rem;
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    box-shadow: var(--shadow-light);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.company {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 1rem;
}

.date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Experience Show More/Less Styles */
.experience-list {
    margin-bottom: 1rem;
}

.experience-item {
    transition: all 0.3s ease;
}

.experience-item.hidden {
    display: none;
}

.show-more-btn {
    background: none;
    color: #2E2E2E;
    border: none;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
}

.show-more-btn:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

/* Dark theme override */
[data-theme="dark"] .show-more-btn {
    color: #FFFFFF;
}

[data-theme="dark"] .show-more-btn:hover {
    color: var(--accent-color);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Dark theme tech tag hover */
[data-theme="dark"] .tech-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(46, 46, 46, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: start;
}

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-light);
    animation: pulse 0.6s ease-in-out;
}

/* Dark theme skill tag hover */
[data-theme="dark"] .skill-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
    animation: pulse 0.6s ease-in-out;
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
    justify-items: center;
}

.project-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.05) 0%, rgba(74, 144, 226, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

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

.project-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-card:hover .project-content h3 {
    color: var(--primary-color);
}

.project-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.project-card:hover .project-image::before {
    left: 100%;
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
    align-items: center;
}

.project-tech span {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.project-tech span:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px rgba(74, 144, 226, 0.4);
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: auto;
    align-items: center;
}

.project-stats .stat {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.project-stats .stat:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.2);
}

.project-stats .stat:hover .stat-number,
.project-stats .stat:hover .stat-label {
    color: white;
}

/* Dark theme project stats hover */
[data-theme="dark"] .project-stats .stat:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

[data-theme="dark"] .project-stats .stat:hover .stat-number,
[data-theme="dark"] .project-stats .stat:hover .stat-label {
    color: white;
}

.project-stats .stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.project-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.project-link {
    margin-top: 1rem;
    text-align: center;
}

.project-link .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link .btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Dark theme button override */
[data-theme="dark"] .project-link .btn {
    background: var(--accent-color);
    color: white;
    border: 1px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

[data-theme="dark"] .project-link .btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

/* Project-specific logo backgrounds */
.playy-project .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/new_logo.8db89fe4.svg') center/60% no-repeat;
    background-blend-mode: overlay;
}

.adash-project .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/hopeandhealingforlife_Logo-e1610045733511.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

.bionicwp-project .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/bwp-full-logo.gif') center/60% no-repeat;
    background-blend-mode: overlay;
}

.brandbreakers-project .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/brand-breakers-5-393x108.webp') center/60% no-repeat;
    background-blend-mode: overlay;
}

.eclinicx-project .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/Eclinicx_v3.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

/* Dark theme project logo backgrounds */
[data-theme="dark"] .playy-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/new_logo.8db89fe4.svg') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .adash-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/hopeandhealingforlife_Logo-e1610045733511.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .bionicwp-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/bwp-full-logo.gif') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .brandbreakers-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/brand-breakers-5-393x108.webp') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .eclinicx-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/Eclinicx_v3.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

/* Project-specific logo hover backgrounds */
.playy-project .project-image:hover {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/new_logo.8db89fe4.svg') center/60% no-repeat;
    background-blend-mode: overlay;
}

.adash-project .project-image:hover {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/hopeandhealingforlife_Logo-e1610045733511.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

.bionicwp-project .project-image:hover {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/bwp-full-logo.gif') center/60% no-repeat;
    background-blend-mode: overlay;
}

.brandbreakers-project .project-image:hover {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/brand-breakers-5-393x108.webp') center/60% no-repeat;
    background-blend-mode: overlay;
}

.eclinicx-project .project-image:hover {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/Eclinicx_v3.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

/* Dark theme project logo hover backgrounds */
[data-theme="dark"] .playy-project .project-image:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/new_logo.8db89fe4.svg') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .adash-project .project-image:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/hopeandhealingforlife_Logo-e1610045733511.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .bionicwp-project .project-image:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/bwp-full-logo.gif') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .brandbreakers-project .project-image:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/brand-breakers-5-393x108.webp') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .eclinicx-project .project-image:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/Eclinicx_v3.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

/* Profile photo styles */
.profile-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background: var(--bg-card);
    display: block;
    margin: 0 auto;
}

.bionicwp-project .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/bwp-full-logo.gif') center/60% no-repeat;
    background-blend-mode: overlay;
}

.brandbreakers-project .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/brand-breakers-5-393x108.webp') center/60% no-repeat;
    background-blend-mode: overlay;
}

.eclinicx-project .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/Eclinicx_v3.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

/* Hover effects for logo backgrounds */
.playy-project:hover .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/new_logo.8db89fe4.svg') center/60% no-repeat;
    background-blend-mode: overlay;
}

.adash-project:hover .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/hopeandhealingforlife_Logo-e1610045733511.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

.bionicwp-project:hover .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/bwp-full-logo.gif') center/60% no-repeat;
    background-blend-mode: overlay;
}

.brandbreakers-project:hover .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/brand-breakers-5-393x108.webp') center/60% no-repeat;
    background-blend-mode: overlay;
}

.eclinicx-project:hover .project-image {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/Eclinicx_v3.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

/* Dark theme adjustments for logo backgrounds */
[data-theme="dark"] .playy-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/new_logo.8db89fe4.svg') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .adash-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/hopeandhealingforlife_Logo-e1610045733511.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .bionicwp-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/bwp-full-logo.gif') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .brandbreakers-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/brand-breakers-5-393x108.webp') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .eclinicx-project .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%), 
                url('assets/images/Eclinicx_v3.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .playy-project:hover .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/new_logo.8db89fe4.svg') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .adash-project:hover .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/hopeandhealingforlife_Logo-e1610045733511.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .bionicwp-project:hover .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/bwp-full-logo.gif') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .brandbreakers-project:hover .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/brand-breakers-5-393x108.webp') center/60% no-repeat;
    background-blend-mode: overlay;
}

[data-theme="dark"] .eclinicx-project:hover .project-image {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(74, 144, 226, 0.7) 100%), 
                url('assets/images/Eclinicx_v3.png') center/60% no-repeat;
    background-blend-mode: overlay;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.github {
    background: #333;
}

.social-link.gitlab {
    background: #fc6d26;
}

.social-link.upwork {
    background: #14a800;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-link.linkedin:hover {
    background: #005885;
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.4);
}

.social-link.github:hover {
    background: #24292e;
    box-shadow: 0 15px 30px rgba(51, 51, 51, 0.4);
}

.social-link.gitlab:hover {
    background: #e24329;
    box-shadow: 0 15px 30px rgba(252, 109, 38, 0.4);
}

.social-link.upwork:hover {
    background: #0f7a00;
    box-shadow: 0 15px 30px rgba(20, 168, 0, 0.4);
}



.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    width: 100%;
    margin-left: 0;
    padding: 1rem 0;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        border: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        gap: 2rem;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-intro {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        padding-left: 3rem;
        padding-right: 1rem;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        right: auto;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        max-width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-item {
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .social-links {
        justify-content: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .project-stats {
        grid-template-columns: 1fr;
    }

    .about-avatar {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        float: none;
    }

    .btn-outline {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        min-width: 60%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .section-title,
    .hero-title {
        font-size: 1.5rem;
    }

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Loading animation for page transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
} 

/* Utility: Prevent long content overflow */
.contact-item p, .contact-item {
  word-break: break-all;
}