:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --button-register-bg: #C30808;
    --button-register-text: #FFFF00;
    --button-login-bg: #C30808;
    --button-login-text: #FFFF00;
    --bg-light: #FFFFFF;
    --border-color: #e0e0e0;
}

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.page-about__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
    background-color: var(--bg-light);
    text-align: center;
}

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

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

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.page-about__main-heading {
    font-size: 44px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__intro-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-dark);
}

.page-about__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-about__cta-button {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__btn-register {
    background: var(--button-register-bg);
    color: var(--button-register-text);
    border: 2px solid var(--button-register-bg);
}

.page-about__btn-register:hover {
    background: #a80707;
    border-color: #a80707;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-about__btn-login {
    background: var(--button-login-bg);
    color: var(--button-login-text);
    border: 2px solid var(--button-login-bg);
}

.page-about__btn-login:hover {
    background: #a80707;
    border-color: #a80707;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-about__section {
    padding: 80px 0;
    position: relative;
}

.page-about__section:nth-of-type(even) {
    background-color: #f9f9f9;
}

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

.page-about__section-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-about__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-about__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

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

.page-about__text-block {
    flex: 1;
    font-size: 17px;
    line-height: 1.7;
}

.page-about__text-block p {
    margin-bottom: 20px;
}

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

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

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-about__feature-list li {
    font-size: 17px;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.page-about__feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 1.6;
}

.page-about__list-highlight {
    color: var(--primary-color);
}

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

.page-about__card {
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-about__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.page-about__card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-about__card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-about__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-about__dark-section .page-about__section-title {
    color: var(--text-light);
}

.page-about__dark-section .page-about__section-title::after {
    background-color: var(--text-light);
}

.page-about__dark-section .page-about__text-block {
    color: var(--text-light);
}

.page-about__faq-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

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

.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-about__faq-question:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.page-about__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-about__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #fdfdfd;
    color: var(--text-dark);
    border-top: 1px dashed var(--border-color);
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

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

    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-about__hero-image img {
        border-radius: 8px;
    }

    .page-about__main-heading {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-about__intro-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .page-about__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 14px 20px;
        font-size: 16px;
        min-width: unset;
    }
    
    .page-about__section {
        padding: 40px 0;
    }

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

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

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

    .page-about__text-block {
        font-size: 16px;
    }

    .page-about__feature-list li {
        font-size: 16px;
        padding-left: 25px;
    }

    .page-about__feature-list li::before {
        font-size: 18px;
    }

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

    .page-about__card {
        padding: 25px;
    }

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

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

    .page-about__image-block img,
    .page-about__card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
    }
    
    .page-about__container {
        padding: 0 15px;
    }

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

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

    .page-about__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 15px;
    }

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

    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px 20px !important;
    }
}