/* style/about.css */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px);
}

.page-about__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #f0f0f0;
}

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

.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.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
    background-color: #1a7bb5;
    border-color: #1a7bb5;
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-about__about-section,
.page-about__why-choose-us,
.page-about__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-about__values-section,
.page-about__responsible-gambling,
.page-about__cta-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-about__about-section .page-about__section-title,
.page-about__why-choose-us .page-about__section-title,
.page-about__faq-section .page-about__section-title {
    color: #26A9E0;
}

.page-about__values-section .page-about__section-title,
.page-about__responsible-gambling .page-about__section-title,
.page-about__cta-section .page-about__section-title {
    color: #ffffff;
}

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

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

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

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

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

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

.page-about__image--rounded {
    border-radius: 50%;
    object-fit: cover;
    width: 400px;
    height: 400px;
}

.page-about__image--shadow {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-about__value-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
}

.page-about__value-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-about__value-card p {
    color: #f0f0f0;
    font-size: 1em;
}

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

.page-about__feature-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-about__feature-list li strong {
    color: #26A9E0;
}

.page-about__faq-list {
    margin-top: 30px;
}

.page-about__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #e5e5e5;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    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: #555555;
}

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

.page-about__faq-answer p {
    margin-bottom: 0;
}

.page-about__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-about__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-about__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-wrapper {
        flex-direction: column;
    }
    .page-about__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-about__image-block {
        order: -1;
        margin-bottom: 30px;
    }
    .page-about__image--rounded {
        width: 300px;
        height: 300px;
    }
    .page-about__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__container {
        padding: 15px;
    }
    .page-about__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 0.95em;
    }
    .page-about__hero-buttons,
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__content-wrapper {
        gap: 30px;
    }
    .page-about__text-block p {
        font-size: 1em;
    }
    .page-about__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-about__image--rounded {
        width: 250px;
        height: 250px;
    }
    .page-about__value-card {
        padding: 25px;
    }
    .page-about__value-title {
        font-size: 1.3em;
    }
    .page-about__feature-list li {
        font-size: 1em;
        padding-left: 25px;
        background-size: 18px;
    }
    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 0 20px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px 20px;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__about-section,
    .page-about__values-section,
    .page-about__why-choose-us,
    .page-about__responsible-gambling,
    .page-about__faq-section,
    .page-about__cta-section,
    .page-about__content-wrapper,
    .page-about__hero-buttons,
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-about__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-about__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}