* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.skills-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    padding-bottom: 20px;
    /* margin-bottom: 60px; */
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.section-title p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.skills-category {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    /* border: 1px solid #e2e8f0; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    width: 24px;
    height: 24px;
    background: #2563eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.skill-icon {
    color: #64748b;
    font-size: 16px;
}

.skill-percentage {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.9rem;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

/* Color variations for progress bars */
.progress-react {
    background: linear-gradient(135deg, #61dafb, #21a1b8);
}

.progress-design {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
}

.progress-css {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.progress-js {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.progress-node {
    background: linear-gradient(135deg, #84cc16, #65a30d);
}

.progress-db {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.progress-cloud {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.progress-git {
    background: linear-gradient(135deg, #10b981, #059669);
}

.progress-seo {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.progress-ads {
    background: linear-gradient(135deg, #eab308, #ca8a04);
}

.progress-analytics {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.progress-social {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.progress-email {
    background: linear-gradient(135deg, #64748b, #475569);
}

.progress-content {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out forwards;
}

@media (max-width: 768px) {
    .skills-section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .skills-category {
        padding: 30px 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-title {
        font-size: 1.3rem;
    }
}

/* Icon styles */
.icon-code::before {
    content: "< />";
}

.icon-design::before {
    content: "🎨";
}

.icon-css::before {
    content: "{ }";
}

.icon-js::before {
    content: "JS";
}

.icon-server::before {
    content: "⚡";
}

.icon-database::before {
    content: "🗄️";
}

.icon-cloud::before {
    content: "☁️";
}

.icon-git::before {
    content: "🌿";
}

.icon-search::before {
    content: "🔍";
}

.icon-ads::before {
    content: "📢";
}

.icon-chart::before {
    content: "📊";
}

.icon-social::before {
    content: "👥";
}

.icon-email::before {
    content: "✉️";
}

.icon-content::before {
    content: "✍️";
}