/* style/privacy-policy.css */

/* Variables for color scheme */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Navy Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #000040; /* Slightly lighter navy for sections */
    --border-color: #e0e0e0;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Hero Section */
.page-privacy-policy .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--secondary-color); /* Use secondary color for hero background */
    color: var(--text-light);
    overflow: hidden; /* Ensure content stays within bounds */
}

.page-privacy-policy .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-privacy-policy .hero-image {
    width: 100%;
    height: 400px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area */
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin-top: -150px; /* Overlap with image for better design */
}

.page-privacy-policy .hero-content h1 {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy .hero-content p {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color); /* Dark text on gold button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy .cta-button:hover {
    background: #FFC400; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.page-privacy-policy .content-section {
    padding: 60px 20px;
    background-color: var(--background-light);
}

.page-privacy-policy .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy h2 {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-privacy-policy h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-privacy-policy ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-privacy-policy ul li {
    margin-bottom: 10px;
    font-size: 1.0em;
    line-height: 1.6;
}

.page-privacy-policy strong {
    color: var(--secondary-color);
}

/* Image styling within content */
.page-privacy-policy .image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-privacy-policy .content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 300px; /* Ensure minimum size */
    min-height: 200px;
    object-fit: cover;
}

/* FAQ Section Styling */
.page-privacy-policy .faq-section {
    margin-top: 60px;
    background-color: var(--background-light);
    padding: 30px 0;
    border-radius: 10px;
}

.page-privacy-policy .faq-section h2 {
    text-align: center;
    border-bottom: none;
    margin-bottom: 40px;
    padding-bottom: 0;
    font-size: 2.5em;
    color: var(--secondary-color);
}

.page-privacy-policy .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--background-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-privacy-policy .faq-question:hover {
    background: #e9e9e9;
}

.page-privacy-policy .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
}

.page-privacy-policy .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-privacy-policy .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: var(--text-dark);
}

.page-privacy-policy .faq-answer p {
    margin: 0;
    padding: 15px 0;
}

.page-privacy-policy .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 25px;
    background: #fdfdfd;
    border-top: 1px solid var(--border-color);
}

.page-privacy-policy .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-privacy-policy .hero-content h1 {
        font-size: 2.8em;
    }
    .page-privacy-policy .hero-content p {
        font-size: 1.1em;
    }
    .page-privacy-policy h2 {
        font-size: 2em;
    }
    .page-privacy-policy h3 {
        font-size: 1.4em;
    }
    .page-privacy-policy .container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy .hero-section {
        padding: 40px 15px;
    }
    .page-privacy-policy .hero-image {
        height: 300px;
        margin-bottom: 20px;
    }
    .page-privacy-policy .hero-content {
        margin-top: -100px; /* Adjust overlap */
        padding: 15px;
    }
    .page-privacy-policy .hero-content h1 {
        font-size: 2.2em;
    }
    .page-privacy-policy .hero-content p {
        font-size: 1em;
    }
    .page-privacy-policy .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-privacy-policy .content-section {
        padding: 40px 15px;
    }
    .page-privacy-policy .container {
        padding: 20px;
        border-radius: 8px;
    }
    .page-privacy-policy h2 {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy h3 {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy p, .page-privacy-policy ul li {
        font-size: 0.95em;
    }
    .page-privacy-policy .faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy .faq-question h3 {
        font-size: 1.1em;
    }
    .page-privacy-policy .faq-toggle {
        font-size: 1.5em;
    }
    .page-privacy-policy .faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy .faq-item.active .faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy .hero-image {
        height: 250px;
    }
    .page-privacy-policy .hero-content {
        margin-top: -80px;
    }
    .page-privacy-policy .hero-content h1 {
        font-size: 1.8em;
    }
    .page-privacy-policy .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-privacy-policy h2 {
        font-size: 1.5em;
    }
    .page-privacy-policy h3 {
        font-size: 1.1em;
    }
    .page-privacy-policy .faq-question h3 {
        font-size: 1em;
    }
}