/* style/resources.css */

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

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

.page-resources__container--centered {
    text-align: center;
}

.page-resources__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__section:last-of-type {
    border-bottom: none;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-resources__highlight {
    color: #FFD700;
}

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #0A192F; /* Dark blue text */
}

.page-resources__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

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

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%); /* Gradient background */
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff; /* White title on dark background */
}

.page-resources__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Content Wrapper for text and image */
.page-resources__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-resources__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-resources__text-content {
    flex: 1;
    font-size: 1.1em;
    color: #cccccc;
}

.page-resources__text-content p {
    margin-bottom: 15px;
}

.page-resources__text-content strong {
    color: #FFD700;
}

.page-resources__image-box {
    flex: 1;
    text-align: center;
}

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

/* Strategy Grid */
.page-resources__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources__strategy-item {
    background-color: #1a2c42; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-resources__strategy-item .page-resources__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

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

.page-resources__strategy-item p {
    color: #cccccc;
    font-size: 1em;
}

.page-resources__cta-box {
    text-align: center;
    padding: 30px;
    background-color: #1a2c42;
    border-radius: 10px;
    margin-top: 40px;
}

.page-resources__cta-box p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Review Grid */
.page-resources__review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-resources__review-item {
    background-color: #1a2c42;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__review-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-resources__review-item p {
    color: #cccccc;
}

/* List styles */
.page-resources__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1em;
    color: #cccccc;
}

.page-resources__list li {
    background-color: #1a2c42;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources__list li::before {
    content: '⭐'; /* Star icon */
    margin-right: 15px;
    color: #FFD700;
    font-size: 1.2em;
    line-height: 1;
}

/* Detail Pages List */
.page-resources__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources__detail-item {
    background-color: #1a2c42;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

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

.page-resources__detail-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-resources__detail-title a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

/* Mobile App Section */
.page-resources__app-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-resources__app-image {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-resources__faq-item {
    background-color: #1a2c42;
    margin-bottom: 15px;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    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;
}

/* This is a simple visual indication, JS would handle actual toggle */
.page-resources__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

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

.page-resources__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    margin-top: 10px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }

    .page-resources__section-title {
        font-size: 2em;
    }

    .page-resources__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-resources__content-wrapper--reverse {
        flex-direction: column;
    }

    .page-resources__image-box {
        order: -1; /* Image appears above text on mobile for reversed sections */
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 70px 0;
    }

    .page-resources__hero-title {
        font-size: 2.2em;
    }

    .page-resources__hero-subtitle {
        font-size: 1.1em;
    }

    .page-resources__section {
        padding: 40px 0;
    }

    .page-resources__section-title {
        font-size: 1.8em;
    }

    .page-resources__strategy-grid,
    .page-resources__review-grid,
    .page-resources__detail-list {
        grid-template-columns: 1fr;
    }

    .page-resources__list li {
        padding: 10px 15px;
        font-size: 1em;
    }

    .page-resources__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }

    .page-resources__section-title {
        font-size: 1.5em;
    }

    .page-resources__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-resources__btn--large {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources__list li::before {
        margin-right: 10px;
    }
}