/* Enhanced Portfolio CSS with Documentation Tabs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-size: 14px;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.header-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.4rem;
    font-weight: 300;
}

.header-description {
    font-size: 0.95rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

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

.hero-content-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.profile-avatar-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-initials {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.avatar-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.avatar-badge i {
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-5px) scale(1.1);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.hero-content-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.eyebrow-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(102, 126, 234, 0.05);
    border-left: 3px solid #667eea;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.highlight-item i {
    font-size: 1.2rem;
    color: #667eea;
    flex-shrink: 0;
}

.highlight-item span {
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
}

.hero-ctas {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

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

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .header-subtitle {
        font-size: 0.95rem;
    }

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

    .stats-title {
        font-size: 1.7rem;
    }

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

    .profile-avatar {
        width: 150px;
        height: 150px;
    }

    .avatar-initials {
        font-size: 3rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

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

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

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

    .header-subtitle {
        font-size: 0.9rem;
    }

    .header-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

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

    .contact-title {
        font-size: 1.6rem;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .avatar-initials {
        font-size: 2.5rem;
    }

    .social-links {
        gap: 0.7rem;
    }

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

/* Navigation Tabs */
.main-navigation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.nav-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-tab.active {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-tab i {
    font-size: 1rem;
}

/* Content Sections */
.content-section {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.content-section.active {
    display: block;
}

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

/* Main Content */
.main {
    padding-bottom: 4rem;
}

.section-title {
    font-size: 1.4rem;
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Section Styles */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
}

.about-tagline {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

.about-intro {
    margin-bottom: 3rem;
}

.about-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
    font-style: italic;
}

.expertise-section {
    margin-bottom: 3rem;
}

.expertise-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.expertise-category {
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.expertise-category:hover {
    transform: translateY(-3px);
}

.expertise-category h5 {
    color: #667eea;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.expertise-category p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

.about-highlights {
    margin-bottom: 3rem;
}

.about-highlights .value-proposition,
.about-highlights .mission-statement {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.about-highlights h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.about-highlights p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

.technology-journey {
    margin-bottom: 2rem;
}

.journey-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.timeline-content h5 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Projects Grid - Original styling maintained */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    transition: left 0.5s ease;
}

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

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

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

.project-card.featured {
    border: 2px solid #667eea;
    background: white;
    position: relative;
}

.project-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    border-radius: 15px 15px 0 0;
}

.project-card.featured::after {
    content: '⭐ Featured';
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    z-index: 1;
}

.project-card.featured .project-title {
    color: #333;
}

.project-card.featured .project-description {
    color: #555;
}

.project-card.featured .project-icon {
    color: #667eea;
}

.project-card.featured:hover {
    border-color: #5a6fd8;
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

.project-card.coming-soon {
    opacity: 0.7;
    border: 2px dashed #ddd;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.project-card.featured .project-header {
    padding-right: 100px;
}

.project-icon {
    font-size: 1.5rem;
    color: #667eea;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

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

.project-title {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.project-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

/* Feature and Tech Tags */
.project-features, .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.feature-tag:hover {
    transform: scale(1.05);
}

.tech-tag {
    background: #f0f0f0;
    color: #555;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
}

/* Project Links */
.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.link-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.link-btn.primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.link-btn.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.link-btn.secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.link-btn.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.link-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Documentation Sections */
.doc-categories {
    space-y: 3rem;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-title i {
    color: #ffeb3b;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.doc-card {
    background: white;
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
    opacity: 0;
    transform: translateY(20px);
}

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

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.doc-card.coming-soon {
    opacity: 0.6;
    border-left-color: #ddd;
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.doc-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.doc-header h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.doc-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.doc-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.doc-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #888;
    font-size: 0.85rem;
}

.doc-stats i {
    color: #667eea;
}

.doc-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.doc-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.doc-btn.primary {
    background: #667eea;
    color: white;
}

.doc-btn.primary:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.doc-btn.secondary {
    background: #f8f9fa;
    color: #667eea;
    border: 1px solid #e9ecef;
}

.doc-btn.secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.doc-btn.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Tutorials Section */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tutorial-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tutorial-card.featured {
    border: 2px solid #667eea;
    background: white;
}

.tutorial-card.coming-soon {
    opacity: 0.6;
    border: 2px dashed #ddd;
}

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

.tutorial-title {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tutorial-level {
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tutorial-level.beginner {
    background: #d4edda;
    color: #155724;
}

.tutorial-level.intermediate {
    background: #fff3cd;
    color: #856404;
}

.tutorial-level.advanced {
    background: #f8d7da;
    color: #721c24;
}

.tutorial-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.tutorial-stats {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.tutorial-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #888;
    font-size: 0.85rem;
}

.tutorial-stats i {
    color: #667eea;
}

.tutorial-progress {
    margin-bottom: 1.2rem;
}

.progress-bar {
    background: #e9ecef;
    height: 5px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: #666;
}

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

.tutorial-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tutorial-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.tutorial-btn.primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
}

.tutorial-btn.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Tools Section */
.tools-categories {
    space-y: 3rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.tool-card {
    background: white;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 3px solid #667eea;
    opacity: 0;
    transform: translateY(20px);
}

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

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tool-card.coming-soon {
    opacity: 0.6;
    border-left-color: #ddd;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.tool-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.tool-header h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.tool-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.tool-links {
    display: flex;
    gap: 0.5rem;
}

.tool-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.tool-btn.primary {
    background: #667eea;
    color: white;
}

.tool-btn.primary:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.tool-btn.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 0;
    margin: 1.5rem 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-title {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
}

.contact-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-card {
    display: flex;
    gap: 0.8rem;
    padding: 1.2rem;
    background: rgba(102, 126, 234, 0.05);
    border-left: 3px solid #667eea;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.info-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-text p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.info-text a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.char-count {
    display: block;
    font-size: 0.85rem;
    color: #999;
    text-align: right;
    margin-top: 0.25rem;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    display: none;
    margin-top: -0.25rem;
}

.error-message.show {
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-status {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
    margin-top: 1rem;
}

.form-status.success {
    display: block;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .contact-description {
        font-size: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 2rem 0;
    }

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

    .info-card {
        padding: 1rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

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

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.1);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2.5rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

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

.social-link {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    padding: 0.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Keyboard Navigation Enhancement */
.keyboard-navigation .nav-tab:focus,
.keyboard-navigation .link-btn:focus,
.keyboard-navigation .doc-btn:focus,
.keyboard-navigation .tutorial-btn:focus,
.keyboard-navigation .tool-btn:focus,
.keyboard-navigation .social-link:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

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

    .about-tagline {
        font-size: 1rem;
    }

    .about-intro p {
        font-size: 0.95rem;
    }

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

    .expertise-category {
        padding: 1rem;
    }

    .timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .header-title {
        font-size: 1.6rem;
    }

    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }

    .nav-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

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

    .projects-grid,
    .docs-grid,
    .tutorials-grid,
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tutorial-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-content {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 1.2rem 0;
    }

    .header-title {
        font-size: 1.4rem;
    }

    .header-subtitle {
        font-size: 0.8rem;
    }

    .header-description {
        font-size: 0.85rem;
    }

    .about-container {
        padding: 1.2rem;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .avatar-initials {
        font-size: 2rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-tab {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

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

    .project-card,
    .doc-card,
    .tutorial-card,
    .tool-card {
        padding: 1.2rem;
    }

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

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

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .project-card,
    .doc-card,
    .tutorial-card,
    .tool-card {
        border: 2px solid #333;
    }
    
    .feature-tag, .tech-tag {
        border: 1px solid #333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .project-card,
    .doc-card,
    .tutorial-card,
    .tool-card,
    .nav-tab,
    .link-btn,
    .doc-btn,
    .tutorial-btn,
    .tool-btn {
        transition: none;
    }
    
    .project-card::before {
        display: none;
    }
    
    .progress-fill {
        transition: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   DARK MODE IMPLEMENTATION
   ============================================ */

/* Header styling for theme toggle */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-title-section {
    flex: 1;
}

.theme-toggle {
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(20deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Dark Mode Colors */
html[data-theme="dark"] {
    --bg-primary: #0f0f1e;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --card-bg: #1e1e32;
    --border-color: #2a2a3e;
}

html[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: var(--text-primary);
}

html[data-theme="dark"] .header {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .header-title {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .header-subtitle {
    color: var(--text-secondary);
}

html[data-theme="dark"] .header-description {
    color: var(--text-secondary);
}

html[data-theme="dark"] .hero-section {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .hero-title {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .hero-subtitle {
    color: var(--text-secondary);
}

html[data-theme="dark"] .eyebrow-badge {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.3);
}

html[data-theme="dark"] .highlight-item {
    background: rgba(102, 126, 234, 0.1);
    border-left-color: #667eea;
}

html[data-theme="dark"] .highlight-item:hover {
    background: rgba(102, 126, 234, 0.15);
}

html[data-theme="dark"] .highlight-item span {
    color: var(--text-primary);
}

html[data-theme="dark"] .social-link {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

html[data-theme="dark"] .social-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

html[data-theme="dark"] .profile-avatar {
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .avatar-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .btn-secondary {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    border-color: #667eea;
}

html[data-theme="dark"] .btn-secondary:hover {
    background: #667eea;
    color: white;
}

html[data-theme="dark"] .main-navigation {
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 1px solid var(--border-color);
}

html[data-theme="dark"] .nav-tab {
    color: var(--text-secondary);
}

html[data-theme="dark"] .nav-tab:hover {
    color: var(--text-primary);
    background: rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .nav-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

html[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

html[data-theme="dark"] .project-card,
html[data-theme="dark"] .doc-card,
html[data-theme="dark"] .tutorial-card,
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .category-section {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .project-card:hover,
html[data-theme="dark"] .doc-card:hover,
html[data-theme="dark"] .tutorial-card:hover,
html[data-theme="dark"] .tool-card:hover {
    border-color: #667eea;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .project-header h3,
html[data-theme="dark"] .doc-header h4,
html[data-theme="dark"] .tutorial-header h3,
html[data-theme="dark"] .tool-header h4 {
    color: var(--text-primary);
}

html[data-theme="dark"] .project-description,
html[data-theme="dark"] .doc-card p,
html[data-theme="dark"] .tutorial-description {
    color: var(--text-secondary);
}

html[data-theme="dark"] .feature-tag,
html[data-theme="dark"] .tech-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.4);
}

html[data-theme="dark"] .link-btn {
    color: white;
}

html[data-theme="dark"] .link-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

html[data-theme="dark"] .link-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

html[data-theme="dark"] .link-btn.secondary {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

html[data-theme="dark"] .link-btn.secondary:hover {
    background: rgba(102, 126, 234, 0.1);
}

html[data-theme="dark"] .doc-btn,
html[data-theme="dark"] .tutorial-btn,
html[data-theme="dark"] .tool-btn {
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
}

html[data-theme="dark"] .doc-btn:hover,
html[data-theme="dark"] .tutorial-btn:hover,
html[data-theme="dark"] .tool-btn:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

html[data-theme="dark"] .doc-stats,
html[data-theme="dark"] .tutorial-stats {
    color: var(--text-secondary);
}

html[data-theme="dark"] .tutorial-level {
    color: white;
}

html[data-theme="dark"] .tutorial-level.beginner {
    background: rgba(76, 175, 80, 0.3);
    color: #81c784;
}

html[data-theme="dark"] .tutorial-level.intermediate {
    background: rgba(255, 193, 7, 0.3);
    color: #ffb74d;
}

html[data-theme="dark"] .tutorial-level.advanced {
    background: rgba(244, 67, 54, 0.3);
    color: #ef5350;
}

html[data-theme="dark"] .progress-bar {
    background: rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

html[data-theme="dark"] .about-container {
    color: var(--text-primary);
}

html[data-theme="dark"] .about-title {
    color: var(--text-primary);
}

html[data-theme="dark"] .about-tagline {
    color: var(--text-secondary);
}

html[data-theme="dark"] .about-intro {
    color: var(--text-secondary);
}

html[data-theme="dark"] .expertise-title {
    color: var(--text-primary);
}

html[data-theme="dark"] .expertise-category {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

html[data-theme="dark"] .expertise-category h5 {
    color: var(--text-primary);
}

html[data-theme="dark"] .expertise-category p {
    color: var(--text-secondary);
}

html[data-theme="dark"] .value-proposition,
html[data-theme="dark"] .mission-statement {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

html[data-theme="dark"] .value-proposition h4,
html[data-theme="dark"] .mission-statement h4 {
    color: var(--text-primary);
}

html[data-theme="dark"] .value-proposition p,
html[data-theme="dark"] .mission-statement p {
    color: var(--text-secondary);
}

html[data-theme="dark"] .journey-title {
    color: var(--text-primary);
}

html[data-theme="dark"] .timeline {
    border-left-color: #667eea;
}

html[data-theme="dark"] .timeline-item {
    color: var(--text-primary);
}

html[data-theme="dark"] .timeline-year {
    color: #667eea;
}

html[data-theme="dark"] .timeline-content h5 {
    color: var(--text-primary);
}

html[data-theme="dark"] .timeline-content p {
    color: var(--text-secondary);
}

html[data-theme="dark"] .footer {
    background: rgba(26, 26, 46, 0.95);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

html[data-theme="dark"] .social-link {
    color: #667eea;
}

html[data-theme="dark"] .social-link:hover {
    color: #764ba2;
}

/* Smooth transitions for theme switching */
html {
    transition: background 0.3s ease, color 0.3s ease;
}

html[data-theme="dark"] * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Responsive theme toggle */
@media (max-width: 768px) {
    .header-top {
        gap: 1rem;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ============================================
   STATISTICS DASHBOARD
   ============================================ */

.statistics-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    margin-bottom: 1.2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.stats-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.stat-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Dark mode statistics */
html[data-theme="dark"] .statistics-section {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .stats-title {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .stat-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .stat-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .stat-label {
    color: var(--text-secondary);
}

html[data-theme="dark"] .stat-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark mode contact form */
html[data-theme="dark"] .contact-section {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .contact-title {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .contact-description {
    color: var(--text-secondary);
}

html[data-theme="dark"] .info-card {
    background: rgba(102, 126, 234, 0.1);
    border-left-color: #667eea;
}

html[data-theme="dark"] .info-card:hover {
    background: rgba(102, 126, 234, 0.15);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .info-text h4 {
    color: var(--text-primary);
}

html[data-theme="dark"] .info-text p {
    color: var(--text-secondary);
}

html[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group textarea {
    background: rgba(30, 30, 50, 0.8);
    color: var(--text-primary);
    border-color: rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .form-group input::placeholder,
html[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-secondary);
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .char-count {
    color: var(--text-secondary);
}

/* Responsive statistics */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        gap: 1rem;
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stats-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

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

    .stat-card {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}