/* Skills Page Styles */
.skills-page {
    background: var(--bg-primary);
    min-height: 100vh;
}

.skills-hero {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.skills-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

/* Skills Categories */
.skills-categories {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.skill-category-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.skill-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-accent);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--text-accent) 0%, #2563eb 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-info p {
    color: var(--text-secondary);
}

/* Progress Bars */
.skills-progress {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-percentage {
    color: var(--text-accent);
    font-weight: 600;
}

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

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--text-accent) 0%, #2563eb 100%);
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
}

/* Technologies Grid */
.technologies-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

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

.tech-category h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-accent);
    border-radius: 10px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.tech-item:hover {
    background: var(--text-accent);
    color: white;
    transform: translateX(10px);
}

.tech-item i {
    font-size: 1.2rem;
    width: 20px;
}

/* Certifications */
.certifications-section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

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

.certification-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow);
}

.certification-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-accent);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.certification-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.certification-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.cert-date {
    color: var(--text-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Enhanced Download Resume Section */
.resume-download-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.resume-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(37,99,235,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
}

.download-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.download-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 4rem 3rem;
    box-shadow: 0 25px 70px var(--shadow);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.download-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.download-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
    animation: float 3s ease-in-out infinite;
}

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

.download-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed to 4 equal columns */
    gap: 1.5rem; /* Reduced gap */
    margin-bottom: 3.5rem;
}

.download-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1rem; /* Adjusted padding */
    background: var(--bg-accent);
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.download-feature:hover {
    background: var(--text-accent);
    transform: translateY(-5px);
    border-color: var(--text-accent);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.download-feature:hover .feature-icon {
    background: white;
    color: var(--text-accent);
    transform: scale(1.1);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: var(--text-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-text {
    text-align: center;
    flex: 1;
}

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

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

.download-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 3rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
    position: relative;
    overflow: hidden;
}

.download-main-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.6s;
}

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

.download-main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.7);
}

.download-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 2.5rem;
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    border: 2px solid var(--border);
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.download-secondary-btn:hover {
    background: var(--text-accent);
    color: white;
    border-color: var(--text-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

/* Enhanced Hero Download Button */
.hero-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    border: 2px solid transparent;
}

.hero-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Skills Page Responsive */
@media (max-width: 1024px) {
    .download-features {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .skills-hero {
        padding: 5rem 1rem 3rem;
    }

    .skills-stats {
        gap: 2rem;
        flex-direction: column;
    }

    .skill-category-card {
        padding: 1.5rem;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .resume-download-section {
        padding: 3rem 1rem;
    }

    .download-content {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

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

    .download-description {
        font-size: 1.1rem;
    }

    .download-features {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 1.2rem;
    }

    .download-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .download-main-btn,
    .download-secondary-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    .download-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }

    .download-feature {
        padding: 1.2rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .feature-text {
        text-align: left;
    }

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

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

    .download-content {
        padding: 2rem 1.2rem;
    }

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

    .download-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .feature-text {
        text-align: center;
    }

    .hero-download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}