/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --dark-card: #141414;
    --gray: #9ca3af;
    --gray-light: #d1d5db;
    --light: #0f0f0f;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Theme: Red & Black */
[data-theme="red"] {
    --primary: #f87171;
    --primary-dark: #ef4444;
    --primary-light: #fca5a5;
    --secondary: #dc2626;
    --accent: #fecaca;
    --gradient-1: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    --gradient-2: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
    --gradient-3: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    --glow: 0 0 20px rgba(248, 113, 113, 0.3);
}

/* Theme: Khaki Green & Black */
[data-theme="green"] {
    --primary: #a3e635;
    --primary-dark: #84cc16;
    --primary-light: #bef264;
    --secondary: #65a30d;
    --accent: #d9f99d;
    --gradient-1: linear-gradient(135deg, #a3e635 0%, #65a30d 100%);
    --gradient-2: linear-gradient(135deg, #bef264 0%, #a3e635 100%);
    --gradient-3: linear-gradient(135deg, #d9f99d 0%, #bef264 100%);
    --glow: 0 0 20px rgba(163, 230, 53, 0.3);
}

/* Theme: Light Premium (White & Gold) */
[data-theme="light"] {
    --primary: #c9a227;
    --primary-dark: #a67c00;
    --primary-light: #d4af37;
    --secondary: #2c3e50;
    --accent: #f4e5c2;
    --dark: #fafafa;
    --dark-light: #f5f5f5;
    --dark-card: #ffffff;
    --gray: #5a6c7d;
    --gray-light: #2c3e50;
    --light: #e8e8e8;
    --white: #1a1a1a;
    --gradient-1: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #a67c00 100%);
    --gradient-2: linear-gradient(135deg, #f4e5c2 0%, #d4af37 50%, #c9a227 100%);
    --gradient-3: linear-gradient(135deg, #fef3c7 0%, #f4e5c2 50%, #d4af37 100%);
    --gradient-dark: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    --glow: 0 0 30px rgba(212, 175, 55, 0.25), 0 0 60px rgba(212, 175, 55, 0.1);
}

/* Theme: Platinum Premium (White & Silver) */
[data-theme="platinum"] {
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --primary-light: #333333;
    --secondary: #000000;
    --accent: #0ea5e9;
    --dark: #ffffff;
    --dark-light: #fafafa;
    --dark-card: #ffffff;
    --gray: #666666;
    --gray-light: #1a1a1a;
    --light: #f0f0f0;
    --white: #000000;
    --gradient-1: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    --gradient-2: linear-gradient(135deg, #1a1a1a 0%, #333333 50%, #4d4d4d 100%);
    --gradient-3: linear-gradient(135deg, #333333 0%, #4d4d4d 50%, #666666 100%);
    --gradient-dark: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 30px 80px -15px rgba(0, 0, 0, 0.35);
    --glow: 0 0 40px rgba(14, 165, 233, 0.15), 0 0 80px rgba(14, 165, 233, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-light);
    background: var(--dark);
    overflow-x: hidden;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

[data-theme="platinum"] .navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

[data-theme="platinum"] .navbar.scrolled {
    border-bottom-color: rgba(14, 165, 233, 0.2);
}

/* Light theme scroll indicator */
[data-theme="light"] .scroll-indicator {
    color: var(--gray);
}

[data-theme="light"] .scroll-icon {
    border-color: var(--gray);
    background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .scroll-indicator:hover .scroll-icon {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

/* Platinum theme scroll indicator */
[data-theme="platinum"] .scroll-indicator {
    color: var(--gray);
}

[data-theme="platinum"] .scroll-icon {
    border-color: var(--gray);
    background: rgba(255, 255, 255, 0.5);
}

[data-theme="platinum"] .scroll-indicator:hover .scroll-icon {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

/* Light theme buttons */
[data-theme="light"] .btn-primary {
    color: #ffffff;
}

[data-theme="light"] .btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

[data-theme="light"] .btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Platinum theme buttons */
[data-theme="platinum"] .btn-primary {
    color: #ffffff;
}

[data-theme="platinum"] .btn-secondary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

[data-theme="platinum"] .btn-secondary:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

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

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

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

[data-theme="red"] .hero-gradient {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.08) 0%, rgba(220, 38, 38, 0.08) 100%);
}

[data-theme="green"] .hero-gradient {
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.08) 0%, rgba(101, 163, 13, 0.08) 100%);
}

[data-theme="light"] .hero-gradient {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(244, 229, 194, 0.04) 50%, rgba(212, 175, 55, 0.06) 100%);
}

[data-theme="platinum"] .hero-gradient {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(14, 165, 233, 0.01) 50%, rgba(0, 0, 0, 0.02) 100%);
}

/* Light theme card borders with gold accent */
[data-theme="light"] .project-card,
[data-theme="light"] .skill-card,
[data-theme="light"] .stat-item,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .sidebar-section,
[data-theme="light"] .info-card {
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(212, 175, 55, 0.1);
}

[data-theme="light"] .project-card:hover,
[data-theme="light"] .skill-card:hover,
[data-theme="light"] .stat-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 40px rgba(212, 175, 55, 0.15);
}

/* Platinum theme card borders with black accent */
[data-theme="platinum"] .project-card,
[data-theme="platinum"] .skill-card,
[data-theme="platinum"] .stat-item,
[data-theme="platinum"] .testimonial-card,
[data-theme="platinum"] .sidebar-section,
[data-theme="platinum"] .info-card {
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
}

[data-theme="platinum"] .project-card:hover,
[data-theme="platinum"] .skill-card:hover,
[data-theme="platinum"] .stat-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 60px rgba(14, 165, 233, 0.15);
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-greeting {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    position: relative;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: glitch 1.5s infinite;
}

.text-gradient::before,
.text-gradient::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient::before {
    animation: glitchTop 1.2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.text-gradient::after {
    animation: glitchBottom 1.4s infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0%, 80%, 100% {
        transform: translate(0);
    }
    82% {
        transform: translate(-4px, 3px);
    }
    84% {
        transform: translate(4px, -3px);
    }
    86% {
        transform: translate(-3px, -4px);
    }
    88% {
        transform: translate(3px, 4px);
    }
    90% {
        transform: translate(-2px, 2px);
    }
}

@keyframes glitchTop {
    0%, 80%, 100% {
        transform: translate(0);
    }
    82% {
        transform: translate(5px, -3px);
    }
    84% {
        transform: translate(-5px, 3px);
    }
    86% {
        transform: translate(4px, -4px);
    }
    88% {
        transform: translate(-4px, 4px);
    }
}

@keyframes glitchBottom {
    0%, 80%, 100% {
        transform: translate(0);
    }
    83% {
        transform: translate(-5px, 3px);
    }
    85% {
        transform: translate(5px, -3px);
    }
    87% {
        transform: translate(-4px, 4px);
    }
    89% {
        transform: translate(4px, -4px);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: #ffffff !important;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.8),
        0 0 5px rgba(0, 0, 0, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.5),
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 2px rgba(0, 0, 0, 0.7);
}

.btn-primary span,
.btn-primary i {
    color: #ffffff !important;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.8),
        0 0 5px rgba(0, 0, 0, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.5),
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 2px rgba(0, 0, 0, 0.7);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.15) 2px,
        rgba(255, 255, 255, 0.15) 4px
    );
    animation: electricLines 0.3s linear infinite;
    pointer-events: none;
}

@keyframes electricLines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover span,
.btn-primary:hover i {
    color: #ffffff !important;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.8),
        0 0 5px rgba(0, 0, 0, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.5),
        1px 1px 2px rgba(0, 0, 0, 0.7),
        -1px -1px 2px rgba(0, 0, 0, 0.7);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}

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

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dark-card);
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--glow);
    border-color: transparent;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid transparent;
    background: var(--gradient-1);
    padding: 4px;
    box-shadow: var(--glow);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.image-decoration {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: var(--primary);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.scroll-indicator:hover .scroll-icon {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    transform: translateY(5px);
}

.scroll-line {
    display: none;
}

/* ===== SECTIONS ===== */
section {
    padding: 70px 0;
}

.section-hidden {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--light);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--primary);
    opacity: 0.9;
}

.section-title {
    font-size: 3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--dark-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 3rem;
    text-align: center;
}

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

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--dark-card);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--glow), var(--shadow-lg);
    border-color: var(--primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.75rem;
}

