/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Màu chữ tổng thể, đảm bảo tương phản với nền tối */
    background-color: #0A2239; /* Nền chính */
    line-height: 1.6;
}

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

.page-resources__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #1A3F5E 100%); /* Nền gradient cho hero */
    color: #FFFFFF;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-resources__hero-section > div {
    position: relative;
    z-index: 1;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Tiêu đề chính màu vàng */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

.page-resources__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Nút chính màu vàng */
    color: #0A2239;
}

.page-resources__btn--primary:hover {
    background-color: #E6C200;
    transform: translateY(-3px);
}

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

.page-resources__btn--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-resources__btn--center {
    display: block;
    margin: 30px auto 0 auto;
    width: fit-content;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Tiêu đề phụ màu vàng */
    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;
    border-radius: 2px;
}

.page-resources__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-resources__about-hi8823 .page-resources__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 400px;
}

.page-resources__resource-categories {
    background-color: #0E2A47;
}

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

.page-resources__grid-item {
    background-color: #1A3F5E;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources__grid-item:hover {
    transform: translateY(-5px);
    background-color: #2A547A;
}

.page-resources__grid-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

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

.page-resources__grid-description {
    font-size: 1em;
    color: #B0B0B0;
}

.page-resources__detail-pages {
    background-color: #0A2239;
}

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

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

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

.page-resources__resource-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    min-height: 60px; /* Đảm bảo chiều cao đồng đều cho tiêu đề */
}

.page-resources__resource-item h3 a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__resource-item h3 a:hover {
    color: #E6C200;
}

.page-resources__resource-item p {
    font-size: 0.95em;
    color: #B0B0B0;
    margin-bottom: 20px;
    flex-grow: 1; /* Đảm bảo đoạn văn bản chiếm đủ không gian */
}

.page-resources__benefits {
    background-color: #0E2A47;
}

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

.page-resources__benefits-list li {
    background-color: #1A3F5E;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #E0E0E0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.page-resources__list-icon {
    color: #FFD700;
    font-size: 1.5em;
    line-height: 1;
    flex-shrink: 0;
}

.page-resources__cta-section {
    background: linear-gradient(45deg, #0A2239, #1A3F5E);
    text-align: center;
    padding: 80px 0;
}

.page-resources__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources__cta-image {
    max-width: 600px;
    height: auto;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__commitment {
    background-color: #0A2239;
}

.page-resources__highlight {
    color: #FFD700;
}

.page-resources__keyword {
    font-weight: bold;
    color: #FFD700;
}

.page-resources__cta-text {
    font-size: 1.2em;
    text-align: center;
    margin-top: 40px;
    color: #E0E0E0;
}

/* 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: 2em;
    }
    .page-resources__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-resources__resource-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources__image--right {
        float: none;
        margin: 30px auto 0 auto;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-resources__section {
        padding: 40px 0;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__text-content {
        font-size: 1em;
    }
    .page-resources__grid {
        grid-template-columns: 1fr;
    }
    .page-resources__resource-list {
        grid-template-columns: 1fr;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__cta-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 0.95em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__btn {
        width: 90%;
    }
    .page-resources__grid-item {
        padding: 20px;
    }
    .page-resources__resource-item {
        padding: 20px;
    }
    .page-resources__resource-item h3 {
        font-size: 1.2em;
    }
    .page-resources__benefits-list li {
        font-size: 1em;
        padding: 15px;
    }
}