/* style/about.css */
/* Body background is #0A0A0A (dark) from shared.css, so text color is #FFF6D6 (light) */
/* All text colors are set to #FFF6D6 or dark for contrast on specific backgrounds */

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: #0A0A0A; /* Ensure consistency, though body handles main background */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px; /* Minimum height for hero */
    padding: 10px 20px 60px; /* Top padding 10px, not var(--header-offset) */
    box-sizing: border-box;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #FFF6D6; /* Light text for contrast on darkened image */
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Glow color for main title */
}

.page-about__intro-text {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

.page-about__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.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-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for gradient button */
    border: none;
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background: #111111; /* Card BG for secondary button */
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #3A2A12; /* Border color */
}

.page-about__btn-secondary:hover {
    background: #3A2A12; /* Border color on hover */
    color: #FFF6D6;
}

/* General Section Styling */
.page-about__section {
    padding: 60px 0;
    border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-about__section:last-of-type {
    border-bottom: none;
}

.page-about__heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #FFD36B; /* Glow color for headings */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-about__paragraph {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #FFF6D6; /* Main text color */
}

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

.page-about__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

.page-about__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
}

/* Clear floats for paragraphs after images */
.page-about__paragraph::after {
    content: "";
    display: table;
    clear: both;
}

/* Features Grid */
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__feature-card {
    background: #111111; /* Card BG */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
    color: #FFF6D6; /* Main text color */
}

.page-about__feature-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
}

.page-about__feature-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Primary color */
    margin-bottom: 15px;
}

.page-about__feature-description {
    font-size: 1rem;
    color: #FFF6D6; /* Main text color */
}

/* CTA Bottom Section */
.page-about__cta-bottom-section {
    text-align: center;
    background-color: #111111; /* Card BG for this section */
    padding: 80px 20px;
    border-radius: 0; /* No border radius for section */
}

.page-about__cta-bottom-container {
    max-width: 900px;
}

.page-about__heading--cta {
    color: #FFD36B; /* Glow color */
    margin-bottom: 25px;
}

.page-about__paragraph--cta {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #FFF6D6;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background: #111111; /* Card BG */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border color */
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: #111111; /* Card BG */
    color: #F2C14E; /* Primary color for question text */
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #3A2A12; /* Border color on hover */
}

.page-about__faq-title {
    margin: 0;
    color: #F2C14E; /* Primary color */
}

.page-about__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #FFD36B; /* Glow color */
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6; /* Main text color */
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 25px 25px;
}

.page-about__faq-answer p {
    margin-bottom: 0;
    color: #FFF6D6; /* Main text color */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-image {
        filter: brightness(0.4); /* Slightly darker for smaller screens */
    }
    .page-about__image--left,
    .page-about__image--right {
        float: none;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        min-height: 450px;
        padding-top: 10px !important; /* Ensure 10px top padding on mobile */
        padding-bottom: 40px;
    }

    .page-about__main-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .page-about__intro-text {
        font-size: 1rem;
    }

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