/* Skills Hero */
.skills-hero {
    background: linear-gradient(135deg, #2a2a72 0%, #009ffd 100%);
    color: white;
    position: relative;
    margin-top: 76px;
    padding: 120px 0;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1%, transparent 1%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 1%, transparent 1%);
    background-size: 100px 100px;
    opacity: 0.3;
    animation: patternMove 20s linear infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(120deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(120deg, #fff, #e6e6e6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border: none;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 107, 107, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Skills Overview */
.skills-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px;
}

.skill-circle {
    text-align: center;
    position: relative;
}

.circle-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.circle-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
}

.circle-inner i {
    font-size: 2rem;
    margin-bottom: 5px;
    background: linear-gradient(120deg, #fff, #e6e6e6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.percentage {
    font-size: 1rem;
    font-weight: 600;
}

.skill-label {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.skill-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
    filter: blur(10px);
    z-index: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes patternMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .skills-hero {
        padding: 80px 0;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat-item {
        flex: 1 1 calc(33.333% - 10px);
        padding: 15px;
    }

    .skills-overview {
        margin-top: 50px;
    }

    .circle-wrapper {
        width: 100px;
        height: 100px;
    }

    .circle-inner i {
        font-size: 1.5rem;
    }
}

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

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

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

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

    .stat-item {
        width: 100%;
    }

    .skills-overview {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
        padding: 15px;
        margin: 0 auto;
        max-width: 100%;
    }

    .skill-circle {
        width: 100%;
        height: auto;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .circle-wrapper {
        width: 100px;
        height: 100px;
        position: relative;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .circle-progress {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .circle-inner {
        width: 80%;
        height: 80%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(25, 25, 40, 0.8);
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        z-index: 3;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .circle-inner i {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .circle-inner .percentage {
        font-size: 16px;
    }

    .skill-label {
        margin-top: 10px;
        font-size: 14px;
        text-align: center;
    }

    .skill-glow {
        position: absolute;
        width: 140%;
        height: 140%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
        filter: blur(10px);
        opacity: 0.5;
        z-index: 1;
        animation: glowPulse 2s ease-in-out infinite;
    }

    .circle-progress::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid transparent;
        border-top-color: rgba(255, 255, 255, 0.8);
        border-right-color: rgba(255, 255, 255, 0.4);
        animation: rotate 2s linear infinite;
        z-index: 2;
    }

    .circle-progress::after {
        content: '';
        position: absolute;
        width: calc(100% - 4px);
        height: calc(100% - 4px);
        border-radius: 50%;
        top: 2px;
        left: 2px;
        z-index: 1;
    }

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

        to {
            transform: rotate(360deg);
        }
    }
}

@media (max-width: 480px) {
    .skills-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        margin-top: 15px;
    }

    .skill-circle {
        width: 100%;
        max-width: 120px;
    }

    .circle-wrapper {
        width: 80px;
        height: 80px;
        margin: 0 auto 10px;
    }

    .circle-inner i {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .circle-inner .percentage {
        font-size: 12px;
    }

    .skill-label {
        font-size: 12px;
        white-space: nowrap;
    }

    /* Fix for smaller phones */
    @media (max-width: 350px) {
        .skills-overview {
            grid-template-columns: repeat(2, 1fr);
            justify-items: center;
        }

        .skill-circle {
            width: 100%;
            margin-bottom: 15px;
        }
    }
}

/* Skill Cards */
.skill-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: rotateY(180deg);
}

.skill-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.skill-progress {
    height: 8px;
    background: var(--light-color);
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease;
}

.skill-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.skill-features li i {
    color: var(--accent-color);
}

/* Tool Cards */
.tool-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: rotateY(180deg);
}

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

.tool-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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