/* Resources Page Styles */
.resources-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.resources-container h1 {
    text-align: center;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.resources-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
}

/* Resource Sections */
.resource-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 0.5rem;
}

.section-icon {
    width: 32px;
    height: 32px;
    margin-right: 1rem;
}

.section-header h2 {
    color: #0066cc;
    font-size: 1.5rem;
    margin: 0;
}

/* Resource Cards */
.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    background-color: #f8f9fa;
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid #eaeaea;
    color: #333;
    font-size: 1.2rem;
}

/* Card Icons */
.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
}

.card-icon img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 3.2rem);
}

.card-content p {
    flex-grow: 1;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #555;
}

.visit-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.visit-link:hover {
    color: #004999;
    text-decoration: underline;
}

.visit-link span {
    font-size: 1.1em;
    margin-left: 0.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .resource-cards {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-icon {
        margin-bottom: 0.5rem;
    }
}

/* Accessibility Enhancements */
.visit-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.resource-card:focus-within {
    outline: 2px solid #0066cc;
}
