/* Portfolio Website Styles - Samet Soysal */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #10b981;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --pastel-bg: #fafbfe;
    --pastel-section: #f5f7fa;
    --soft-white: #fcfcfd;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Dark Mode */
body.dark-mode {
    --dark: #f8fafc;
    --light: #0f172a;
    --gray: #94a3b8;
    --pastel-bg: #1e293b;
    --pastel-section: #0f172a;
    --soft-white: #1e293b;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #f8fafc;
}

body.dark-mode .section {
    background: rgba(15, 23, 42, 0.5);
}

body.dark-mode .project-card,
body.dark-mode .experience-timeline,
body.dark-mode .skill-category,
body.dark-mode .contact-card,
body.dark-mode .stat-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(100, 116, 139, 0.2);
}

body.dark-mode .visitor-counter {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.95));
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 10px 40px rgba(99, 102, 241, 0.25),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(99, 102, 241, 0.2);
}

body.dark-mode .visitor-counter:hover {
    box-shadow: 
        0 20px 50px rgba(99, 102, 241, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(99, 102, 241, 0.3);
}

body.dark-mode .visitor-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

body.dark-mode .visitor-data-row {
    background: rgba(15, 23, 42, 0.6);
}

body.dark-mode .visitor-data-cell {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.2);
}

body.dark-mode .visitor-data-cell:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

body.dark-mode .visitor-label {
    color: #cbd5e1;
}

body.dark-mode .visitor-label i {
    color: #a5b4fc;
}

body.dark-mode .visitor-count {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode footer {
    background: rgba(15, 23, 42, 0.95);
}

body.dark-mode .dashboard-content {
    background: rgba(30, 41, 59, 0.95);
    color: #f8fafc;
}

body.dark-mode .dashboard-content h3,
body.dark-mode .dashboard-content h4 {
    color: #f8fafc;
}

body.dark-mode #cv-stats-container .stat-item {
    background: rgba(15, 23, 42, 0.8);
}

