/* style/resources.css */
:root {
    --primary-color: #0A1931;
    --secondary-color: #FFD700;
    --text-light: #F5F5F5;
    --text-dark: #333333;
    --bg-light: #FFFFFF;
    --bg-dark: #1A2A44;
    --accent-hover: #E6C200;
    --border-color: #e0e0e0;
}

.page-resources {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.page-resources .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources h1,
.page-resources h2,
.page-resources h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources h1 {
    font-size: 3em;
    text-align: center;
    color: var(--text-light);
}

.page-resources h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-resources h3 {
    font-size: 1.8em;
}

.page-resources p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-resources .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-resources .cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources .cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Hero Section */
.page-resources .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--primary-color);
    overflow: hidden;
}

.page-resources .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources .hero-image {
    width: 100%;
    margin-bottom: 30px;
    z-index: 1;
}

.page-resources .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-resources .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light);
}

.page-resources .hero-content h1 {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources .hero-content p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Introduction Section */
.page-resources .introduction-section {
    background: var(--bg-light);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-resources .introduction-section p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15em;
}

/* Guides Section */
.page-resources .guides-section {
    background: var(--bg-dark);
    padding: 80px 0;
    color: var(--text-light);
}

.page-resources .guides-section h2 {
    color: var(--secondary-color);
}

.page-resources .guides-section p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
    color: var(--text-light);
}

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

.page-resources .guide-card {
    background: #2A3B52;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources .guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-resources .guide-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .guide-card h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-resources .guide-card p {
    font-size: 1em;
    color: var(--text-light);
    text-align: center;
}

/* Strategies Section */
.page-resources .strategies-section {
    background: var(--bg-light);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-resources .strategies-section h2 {
    color: var(--primary-color);
}

.page-resources .strategies-section p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
}

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

.page-resources .strategy-item {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .strategy-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources .strategy-item .strategy-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-resources .strategy-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-resources .strategy-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
}

/* News Updates Section */
.page-resources .news-updates-section {
    background: var(--bg-dark);
    padding: 80px 0;
    color: var(--text-light);
}

.page-resources .news-updates-section h2 {
    color: var(--secondary-color);
}

.page-resources .news-updates-section p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
    color: var(--text-light);
}

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

.page-resources .news-card {
    background: #2A3B52;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
}

.page-resources .news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-resources .news-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .news-card h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-resources .news-card p {
    font-size: 1em;
    color: var(--text-light);
    flex-grow: 1;
}

.page-resources .news-card .news-date {
    font-size: 0.9em;
    color: #AAAAAA;
    margin-top: 15px;
}

/* FAQ Section */
.page-resources .faq-section {
    background: var(--bg-light);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-resources .faq-section h2 {
    color: var(--primary-color);
}

.page-resources .faq-section p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.page-resources .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-resources .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-resources .faq-question:hover {
    background: #f5f5f5;
}

.page-resources .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-resources .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-resources .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-resources .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #f9f9f9;
    padding: 0 25px;
}

.page-resources .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

.page-resources .faq-answer p {
    font-size: 1em;
    text-align: left;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Quick Links Section */
.page-resources .quick-links-section {
    background: var(--primary-color);
    padding: 80px 0;
    color: var(--text-light);
}

.page-resources .quick-links-section h2 {
    color: var(--secondary-color);
}

.page-resources .quick-links-section p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 40px;
}

.page-resources .quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.page-resources .quick-link-item {
    background: #2A3B52;
    color: var(--text-light);
    text-decoration: none;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources .quick-link-item:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources .hero-content h1 {
        font-size: 3em;
    }
    .page-resources h2 {
        font-size: 2em;
    }
    .page-resources h3 {
        font-size: 1.6em;
    }
    .page-resources .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-resources .hero-section {
        padding: 60px 15px;
    }
    .page-resources .hero-content h1 {
        font-size: 2.5em;
    }
    .page-resources .hero-content p {
        font-size: 1.1em;
    }
    .page-resources h2 {
        font-size: 1.8em;
    }
    .page-resources h3 {
        font-size: 1.4em;
    }
    .page-resources p {
        font-size: 1em;
    }
    .page-resources .guide-cards,
    .page-resources .strategy-items,
    .page-resources .news-cards,
    .page-resources .quick-links-grid {
        grid-template-columns: 1fr;
    }
    .page-resources .guide-card .card-image {
        height: 180px;
    }
    .page-resources .strategy-item .strategy-icon {
        width: 150px;
        height: 120px;
    }
    .page-resources .news-card .card-image {
        height: 180px;
    }
    .page-resources .faq-question {
        padding: 15px 20px;
    }
    .page-resources .faq-question h3 {
        font-size: 1.1em;
    }
    .page-resources .faq-toggle {
        font-size: 1.5em;
    }
    .page-resources .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources .hero-section {
        padding: 40px 10px;
    }
    .page-resources .hero-content h1 {
        font-size: 2em;
    }
    .page-resources .hero-content p {
        font-size: 0.95em;
    }
    .page-resources h2 {
        font-size: 1.5em;
    }
    .page-resources h3 {
        font-size: 1.2em;
    }
    .page-resources .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-resources .introduction-section,
    .page-resources .guides-section,
    .page-resources .strategies-section,
    .page-resources .news-updates-section,
    .page-resources .faq-section,
    .page-resources .quick-links-section {
        padding: 40px 0;
    }
    .page-resources .container {
        padding: 10px;
    }
    .page-resources .faq-question h3 {
        font-size: 1em;
    }
    .page-resources .faq-toggle {
        font-size: 1.3em;
    }
}