/* Why Students Section - Modern Design */

.why-students {
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0a15 50%, #0a0a0f 100%);
    padding: 80px var(--spacing-lg) !important;
    position: relative;
    overflow: hidden;
}

.why-students::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.why-students::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    z-index: 0;
}

.why-students h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 5vw, 3rem);
}

.why-students h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    border-radius: 2px;
}

.why-students-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out;
}

/* Why Students Grid - 3 columns */
.why-students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto var(--spacing-3xl);
}

/* Why Students Feature Card */
.why-students-feature {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-left: 4px solid #a855f7;
    border-radius: 8px;
    padding: var(--spacing-xl);
    transition: all var(--transition-slow);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.8s ease-out both;
}

.why-students-feature:nth-child(1) { animation-delay: 0.1s; }
.why-students-feature:nth-child(2) { animation-delay: 0.2s; }
.why-students-feature:nth-child(3) { animation-delay: 0.3s; }
.why-students-feature:nth-child(4) { animation-delay: 0.4s; }
.why-students-feature:nth-child(5) { animation-delay: 0.5s; }
.why-students-feature:nth-child(6) { animation-delay: 0.6s; }

.why-students-feature:hover {
    transform: translateY(-8px);
    border-color: rgba(236, 72, 153, 0.5);
    border-left-color: #ec4899;
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.15);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
}

/* Feature Icon */
.why-students-icon {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

/* Feature Title */
.why-students-title {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 var(--spacing-md) 0;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    line-height: 1.3;
}

.why-students-feature:hover .why-students-title {
    filter: brightness(1.2);
    transform: translateX(4px);
}

/* Feature Description */
.why-students-description {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

/* Final Box */
.why-students-final-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-left: 4px solid #a855f7;
    border-radius: 8px;
    padding: var(--spacing-2xl);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out 0.7s both;
}

.why-students-final-text {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.why-students-final-text strong {
    color: #ffffff;
    font-weight: 700;
}

.why-students-final-text a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-base);
}

.why-students-final-text a:hover {
    color: #ec4899;
    text-decoration: underline;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .why-students-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-students {
        padding: 60px var(--spacing-md) !important;
    }

    .why-students-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        margin-bottom: var(--spacing-2xl);
    }

    .why-students-feature {
        padding: var(--spacing-lg);
    }

    .why-students-final-box {
        padding: var(--spacing-xl);
    }

    .why-students-feature:hover {
        transform: translateY(-4px);
    }

    .why-students-title {
        font-size: 1rem;
    }
}
