/* General page-about styles */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background: #0D0E12; /* Background */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.page-about__section {
    padding: 40px 0;
}

.page-about__dark-section {
    background: #17191F; /* Card BG */
}

.page-about__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #FF8C1A; /* Primary color */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-about__article-body {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    font-size: 17px;
}

.page-about__article-body p {
    margin-bottom: 15px;
}

.page-about__article-body ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-about__article-body li {
    margin-bottom: 8px;
}

.page-about__image-content {
    display: block;
    margin: 20px auto 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: #0D0E12; /* Background */
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    overflow: hidden;
    position: relative;
}

.page-about__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Desktop: cover to fill */
    display: block;
    border-radius: 0 0 15px 15px;
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-about__main-title {
    font-size: clamp(32px, 5vw, 48px); /* Use clamp for H1 */
    color: #FFB04D; /* Glow color */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-about__hero-description {
    font-size: 18px;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__cta-buttons--centered {
    margin-top: 40px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 140, 26, 0.6);
}

.page-about__btn-secondary {
    background: transparent;
    color: #FF8C1A; /* Primary color */
    border: 2px solid #FF8C1A; /* Border color */
}

.page-about__btn-secondary:hover {
    background: #FF8C1A;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.3);
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF3E6; /* Text Main */
  font-weight: bold;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: rgba(255, 140, 26, 0.1); /* Lighter hover effect */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6; /* Text Main */
}
.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFB04D; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6; /* Text Main */
  font-size: 16px;
}
.page-about__faq-answer p {
    margin: 0;
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-about__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section {
        padding: 30px 0;
    }

    /* HERO Main Image & Content (Mobile) */
    .page-about__hero-section {
        padding-top: 10px;
    }

    .page-about__hero-image {
        height: 300px;
    }

    .page-about__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__hero-content {
        padding: 20px 15px;
    }

    .page-about__main-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Buttons (Mobile) */
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
        min-width: unset;
    }

    /* Section Titles (Mobile) */
    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 20px;
        text-align: center;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Article Body & Images (Mobile) */
    .page-about__article-body {
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 10px;
    }

    .page-about__article-body p {
        margin-bottom: 10px;
    }

    .page-about__article-body ul {
        margin-left: 15px;
    }

    .page-about__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 15px auto 20px auto;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }

    /* Generic Images (Mobile) */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* FAQ Section (Mobile) */
    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-about__faq-qtext {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-about__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 15px 15px;
        font-size: 14px;
    }
}