/* Dark Mode - Hakkımda Bölümü İyileştirmesi */
body.dark-mode .about-content {
    background: rgba(30, 41, 59, 0.6);
    padding: 2rem;
    border-radius: 16px;
    color: #e2e8f0;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

body.dark-mode .about-content p {
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Dark Mode - Deneyim Bölümü İyileştirmesi */
body.dark-mode .timeline-item {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

body.dark-mode .timeline-title {
    color: #f1f5f9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.dark-mode .timeline-company {
    color: #cbd5e1;
}

body.dark-mode .timeline-date {
    background: rgba(99, 102, 241, 0.2);
    color: #e0e7ff;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

body.dark-mode .timeline-achievements li {
    background: rgba(15, 23, 42, 0.6);
    color: #cbd5e1;
    border-left-color: rgba(16, 185, 129, 0.6);
}

body.dark-mode .timeline-achievements li:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #e2e8f0;
    border-left-color: var(--primary);
}

body.dark-mode .timeline-achievements li::before {
    color: #10b981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Dark Mode - Stat Cards İyileştirmesi */
body.dark-mode .stat-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

body.dark-mode .stat-number {
    color: #f1f5f9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .stat-label {
    color: #cbd5e1;
}

/* Dark Mode - Experience Timeline İyileştirmesi */
body.dark-mode .experience-timeline {
    background: rgba(30, 41, 59, 0.5);
}

/* Dark Mode - Certificate Button */
body.dark-mode .certificate-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    color: #f1f5f9;
}

body.dark-mode .certificate-btn:hover {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
    background: linear-gradient(135deg, #059669, #10b981);
}

/* Dark Mode - Slider Buttons */
body.dark-mode .slider-btn {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(99, 102, 241, 0.6);
    color: #a5b4fc;
}

body.dark-mode .slider-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Dark Mode - Experience Indicators */
body.dark-mode .indicator {
    background: rgba(99, 102, 241, 0.3);
}

body.dark-mode .indicator.active {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

body.dark-mode .indicator:hover {
    background: rgba(99, 102, 241, 0.6);
}

/* Dark Mode - Section Titles */
body.dark-mode .section-title {
    color: #f1f5f9;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

body.dark-mode .section-title::after {
    background: linear-gradient(90deg, 
        rgba(99, 102, 241, 0.8), 
        rgba(139, 92, 246, 0.8)
    );
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

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

@media (max-width: 1200px) {
    .container {
        padding: 20px 30px;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.nav-brand:hover {
    transform: translateX(5px);
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.nav-brand:hover .brand-logo {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.brand-title {
    font-size: 0.65rem;
    opacity: 0.8;
    font-weight: 500;
    color: var(--accent);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
}

.lang-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.1);
}

.lang-btn.active {
    background: var(--accent);
    color: white;
}

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

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

.theme-toggle:active i {
    transform: rotate(360deg);
}

/* Visitor Counter - Modern Redesign */
.visitor-counter {
    position: absolute;
    top: 140px;
    right: 25px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 10px 40px rgba(99, 102, 241, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 998;
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatInRight 1s ease;
    overflow: hidden;
    transform-origin: top right;
}

.visitor-counter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.visitor-counter:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(99, 102, 241, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(99, 102, 241, 0.4);
}

.visitor-table {
    display: flex;
    flex-direction: column;
    min-width: 240px;
    position: relative;
    z-index: 1;
}

.visitor-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 20px;
    font-weight: 800;
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.visitor-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

.visitor-header i {
    font-size: 1.1rem;
    animation: bounce 2s ease-in-out infinite;
}

.visitor-data-row {
    display: flex;
    padding: 18px 12px;
    gap: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.visitor-data-cell {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.visitor-data-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.visitor-data-cell:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.visitor-data-cell:hover::before {
    transform: scaleX(1);
}

.visitor-label {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    opacity: 0.85;
}

.visitor-label i {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.7;
}

.visitor-count {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    position: relative;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

/* Visitor Counter Animations */
@keyframes floatInRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

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

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

@media (max-width: 768px) {
    .visitor-counter {
        top: 110px;
        right: 10px;
        border-radius: 18px;
        transform: scale(0.95);
    }
    
    .visitor-counter:hover {
        transform: scale(0.97) translateY(-3px);
    }
    
    .visitor-table {
        min-width: 190px;
    }
    
    .visitor-header {
        padding: 10px 14px;
        font-size: 0.7rem;
        gap: 5px;
        letter-spacing: 1px;
    }
    
    .visitor-header i {
        font-size: 0.95rem;
    }
    
    .visitor-data-row {
        padding: 12px 8px;
        gap: 6px;
    }
    
    .visitor-data-cell {
        padding: 8px 5px;
        gap: 5px;
        border-radius: 10px;
    }
    
    .visitor-label {
        font-size: 0.6rem;
        letter-spacing: 0.8px;
        gap: 3px;
    }
    
    .visitor-label i {
        font-size: 0.75rem;
    }
    
    .visitor-count {
        font-size: 1.4rem;
    }
}

/* Header & Hero */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    animation: fadeIn 1.2s ease;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: slideInFromLeft 0.8s ease;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: slideInFromRight 0.8s ease;
    font-weight: 300;
}

.hero-content .description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.3s ease;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1.5s ease;
}

.cv-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    animation: fadeIn 2s ease;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-success {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

/* Section */
.section {
    padding: 80px 20px;
    background: var(--soft-white);
}

.section:nth-child(even) {
    background: var(--pastel-section);
}

.section:nth-child(odd) {
    background: var(--pastel-bg);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

/* Experience Section */
.experience-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.experience-timeline {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1), 0 5px 20px rgba(99, 102, 241, 0.08);
    border-left: 6px solid transparent;
    border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-left: 6px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: none;
    opacity: 0;
    animation: slideIn 0.4s ease forwards;
}

.timeline-item.active {
    display: block;
    opacity: 1;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.15), 0 10px 30px rgba(139, 92, 246, 0.1);
    border-left-color: var(--secondary);
}

/* Slider Buttons */
.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Experience Indicators */
.experience-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: var(--primary);
    transform: scale(1.2);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.timeline-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.timeline-company {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
}

.timeline-date {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.timeline-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.timeline-achievements {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.8rem;
}

.timeline-achievements li {
    padding: 1rem 1.2rem;
    padding-left: 3rem;
    position: relative;
    color: var(--gray);
    line-height: 1.7;
    font-size: 1.05rem;
    background: rgba(99, 102, 241, 0.03);
    border-radius: 12px;
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.timeline-achievements li:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateX(8px);
    border-left-color: var(--primary);
}

.timeline-achievements li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--accent);
    font-weight: 900;
    font-size: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Skills */
.skills-categories {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .skills-categories {
        grid-template-columns: 1fr;
    }
}

.skill-category {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    padding: 2.2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08), 0 3px 10px rgba(99, 102, 241, 0.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.skill-category::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover::after {
    opacity: 1;
    animation: pulse 2s infinite;
}

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

.skill-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15), 0 8px 20px rgba(139, 92, 246, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.skill-category-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.skill-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.skill-category:hover .skill-category-title::after {
    width: 100px;
}

.skill-category-icon {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.skill-category:hover .skill-category-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
}

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

.skill-tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    color: var(--primary);
    padding: 9px 16px;
    border-radius: 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

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

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    border-color: transparent;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Project Click Badge */
.project-click-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.project-click-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.project-click-badge i {
    font-size: 0.9rem;
    opacity: 0.9;
}

.click-count {
    font-weight: 700;
    font-size: 1rem;
}

.project-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08), 0 5px 15px rgba(99, 102, 241, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15), 0 5px 20px rgba(99, 102, 241, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

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

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

.project-card:hover::after {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translate(-25%, -25%) rotate(0deg); }
    100% { transform: translate(25%, 25%) rotate(360deg); }
}

.project-card:hover {
    transform: translateY(-15px) rotateX(2deg) scale(1.02);
    box-shadow: 0 30px 70px rgba(99, 102, 241, 0.2), 
                0 10px 30px rgba(139, 92, 246, 0.15),
                0 0 50px rgba(16, 185, 129, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
}

.project-card.featured:hover {
    box-shadow: 0 30px 70px rgba(16, 185, 129, 0.25), 
                0 10px 30px rgba(99, 102, 241, 0.2),
                0 0 60px rgba(139, 92, 246, 0.15);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 2rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.project-header::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.7s ease;
}

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

.project-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.project-header p {
    opacity: 0.95;
    font-size: 0.95rem;
}

.project-body {
    position: relative;
    padding: 2rem;
    padding-bottom: 4rem;
    z-index: 2;
}

.project-body p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link i.fa-github,
.project-link i.fa-gitlab {
    font-size: 1.1rem;
    opacity: 0.9;
}

.project-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(5deg);
}

.contact-card h3 {
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.contact-card .contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-link {
    color: var(--secondary);
}

.contact-card p {
    color: var(--gray);
    font-size: 1rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

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

.toast i {
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
        justify-content: center;
    }
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

footer p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.footer-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

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

@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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-100px) translateX(50px) rotate(90deg);
    }
    50% {
        transform: translateY(-200px) translateX(-50px) rotate(180deg);
    }
    75% {
        transform: translateY(-100px) translateX(50px) rotate(270deg);
    }
}

/* Admin Dashboard */
.admin-dashboard {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.dashboard-content h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.dashboard-content h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

#cv-stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

#cv-stats-container .stat-item {
    flex-direction: column;
    align-items: flex-start;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 10px;
    border: none;
}

#cv-stats-container .stat-label {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

#cv-stats-container .stat-item span:last-child {
    font-size: 1.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.stat-item span:last-child {
    font-weight: 700;
    color: var(--primary);
}

.dashboard-content button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.dashboard-content button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Error states */
.error {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

/* Certificate Button */
.certificate-btn {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--accent), #059669);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
    position: relative;
    overflow: hidden;
}

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

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

.certificate-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669, var(--accent));
}

.certificate-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.certificate-btn i {
    font-size: 1.2rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

/* Certificate Modal */
.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.certificate-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

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

.certificate-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--dark);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .container {
        padding: 20px 25px;
    }

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

    .stat-card:last-child {
        grid-column: 1 / -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .experience-slider {
        gap: 1.5rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .timeline-item {
        padding: 2.5rem;
    }

    .timeline-title {
        font-size: 1.5rem;
    }

    .timeline-company {
        font-size: 1.1rem;
    }

    .timeline-achievements li {
        font-size: 1rem;
        padding: 0.9rem 1rem;
        padding-left: 2.8rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .hero-content .description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .cta-buttons,
    .cv-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    
    .nav-controls {
        gap: 0.5rem;
    }

    .nav-links {
        display: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .section {
        padding: 50px 15px;
    }

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

    .stat-card:last-child {
        grid-column: auto;
    }

    .about-content {
        padding: 1.8rem;
        font-size: 1rem;
        line-height: 1.8;
        text-align: justify;
    }

    /* Experience Section Mobile */
    .experience-slider {
        flex-direction: row;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .experience-timeline {
        min-height: auto;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        margin-top: 20px;
    }

    .timeline-item {
        padding: 1.8rem;
    }

    .timeline-header {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .timeline-company {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .timeline-date {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .timeline-achievements {
        gap: 0.6rem;
    }

    .timeline-achievements li {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
        padding-left: 2.5rem;
        line-height: 1.5;
    }

    .timeline-achievements li::before {
        left: 0.8rem;
        font-size: 1.1rem;
    }

    .certificate-btn {
        padding: 12px 22px;
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }

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

    .experience-indicators {
        margin-top: 1.5rem;
        gap: 0.8rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 25px;
    }

    /* Skills Section Mobile */
    .skill-category {
        padding: 1.8rem;
    }

    .skill-category-title {
        font-size: 1.2rem;
    }

    .skill-tag {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    /* Projects Mobile */
    .project-card {
        margin-bottom: 0;
    }

    .project-header {
        padding: 1.5rem;
        min-height: 120px;
    }

    .project-header h3 {
        font-size: 1.2rem;
    }

    .project-body {
        padding: 1.5rem;
        padding-bottom: 3.5rem;
    }

    .project-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .project-click-badge {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem;
    }

    /* Modal Mobile */
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .certificate-image {
        max-height: 70vh;
        border-radius: 10px;
    }

    .modal-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .lang-switcher {
        order: 2;
    }

    .nav-content {
        gap: 0.8rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-title {
        font-size: 0.6rem;
    }

    .brand-logo {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

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

    .timeline-title {
        font-size: 1.2rem;
    }

    .timeline-company {
        font-size: 0.9rem;
    }

    .timeline-achievements li {
        font-size: 0.85rem;
    }

    .experience-slider {
        gap: 0.5rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .certificate-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        margin-top: 1.2rem;
    }

    .certificate-btn i {
        font-size: 1rem;
    }
}

/* Hidden class for language switching */
.hidden {
    display: none !important;
}