/* style/faq-account-security.css */
.page-faq-account-security {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-faq-account-security__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-faq-account-security__hero {
    background-color: #007bff; /* Primary color */
    color: #ffffff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-faq-account-security__hero-content {
    flex: 1;
    min-width: 300px;
    padding-left: 20px;
}

.page-faq-account-security__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.page-faq-account-security__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-faq-account-security__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

.page-faq-account-security__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-faq-account-security__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-faq-account-security__btn--primary {
    background-color: #ffc107; /* Secondary color */
    color: #007bff; /* Primary color for text to ensure contrast */
    border: 2px solid #ffc107;
}

.page-faq-account-security__btn--primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.page-faq-account-security__btn--secondary {
    background-color: #0056b3; /* Darker shade of primary for contrast */
    color: #ffffff;
    border: 2px solid #0056b3;
}

.page-faq-account-security__btn--secondary:hover {
    background-color: #003f80;
    border-color: #003f80;
    transform: translateY(-2px);
}

.page-faq-account-security__link-in-text {
    color: #007bff;
    text-decoration: underline;
    font-weight: bold;
}

.page-faq-account-security__link-in-text:hover {
    color: #0056b3;
}

/* FAQ Section */
.page-faq-account-security__faq-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.page-faq-account-security__section-title {
    font-size: 2.2em;
    color: #007bff;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.page-faq-account-security__faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-faq-account-security__faq-category {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-faq-account-security__category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-faq-account-security__category-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-faq-account-security__faq-item {
    width: 100%;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.page-faq-account-security__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-faq-account-security__question {
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.page-faq-account-security__question:hover {
    color: #0056b3;
}

.page-faq-account-security__question::after {
    content: '+';
    font-size: 1.2em;
    font-weight: normal;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.page-faq-account-security__question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq-account-security__answer {
    font-size: 1em;
    color: #555;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-faq-account-security__answer p {
    margin-bottom: 10px;
}

.page-faq-account-security__answer.active {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 15px;
}

/* CTA Banner */
.page-faq-account-security__cta-banner {
    position: relative;
    background-color: #007bff;
    padding: 60px 0;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    margin-top: 60px;
}

.page-faq-account-security__cta-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
}

.page-faq-account-security__cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq-account-security__cta-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.page-faq-account-security__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-faq-account-security__hero {
        flex-direction: column;
        text-align: center;
    }

    .page-faq-account-security__hero-content,
    .page-faq-account-security__hero-image-wrapper {
        padding: 0 20px;
    }

    .page-faq-account-security__hero-title {
        font-size: 2.2em;
    }

    .page-faq-account-security__faq-grid {
        grid-template-columns: 1fr;
    }

    .page-faq-account-security__section-title {
        font-size: 2em;
    }

    .page-faq-account-security__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-faq-account-security__hero {
        padding: 60px 0;
    }
    .page-faq-account-security__hero-title {
        font-size: 1.8em;
    }
    .page-faq-account-security__hero-description {
        font-size: 1em;
    }
    .page-faq-account-security__faq-section {
        padding: 40px 0;
    }
    .page-faq-account-security__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-faq-account-security__category-title {
        font-size: 1.5em;
    }
    .page-faq-account-security__cta-banner {
        padding: 40px 0;
    }
    .page-faq-account-security__cta-title {
        font-size: 1.8em;
    }
    .page-faq-account-security__cta-description {
        font-size: 0.95em;
    }
    .page-faq-account-security__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-faq-account-security__hero-title {
        font-size: 1.5em;
    }
    .page-faq-account-security__section-title {
        font-size: 1.5em;
    }
    .page-faq-account-security__cta-title {
        font-size: 1.5em;
    }
    .page-faq-account-security__category-title {
        font-size: 1.3em;
    }
    .page-faq-account-security__question {
        font-size: 1em;
    }
    .page-faq-account-security__answer {
        font-size: 0.95em;
    }
}