:root {
    --primary-color: #FF8C1A; /* Main color */
    --secondary-color: #FFA53A; /* Accent color */
    --card-bg: #17191F; /* Card background */
    --body-bg: #0D0E12; /* Page background */
    --text-main: #FFF3E6; /* Main text color for dark backgrounds */
    --border-color: #A84F0C; /* Border color */
    --glow-color: #FFB04D; /* Glow color */
    --deep-orange: #D96800; /* Deep orange */
    --text-light: #ffffff; /* For dark backgrounds */
    --text-dark: #333333; /* For light backgrounds */
    --text-dark-secondary: #000000; /* For light backgrounds, stronger */
    --primary-color-rgb: 255, 140, 26; /* RGB for primary color */
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark backgrounds */
    background-color: var(--body-bg);
}

.page-about__section {
    padding: 60px 0;
    position: relative;
    background-color: var(--body-bg); /* Default section background */
}

.page-about__core-values-section,
.page-about__faq-section {
    background-color: var(--card-bg);
}

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

.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__section-title--white {
    color: var(--text-light);
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-main);
}

.page-about__text-block p strong {
    color: var(--secondary-color);
}

/* 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: linear-gradient(180deg, var(--body-bg) 0%, #1a1c22 100%);
    overflow: hidden;
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-about__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__cta-button:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Content Wrapper */
.page-about__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

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

.page-about__text-block {
    flex: 1;
    min-width: 300px;
    color: var(--text-main);
}

.page-about__text-block--white p {
    color: var(--text-light);
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Core Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__value-card {
    background-color: var(--body-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-about__value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-about__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about__value-card p {
    font-size: 16px;
    color: var(--text-main);
}

/* Why Choose Section */
.page-about__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-about__benefit-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-about__benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__benefit-item img {
     /* Rendered width, source image size > 200px */
     /* Rendered height, source image size > 200px */
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px;
}

.page-about__benefit-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-about__benefit-item p {
    font-size: 16px;
    color: var(--text-main);
}

/* Buttons */
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--body-bg);
    box-shadow: 0 2px 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;
}
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-rgb), 0.1);
}
.page-about__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-light);
}
.page-about__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}
details.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}
details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 20px;
    background: var(--card-bg);
    border-radius: 0 0 10px 10px;
    color: var(--text-main);
    font-size: 16px;
}
.page-about__faq-answer p {
    margin-bottom: 10px;
}
.page-about__faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.page-about__faq-answer a:hover {
    color: var(--primary-color);
}

/* CTA Section */
.page-about__cta-section {
    background: linear-gradient(90deg, var(--deep-orange) 0%, var(--primary-color) 100%);
    text-align: center;
    padding: 80px 0;
}

.page-about__cta-section .page-about__section-title {
    color: var(--text-light);
    font-size: 38px;
    margin-bottom: 25px;
}

.page-about__cta-section p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__cta-button--large {
    padding: 18px 45px;
    font-size: 20px;
    border-radius: 10px;
}

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

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

    .page-about__container {
        padding: 0 15px;
    }

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

    .page-about__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .page-about__description {
        font-size: clamp(15px, 3vw, 18px);
    }

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

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

    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-about__content-wrapper--reverse {
        flex-direction: column;
    }

    .page-about__text-block,
    .page-about__image-block {
        min-width: unset;
        width: 100%;
    }

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

    .page-about__value-card,
    .page-about__benefit-item {
        padding: 25px;
    }

    .page-about__card-title,
    .page-about__benefit-title {
        font-size: 20px;
    }

    .page-about__benefit-item img {
        
        
        margin-bottom: 15px;
    }

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

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

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

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

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

    .page-about__cta-section {
        padding: 60px 0;
    }

    .page-about__cta-section .page-about__section-title {
        font-size: 28px;
    }

    .page-about__cta-section p {
        font-size: 16px;
    }

    .page-about__button-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__cta-button--large {
        padding: 15px 30px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Image responsive styles */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__cta-buttons,
    .page-about__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}