/* style/resources-jun88-security-features.css */

/* --- General Styles --- */
.page-resources-jun88-security-features {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared.css */
}

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

.page-resources-jun88-security-features__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-jun88-security-features__dark-bg {
    background-color: #017439; /* Primary brand color */
    color: #ffffff; /* White text for dark background */
}

.page-resources-jun88-security-features__light-bg {
    background-color: #ffffff; /* Secondary brand color (white) */
    color: #333333; /* Dark text for light background */
}

.page-resources-jun88-security-features__heading {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
    font-weight: 700;
}

.page-resources-jun88-security-features__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff; /* White text for contrast on dark green */
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-jun88-security-features__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-jun88-security-features__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit color from parent section */
}

.page-resources-jun88-security-features__text-center {
    text-align: center;
}

.page-resources-jun88-security-features__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* --- Buttons --- */
.page-resources-jun88-security-features__btn-primary,
.page-resources-jun88-security-features__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-jun88-security-features__btn-primary {
    background-color: #C30808; /* Red for primary action (Register/Login) */
    color: #FFFFFF; /* White text for primary button for WCAG AA contrast */
    border: 2px solid transparent;
}

.page-resources-jun88-security-features__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-resources-jun88-security-features__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Primary brand color for secondary button text */
    border: 2px solid #017439;
}

.page-resources-jun88-security-features__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-resources-jun88-security-features__hero-section {
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 80px;
    background-image: url('[GALLERY:hero:1920x1080:jun88,security_hero,cybersecurity,protection_shield]');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    z-index: 1;
}
.page-resources-jun88-security-features__hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for better text readability */
    z-index: -1;
}

/* --- Video Section --- */
.page-resources-jun88-security-features__video-section {
    padding-top: 60px; 
    padding-bottom: 60px;
}

.page-resources-jun88-security-features__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 30px auto;
    max-width: 900px; /* Max width for video */
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-jun88-security-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 8px;
}

/* --- FAQ Section --- */
.page-resources-jun88-security-features__faq-list {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-resources-jun88-security-features__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-jun88-security-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #e0e0e0;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-resources-jun88-security-features__faq-question:hover {
    background-color: #d0d0d0;
}

.page-resources-jun88-security-features__faq-title {
    margin: 0;
    font-size: 1.25em;
    color: inherit;
}

.page-resources-jun88-security-features__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    font-weight: normal;
}

.page-resources-jun88-security-features__faq-item.active .page-resources-jun88-security-features__faq-toggle {
    transform: rotate(45deg); /* For '-' symbol, '+' rotates to '-' */
}

.page-resources-jun88-security-features__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-resources-jun88-security-features__hero-title {
        font-size: 2.8em;
    }
    .page-resources-jun88-security-features__heading {
        font-size: 2.2em;
    }
    .page-resources-jun88-security-features__paragraph {
        font-size: 1em;
    }
    .page-resources-jun88-security-features__faq-question {
        padding: 15px 20px;
    }
    .page-resources-jun88-security-features__faq-title {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-resources-jun88-security-features {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-jun88-security-features__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
        padding-bottom: 60px;
        min-height: 50vh;
    }
    .page-resources-jun88-security-features__hero-title {
        font-size: 2em;
    }
    .page-resources-jun88-security-features__hero-description {
        font-size: 1em;
    }
}