/* style/resources-risk-management.css */

/* Variables for consistent styling */
:root {
    --page-risk-management-primary-color: #007bff;
    --page-risk-management-secondary-color: #ffc107;
    --page-risk-management-dark-text: #333333;
    --page-risk-management-light-text: #ffffff;
    --page-risk-management-background-light: #f8f9fa;
    --page-risk-management-background-dark: #0056b3; /* Darker variant of primary */
    --page-risk-management-accent-dark: #b38705; /* Darker variant of secondary */
    --page-risk-management-border-color: #dee2e6;
}

.page-resources-risk-management {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-risk-management-dark-text);
    background-color: var(--page-risk-management-background-light);
}

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

.page-resources-risk-management__hero {
    background: linear-gradient(135deg, var(--page-risk-management-primary-color) 0%, #0056b3 100%);
    color: var(--page-risk-management-light-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-risk-management__hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
    padding: 20px;
}

.page-resources-risk-management__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-risk-management-light-text);
    line-height: 1.2;
}

.page-resources-risk-management__subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-resources-risk-management__hero-image-wrapper {
    position: absolute;
    bottom: -20px; /* Adjust as needed */
    right: -20px; /* Adjust as needed */
    width: 350px; /* Adjust size */
    height: 350px; /* Adjust size */
    opacity: 0.2;
    z-index: 0;
}

.page-resources-risk-management__hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-resources-risk-management__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    border: 2px solid transparent;
}

.page-resources-risk-management__btn--primary {
    background-color: var(--page-risk-management-secondary-color);
    color: var(--page-risk-management-dark-text);
    border-color: var(--page-risk-management-secondary-color);
}

.page-resources-risk-management__btn--primary:hover {
    background-color: #e6a700; /* Darker secondary */
    border-color: #e6a700;
    transform: translateY(-2px);
}

.page-resources-risk-management__btn--secondary {
    background-color: transparent;
    color: var(--page-risk-management-primary-color);
    border-color: var(--page-risk-management-primary-color);
}

.page-resources-risk-management__btn--secondary:hover {
    background-color: var(--page-risk-management-primary-color);
    color: var(--page-risk-management-light-text);
    transform: translateY(-2px);
}

.page-resources-risk-management__btn--tertiary {
    background-color: var(--page-risk-management-primary-color);
    color: var(--page-risk-management-light-text);
    border-color: var(--page-risk-management-primary-color);
}

.page-resources-risk-management__btn--tertiary:hover {
    background-color: var(--page-risk-management-background-dark);
    border-color: var(--page-risk-management-background-dark);
    transform: translateY(-2px);
}

.page-resources-risk-management__section {
    padding: 60px 0;
    background-color: var(--page-risk-management-background-light);
}

.page-resources-risk-management__section--why-important {
    background-color: var(--page-risk-management-light-text);
}

.page-resources-risk-management__section--principles {
    background-color: var(--page-risk-management-background-light);
}

.page-resources-risk-management__section--tools {
    background-color: var(--page-risk-management-light-text);
}

.page-resources-risk-management__section--responsible {
    background-color: var(--page-risk-management-background-light);
}

.page-resources-risk-management__section--tips {
    background-color: var(--page-risk-management-light-text);
}

.page-resources-risk-management__section-title {
    font-size: 2.5em;
    color: var(--page-risk-management-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-risk-management__sub-title {
    font-size: 1.8em;
    color: var(--page-risk-management-dark-text);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-risk-management__sub-title--center {
    text-align: center;
}

.page-resources-risk-management__text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-resources-risk-management__feature-item {
    background-color: var(--page-risk-management-light-text);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-resources-risk-management__feature-item:hover {
    transform: translateY(-5px);
}

.page-resources-risk-management__feature-title {
    font-size: 1.5em;
    color: var(--page-risk-management-primary-color);
    margin-bottom: 15px;
}

.page-resources-risk-management__content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.page-resources-risk-management__content-block--reversed {
    flex-direction: row-reverse;
}

.page-resources-risk-management__content-text {
    flex: 1;
    min-width: 300px;
}

.page-resources-risk-management__content-text p {
    margin-bottom: 15px;
}

.page-resources-risk-management__content-text ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-resources-risk-management__content-text ul li {
    margin-bottom: 8px;
}

.page-resources-risk-management__content-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-resources-risk-management__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
}

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

.page-resources-risk-management__list li {
    background-color: var(--page-risk-management-light-text);
    border-left: 5px solid var(--page-risk-management-primary-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.page-resources-risk-management__list-title {
    font-size: 1.6em;
    color: var(--page-risk-management-primary-color);
    margin-bottom: 10px;
}

.page-resources-risk-management__bullet-list {
    list-style-type: disc;
    margin-left: 25px;
    padding: 0;
    font-size: 1.1em;
    max-width: 800px;
    margin: 30px auto;
}

.page-resources-risk-management__bullet-list li {
    margin-bottom: 10px;
}

.page-resources-risk-management__cta {
    background: linear-gradient(90deg, var(--page-risk-management-primary-color) 0%, var(--page-risk-management-background-dark) 100%);
    color: var(--page-risk-management-light-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-risk-management__cta-content {
    position: relative;
    z-index: 1;
}

.page-resources-risk-management__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-risk-management-light-text);
}

.page-resources-risk-management__cta-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-risk-management__cta-buttons .page-resources-risk-management__btn {
    margin: 0 15px;
    min-width: 180px;
}

.page-resources-risk-management__cta-image {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: auto;
    opacity: 0.1;
    transform: rotate(-15deg);
    z-index: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-risk-management__title {
        font-size: 2.5em;
    }
    .page-resources-risk-management__subtitle {
        font-size: 1.2em;
    }
    .page-resources-risk-management__section-title {
        font-size: 2em;
    }
    .page-resources-risk-management__sub-title {
        font-size: 1.6em;
    }
    .page-resources-risk-management__content-block {
        flex-direction: column;
        text-align: center;
    }
    .page-resources-risk-management__content-block--reversed {
        flex-direction: column;
    }
    .page-resources-risk-management__content-text, .page-resources-risk-management__content-image {
        min-width: unset;
        width: 100%;
    }
    .page-resources-risk-management__cta-title {
        font-size: 2.2em;
    }
    .page-resources-risk-management__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .page-resources-risk-management__cta-buttons .page-resources-risk-management__btn {
        margin: 0;
        width: 80%;
    }
    .page-resources-risk-management__hero-image-wrapper {
        width: 250px;
        height: 250px;
        bottom: 0;
        right: 0;
    }
    .page-resources-risk-management__cta-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-resources-risk-management__hero {
        padding: 60px 0;
    }
    .page-resources-risk-management__title {
        font-size: 2em;
    }
    .page-resources-risk-management__subtitle {
        font-size: 1em;
    }
    .page-resources-risk-management__section {
        padding: 40px 0;
    }
    .page-resources-risk-management__section-title {
        font-size: 1.8em;
    }
    .page-resources-risk-management__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-risk-management__list li {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-risk-management__title {
        font-size: 1.8em;
    }
    .page-resources-risk-management__subtitle {
        font-size: 0.9em;
    }
    .page-resources-risk-management__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-risk-management__hero-image-wrapper {
        width: 180px;
        height: 180px;
    }
}