/* style/privacy-policy.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --border-color: #e0e0e0;
}

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

.page-privacy-policy .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-privacy-policy .hero-section {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--text-color-light);
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy .hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--text-color-light);
}

.page-privacy-policy .hero-title .highlight {
    color: var(--secondary-color);
}

.page-privacy-policy .hero-subtitle {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.page-privacy-policy .link-text {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-privacy-policy .link-text:hover {
    color: #218838; /* A darker shade of secondary color */
    text-decoration: underline;
}

.page-privacy-policy .content-section {
    padding: 60px 0;
}

.page-privacy-policy .intro-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: justify;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy .section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 45px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
    font-weight: bold;
}

.page-privacy-policy .section-description {
    font-size: 1.05em;
    margin-bottom: 25px;
    text-align: justify;
}

.page-privacy-policy .content-block {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.page-privacy-policy .sub-section-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy .list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding: 0;
}

.page-privacy-policy .list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-privacy-policy .list li strong {
    color: var(--primary-color);
}

.page-privacy-policy .content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* FAQ Section Styling */
.page-privacy-policy .faq-section {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer p {
    margin: 0 0 15px 0;
    padding-top: 10px;
}

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

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-privacy-policy .hero-title {
        font-size: 2.8em;
    }
    .page-privacy-policy .hero-subtitle {
        font-size: 1.2em;
    }
    .page-privacy-policy .section-title {
        font-size: 2em;
    }
    .page-privacy-policy .sub-section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy .content-block, .page-privacy-policy .intro-text {
        padding: 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy .hero-section {
        padding: 60px 0;
    }
    .page-privacy-policy .hero-title {
        font-size: 2.2em;
    }
    .page-privacy-policy .hero-subtitle {
        font-size: 1em;
    }
    .page-privacy-policy .content-section {
        padding: 40px 0;
    }
    .page-privacy-policy .section-title {
        font-size: 1.8em;
        margin-top: 35px;
    }
    .page-privacy-policy .sub-section-title {
        font-size: 1.4em;
    }
    .page-privacy-policy .list {
        margin-left: 20px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-item.active .faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy .hero-section {
        padding: 40px 0;
    }
    .page-privacy-policy .hero-title {
        font-size: 1.8em;
    }
    .page-privacy-policy .hero-subtitle {
        font-size: 0.9em;
    }
    .page-privacy-policy .intro-text {
        font-size: 0.95em;
        padding: 15px;
    }
    .page-privacy-policy .section-title {
        font-size: 1.6em;
        margin-top: 30px;
    }
    .page-privacy-policy .sub-section-title {
        font-size: 1.2em;
    }
    .page-privacy-policy .list li {
        font-size: 0.95em;
    }
    .faq-question h3 {
        font-size: 0.95em;
    }
    .faq-toggle {
        font-size: 18px;
    }
}