/* style/about.css */

/* Base styles for the about page */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: var(--bg-color, #08160F); /* Fallback to custom dark background */
}

.page-about__section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-about__sub-title {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: #F2FFF6; /* Text Main */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-about__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #A7D9B8; /* Text Secondary */
}

.page-about__list-item {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #A7D9B8; /* Text Secondary */
    list-style-type: disc;
    margin-left: 20px;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background color from custom palette */
}

.page-about__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* Responsive H1, no fixed large value */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-shadow: 0 0 15px rgba(34, 199, 104, 0.6); /* Glow effect with auxiliary color */
}

.page-about__hero-description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Group */
.page-about__cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #ffffff;
    border: none;
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.4);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Complementary color */
    border: 2px solid #2AD16F;
}

.page-about__btn-secondary:hover {
    background-color: #2AD16F;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.4);
}

/* Content Area */
.page-about__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-about__dark-section {
    background-color: #0A4B2C; /* Deep Green for contrast */
    color: #F2FFF6; /* Text Main for dark background */
}

.page-about__dark-section .page-about__paragraph,
.page-about__dark-section .page-about__list-item {
    color: #A7D9B8; /* Text Secondary */
}

.page-about__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG for contrast */
}

.page-about__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: #08160F; /* Background color */
    border: 1px solid #2E7A4E; /* Border color */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B; /* Card BG */
    outline: none;
    -webkit-tap-highlight-color: transparent;
    list-style: none;
}
.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-about__faq-question {
    flex-grow: 1;
    color: #F2FFF6;
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: "−";
}

.page-about__faq-answer {
    padding: 15px 25px 20px;
    background-color: #08160F; /* Background color */
    color: #A7D9B8; /* Text Secondary */
    font-size: 1rem;
}
.page-about__faq-answer p {
    margin-bottom: 0;
    color: #A7D9B8;
}

/* Contact Section */
.page-about__contact-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
}

.page-about__contact-section .page-about__paragraph {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #A7D9B8; /* Text Secondary */
}

.page-about__contact-info {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #A7D9B8; /* Text Secondary */
}
.page-about__contact-info p {
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-about__hero-content {
        padding: 0 10px;
    }

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

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

    .page-about__cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__content-area,
    .page-about__faq-section,
    .page-about__contact-section {
        padding: 40px 15px;
    }

    .page-about__image-content {
        margin: 20px auto;
    }

    .page-about__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-about__faq-answer {
        padding: 10px 20px 15px;
    }

    /* Images responsiveness */
    .page-about img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}