.project-card {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

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

[data-theme="red"] .project-card::before {
    background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.1), transparent);
}

[data-theme="green"] .project-card::before {
    background: linear-gradient(90deg, transparent, rgba(163, 230, 53, 0.1), transparent);
}

[data-theme="light"] .project-card::before {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), rgba(244, 229, 194, 0.1), transparent);
}

[data-theme="platinum"] .project-card::before {
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.04), transparent);
}

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

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--glow), var(--shadow-xl);
    border-color: var(--primary);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

[data-theme="red"] .project-overlay {
    background: rgba(248, 113, 113, 0.9);
}

[data-theme="green"] .project-overlay {
    background: rgba(163, 230, 53, 0.9);
}

[data-theme="light"] .project-overlay {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(201, 162, 39, 0.95) 100%);
}

[data-theme="platinum"] .project-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(14, 165, 233, 0.85) 100%);
}

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

.project-link {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
}

[data-theme="light"] .project-link,
[data-theme="platinum"] .project-link {
    background: #ffffff;
    color: var(--primary);
}

[data-theme="default"] .project-link,
[data-theme="red"] .project-link,
[data-theme="green"] .project-link {
    background: #ffffff;
    color: var(--primary);
}

.project-content {
    padding: 2rem;
}

.project-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="red"] .project-category {
    border-color: rgba(248, 113, 113, 0.2);
}

