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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --btn-register: #C30808;
    --btn-login: #C30808;
    --btn-font-color: #FFFF00;
}

.page-resources-kubet-security-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Body background is light, so use dark text */
    background-color: var(--bg-light);
}

/* Hero Section */
.page-resources-kubet-security-features__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.page-resources-kubet-security-features__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.6));
    z-index: 1;
}

.page-resources-kubet-security-features__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-resources-kubet-security-features__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Adjust brightness to ensure text contrast, not color */
}

.page-resources-kubet-security-features__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-kubet-security-features__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-resources-kubet-security-features__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* General Content Area */
.page-resources-kubet-security-features__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-kubet-security-features__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-kubet-security-features__section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-resources-kubet-security-features h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-kubet-security-features__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-resources-kubet-security-features__paragraph a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-kubet-security-features__list,
.page-resources-kubet-security-features__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-resources-kubet-security-features__ordered-list {
    list-style-type: decimal;
}

.page-resources-kubet-security-features__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-kubet-security-features__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Buttons */
.page-resources-kubet-security-features__btn-primary,
.page-resources-kubet-security-features__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1em;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-kubet-security-features__btn-primary {
    background-color: var(--btn-register);
    color: var(--btn-font-color);
    border: 2px solid var(--btn-register);
    margin-right: 15px;
}

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

.page-resources-kubet-security-features__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-kubet-security-features__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-kubet-security-features__cta-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* Video Section */
.page-resources-kubet-security-features__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-resources-kubet-security-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-resources-kubet-security-features__video-caption {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-top: 10px;
    font-size: 0.95em;
}

/* FAQ Section */
.page-resources-kubet-security-features__faq-container {
    margin-top: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.page-resources-kubet-security-features__faq-item {
    border-bottom: 1px solid #eee;
}

.page-resources-kubet-security-features__faq-item:last-child {
    border-bottom: none;
}

.page-resources-kubet-security-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-kubet-security-features__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-kubet-security-features__faq-title {
    margin: 0;
    font-size: 1.15em;
    color: var(--primary-color);
}

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

.page-resources-kubet-security-features__faq-item.active .page-resources-kubet-security-features__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-kubet-security-features__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #f9f9f9;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

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

.page-resources-kubet-security-features__faq-answer .page-resources-kubet-security-features__paragraph {
    margin-bottom: 0;
    padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-kubet-security-features__hero-title {
        font-size: 2.2em;
    }

    .page-resources-kubet-security-features__hero-description {
        font-size: 1.1em;
    }

    .page-resources-kubet-security-features__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-resources-kubet-security-features {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-kubet-security-features__hero-section {
        padding: 40px 15px;
    }

    .page-resources-kubet-security-features__hero-title {
        font-size: 1.8em;
    }

    .page-resources-kubet-security-features__hero-description {
        font-size: 1em;
    }

    .page-resources-kubet-security-features__btn-primary,
    .page-resources-kubet-security-features__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 100% !important; /* Enforce full width */
        margin-right: 0;
    }

    .page-resources-kubet-security-features__cta-bottom {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-resources-kubet-security-features__content-area {
        padding: 20px 15px;
    }

    .page-resources-kubet-security-features__section-title {
        font-size: 1.5em;
    }

    .page-resources-kubet-security-features h3 {
        font-size: 1.3em;
    }

    .page-resources-kubet-security-features__paragraph,
    .page-resources-kubet-security-features__list-item {
        font-size: 1em;
    }

    .page-resources-kubet-security-features__hero-image,
    .page-resources-kubet-security-features__image-full-width,
    .page-resources-kubet-security-features__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }

    .page-resources-kubet-security-features__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-bottom: 56.25% !important;
    }

    .page-resources-kubet-security-features__faq-question {
        padding: 12px 15px;
        font-size: 1em;
    }

    .page-resources-kubet-security-features__faq-answer {
        padding: 0 15px;
    }

    .page-resources-kubet-security-features__faq-item.active .page-resources-kubet-security-features__faq-answer {
        padding: 15px !important;
    }

    .page-resources-kubet-security-features__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-resources-kubet-security-features__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-resources-kubet-security-features__hero-title {
        font-size: 1.5em;
    }

    .page-resources-kubet-security-features__section-title {
        font-size: 1.3em;
    }

    .page-resources-kubet-security-features h3 {
        font-size: 1.1em;
    }
}