/* style/resources.css */

/* Base styles for the page content */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark grey for body text on light background */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for the whole page */
}

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

.page-resources__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-resources__section:nth-of-type(odd) {
    background-color: #ffffff;
}

.page-resources__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-resources__section-title {
    font-size: 2.8em;
    color: #1A237E; /* Deep indigo for main titles */
    text-align: center;
    margin-bottom: 40px;
    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; /* Gold accent under titles */
    border-radius: 2px;
}

.page-resources__sub-title {
    font-size: 1.8em;
    color: #1A237E; /* Deep indigo for subtitles */
    margin-bottom: 20px;
}

.page-resources__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources__hero-section {
    background: linear-gradient(135deg, #1A237E 0%, #3F51B5 100%); /* Dark blue gradient */
    color: #ffffff; /* White text on dark background */
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[IMAGE:resource_list_bg]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-resources__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for hero title */
    line-height: 1.2;
}

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #E0E0E0; /* Light grey for hero description */
}

.page-resources__hero-image-wrapper {
    display: none; /* Hidden on desktop for simplicity, could be displayed on larger screens */
}

.page-resources__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A237E; /* Deep indigo text on gold */
    border: 2px solid #FFD700;
    margin-right: 15px;
}

.page-resources__btn--primary:hover {
    background-color: #e5c100; /* Darker gold on hover */
    border-color: #e5c100;
    transform: translateY(-2px);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #1A237E; /* Deep indigo text */
    border: 2px solid #1A237E;
}

.page-resources__btn--secondary:hover {
    background-color: #1A237E; /* Deep indigo background on hover */
    color: #FFD700; /* Gold text on hover */
    transform: translateY(-2px);
}

/* Platform Overview Section */
.page-resources__platform-overview .page-resources__content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.page-resources__platform-overview .page-resources__content-block--reverse {
    flex-direction: row-reverse;
}

.page-resources__platform-overview .page-resources__content-icon {
    width: 250px;
    height: 250px;
    min-width: 200px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources__platform-overview .page-resources__text-content {
    flex: 1;
    min-width: 300px;
}

.page-resources__platform-overview .page-resources__text-content p {
    margin-bottom: 15px;
    color: #444444;
}

/* Brand Overview */
.page-resources__brand-overview .page-resources__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources__brand-overview .page-resources__grid-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-resources__brand-overview .page-resources__grid-item:hover {
    transform: translateY(-5px);
}

.page-resources__brand-overview .page-resources__grid-item p {
    color: #555555;
}

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

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

.page-resources__article-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-resources__article-title a {
    color: #1A237E; /* Deep indigo for article titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
    color: #FFD700; /* Gold on hover */
}

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

/* FAQ Section */
.page-resources__faq {
    background-color: #ffffff;
}

.page-resources__faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 20px;
}

.page-resources__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-resources__faq-question {
    font-size: 1.3em;
    color: #1A237E; /* Deep indigo for FAQ questions */
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
    padding-right: 30px;
}

.page-resources__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

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

.page-resources__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
    padding-top: 0;
}

.page-resources__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content length */
    padding-top: 15px;
}

/* Call to Action Section */
.page-resources__cta-section {
    background: linear-gradient(45deg, #1A237E, #3F51B5); /* Dark blue gradient */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-resources__cta-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for CTA title */
    margin-bottom: 20px;
}

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

.page-resources__cta-buttons .page-resources__btn {
    margin: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 3em;
    }
    .page-resources__section-title {
        font-size: 2.2em;
    }
    .page-resources__sub-title {
        font-size: 1.6em;
    }
    .page-resources__platform-overview .page-resources__content-block {
        flex-direction: column;
        text-align: center;
    }
    .page-resources__platform-overview .page-resources__content-block--reverse {
        flex-direction: column;
    }
    .page-resources__platform-overview .page-resources__content-icon {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__sub-title {
        font-size: 1.4em;
    }
    .page-resources__btn {
        padding: 12px 24px;
        font-size: 1em;
    }
    .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__brand-overview .page-resources__content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-section {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__section {
        padding: 40px 0;
    }
    .page-resources__section-title {
        font-size: 1.6em;
    }
    .page-resources__cta-title {
        font-size: 2em;
    }
    .page-resources__cta-buttons {
        display: flex;
        flex-direction: column;
    }
    .page-resources__cta-buttons .page-resources__btn {
        margin: 10px 0;
    }
}