/* Resources Page Specific Styles */

.resources-main {
    background: white;
}

/* Hero Section */
.resources-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.resources-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.resources-hero .lead {
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* Resource Stats */
.resource-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Resource Categories */
.resource-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.resource-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    font-weight: 700;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-btn:hover,
.category-btn.active {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

.resource-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.resource-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.resource-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.resource-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.resource-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.resource-type,
.resource-popularity,
.resource-updated,
.resource-pages,
.resource-customizable,
.resource-importance {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.resource-type {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.resource-popularity {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.resource-updated {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.resource-pages,
.resource-customizable {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.resource-importance {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Massachusetts Specific Section */
.massachusetts-specific {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

.massachusetts-specific h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.ma-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.ma-resource-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.ma-resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.ma-resource-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ma-resource-card:hover img {
    transform: scale(1.05);
}

.ma-content {
    padding: 30px;
}

.ma-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.ma-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Professional Consultation Section */
.professional-consultation {
    padding: 80px 0;
    background: white;
}

.consultation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.consultation-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

.consultation-content > p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 50px;
}

.when-to-hire,
.professional-benefits {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.when-to-hire h3,
.professional-benefits h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.when-to-hire ul,
.professional-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.when-to-hire li,
.professional-benefits li {
    color: #666;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.when-to-hire li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.professional-benefits li::before {
    content: '⭐';
    position: absolute;
    left: 0;
}

/* Resource Statistics */
.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resources-hero h1 {
        font-size: 2.5rem;
    }
    
    .resources-hero .lead {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .resource-stats {
        gap: 20px;
    }
    
    .stat-item {
        padding: 15px 20px;
    }
    
    .category-nav {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .resources-grid,
    .ma-resources {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resource-card,
    .ma-resource-card {
        padding: 25px;
    }
    
    .when-to-hire,
    .professional-benefits {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .resources-hero {
        padding: 60px 0;
    }
    
    .resources-hero h1 {
        font-size: 2rem;
    }
    
    .massachusetts-specific h2,
    .resource-categories h2,
    .consultation-content h2 {
        font-size: 2rem;
    }
    
    .resource-card,
    .ma-content {
        padding: 20px;
    }
    
    .resource-meta {
        gap: 8px;
    }
}
