/* style/privacy-policy.css */

:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B;
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px 50px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--deep-navy-color);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px); /* Overlap slightly with image */
}

.page-privacy-policy__main-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__intro-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__content-area {
    padding: 50px 20px;
    background-color: var(--deep-navy-color);
    color: var(--text-main);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-privacy-policy__section-title {
    font-size: 28px;
    color: var(--gold-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
    font-weight: 600;
}

.page-privacy-policy__paragraph {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-privacy-policy__list-item strong {
    color: var(--text-main);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 25px 20px;
  background: rgba(var(--primary-color), 0.05);
  border-top: 1px solid var(--divider-color);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
  font-size: 16px;
}

.page-privacy-policy__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

.page-privacy-policy__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(var(--gold-color), 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        padding: 25px 20px 40px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }
    .page-privacy-policy__intro-text {
        font-size: 17px;
    }
    .page-privacy-policy__container {
        padding: 30px;
    }
    .page-privacy-policy__section-title {
        font-size: 26px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-qtext,
    .page-privacy-policy__faq-answer p {
        font-size: 15px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 26px;
        width: 28px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Ensure small padding */
    }
    .page-privacy-policy__hero-content {
        padding: 20px 15px 30px;
        transform: translateY(-10px);
    }
    .page-privacy-policy__main-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 10px;
    }
    .page-privacy-policy__intro-text {
        font-size: 16px;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }
    .page-privacy-policy__container {
        padding: 25px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__section-title {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 15px;
    }
    .page-privacy-policy__list {
        margin-left: 20px;
        margin-bottom: 20px;
    }

    /* General images and containers for mobile */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Buttons and button containers for mobile */
    .page-privacy-policy__contact-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ module for mobile */
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 16px;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }
    .page-privacy-policy__faq-answer p {
        font-size: 15px;
    }
}