/* style/resources-security-and-trust.css */

/* Variables */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-section: #1a1a1a; /* Dark background for sections */
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

.page-resources-security-and-trust {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default light text for dark body background */
    background-color: var(--bg-dark-1); /* Inherited from shared.css */
}

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

/* Hero Section */
.page-resources-security-and-trust__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    overflow: hidden;
    padding: 120px 20px 60px; /* Adjusted for header offset */
    background-color: var(--bg-dark-section);
}

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

.page-resources-security-and-trust__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--text-light);
}

.page-resources-security-and-trust__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-security-and-trust__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-light);
}

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

/* Buttons */
.page-resources-security-and-trust__btn-primary,
.page-resources-security-and-trust__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;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-resources-security-and-trust__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.page-resources-security-and-trust__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

.page-resources-security-and-trust__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

/* Section Titles */
.page-resources-security-and-trust__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-resources-security-and-trust__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Text Block */
.page-resources-security-and-trust__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
    text-align: justify;
}

/* Introduction Section */
.page-resources-security-and-trust__introduction-section {
    padding: 80px 0;
    background-color: var(--bg-dark-section);
}

/* Features Section */
.page-resources-security-and-trust__features-section {
    padding: 80px 0;
    background-color: var(--bg-dark-1);
}

.page-resources-security-and-trust__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-security-and-trust__feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-resources-security-and-trust__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-security-and-trust__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-security-and-trust__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-security-and-trust__card-description {
    color: var(--text-light);
    font-size: 0.95em;
}

/* Video Section */
.page-resources-security-and-trust__video-section {
    padding: 80px 0;
    background-color: var(--bg-dark-section);
    text-align: center;
}

.page-resources-security-and-trust__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-security-and-trust__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    display: block;
}

.page-resources-security-and-trust__video-cta {
    margin-top: 40px;
}

/* FAQ Section */
.page-resources-security-and-trust__faq-section {
    padding: 80px 0;
    background-color: var(--bg-dark-1);
}

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

.page-resources-security-and-trust__faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-resources-security-and-trust__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-resources-security-and-trust__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-resources-security-and-trust__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-light);
    font-size: 1em;
}

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

/* Call to Action Section */
.page-resources-security-and-trust__cta-section {
    padding: 80px 0;
    background-color: var(--bg-dark-section);
    text-align: center;
}

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

    .page-resources-security-and-trust__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-security-and-trust__hero-section {
        padding: var(--header-offset, 120px) 15px 40px;
        min-height: 500px;
    }

    .page-resources-security-and-trust__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-resources-security-and-trust__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-resources-security-and-trust__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-security-and-trust__btn-primary,
    .page-resources-security-and-trust__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-security-and-trust__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    .page-resources-security-and-trust__text-block {
        font-size: 0.95em;
    }

    .page-resources-security-and-trust__features-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-security-and-trust__feature-card {
        padding: 25px;
    }

    .page-resources-security-and-trust__feature-icon {
        max-width: 100%;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-resources-security-and-trust__video-wrapper {
        margin: 20px auto;
    }

    .page-resources-security-and-trust__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }

    .page-resources-security-and-trust__faq-answer {
        padding: 10px 20px 20px;
    }

    .page-resources-security-and-trust__introduction-section,
    .page-resources-security-and-trust__features-section,
    .page-resources-security-and-trust__video-section,
    .page-resources-security-and-trust__faq-section,
    .page-resources-security-and-trust__cta-section {
        padding: 50px 0;
    }
    
    .page-resources-security-and-trust img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-security-and-trust__section,
    .page-resources-security-and-trust__card,
    .page-resources-security-and-trust__container,
    .page-resources-security-and-trust__video-section,
    .page-resources-security-and-trust__video-container,
    .page-resources-security-and-trust__video-wrapper,
    .page-resources-security-and-trust__cta-buttons,
    .page-resources-security-and-trust__button-group,
    .page-resources-security-and-trust__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-resources-security-and-trust__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section is below header */
    }
}

@media (max-width: 480px) {
    .page-resources-security-and-trust__hero-title {
        font-size: 1.8em;
    }

    .page-resources-security-and-trust__section-title {
        font-size: 1.5em;
    }

    .page-resources-security-and-trust__faq-question {
        font-size: 1em;
    }
}