/* style/resources-win55-security-compliance.css */

/* Base styles for the page content */
.page-resources-win55-security-compliance {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set for content area */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-win55-security-compliance__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-win55-security-compliance__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
    padding-top: 0; /* Header offset is on main, not hero */
}

.page-resources-win55-security-compliance__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-win55-security-compliance__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-win55-security-compliance__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-resources-win55-security-compliance__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources-win55-security-compliance__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* CTA Buttons */
.page-resources-win55-security-compliance__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-resources-win55-security-compliance__btn-primary,
.page-resources-win55-security-compliance__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure buttons adapt to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
    text-align: center;
}

.page-resources-win55-security-compliance__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-resources-win55-security-compliance__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-win55-security-compliance__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #FFFF00;
}

.page-resources-win55-security-compliance__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

/* Content Sections */
.page-resources-win55-security-compliance__content-section {
    padding: 60px 0;
}

.page-resources-win55-security-compliance__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-win55-security-compliance__dark-section {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
}

.page-resources-win55-security-compliance__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from parent section (dark or light) */
}

.page-resources-win55-security-compliance__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-win55-security-compliance__content-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

.page-resources-win55-security-compliance__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-resources-win55-security-compliance__list li {
    margin-bottom: 10px;
}

/* FAQ Section */
.page-resources-win55-security-compliance__faq-section {
    padding: 60px 0;
}

.page-resources-win55-security-compliance__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-win55-security-compliance__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-resources-win55-security-compliance__faq-item.active {
    background-color: #e6ffe6; /* Light green when active */
}

.page-resources-win55-security-compliance__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    color: #017439; /* Brand color for questions */
    transition: color 0.3s ease;
}

.page-resources-win55-security-compliance__faq-question:hover {
    color: #005f2f; /* Slightly darker on hover */
}

.page-resources-win55-security-compliance__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-resources-win55-security-compliance__faq-item.active .page-resources-win55-security-compliance__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-resources-win55-security-compliance__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #333333;
}

.page-resources-win55-security-compliance__faq-item.active .page-resources-win55-security-compliance__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 15px 20px 20px;
}

.page-resources-win55-security-compliance__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-resources-win55-security-compliance__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Main brand color */
    color: #ffffff;
}

.page-resources-win55-security-compliance__cta-content {
    max-width: 900px;
}

.page-resources-win55-security-compliance__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-resources-win55-security-compliance__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-win55-security-compliance__hero-title {
        font-size: 2.8em;
    }
    .page-resources-win55-security-compliance__section-title {
        font-size: 2em;
    }
    .page-resources-win55-security-compliance__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-resources-win55-security-compliance {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

    .page-resources-win55-security-compliance__hero-section {
        height: 500px;
        padding-top: 0; /* Already handled by main padding-top */
    }

    .page-resources-win55-security-compliance__hero-title {
        font-size: 2.2em;
    }

    .page-resources-win55-security-compliance__hero-description {
        font-size: 1.1em;
    }

    .page-resources-win55-security-compliance__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-win55-security-compliance__btn-primary,
    .page-resources-win55-security-compliance__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    .page-resources-win55-security-compliance__cta-buttons {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    .page-resources-win55-security-compliance__content-section {
        padding: 40px 0;
    }

    .page-resources-win55-security-compliance__section-title {
        font-size: 1.8em;
    }
    
    /* Mobile image adaptation */
    .page-resources-win55-security-compliance img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-resources-win55-security-compliance__content-section,
    .page-resources-win55-security-compliance__faq-section,
    .page-resources-win55-security-compliance__cta-section,
    .page-resources-win55-security-compliance__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* FAQ Specific Mobile Adjustments */
    .page-resources-win55-security-compliance__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-resources-win55-security-compliance__faq-answer {
        padding: 0 15px;
    }
    .page-resources-win55-security-compliance__faq-item.active .page-resources-win55-security-compliance__faq-answer {
        padding: 10px 15px 15px;
    }

    .page-resources-win55-security-compliance__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-resources-win55-security-compliance__hero-title {
        font-size: 1.8em;
    }
    .page-resources-win55-security-compliance__hero-description {
        font-size: 1em;
    }
    .page-resources-win55-security-compliance__section-title {
        font-size: 1.5em;
    }
    .page-resources-win55-security-compliance__cta-title {
        font-size: 1.8em;
    }
}

/* Ensure content images are not filtered */
.page-resources-win55-security-compliance img {
    filter: none; /* Absolutely no filter */
}