/* style/resources-daga68-security-fairness.css */

/* Base Styles for the Page Content */
.page-resources-daga68-security-fairness {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #000000 (dark), so use light text */
    background-color: #000000; /* Ensure main content background matches body if needed, or is transparent to show body */
    padding-bottom: 40px; /* Space above footer */
}

.page-resources-daga68-security-fairness__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-daga68-security-fairness__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: var(--header-offset, 120px) 20px 60px; /* Fixed header offset, desktop */
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
    overflow: hidden;
}

.page-resources-daga68-security-fairness__hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    margin-right: 40px; /* Space between text and image */
}

.page-resources-daga68-security-fairness__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-daga68-security-fairness__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-daga68-security-fairness__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources-daga68-security-fairness__hero-image {
    position: relative;
    z-index: 1;
    max-width: 50%; /* Image takes up half the space */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-resources-daga68-security-fairness__btn-primary,
.page-resources-daga68-security-fairness__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding doesn't increase width beyond max-width */
}

/* Specific button colors for Register/Login */
.page-resources-daga68-security-fairness__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login text color */
    border: 2px solid #C30808;
}

.page-resources-daga68-security-fairness__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    color: #ffffff;
}

.page-resources-daga68-security-fairness__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-daga68-security-fairness__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-resources-daga68-security-fairness__video-cta {
    margin-top: 30px;
    background-color: #017439; /* Use primary brand color for video CTA */
    color: #ffffff;
    border: 2px solid #017439;
}
.page-resources-daga68-security-fairness__video-cta:hover {
    background-color: #005f2e;
    border-color: #005f2e;
    color: #ffffff;
}

/* Section Titles and Descriptions */
.page-resources-daga68-security-fairness__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

.page-resources-daga68-security-fairness__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-resources-daga68-security-fairness__paragraph {
    font-size: 1.05em;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Links within content */
.page-resources-daga68-security-fairness__link {
    color: #00bfff; /* A distinct color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-daga68-security-fairness__link:hover {
    color: #008cbf;
}

/* Video Section */
.page-resources-daga68-security-fairness__video-section {
    background-color: #1a1a1a;
    padding: 60px 20px;
    text-align: center;
}

.page-resources-daga68-security-fairness__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px; /* Max width for video */
    margin: 0 auto 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-resources-daga68-security-fairness__video-link {
    display: block; /* Make the whole area clickable */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-resources-daga68-security-fairness__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

/* Feature Grid (for Security & Fairness sections) */
.page-resources-daga68-security-fairness__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-daga68-security-fairness__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* Light text for dark card background */
}

.page-resources-daga68-security-fairness__feature-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-resources-daga68-security-fairness__feature-description {
    font-size: 1em;
    color: #e0e0e0;
    text-align: center;
}

.page-resources-daga68-security-fairness__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
}

.page-resources-daga68-security-fairness__main-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
}

/* FAQ Section */
.page-resources-daga68-security-fairness__faq-list {
    margin-top: 40px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-daga68-security-fairness__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Dark card background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-daga68-security-fairness__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff; /* Light text for dark background */
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15); /* Slightly darker for question area */
    transition: background-color 0.3s ease;
}

.page-resources-daga68-security-fairness__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-daga68-security-fairness__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-daga68-security-fairness__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0; /* Light text for dark background */
}

.page-resources-daga68-security-fairness__faq-item.active .page-resources-daga68-security-fairness__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-daga68-security-fairness__faq-item.active .page-resources-daga68-security-fairness__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' visually */
}

.page-resources-daga68-security-fairness__faq-answer p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

/* Bottom CTA */
.page-resources-daga68-security-fairness__cta-bottom {
    text-align: center;
    padding: 60px 20px;
    background-color: #017439; /* Brand primary color */
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.page-resources-daga68-security-fairness__cta-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-resources-daga68-security-fairness__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-daga68-security-fairness__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: var(--header-offset, 120px);
        min-height: unset;
    }

    .page-resources-daga68-security-fairness__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .page-resources-daga68-security-fairness__hero-image {
        max-width: 80%;
    }

    .page-resources-daga68-security-fairness__section-title {
        font-size: 2em;
    }

    .page-resources-daga68-security-fairness__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Ensure content containers have padding for mobile */
    .page-resources-daga68-security-fairness__container,
    .page-resources-daga68-security-fairness__hero-section,
    .page-resources-daga68-security-fairness__video-section,
    .page-resources-daga68-security-fairness__content-area,
    .page-resources-daga68-security-fairness__cta-bottom {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-daga68-security-fairness__hero-title {
        font-size: 2.2em;
    }

    .page-resources-daga68-security-fairness__hero-description {
        font-size: 1em;
    }

    .page-resources-daga68-security-fairness__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Mobile button responsiveness */
    .page-resources-daga68-security-fairness__btn-primary,
    .page-resources-daga68-security-fairness__btn-secondary,
    .page-resources-daga68-security-fairness a[class*="button"],
    .page-resources-daga68-security-fairness a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-daga68-security-fairness__section-title {
        font-size: 1.8em;
    }

    .page-resources-daga68-security-fairness__section-description {
        font-size: 1em;
    }

    .page-resources-daga68-security-fairness__feature-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile image responsiveness */
    .page-resources-daga68-security-fairness img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size is kept */
        min-height: 200px !important; /* Ensure min size is kept */
    }

    /* Mobile video responsiveness */
    .page-resources-daga68-security-fairness video,
    .page-resources-daga68-security-fairness__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-daga68-security-fairness__video-section,
    .page-resources-daga68-security-fairness__video-container,
    .page-resources-daga68-security-fairness__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Specific padding for video section to handle header offset on mobile */
    .page-resources-daga68-security-fairness__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-daga68-security-fairness__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-resources-daga68-security-fairness__faq-answer {
        padding: 0 20px;
    }

    .page-resources-daga68-security-fairness__faq-item.active .page-resources-daga68-security-fairness__faq-answer {
        padding: 15px 20px;
    }

    .page-resources-daga68-security-fairness__cta-title {
        font-size: 1.8em;
    }
}