/* only for the english section */

.english-section-container {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
}

.english-section-container::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(126, 34, 206, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 10s infinite ease-in-out;
}


@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

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

.english-section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    color: #1e293b;
}

.english-section-title span {
    background: linear-gradient(to right, #7e22ce, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding-bottom: 5px;
}

.english-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.skill-card {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.236);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    opacity: 0;
}

.skill-card:nth-child(6n+1) {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
}

.skill-card:nth-child(6n+2) {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.skill-card:nth-child(6n+3) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.skill-card:nth-child(6n+4) {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.skill-card:nth-child(6n+5) {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.skill-card:nth-child(6n+6) {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}


.skill-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 2;
}

.skill-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

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

.skill-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.skill-desc {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.skill-card.animate {
    animation: popUpCard 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popUpCard {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.skill-card:nth-child(1) {
    animation-delay: 0.1s;
}

.skill-card:nth-child(2) {
    animation-delay: 0.2s;
}

.skill-card:nth-child(3) {
    animation-delay: 0.3s;
}

.skill-card:nth-child(4) {
    animation-delay: 0.4s;
}

.skill-card:nth-child(5) {
    animation-delay: 0.5s;
}

.skill-card:nth-child(6) {
    animation-delay: 0.6s;
}

.skill-card:nth-child(7) {
    animation-delay: 0.7s;
}

.skill-card:nth-child(8) {
    animation-delay: 0.8s;
}

.skill-card:nth-child(9) {
    animation-delay: 0.9s;
}

.skill-card:nth-child(10) {
    animation-delay: 1.0s;
}

.skill-card:nth-child(11) {
    animation-delay: 1.1s;
}

.skill-card:nth-child(12) {
    animation-delay: 1.2s;
}

.skill-card:nth-child(13) {
    animation-delay: 1.3s;
}

.skill-card:nth-child(14) {
    animation-delay: 1.4s;
}

.skill-card:nth-child(15) {
    animation-delay: 1.5s;
}

.skill-card:nth-child(16) {
    animation-delay: 1.6s;
}

.skill-card:nth-child(17) {
    animation-delay: 1.7s;
}

.skill-card:nth-child(18) {
    animation-delay: 1.8s;
}

@media (max-width: 640px) {
    .english-section-container {
        padding: 3rem 1rem;
    }

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

    .skill-card {
        height: 60vh;
    }

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

    .skill-card:nth-child(odd) {
        animation-name: slideInLeft;
    }

    .skill-card:nth-child(even) {
        animation-name: slideInRight;
    }
}


.english-intro-wrapper {
    max-width: 1280px;
    margin: 0 auto 4rem auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.audience-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 5px solid #7e22ce;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.audience-card.animate-intro {
    animation: fadeUpSimple 0.6s ease-out forwards;
}

.audience-card:hover {
    transform: translateX(5px);
    background: linear-gradient(to right, white, #f3e8ff);
}

.audience-icon {
    font-size: 2rem;
    background: #f3e8ff;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.audience-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0.2rem 0 0 0;
}


.intro-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.feature-item {
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.feature-item.animate-intro {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.feature-item:hover {
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-item:hover .feature-icon {
    transform: scale(1.3);
}

.feature-title {
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.85rem;
    color: #475569;
}

@keyframes fadeUpSimple {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.audience-card:nth-child(1) {
    animation-delay: 0.1s;
}

.audience-card:nth-child(2) {
    animation-delay: 0.2s;
}

.audience-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(1) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.5s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.7s;
}

@media (max-width: 640px) {
    .english-section-container {
        overflow: visible;
        padding-bottom: 20vh;
    }

    .english-section-container::before {
        display: none;
    }

    .english-skills-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .skill-card {
        position: sticky;
        margin-bottom: 4rem;
        box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
        background: white;
        animation: fadeUpSimple 0.5s ease-out forwards;
    }

    .skill-card:nth-child(1) {
        top: 120px;
    }

    .skill-card:nth-child(2) {
        top: 130px;
    }

    .skill-card:nth-child(3) {
        top: 140px;
    }

    .skill-card:nth-child(4) {
        top: 150px;
    }

    .skill-card:nth-child(5) {
        top: 160px;
    }

    .skill-card:nth-child(6) {
        top: 170px;
    }

    .skill-card:nth-child(7) {
        top: 180px;
    }

    .skill-card:nth-child(8) {
        top: 190px;
    }

    .skill-card:nth-child(9) {
        top: 200px;
    }

    .skill-card:nth-child(10) {
        top: 210px;
    }

    .skill-card:nth-child(11) {
        top: 220px;
    }

    .skill-card:nth-child(12) {
        top: 230px;
    }

    .skill-card:nth-child(13) {
        top: 240px;
    }

    .skill-card:nth-child(14) {
        top: 250px;
    }

    .skill-card:nth-child(15) {
        top: 260px;
    }

    .skill-card:nth-child(16) {
        top: 270px;
    }

    .skill-card:nth-child(17) {
        top: 280px;
    }

    .skill-card:nth-child(18) {
        top: 290px;
    }

    .skill-card:hover {
        transform: translateY(-5px);
        z-index: 50;
    }
}

.skills-grid-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    display: none;
}

@media (max-width: 640px) {
    .skills-grid-heading {
        display: block;
        position: sticky;
        top: 10px;
        z-index: 40;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 2rem;
    }
}