:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --bg-color: #0D0E12;
    --card-bg-color: #17191F;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-about {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Light text on dark body background */
    background-color: var(--bg-color); /* Assuming shared.css sets body bg */
}

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

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

.page-about__dark-section {
    background-color: var(--card-bg-color);
}

.page-about__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-about__content-area p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-about__content-area strong {
    color: var(--secondary-color);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Fixed height for desktop, will be responsive */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-about__hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-about__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.page-about__main-title {
    font-weight: 700;
    color: var(--text-main-color);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(32px, 4vw, 56px); /* Responsive font size for H1 */
}

.page-about__hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}

.page-about__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid var(--deep-orange);
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

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

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

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

/* Grid Layout for sections with image and text */
.page-about__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__grid-layout--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-about__grid-layout--reverse .page-about__text-content {
    order: 2;
}

.page-about__grid-layout--reverse .page-about__image-block {
    order: 1;
}

.page-about__text-content {
    padding: 20px 0;
}

.page-about__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Values Section */
.page-about__values-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.page-about__values-list li {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-about__values-list li:hover {
    transform: translateY(-5px);
}

.page-about__values-list h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__values-list p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main-color);
    margin-bottom: 0;
}

.page-about__values-list a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-about__values-list a:hover {
    text-decoration: underline;
}

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

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
}

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;
}

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: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

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

details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 20px;
    background: var(--card-bg-color);
    border-radius: 0 0 10px 10px;
}

.page-about__faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main-color);
    margin-bottom: 0;
}

.page-about__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-about__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 32px;
    }

    .page-about__hero-image-wrapper {
        height: 400px;
    }

    .page-about__hero-description {
        font-size: 17px;
    }

    .page-about__grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-about__grid-layout--reverse .page-about__text-content {
        order: initial;
    }

    .page-about__grid-layout--reverse .page-about__image-block {
        order: initial;
    }

    .page-about__values-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__values-list h3 {
        font-size: 22px;
    }

    .page-about__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-about__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-about__content-area p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Hero Section Mobile */
    .page-about__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }

    .page-about__hero-image-wrapper {
        height: 250px;
        margin-bottom: 20px;
    }

    .page-about__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-about__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    /* Buttons Mobile */
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-about__cta-group {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .page-about__cta-group .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* General Images Mobile */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-about__section,
    .page-about__container,
    .page-about__grid-layout {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__image-block {
        padding: 0;
    }

    /* Values List Mobile */
    .page-about__values-list li {
        padding: 20px;
    }

    .page-about__values-list h3 {
        font-size: 20px;
    }

    .page-about__values-list p {
        font-size: 15px;
    }

    /* FAQ Mobile */
    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px 20px;
    }

    .page-about__faq-qtext {
        font-size: 16px;
    }

    .page-about__faq-toggle {
        font-size: 24px;
        width: 25px;
    }

    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 20px 15px;
    }

    .page-about__faq-answer p {
        font-size: 15px;
    }
}