/* Learning Center Section */
.learning {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 2rem 50rem 2rem;
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeIn 3s ease 0.8s forwards;
    opacity: 0;
}

.learning-content {
    text-align: center;
    color: #e0e7ff;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.learning-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 1rem;
}

.learning-card:hover {
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(0, 212, 255, 0.2);
}

.clickable-card {
    cursor: pointer;
    position: relative;
}

.clickable-card:hover {
    transform: scale(1.02);
}

.clickable-card:hover img,
.clickable-card:hover .card-title {
    opacity: 0;
}

.overlay-text {
    color: #e0e7ff;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.learning-card img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.card-title {
    color: #e0e7ff;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.learning-card:hover .card-overlay {
    opacity: 1;
}

.video-option {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e7ff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    margin: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-option:hover {
    background: rgba(0, 212, 255, 0.3);
}

.learning .section-header p {
    text-align: center;
    margin-bottom: 2rem;
}

.learning-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}