/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%); /* Deep blue gradient */
    color: #fff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 400px;
}

.page-resources__hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
    padding-left: 20px;
}

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

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-resources__hero-btn {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A2342; /* Deep blue text for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-resources__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

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

/* General Sections */
.page-resources__intro-section, 
.page-resources__detail-list-section, 
.page-resources__long-content {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #0A2342; /* Deep blue title */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

.page-resources__sub-section-title {
    font-size: 2em;
    color: #0A2342;
    margin-top: 50px;
    margin-bottom: 25px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-resources__mini-title {
    font-size: 1.6em;
    color: #1A3F6C; /* Slightly lighter blue for sub-sub titles */
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-resources__paragraph {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
}

.page-resources__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-resources__list li {
    margin-bottom: 10px;
    color: #555;
    font-size: 1.05em;
}

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

.page-resources__image-small {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources__image-full-width {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

.page-resources__detail-item {
    background-color: #f0f4f7;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources__item-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #0A2342;
}

.page-resources__item-title a {
    color: #0A2342;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__item-title a:hover {
    color: #FFD700;
}

.page-resources__item-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    min-height: 60px; /* Ensure consistent height */
}

.page-resources__item-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2342;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-resources__item-btn:hover {
    background-color: #e6c200;
}

/* Call to Action Group */
.page-resources__cta-group {
    text-align: center;
    margin-top: 60px;
}

.page-resources__cta-btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.page-resources__cta-btn--primary {
    background-color: #FFD700;
    color: #0A2342;
    border: 2px solid #FFD700;
}

.page-resources__cta-btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources__cta-btn--secondary {
    background-color: transparent;
    color: #0A2342;
    border: 2px solid #0A2342;
}

.page-resources__cta-btn--secondary:hover {
    background-color: #0A2342;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }

    .page-resources__hero-content,
    .page-resources__hero-image-wrapper {
        padding: 0 20px;
        max-width: 100%;
    }

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

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

    .page-resources__image-small {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-resources__section-title {
        font-size: 2em;
    }

    .page-resources__sub-section-title {
        font-size: 1.7em;
    }

    .page-resources__mini-title {
        font-size: 1.4em;
    }

    .page-resources__detail-grid {
        grid-template-columns: 1fr;
    }

    .page-resources__cta-btn {
        margin: 10px 0;
        width: 80%;
    }
}

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

    .page-resources__hero-description {
        font-size: 1em;
    }

    .page-resources__hero-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-resources__intro-section, 
    .page-resources__detail-list-section, 
    .page-resources__long-content {
        padding: 40px 0;
    }

    .page-resources__paragraph,
    .page-resources__list li {
        font-size: 0.95em;
    }

    .page-resources__cta-btn {
        font-size: 1.1em;
        padding: 15px 30px;
        width: 90%;
    }
}