/* Resources Page Styles - Rule 304 Compliant */

.resources-page-header {
    background-color: #003366;
    color: #ffffff;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.resources-page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resources-page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.resources-section {
    padding: 5rem 0;
}

/* Tab Styles */
.resources-tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.resources-tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.resources-tab-button:hover {
    color: #003366;
}

.resources-tab-button.active {
    color: #003366;
    font-weight: 600;
}

.resources-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #003366;
}

.resources-tab-content {
    width: 100%;
}

.resources-tab-pane {
    display: none;
}

.resources-tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Coming Soon Styles */
.resources-coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.resources-coming-soon h3 {
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.resources-coming-soon p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.resources-coming-soon a {
    color: #003366;
    font-weight: 500;
    text-decoration: underline;
}

.resources-coming-soon a:hover {
    color: #005599;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.resources-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resources-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.resources-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resources-card-content-text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.resources-card-content h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 1rem;
}

.resources-card-content p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.resources-btn {
    display: inline-block;
    background-color: #003366;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.resources-btn:hover {
    background-color: #004488;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-tab-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .resources-tab-button {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .resources-tab-button.active::after {
        width: 50%;
        left: 25%;
    }
}