
/* Resources Page Specific Styles */

/* Resources Hero Section */
.resources-hero {
     background: linear-gradient(135deg, var(--bg-light) 0%, #dbeafe 50%, #e0f2fe 100%);
    padding: 4rem 0 3rem;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.resources-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="15" cy="15" r="1.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.3;
}

.resources-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.resources-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Links Section */
.quick-links-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.quick-links-grid {
    margin-top: 3rem;
}

.quick-link-card {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    color: inherit;
    text-decoration: none;
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.quick-link-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.quick-link-icon.emergency {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.quick-link-icon.snap {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.quick-link-icon.family {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.quick-link-icon.senior {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.quick-link-icon.student {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.quick-link-icon.nutrition {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.quick-link-icon i {
    font-size: 1.8rem;
    color: white;
}

.quick-link-content {
    flex: 1;
}

.quick-link-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.quick-link-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.quick-link-arrow {
    margin-left: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.quick-link-card:hover .quick-link-arrow {
    transform: translateX(5px);
}

/* Resource Sections */
.resource-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
}

.resource-section.alt-bg {
    background: var(--bg-light);
}

.resource-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.resource-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.resource-items {
    margin-top: 2rem;
}

.resource-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.resource-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.resource-item-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.resource-item-icon i {
    font-size: 1.5rem;
    color: white;
}

.resource-item-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.resource-item-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.resource-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.resource-link i {
    transition: var(--transition);
    margin-left: 0.5rem;
}

.resource-link:hover i {
    transform: translateX(3px);
}

/* Resource Visual Elements */
.resource-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.emergency-checklist {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
    max-width: 400px;
}

.emergency-checklist h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.checklist-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.checklist-item i {
    color: var(--success-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.checklist-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.checklist-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 6px;
    border-left: 3px solid var(--warning-color);
}

.checklist-note i {
    color: var(--warning-color);
    margin-right: 0.5rem;
}

.checklist-note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* SNAP Benefits Specific Styles */
.benefit-highlights {
    display: flex;
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.benefit-item {
    text-align: center;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.benefit-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.process-steps {
    margin: 3rem 0;
}

.process-steps h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.resource-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--secondary-color);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Eligibility Card */
.eligibility-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-color);
    max-width: 400px;
}

.eligibility-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.eligibility-table {
    margin-bottom: 1.5rem;
}

.table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    border-radius: 6px;
    transition: var(--transition);
}

.table-row:hover {
    background: #e0f2fe;
}

.family-size {
    font-weight: 500;
    color: var(--text-dark);
}

.income-limit {
    font-weight: 700;
    color: var(--primary-color);
}

.eligibility-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Program Cards */
.program-cards {
    margin-top: 3rem;
}

.program-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.program-icon.wic {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.program-icon.school {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.program-icon.summer {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.program-icon i {
    font-size: 2rem;
    color: white;
}

.program-content {
    text-align: center;
}

.program-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.program-benefits li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.program-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.program-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-program {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-program:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.program-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.program-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Resource Library */
.resource-library {
    padding: 5rem 0;
    background: var(--bg-light);
}

.library-grid {
    margin-top: 3rem;
}

.library-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
}

.library-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.library-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.library-icon.pdf {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.library-icon.doc {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.library-icon i {
    font-size: 1.8rem;
    color: white;
}

.library-content {
    flex: 1;
}

.library-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.library-content p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.library-meta {
    display: flex;
    gap: 1rem;
}

.file-type {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.file-size {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.25rem 0;
}

.library-download {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    margin-left: 1rem;
}

.library-download:hover {
    background: var(--primary-dark);
    color: white;
    transform: scale(1.1);
}

.library-download i {
    font-size: 1.1rem;
}

/* Contact Support Section */
.contact-support {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.support-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.support-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.support-option {
    text-align: center;
    max-width: 200px;
}

.support-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
}

.support-icon i {
    font-size: 2rem;
    color: white;
}

.support-option h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.support-option p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-support {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-support:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* FAQ Section Styles */
.faq-section {
    background: var(--bg-white);
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.faq-answer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .benefit-highlights {
        justify-content: center;
        gap: 3rem;
    }
    
    .support-options {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .resources-hero {
        padding: 3rem 0 2rem;
    }
    
    .resources-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    
    .quick-links-section {
        padding: 3rem 0;
    }
    
    .quick-link-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .quick-link-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .quick-link-arrow {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .resource-section {
        padding: 3rem 0;
    }
    
    .resource-title {
        font-size: 2rem;
    }
    
    .resource-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .resource-item-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .resource-item:hover {
        transform: translateY(-5px);
    }
    
    .benefit-highlights {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .resource-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .support-options {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .support-option {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .resources-hero .hero-title {
        font-size: 2rem;
    }
    
    .resources-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .resource-title {
        font-size: 1.75rem;
    }
    
    .quick-link-card {
        padding: 1rem;
    }
    
    .quick-link-icon {
        width: 60px;
        height: 60px;
    }
    
    .quick-link-icon i {
        font-size: 1.5rem;
    }
    
    .emergency-checklist,
    .eligibility-card {
        padding: 1.5rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .library-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .library-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .library-download {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .support-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}
