/* style/resources.css */

/* Base Styles & Typography */
.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #0A192F;
}

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

.page-resources__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-resources__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-resources__section-subtitle {
    font-size: 1.3em;
    color: #d0d0d0;
    text-align: center;
    margin-bottom: 60px;
}

.page-resources__section-text {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-resources__btn--primary {
    background-color: #FFD700;
    color: #0A192F;
    font-size: 1.1em;
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    font-size: 1em;
}

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-resources__btn--large {
    padding: 15px 35px;
    font-size: 1.3em;
}

.page-resources__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-resources__button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #0A192F 0%, #1a2a47 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-resources__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 1;
}

.page-resources__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources__hero-title {
    font-size: 3.8em;
    color: #FFD700;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: bold;
}

.page-resources__hero-description {
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__hero-image-wrapper {
    display: none; /* Hidden by default, only for larger screens if needed */
}

/* Intro Section */
.page-resources__intro-section {
    padding: 80px 0;
    background-color: #1a2a47;
}

.page-resources__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-resources__feature-item {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.2);
}

.page-resources__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

.page-resources__feature-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-resources__feature-description {
    font-size: 1em;
    color: #d0d0d0;
}

/* Articles List Section */
.page-resources__articles-list {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-resources__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.page-resources__article-card {
    background-color: #1a2a47;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.page-resources__article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-resources__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__article-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-resources__article-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
    color: #e6c200;
}

.page-resources__article-description {
    font-size: 1em;
    color: #d0d0d0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Us Section */
.page-resources__why-us {
    padding: 80px 0;
    background-color: #1a2a47;
    text-align: center;
}

.page-resources__why-us .page-resources__section-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 700px;
    text-align: left;
}

.page-resources__list li {
    background-color: #0A192F;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1em;
    color: #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #FFD700;
}

.page-resources__list li strong {
    color: #FFD700;
}

/* FAQ Section */
.page-resources__faq-section {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-resources__faq-item {
    background-color: #1a2a47;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-resources__faq-answer {
    font-size: 1.1em;
    color: #d0d0d0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding-left: 10px;
}

.page-resources__faq-answer.open {
    max-height: 500px; /* Adjust based on expected content length */
    padding-top: 15px;
}

/* Bottom CTA Section */
.page-resources__cta-bottom {
    background: linear-gradient(90deg, #0A192F, #1a2a47);
    padding: 80px 0;
    text-align: center;
}

.page-resources__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-resources__cta-description {
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources__hero-title {
        font-size: 3em;
    }
    .page-resources__hero-description {
        font-size: 1.2em;
    }
    .page-resources__section-title {
        font-size: 2.2em;
    }
    .page-resources__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-resources__section-subtitle {
        font-size: 1.1em;
        margin-bottom: 40px;
    }
    .page-resources__grid {
        grid-template-columns: 1fr;
    }
    .page-resources__features-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__cta-title {
        font-size: 2em;
    }
    .page-resources__cta-description {
        font-size: 1.1em;
    }
    .page-resources__btn--large {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__article-title {
        font-size: 1.5em;
    }
    .page-resources__faq-question {
        font-size: 1.3em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__btn--primary, .page-resources__btn--secondary {
        width: 100%;
    }
    .page-resources__button-group {
        flex-direction: column;
    }
    .page-resources__list li {
        font-size: 1em;
        padding: 15px;
    }
}