/* style/about.css */
:root {
    --primary-color: #FFD700; /* Vàng */
    --secondary-color: #DC143C; /* Đỏ */
    --text-color-light: #f0f0f0;
    --text-color-dark: #333333;
    --bg-color-dark: #1a1a1a;
    --bg-color-light: #2c2c2c;
    --card-bg-color: #222222;
    --border-color: #444444;
}

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

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

.page-about__section-bg-dark {
    background-color: var(--bg-color-light);
}

.page-about__intro,
.page-about__why-choose,
.page-about__commitment,
.page-about__faq,
.page-about__contact-cta {
    padding: 60px 0;
}

.page-about__title {
    font-size: 3.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__heading {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-about__sub-heading {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about__description,
.page-about__paragraph {
    font-size: 1.1em;
    color: var(--text-color-light);
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__description strong,
.page-about__paragraph strong,
.page-about__value-list strong,
.page-about__commitment-list strong {
    color: var(--primary-color);
}

.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.page-about__button--primary {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    border: 2px solid var(--primary-color);
}

.page-about__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.page-about__button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-about__cta-section {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-about__grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.page-about__content-block {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 100%; /* Ensure equal height */
}

.page-about__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
}

.page-about__image--small {
    max-width: 400px; /* Adjust as needed */
    margin-left: auto;
    margin-right: auto;
    display: block;
}

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

.page-about__feature-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-about__feature-card p {
    text-align: left;
}

.page-about__feature-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-image {
    width: 100%;
    max-width: 400px;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-about__value-list,
.page-about__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__value-list li,
.page-about__commitment-list li {
    background-color: var(--card-bg-color);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    position: relative;
    padding-left: 40px;
}

.page-about__value-list li::before,
.page-about__commitment-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

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

.page-about .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-about .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.page-about .faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-about .faq-question:hover {
    background: #3a3a3a;
}

.page-about .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-about .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.page-about .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: #2a2a2a;
    color: var(--text-color-light);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.page-about .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 25px;
}

.page-about .faq-answer p {
    margin: 0;
    font-size: 1em;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__title {
        font-size: 2.5em;
    }
    .page-about__heading {
        font-size: 2em;
    }
    .page-about__sub-heading {
        font-size: 1.6em;
    }
    .page-about__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-about__image--small {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about__intro,
    .page-about__why-choose,
    .page-about__commitment,
    .page-about__faq,
    .page-about__contact-cta {
        padding: 40px 0;
    }
    .page-about__title {
        font-size: 2em;
    }
    .page-about__heading {
        font-size: 1.8em;
    }
    .page-about__sub-heading {
        font-size: 1.4em;
    }
    .page-about__description,
    .page-about__paragraph,
    .page-about__value-list li,
    .page-about__commitment-list li,
    .page-about .faq-question h3,
    .page-about .faq-answer p {
        font-size: 1em;
    }
    .page-about__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__features-grid {
        grid-template-columns: 1fr;
    }
    .page-about__feature-image {
        height: 200px;
    }
    .page-about .faq-question {
        padding: 15px 20px;
    }
    .page-about .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-about__title {
        font-size: 1.8em;
    }
    .page-about__heading {
        font-size: 1.6em;
    }
    .page-about__sub-heading {
        font-size: 1.2em;
    }
    .page-about__button {
        width: 100%;
        box-sizing: border-box;
    }
    .page-about__cta-section {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__value-list li,
    .page-about__commitment-list li {
        padding-left: 35px;
    }
    .page-about__value-list li::before,
    .page-about__commitment-list li::before {
        left: 10px;
    }
}