/* Resources Page Styles */

/* General Styles */
.resources-section {
    padding: 40px 0;
}

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Resource Category Styles */
.resource-category {
    margin-bottom: 20px;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.category-icon {
    font-size: 2rem;
    color: #3498db;
    margin-right: 15px;
    width: 60px;
    height: 60px;
    background-color: #e1f0fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.5rem;
}

/* Resource List Styles */
.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Resource Card Styles */
.resource-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    gap: 20px;
    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-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.resource-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.resource-icon {
    font-size: 2.5rem;
    color: #3498db;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-details {
    flex: 1;
}

.resource-details h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.resource-details p {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Resource Links Styles */
.resource-links {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-primary {
    background-color: #3498db;
}

.btn-app {
    background-color: #f8f9fa;
    color: #2c3e50;
    border: 1px solid #ddd;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-app:hover {
    background-color: #e9ecef;
}

/* Resource Features Styles */
.resource-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background-color: #e1f0fa;
    color: #3498db;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Helpline Styles */
.helpline-numbers {
    margin-bottom: 15px;
}

.helpline-number {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.number-label {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-right: 10px;
    min-width: 120px;
}

.number-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

.helpline-timing {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 10px;
}

.timing-label {
    font-weight: 600;
    margin-right: 10px;
}

/* App Features Styles */
.app-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.app-features ul li {
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #555;
}

.app-download {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Important Dates Section Styles */
.important-dates-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.section-header p {
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.dates-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.timeline-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    gap: 20px;
    width: calc(33.333% - 20px);
    min-width: 300px;
    transition: transform 0.3s ease;
}

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

.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #3498db;
    color: white;
    border-radius: 8px;
    padding: 10px;
    min-width: 70px;
    text-align: center;
}

.timeline-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.timeline-date .day {
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: #555;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tag {
    background-color: #e1f0fa;
    color: #3498db;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.dates-note {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.dates-note i {
    color: #f39c12;
    margin-right: 5px;
}

/* CTA Section Styles */
.cta-section {
    background-color: #3498db;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: white;
    color: #3498db;
    font-weight: 600;
    padding: 12px 25px;
    font-size: 1.1rem;
}

.cta-section .btn:hover {
    background-color: #f8f9fa;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .timeline-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .resource-list {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        width: 100%;
    }
    
    .resource-card {
        flex-direction: column;
    }
    
    .resource-logo, .resource-icon {
        margin-bottom: 15px;
        margin-right: 0;
        width: auto;
    }
    
    .app-download {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .helpline-number {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .number-label {
        margin-bottom: 5px;
    }
}
