.fr-section {
    padding: 6rem 2rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.light-mode .section-title {
    color: var(--accent-light);
}

.fr-resources-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.fr-resource-card {
    background-color: rgba(10, 25, 48, 0.8);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.light-mode .fr-resource-card {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.fr-resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fr-resource-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-dark);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.light-mode .fr-resource-type {
    background-color: var(--accent-light);
    color: var(--bg-light);
}

.fr-resource-icon {
    font-size: 3rem;
    color: var(--accent-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.light-mode .fr-resource-icon {
    color: var(--accent-light);
}

.fr-resource-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.light-mode .fr-resource-card h3 {
    color: var(--text-light);
}

.fr-resource-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.light-mode .fr-resource-card p {
    color: var(--text-light);
}

.fr-resource-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.light-mode .fr-resource-meta {
    color: var(--text-light);
}

.fr-resource-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--accent-dark);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 1;
}

.light-mode .fr-resource-link {
    background-color: var(--accent-light);
    color: var(--bg-light);
}

.fr-resource-link:hover {
    background-color: var(--text-dark);
    transform: scale(1.05);
}

.light-mode .fr-resource-link:hover {
    background-color: var(--text-light);
    color: var(--bg-light);
}

.fr-resource-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.fr-resource-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

@media screen and (max-width: 768px) {
    .fr-resource-type {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}