.resource-categories {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-header {
    background: linear-gradient(135deg, #1a3c61 0%, #2a5f8f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.resource-category {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-header {
    display: flex;
    align-items: center;
    padding: 25px 25px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
    color: white;
}

.resource-category:nth-child(1) .category-icon {
    background: linear-gradient(135deg, #2a5f8f 0%, #3a7fb0 100%);
}

.resource-category:nth-child(2) .category-icon {
    background: linear-gradient(135deg, #2c8c6a 0%, #3aad85 100%);
}

.resource-category:nth-child(3) .category-icon {
    background: linear-gradient(135deg, #b86e00 0%, #e88a00 100%);
}

.resource-category:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #7b2cbf 0%, #9d50bb 100%);
}

.resource-category:nth-child(5) .category-icon {
    background: linear-gradient(135deg, #0072b5 0%, #0098e5 100%);
}

.resource-category:nth-child(6) .category-icon {
    background: linear-gradient(135deg, #c02942 0%, #e74c3c 100%);
}

.category-header h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.category-description {
    padding: 15px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.category-description p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.resource-list {
    padding: 15px 25px 25px;
}

.resource-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.resource-item:last-child {
    border-bottom: none;
}

.resource-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s ease;
}

.resource-item:hover .resource-icon {
    background-color: #e8f0fe;
    color: #2a5f8f;
}

.resource-name {
    font-weight: 500;
    color: #444;
    transition: color 0.3s ease;
}

.resource-item:hover .resource-name {
    color: #2a5f8f;
}

.cta {
    background: linear-gradient(135deg, #2a5f8f 0%, #1a3c61 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: white;
    color: #2a5f8f;
}

.btn-accent {
    background-color: #e88a00;
    color: white;
    border: 2px solid #e88a00;
}

.btn-accent:hover {
    background-color: #d67e00;
    border-color: #d67e00;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .resource-item {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
