:root {
    --primary-color: #F2C14E; /* Main brand color */
    --secondary-color: #FFD36B; /* Accent color */
    --text-main-color: #FFF6D6; /* Main text color for dark backgrounds */
    --bg-color-dark: #0A0A0A; /* Body background */
    --card-bg-color: #111111; /* Card background */
    --border-color: #3A2A12; /* Border color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
}

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Light text for dark body background */
    background-color: var(--bg-color-dark); /* Ensure body background is respected from shared.css */
    line-height: 1.6;
    font-size: 16px;
}

/* Base sections and containers */
.page-about__section {
    padding: 60px 20px;
    margin-bottom: 20px;
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Responsive padding for containers */
    box-sizing: border-box;
}

/* Headings */
.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-about__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__card-title,
.page-about__feature-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Text elements */
.page-about__intro-text,
.page-about__section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: var(--text-main-color);
}

.page-about p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-about ul {
    list-style: none;
    padding-left: 0;
}

.page-about li {
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-about__bullet-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Buttons */
.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #000000; /* Text color for gradient button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: none;
}

.page-about__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
}

.page-about__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: #000000; /* Text color for gradient button */
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-about__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-about__btn-secondary:hover {
    background: var(--secondary-color);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Image styles */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    /* No filter properties */
}

/* HERO Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--bg-color-dark); /* Ensure consistency */
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Important for flex child */
}

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* Content Grids */
.page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
}

.page-about__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image-block--full-width {
    flex: none;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Cards */
.page-about__card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-about__offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Feature List */
.page-about__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    text-align: left;
}

/* FAQ Section */
details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
details.page-about__faq-item summary.page-about__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-color);
    font-weight: 600;
}
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(var(--primary-color), 0.1);
}
.page-about__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}
.page-about__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 20px;
    background: rgba(var(--card-bg-color), 0.8);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
}
.page-about__faq-answer p {
    color: var(--text-main-color);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column;
    }
    .page-about__text-block,
    .page-about__image-block {
        flex: none;
        width: 100%;
    }
    .page-about__image-block img {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 15px;
        line-height: 1.5;
    }
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__container {
        padding: 0; /* Full width for inner elements */
    }

    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-image img {
        border-radius: 4px;
    }
    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .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;
        margin-bottom: 10px; /* Spacing for stacked buttons */
    }
    .page-about__offerings-grid,
    .page-about__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__card,
    .page-about__feature-item {
        padding: 20px;
    }

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

    /* FAQ responsiveness */
    details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
    .page-about__faq-qtext { font-size: 15px; }
    details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }
}

/* Ensure no image filters */
.page-about img {
    filter: none !important;
}

/* Ensure content area images are not too small */
.page-about__content-area img,
.page-about__text-block img,
.page-about__image-block img {
    min-width: 200px;
    min-height: 200px;
}

/* Override potential smaller image sizes for specific elements if they fall below 200px */
.page-about__card img {
    min-width: 200px;
    min-height: 200px;
}