/* style/about.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
    --button-hover: #b80000; /* Slightly darker red for hover */
}

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

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

.page-about .section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

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

.page-about .text-content {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
}

.page-about .inline-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about .inline-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Hero Section */
.page-about .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-about .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about .hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about .hero-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.page-about .hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-about .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
}

.page-about .cta-button:hover {
    background: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* Section Styling */
.page-about section {
    padding: 80px 0;
}

.page-about .section-intro {
    background-color: #ffffff;
}

.page-about .section-history, .page-about .section-future-direction {
    background-color: var(--bg-light);
}

.page-about .content-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-about .content-layout.reverse-layout {
    flex-direction: row-reverse;
}

.page-about .text-column {
    flex: 1;
}

.page-about .image-column {
    flex: 1;
    min-width: 400px;
    text-align: center;
}

.page-about .content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 400px;
    min-height: 300px;
}

.page-about .section-mission-vision {
    background: linear-gradient(135deg, var(--secondary-color), #a00000);
    color: var(--text-light);
}

.page-about .section-mission-vision .section-title {
    color: var(--primary-color);
}

.page-about .section-mission-vision .text-content {
    color: #f0f0f0;
}

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

.page-about .value-item {
    background-color: rgba(255, 255, 255, 0.1);
    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;
}

.page-about .value-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-about .value-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color));
    object-fit: contain;
    min-width: 100px;
    min-height: 100px;
}

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

.page-about .value-description {
    font-size: 16px;
    color: #e0e0e0;
}

.page-about .section-core-values {
    background-color: #ffffff;
}

.page-about .values-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-about .values-list li {
    background-color: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about .values-list li:last-child {
    margin-bottom: 0;
}

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

.page-about .list-description {
    font-size: 16px;
    color: #666;
}

.page-about .section-why-choose {
    background-color: var(--bg-light);
}

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

.page-about .feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.page-about .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about .feature-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 25px;
    object-fit: contain;
    min-width: 120px;
    min-height: 120px;
}

.page-about .feature-title {
    font-size: 26px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about .feature-description {
    font-size: 16px;
    color: #666;
}

.page-about .section-commitment {
    background-color: #ffffff;
}

.page-about .commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 30px;
}

.page-about .commitment-list li {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-bottom: 4px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about .section-cta {
    background: linear-gradient(90deg, var(--secondary-color), #a00000);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}

.page-about .section-cta .section-title {
    color: var(--primary-color);
    font-size: 40px;
}

.page-about .section-cta .text-content {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-about .cta-button-large {
    display: inline-block;
    padding: 20px 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 900;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
}

.page-about .cta-button-large:hover {
    background: #e6c200;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--text-light);
}

/* FAQ Section */
.page-about .section-faq {
    background-color: #ffffff;
}

.page-about .faq-list {
    margin-top: 40px;
}

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

.page-about .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-about .faq-question:hover {
    background: var(--bg-light);
}

.page-about .faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: bold;
}

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

.page-about .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-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: #fdfdfd;
}

.page-about .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
}

.page-about .faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about .hero-title {
        font-size: 40px;
    }
    .page-about .hero-description {
        font-size: 18px;
    }
    .page-about .cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-about .section-title {
        font-size: 30px;
    }
    .page-about .content-layout {
        flex-direction: column;
    }
    .page-about .content-layout.reverse-layout {
        flex-direction: column;
    }
    .page-about .image-column {
        min-width: unset;
    }
    .page-about .content-image {
        min-width: unset;
        min-height: 250px;
    }
    .page-about .values-grid, .page-about .features-grid {
        grid-template-columns: 1fr;
    }
    .page-about .commitment-list {
        grid-template-columns: 1fr;
    }
    .page-about .cta-button-large {
        padding: 18px 40px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-about section {
        padding: 60px 0;
    }
    .page-about .hero-section {
        padding: 40px 15px;
    }
    .page-about .hero-title {
        font-size: 32px;
    }
    .page-about .hero-description {
        font-size: 16px;
    }
    .page-about .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-about .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-about .text-content {
        font-size: 15px;
    }
    .page-about .value-title, .page-about .list-title, .page-about .feature-title {
        font-size: 20px;
    }
    .page-about .value-description, .page-about .list-description, .page-about .feature-description {
        font-size: 14px;
    }
    .page-about .value-icon, .page-about .feature-icon {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
    }
    .page-about .faq-question h3 {
        font-size: 16px;
    }
    .page-about .faq-toggle {
        font-size: 20px;
    }
    .page-about .faq-answer p {
        font-size: 14px;
    }
    .page-about .section-cta .section-title {
        font-size: 30px;
    }
    .page-about .cta-button-large {
        padding: 15px 30px;
        font-size: 18px;
    }
}