/* Learning Center Styling */
.learning-section {
    padding: 5rem 6.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.learning-bg-image {
    background: radial-gradient(87.58% 87.58% at 50% 0%, rgba(0, 4, 255, 0.00) 52.6%, #0004FF 100%);
    width: 121.54725rem;
    height: 45.3125rem;
    border-radius: 121.54725rem;
    transform: rotate(-37.074deg);
    top: -30rem;
    left: -30%;
    filter: blur(80px);
}

.learning-header h1 {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 7rem;
    font-weight: 500;
    line-height: 7rem;
    margin: 6.5rem 0 3.125rem;
    backdrop-filter: blur(11.854118347167969px);
}

.learning-header .filter-buttons {
    gap: 0.625rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.learning-header .filter-buttons::-webkit-scrollbar {
    display: none;
}

.learning-header .filter {
    background: rgba(255, 255, 255, 0.17);
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: normal;
    height: 3.125rem;
    min-width: 4.375rem;
    padding: 0.75rem 1.25rem;
    border-radius: 2.125rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.learning-header .filter:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.4), 0px 0px 3px rgba(255, 255, 255, 0.2) inset;
}

.learning-header .filter.active {
    color: #000000;
    background-color: #FFFFFF;
}

.learning-header .filter.active:hover {
    background-color: #F8F9FA;
    box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.6), 0px 0px 3px rgba(255, 255, 255, 0.4) inset;
}

.learning-header input {
    background-color: #07001F;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.0175rem;
    width: 16.25rem;
    height: 3.125rem;
    padding: 0.75rem 2.1875rem 0.75rem 2.81rem;
    border: 1px solid #FFFFFF;
    border-radius: 3.625rem;
    box-shadow: 0px 0px 14px 7px rgba(0, 25, 190, 0.36) inset, 0px 0px 24px 0px rgba(0, 25, 190, 0.85);
    transition: all 0.3s ease-in-out;
}

.learning-header input::placeholder {
    color: rgba(255, 255, 255, 0.39);
}

.learning-header input:focus {
    outline: none;
    border-color: rgba(0, 25, 190, 0.8);
    box-shadow: 0px 0px 10px 5px rgba(0, 25, 190, 0.6), 0px 0px 10px 0px rgba(0, 25, 190, 0.4) inset;
}

.learning-header img {
    width: 1.25rem;
    height: 1.25rem;
    left: 0.9375rem;
    transform: translateY(-50%);
}

.learning-content .learning-cards {
    margin: 6.25rem -1.25rem 2.5rem;
    gap: 5rem 2.5rem;
}

@media (max-width: 1200px) {
    .learning-section {
        padding: 4rem 4.25rem;
    }
}

@media (max-width: 992px) {
    .learning-section {
        padding: 3.5rem 2.75rem;
    }
}

@media (max-width: 768px) {
    .learning-header .filter-buttons {
        gap: 0.55rem;
    }
    .learning-header .filter {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        min-width: 3.75rem;
    }
}

@media (max-width: 576px) {
    .learning-section {
        padding: 3rem 0.35rem;
    }
    .learning-header .filter-buttons {
        gap: 0.5rem;
    }
    .learning-header input {
        width: 12rem;
    }
}