/* style/resources-thabet-security-guide.css */

:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --border-color: rgba(255, 255, 255, 0.1);
    --spacing-unit: 16px;
}

.page-resources-thabet-security-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for the page, assuming dark body background */
    background-color: var(--primary-color);
}

.page-resources-thabet-security-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.page-resources-thabet-security-guide__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
}

.page-resources-thabet-security-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-offset, 120px) + 60px) 0 60px 0;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--text-on-dark);
}

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

.page-resources-thabet-security-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: var(--spacing-unit);
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-thabet-security-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: calc(2 * var(--spacing-unit));
    max-width: 800px;
    line-height: 1.8;
}

.page-resources-thabet-security-guide__btn-primary,
.page-resources-thabet-security-guide__btn-secondary {
    display: inline-block;
    padding: var(--spacing-unit) calc(2 * var(--spacing-unit));
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

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

.page-resources-thabet-security-guide__btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-resources-thabet-security-guide__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: var(--spacing-unit);
}

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

.page-resources-thabet-security-guide__content-area {
    padding: calc(4 * var(--spacing-unit)) 0;
}

.page-resources-thabet-security-guide__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: calc(2 * var(--spacing-unit));
    text-align: center;
}

.page-resources-thabet-security-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: calc(1.5 * var(--spacing-unit));
    line-height: 1.8;
    text-align: justify;
}

.page-resources-thabet-security-guide__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: calc(2 * var(--spacing-unit)) auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-thabet-security-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-unit);
    margin-top: calc(3 * var(--spacing-unit));
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-resources-thabet-security-guide__faq-section {
    padding: calc(4 * var(--spacing-unit)) 0;
}

.page-resources-thabet-security-guide__faq-list {
    margin-top: calc(2 * var(--spacing-unit));
}

.page-resources-thabet-security-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: var(--spacing-unit);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-resources-thabet-security-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(1.5 * var(--spacing-unit));
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-resources-thabet-security-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-resources-thabet-security-guide__faq-title {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin: 0;
}

.page-resources-thabet-security-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.page-resources-thabet-security-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 var(--spacing-unit);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-thabet-security-guide__faq-item.active .page-resources-thabet-security-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: var(--spacing-unit) calc(1.5 * var(--spacing-unit));
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources-thabet-security-guide__hero-title {
        font-size: 3em;
    }
    .page-resources-thabet-security-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-thabet-security-guide__hero-section {
        padding: calc(var(--header-offset, 120px) + 40px) var(--spacing-unit) 40px var(--spacing-unit);
        min-height: 400px;
    }

    .page-resources-thabet-security-guide__hero-title {
        font-size: 2.2em;
    }

    .page-resources-thabet-security-guide__hero-description,
    .page-resources-thabet-security-guide__paragraph {
        font-size: 1em;
    }

    .page-resources-thabet-security-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-thabet-security-guide__btn-primary,
    .page-resources-thabet-security-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: var(--spacing-unit);
        padding: calc(0.8 * var(--spacing-unit)) calc(1.5 * var(--spacing-unit));
    }
    
    .page-resources-thabet-security-guide__cta-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 var(--spacing-unit);
    }

    .page-resources-thabet-security-guide__content-area,
    .page-resources-thabet-security-guide__faq-section {
        padding: calc(2 * var(--spacing-unit)) 0;
    }

    .page-resources-thabet-security-guide__faq-question {
        padding: var(--spacing-unit);
    }

    .page-resources-thabet-security-guide__faq-title {
        font-size: 1.1em;
    }

    /* Mobile image and video responsiveness */
    .page-resources-thabet-security-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-resources-thabet-security-guide__container,
    .page-resources-thabet-security-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: var(--spacing-unit);
        padding-right: var(--spacing-unit);
    }
    
    .page-resources-thabet-security-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-resources-thabet-security-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-thabet-security-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-thabet-security-guide__hero-description,
    .page-resources-thabet-security-guide__paragraph {
        font-size: 0.95em;
    }
}