[data-theme="green"] .project-category {
    border-color: rgba(163, 230, 53, 0.2);
}

[data-theme="light"] .project-category {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(244, 229, 194, 0.3);
}

[data-theme="platinum"] .project-category {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="platinum"] .project-category:hover {
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(14, 165, 233, 0.05);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--gray);
    margin-bottom: 1rem;
}

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

.tag {
    padding: 0.3rem 0.8rem;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== SKILLS SECTION ===== */
.skills {
    background: var(--dark-light);
}

/* New Skills Layout */
.skills-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.skills-visual {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skills-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.skills-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.skills-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

[data-theme="red"] .skills-overlay {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.85) 0%, rgba(220, 38, 38, 0.85) 100%);
}

[data-theme="green"] .skills-overlay {
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.85) 0%, rgba(101, 163, 13, 0.85) 100%);
}

[data-theme="light"] .skills-overlay {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(201, 162, 39, 0.9) 100%);
}

[data-theme="platinum"] .skills-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.88) 0%, rgba(14, 165, 233, 0.75) 100%);
}

.skills-image-wrapper:hover .skills-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 4rem;
    color: #ffffff;
    animation: float 3s ease-in-out infinite;
}

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

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

.stat-box {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s;
}

.stat-box:hover {
    border-color: var(--primary);
    box-shadow: var(--glow);
    transform: translateY(-3px);
}

.stat-box i {
    font-size: 2rem;
    color: var(--primary);
}

.stat-box h4 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.stat-box p {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Skills List */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s;
}

.skill-item:hover {
    border-color: var(--primary);
    box-shadow: var(--glow);
    transform: translateX(5px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-info i {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    flex-shrink: 0;
}

.skill-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-light);
    margin: 0;
}

.skill-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.skill-bar-wrapper {
    width: 100%;
}

.skill-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 1s ease;
    width: 0;
}

/* Old styles - keeping for backward compatibility */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.skill-card {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

[data-theme="red"] .skill-card::after {
    background: radial-gradient(circle, rgba(248, 113, 113, 0.1) 0%, transparent 70%);
}

[data-theme="green"] .skill-card::after {
    background: radial-gradient(circle, rgba(163, 230, 53, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .skill-card::after {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(244, 229, 194, 0.06) 50%, transparent 70%);
}

[data-theme="platinum"] .skill-card::after {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.03) 50%, transparent 70%);
}

.skill-card:hover::after {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--glow), var(--shadow-lg);
    border-color: var(--primary);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.875rem;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
}

