/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Default text color for dark background */
    background-color: #1A0D3B; /* Main background color */
}

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

.page-resources__hero {
    background: linear-gradient(135deg, #1A0D3B 0%, #3a1f72 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.page-resources__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-resources__hero-image {
    margin-top: 50px;
}

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

.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
}

.page-resources__btn--primary {
    background-color: #FFD700;
    color: #1A0D3B;
    border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A0D3B;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

.page-resources__section-title .highlight {
    color: #FFD700;
}

.page-resources__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources__about, .page-resources__articles, .page-resources__why-choose, .page-resources__faq {
    padding: 60px 0;
    background-color: #2a1a52;
    margin-top: -1px; /* Prevent double borders/shadows */
}

.page-resources__about {
    background-color: #1A0D3B;
}

.page-resources__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 25px;
    text-align: justify;
}

.page-resources__features {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-resources__feature-item {
    background-color: #2a1a52;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-resources__feature-item:hover {
    transform: translateY(-10px);
}

.page-resources__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-resources__feature-item h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-resources__feature-item p {
    color: #c0c0c0;
    font-size: 1em;
    line-height: 1.6;
}

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

.page-resources__article-card {
    background-color: #1A0D3B;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px 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(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-resources__article-card h3 {
    font-size: 1.4em;
    color: #FFD700;
    margin: 20px 20px 10px;
    line-height: 1.4;
}

.page-resources__article-card h3 a {
    color: #FFD700;
    text-decoration: none;
}

.page-resources__article-card h3 a:hover {
    text-decoration: underline;
}

.page-resources__article-card p {
    font-size: 0.95em;
    color: #c0c0c0;
    line-height: 1.7;
    padding: 0 20px;
    flex-grow: 1;
}

.page-resources__article-card .page-resources__btn--secondary {
    margin: 20px;
    align-self: flex-start;
}

.page-resources__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources__list li {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

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

.page-resources__list li::before {
    content: '★'; /* Star icon */
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: 0;
}

.page-resources__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #1A0D3B;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-bottom p {
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.page-resources__accordion {
    margin-top: 40px;
}

.page-resources__accordion-item {
    background-color: #1A0D3B;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__accordion-header {
    background-color: #2a1a52;
    color: #FFD700;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-resources__accordion-header:hover {
    background-color: #3e2a6d;
}

.page-resources__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-resources__accordion-content {
    padding: 0 25px;
    background-color: #1A0D3B;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-resources__accordion-content p {
    color: #c0c0c0;
    line-height: 1.7;
    padding-bottom: 20px;
}

.page-resources__accordion-header.active + .page-resources__accordion-content {
    max-height: 200px; /* Adjust as needed for content height */
    padding-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__features {
        flex-direction: column;
        align-items: center;
    }
    .page-resources__feature-item {
        min-width: unset;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__text-block {
        font-size: 1em;
    }
    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__feature-item {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .page-resources__hero {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__btn {
        width: 100%;
        margin: 10px 0;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-resources__accordion-content p {
        font-size: 0.9em;
        padding-bottom: 15px;
    }
}