/* style/resources-platform-security.css */

/* Base styles for the page */
.page-resources-platform-security {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

/* Hero Section */
.page-resources-platform-security__hero-section {
    position: relative;
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    padding-bottom: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Ensure hero section has a decent height */
}

.page-resources-platform-security__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-platform-security__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons in Hero */
.page-resources-platform-security__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-platform-security__btn-primary,
.page-resources-platform-security__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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-resources-platform-security__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-resources-platform-security__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-platform-security__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* Content Area */
.page-resources-platform-security__content-area {
    padding: 60px 0;
}

.page-resources-platform-security__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-platform-security__dark-section {
    background-color: #017439; /* Primary brand color for dark sections */
    color: #ffffff;
}

.page-resources-platform-security__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-resources-platform-security__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-resources-platform-security__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Safety Tips List */
.page-resources-platform-security__safety-tips {
    list-style: disc;
    padding-left: 40px;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-resources-platform-security__safety-tips li {
    margin-bottom: 15px;
}

/* FAQ Section */
.page-resources-platform-security__faq-list {
    margin-top: 40px;
}

.page-resources-platform-security__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-resources-platform-security__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-platform-security__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-resources-platform-security__faq-question::-webkit-details-marker {
    display: none;
}

.page-resources-platform-security__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-platform-security__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-resources-platform-security__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.page-resources-platform-security__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-resources-platform-security__faq-answer p {
    margin-bottom: 0;
}

.page-resources-platform-security__faq-answer a {
    color: #FFFF00; /* Link color for FAQ answers */
    text-decoration: underline;
}

.page-resources-platform-security__faq-answer a:hover {
    color: #e02020;
}

/* Call to Action Section */
.page-resources-platform-security__cta-section {
    background-color: #017439;
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-resources-platform-security__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-platform-security__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-platform-security__hero-title {
        font-size: 2.8em;
    }
    .page-resources-platform-security__section-title,
    .page-resources-platform-security__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-platform-security__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        min-height: unset;
    }
    .page-resources-platform-security__hero-title {
        font-size: 2em;
    }
    .page-resources-platform-security__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-resources-platform-security__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-platform-security__btn-primary,
    .page-resources-platform-security__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }
    .page-resources-platform-security__content-area,
    .page-resources-platform-security__cta-section {
        padding: 40px 0;
    }
    .page-resources-platform-security__section-title,
    .page-resources-platform-security__cta-title {
        font-size: 1.8em;
    }
    .page-resources-platform-security__paragraph,
    .page-resources-platform-security__safety-tips li,
    .page-resources-platform-security__faq-question,
    .page-resources-platform-security__faq-answer {
        font-size: 1em;
    }
    .page-resources-platform-security__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-platform-security img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-platform-security__faq-question {
        padding: 15px 20px;
    }
    .page-resources-platform-security__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-platform-security__hero-title {
        font-size: 1.8em;
    }
    .page-resources-platform-security__section-title,
    .page-resources-platform-security__cta-title {
        font-size: 1.5em;
    }
    .page-resources-platform-security__safety-tips {
        padding-left: 20px;
    }
}