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

/* Base styles for the page content */
.page-resources-security-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1);
}

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

.page-resources-security-guide__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-security-guide__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-security-guide__dark-bg {
    background-color: #1a1a1a; /* A darker background for sections */
    color: #ffffff;
}

.page-resources-security-guide__light-bg {
    background-color: #262626; /* A slightly lighter dark background for contrast */
    color: #ffffff;
}

/* Hero Section */
.page-resources-security-guide__hero-section {
    padding: 100px 0 60px; /* Adjusted padding to prevent header overlap */
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero_main:1920x1080:mv88 nhà cái,security,guide,platform,hero]');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.page-resources-security-guide__hero-title {
    font-size: 3.5em;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-security-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources-security-guide__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources-security-guide__btn-primary,
.page-resources-security-guide__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%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-security-guide__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-security-guide__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-resources-security-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-security-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Video Section */
.page-resources-security-guide__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-resources-security-guide__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for the video */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-security-guide__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    border-radius: 12px;
}

/* Grid for Cards */
.page-resources-security-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-security-guide__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-resources-security-guide__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-resources-security-guide__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-security-guide__card-text {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1;
}

/* FAQ Section */
.page-resources-security-guide__faq-section {
    padding: 80px 0;
}

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

.page-resources-security-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-security-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #26A9E0;
    transition: background-color 0.3s ease;
}

.page-resources-security-guide__faq-question:hover {
    background-color: #1e87c0;
}

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

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

.page-resources-security-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.05);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-security-guide__faq-item.active .page-resources-security-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px 25px;
}

.page-resources-security-guide__faq-answer p {
    margin: 0;
    color: #e0e0e0;
}

/* CTA Section */
.page-resources-security-guide__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-resources-security-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}