.skill-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 1s ease;
}

.skill-level {
    color: var(--gray);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--dark-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-form {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    background: var(--dark-light);
    color: var(--gray-light);
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow);
    background: var(--dark);
}

.btn-block {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .footer-main,
[data-theme="platinum"] .footer-main {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--dark-card);
    color: var(--gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--gradient-1);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--glow);
    border-color: transparent;
}

/* Footer Navigation */
.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-light);
    margin-bottom: 0;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links li a i {
    font-size: 0.7rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.footer-links li a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-links li a:hover i {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-info li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.footer-info li i {
    color: var(--primary);
    margin-top: 0.2rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-info li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info li a:hover {
    color: var(--primary-light);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright,
.footer-credits {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-copyright p,
.footer-credits p {
    margin: 0;
}

.footer-bottom .highlight {
    color: var(--primary);
    font-weight: 600;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-legal-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-legal-links a i {
    font-size: 0.85rem;
}

/* Theme specific adjustments */
[data-theme="light"] .footer,
[data-theme="platinum"] .footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer::before {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

[data-theme="platinum"] .footer::before {
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.5), transparent);
}

[data-theme="light"] .social-icon,
[data-theme="platinum"] .social-icon {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .social-icon:hover,
[data-theme="platinum"] .social-icon:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== PROJECT DETAIL PAGE ===== */
.project-hero {
    padding: 100px 0 50px;
    background: var(--dark-light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s;
    font-weight: 500;
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

.project-hero-title {
    font-size: 2.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.project-hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.meta-item i {
    color: var(--primary);
}

/* New Project Layout */
.project-details {
    padding: 50px 0;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.project-main-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.content-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.project-description-text {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--gray);
    font-size: 1.05rem;
}

.feature-list i {
    color: var(--primary);
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

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

.info-card {
    background: var(--dark-card);
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s;
}

.info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.challenge-card .info-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.solution-card .info-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-light);
}

.info-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Sidebar New Design */
.project-sidebar-new {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: var(--primary);
}

/* Gallery Section */
.gallery-section {
    padding: 0;
    overflow: hidden;
}

.main-preview {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark-light);
}

.main-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.main-preview:hover img {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.main-preview:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay i {
    font-size: 2rem;
    color: var(--white);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    background: var(--dark-card);
}

.thumbnail-item {
    position: relative;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.thumbnail-item:hover {
    border-color: var(--primary-light);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tech Tags New */
.tech-tags-new {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag-new {
    padding: 0.5rem 0.875rem;
    background: var(--dark-light);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--gray-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-weight: 500;
    transition: all 0.3s;
}

.tech-tag-new:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
}

/* Project Links New */
.project-links-new {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.link-btn.google-play {
    background: linear-gradient(135deg, #34A853 0%, #0F9D58 100%);
    color: #ffffff;
}

.link-btn.app-store {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: #ffffff;
}

.link-btn.website {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

[data-theme="red"] .link-btn.website {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    color: #ffffff;
}

[data-theme="green"] .link-btn.website {
    background: linear-gradient(135deg, #a3e635 0%, #65a30d 100%);
    color: #ffffff;
}

[data-theme="light"] .link-btn.website {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    color: #ffffff;
}

[data-theme="platinum"] .link-btn.website {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
}

[data-theme="platinum"] .link-btn.website:hover {
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.link-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.link-btn i {
    font-size: 1.1rem;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000000;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.lightbox-close:hover {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.lightbox-nav button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000000;
    transition: all 0.3s;
    pointer-events: all;
    box-shadow: var(--shadow);
}

.lightbox-nav button:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav {
        padding: 0 1rem;
    }
    
    .lightbox-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 0.9rem;
    }
}

.related-projects {
    padding: 50px 0;
    background: var(--dark-light);
}

.related-projects .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Old styles - keeping for backward compatibility */
.project-main-image {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-height: 380px;
}

.project-main-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.project-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.project-main-content h2,
.project-main-content h3 {
    margin: 2rem 0 1rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.sidebar-card h3 {
    margin-bottom: 1rem;
}

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

.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--dark-light);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ===== PROJECT SLIDER ===== */
.project-slider {
    position: relative;
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000000;
    transition: all 0.3s;
    pointer-events: all;
    box-shadow: var(--shadow);
}

.slider-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ===== PROJECT LINKS ===== */
.project-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-link-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}

.project-link-btn.google-play {
    background: linear-gradient(135deg, #34A853 0%, #0F9D58 100%);
    color: #ffffff;
}

.project-link-btn.app-store {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: #ffffff;
}

.project-link-btn.website {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

[data-theme="red"] .project-link-btn.website {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}

[data-theme="green"] .project-link-btn.website {
    background: linear-gradient(135deg, #a3e635 0%, #65a30d 100%);
}

[data-theme="light"] .project-link-btn.website {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
}

[data-theme="platinum"] .project-link-btn.website {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

[data-theme="platinum"] .project-link-btn.website:hover {
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.project-link-btn:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.project-link-btn i {
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
/* ===== TABLET RESPONSIVE (768px - 968px) ===== */
@media (max-width: 968px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        z-index: 999;
    }
    
    [data-theme="light"] .nav-menu,
    [data-theme="platinum"] .nav-menu {
        background: var(--dark);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 0;
        order: -1;
    }
    
    .image-wrapper {
        width: 300px;
        height: 300px;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.75rem 1.25rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Skills */
    .skills-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .skills-visual {
        position: static;
    }
    
    .skills-image-wrapper {
        height: 350px;
    }
    
    .skills-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Testimonials */
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Footer */
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        padding-bottom: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-tagline {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Project Detail */
    .project-content-grid {
        grid-template-columns: 1fr;
    }
    
    .project-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .project-sidebar-new {
        position: static;
    }
    
    .challenge-solution-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-container {
        height: 320px;
    }
    
    .slider-nav {
        padding: 0 1.5rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .project-main-image {
        max-height: 320px;
    }
    
    .project-main-image img {
        height: 320px;
    }
    
    .project-hero {
        padding: 100px 0 40px;
    }
    
    .project-details {
        padding: 40px 0;
    }
    
    /* General */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-label {
        font-size: 0.9rem;
        padding: 0.4rem 1.25rem;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
#cookieConsent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--dark-card);
    border-top: 2px solid var(--primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    padding: 1.5rem 0;
}

[data-theme="light"] #cookieConsent,
[data-theme="platinum"] #cookieConsent {
    background: #ffffff;
    border-top-color: var(--primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
    from {
        bottom: -100%;
    }
    to {
        bottom: 0;
    }
}

@keyframes slideDown {
    from {
        bottom: 0;
    }
    to {
        bottom: -100%;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-icon {
    font-size: 3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

.cookie-text p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-text a:hover {
    color: var(--primary-light);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-accept {
    background: var(--gradient-1);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cookie-reject {
    background: var(--dark-light);
    color: var(--gray-light);
    border: 2px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .cookie-reject,
[data-theme="platinum"] .cookie-reject {
    background: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.1);
}

.cookie-reject:hover {
    background: var(--dark);
    color: #ffffff;
    border-color: var(--primary);
}

[data-theme="light"] .cookie-reject:hover,
[data-theme="platinum"] .cookie-reject:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Cookie Banner Mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-icon {
        font-size: 2.5rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== MOBILE RESPONSIVE (320px - 640px) ===== */
@media (max-width: 640px) {
    /* Container */
    .container {
        padding: 0 16px;
    }
    
    /* Navigation */
    .navbar .container {
        padding: 0.875rem 16px;
    }
    
    .nav-brand a {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        padding: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        gap: 2.5rem;
    }
    
    .hero-greeting {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.875rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-social {
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .image-wrapper {
        width: 240px;
        height: 240px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-label {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        margin-bottom: 0.75rem;
    }
    
    .section-title {
        font-size: 1.875rem;
        line-height: 1.2;
    }
    
    /* About Section */
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-item {
        padding: 1.5rem 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        border-radius: 16px;
    }
    
    .project-image {
        height: 220px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    /* Skills Section */
    .skills-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-visual {
        position: static;
    }
    
    .skills-image-wrapper {
        height: 280px;
        border-radius: 16px;
    }
    
    .skills-stats {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .stat-box {
        padding: 1.25rem;
    }
    
    .stat-box i {
        font-size: 1.75rem;
    }
    
    .stat-box h4 {
        font-size: 1.3rem;
    }
    
    .stat-box p {
        font-size: 0.85rem;
    }
    
    .skills-list {
        gap: 1.25rem;
    }
    
    .skill-item {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .skill-info i {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .skill-info h3 {
        font-size: 1rem;
    }
    
    .skill-percentage {
        font-size: 1rem;
    }
    
    .skill-bar-bg {
        height: 7px;
    }
    
    /* Old skill cards (if still used) */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
    
    .skill-card {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.625rem;
        border-radius: 12px;
    }
    
    .skill-name {
        font-size: 0.95rem;
        margin-bottom: 0.625rem;
    }
    
    .skill-bar {
        height: 5px;
        margin-bottom: 0.375rem;
    }
    
    .skill-level {
        font-size: 0.8rem;
    }
    
    /* Testimonials */
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
    
    /* Contact Section */
    .contact-content {
        gap: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .contact-item h4 {
        font-size: 0.95rem;
    }
    
    .contact-item a,
    .contact-item span {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
        gap: 1.25rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .footer-tagline {
        text-align: center;
        max-width: 100%;
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 0.625rem;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .footer-nav,
    .footer-contact {
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }
    
    .footer-title {
        font-size: 1rem;
        padding-bottom: 0.625rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 35px;
        height: 2.5px;
    }
    
    .footer-links {
        gap: 0.625rem;
    }
    
    .footer-links li a {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .footer-info {
        gap: 0.875rem;
    }
    
    .footer-info li {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .footer-info li i {
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0;
        gap: 0.75rem;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
    
    .footer-copyright,
    .footer-credits {
        font-size: 0.85rem;
    }
    
    /* Project Detail Page */
    .project-hero {
        padding: 90px 0 30px;
    }
    
    .back-link {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .project-hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .project-hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.875rem;
    }
    
    .meta-item {
        font-size: 0.9rem;
    }
    
    .project-details {
        padding: 30px 0;
    }
    
    .project-layout {
        gap: 2rem;
    }
    
    .content-section {
        gap: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
    }
    
    .project-description-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .feature-list li {
        font-size: 0.95rem;
    }
    
    .challenge-solution-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .info-card {
        padding: 1.5rem;
        border-radius: 14px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 0.875rem;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .sidebar-section {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .sidebar-title {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }
    
    .main-preview {
        height: 200px;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
        padding: 0.75rem;
    }
    
    .thumbnail-item {
        height: 55px;
        border-radius: 6px;
    }
    
    .tech-tags-new {
        gap: 0.375rem;
    }
    
    .tech-tag-new {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 6px;
    }
    
    .project-links-new {
        gap: 0.625rem;
    }
    
    .link-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .link-btn i {
        font-size: 1rem;
    }
    
    /* Slider */
    .slider-container {
        height: 200px;
    }
    
    .slider-nav {
        padding: 0 0.75rem;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .slider-dots {
        bottom: 1rem;
        gap: 0.375rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 24px;
    }
    
    .project-main-image {
        max-height: 200px;
        border-radius: 16px;
    }
    
    .project-main-image img {
        height: 200px;
    }
    
    /* Lightbox */
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .lightbox-nav {
        padding: 0 0.75rem;
    }
    
    .lightbox-nav button {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .lightbox-counter {
        bottom: 15px;
        font-size: 0.85rem;
        padding: 0.4rem 1.25rem;
    }
}
