/* style/about.css */

.page-about {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

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

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

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-about__hero-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Common Elements */
.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: 15px;
}

.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__section-title--white {
    color: #FFFFFF;
}

.page-about__section-title--white::after {
    background-color: #FFFFFF;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: #333333;
}

.page-about__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-about__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-about__dark-bg .page-about__text-block p {
    color: #F0F0F0;
}

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

.page-about__cta-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-about__btn-primary:hover {
    background-color: #1a8cc7;
    transform: translateY(-3px);
}

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

.page-about__btn-secondary:hover {
    background-color: #f0f8ff;
    transform: translateY(-3px);
}

/* Advantages Section */
.page-about__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-about__advantage-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

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

.page-about__card-image {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-about__card-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-about__card-text {
    font-size: 1em;
    color: #F0F0F0;
}

/* Responsibility Section */
.page-about__responsibility-section .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.page-about__image-block {
    text-align: center;
}

.page-about__responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-about__faq-question h3 {
    margin: 0;
    color: #26A9E0;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px;
    padding-top: 10px;
}

.page-about__faq-answer p {
    margin-bottom: 10px;
    color: #555555;
}

.page-about__faq-link {
    display: inline-block;
    margin-top: 10px;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__faq-link:hover {
    color: #1a8cc7;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    .page-about__responsibility-section .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    .page-about__image-block {
        order: -1; /* Move image above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        min-height: 450px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__container {
        padding: 15px;
    }
    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.4em;
    }
    .page-about__light-bg, .page-about__dark-bg {
        padding: 40px 0;
    }
    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__advantage-card {
        padding: 20px;
    }
    .page-about__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }
    .page-about__faq-question h3 {
        font-size: 1.1em;
    }
    .page-about__faq-answer {
        padding: 0 15px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px;
        padding-top: 10px;
    }
    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-image-wrapper,
    .page-about__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-about__content-grid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__hero-description {
        font-size: 0.9em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__sub-title {
        font-size: 1.3em;
    }
    .page-about__hero-section {
        min-height: 350px;
    }
}