/* style/platform-security-guide-data-encryption.css */

/* Variables and base styles */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #017439; /* Using primary color for dark background sections */
    --btn-register-login-bg: #C30808;
    --btn-register-login-text: #FFFF00;
    --border-light: #e0e0e0;
}

.page-platform-security-guide-data-encryption {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background body */
    background-color: var(--bg-light); /* Assuming body background is light from shared.css */
}

/* Hero Section */
.page-platform-security-guide-data-encryption__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    background-color: var(--bg-dark); /* Dark background for hero */
    color: var(--text-light);
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-platform-security-guide-data-encryption__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    z-index: 1;
}

.page-platform-security-guide-data-encryption__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-platform-security-guide-data-encryption__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-platform-security-guide-data-encryption__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-platform-security-guide-data-encryption__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-platform-security-guide-data-encryption__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

/* General Section Styles */
.page-platform-security-guide-data-encryption__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.page-platform-security-guide-data-encryption__dark-bg .page-platform-security-guide-data-encryption__section-title {
    color: var(--text-light);
}

.page-platform-security-guide-data-encryption__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-platform-security-guide-data-encryption__paragraph {
    margin-bottom: 1em;
    font-size: 1.1em;
}

.page-platform-security-guide-data-encryption__keyword-highlight {
    font-weight: bold;
    color: var(--primary-color);
}
.page-platform-security-guide-data-encryption__dark-bg .page-platform-security-guide-data-encryption__keyword-highlight {
    color: var(--btn-register-login-text); /* Yellow highlight on dark green */
}


/* Buttons */
.page-platform-security-guide-data-encryption__btn-primary,
.page-platform-security-guide-data-encryption__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;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-platform-security-guide-data-encryption__btn-primary {
    background-color: var(--btn-register-login-bg); /* Use specific color for primary CTA */
    color: var(--btn-register-login-text); /* Yellow text for primary CTA */
    border: 2px solid var(--btn-register-login-bg);
}

.page-platform-security-guide-data-encryption__btn-primary:hover {
    background-color: #a90707; /* Manual darker red */
    border-color: #a90707; /* Manual darker red */
}

.page-platform-security-guide-data-encryption__btn-secondary {
    background-color: transparent;
    color: var(--text-light); /* White text on hero, dark text on light sections */
    border: 2px solid var(--text-light);
}

.page-platform-security-guide-data-encryption__dark-bg .page-platform-security-guide-data-encryption__btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}
.page-platform-security-guide-data-encryption__light-bg .page-platform-security-guide-data-encryption__btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-platform-security-guide-data-encryption__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.page-platform-security-guide-data-encryption__btn-primary--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: fit-content; /* Adjust width to content */
}

/* Section specific styles */
.page-platform-security-guide-data-encryption__introduction-section,
.page-platform-security-guide-data-encryption__technologies-section,
.page-platform-security-guide-data-encryption__user-role-section,
.page-platform-security-guide-data-encryption__faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-platform-security-guide-data-encryption__principles-section,
.page-platform-security-guide-data-encryption__protection-section,
.page-platform-security-guide-data-encryption__choice-section,
.page-platform-security-guide-data-encryption__cta-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}
.page-platform-security-guide-data-encryption__principles-section .page-platform-security-guide-data-encryption__section-title,
.page-platform-security-guide-data-encryption__protection-section .page-platform-security-guide-data-encryption__section-title,
.page-platform-security-guide-data-encryption__choice-section .page-platform-security-guide-data-encryption__section-title,
.page-platform-security-guide-data-encryption__cta-section .page-platform-security-guide-data-encryption__section-title {
    color: var(--text-light);
}


/* Content Grid for text and image */
.page-platform-security-guide-data-encryption__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-platform-security-guide-data-encryption__content-grid--reverse {
    grid-template-columns: 1fr 1fr; /* Default order */
}

.page-platform-security-guide-data-encryption__content-grid--reverse .page-platform-security-guide-data-encryption__image-wrapper {
    order: 2; /* Image on right */
}

.page-platform-security-guide-data-encryption__content-grid--reverse .page-platform-security-guide-data-encryption__text-block {
    order: 1; /* Text on left */
}

.page-platform-security-guide-data-encryption__image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-platform-security-guide-data-encryption__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-platform-security-guide-data-encryption__list {
    list-style: disc inside;
    margin-bottom: 1em;
    padding-left: 20px;
}

.page-platform-security-guide-data-encryption__list-item {
    margin-bottom: 0.5em;
    font-size: 1.1em;
}