/* style/about.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFCC00;
    --text-color-light: #f0f0f0;
    --text-color-dark: #333333;
    --background-light: #ffffff;
    --background-dark: #002244;
    --card-bg: #f9f9f9;
    --border-color: #e0e0e0;
}

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

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

.page-about .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    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(--secondary-color);
    border-radius: 2px;
}

.page-about .hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004488 100%);
    color: var(--text-color-light);
    padding: 100px 0;
    text-align: center;
}

.page-about .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about .hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about .cta-button:hover {
    background-color: #ffda47; /* Lighter secondary color */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about .cta-button.large {
    padding: 18px 50px;
    font-size: 1.4em;
}

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

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

.page-about .text-content {
    flex: 1;
    font-size: 1.1em;
}

.page-about .text-content p {
    margin-bottom: 20px;
}

.page-about .image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about .image-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about .section-mission-vision {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.page-about .mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.page-about .card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

.page-about .value-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

.page-about .value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about .value-icon {
    width: 120px; /* Increased size */
    height: 120px; /* Increased size */
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-about .section-why-choose-us {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.page-about .section-why-choose-us .section-title {
    color: var(--secondary-color);
}

.page-about .section-why-choose-us .section-title::after {
    background-color: var(--text-color-light);
}

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

.page-about .why-choose-item {
    background-color: #002e5b; /* Slightly lighter than dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about .why-choose-item:hover {
    transform: translateY(-5px);
    background-color: #003a73;
}

.page-about .why-choose-icon {
    width: 120px; /* Increased size */
    height: 120px; /* Increased size */
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(1.2); /* Slightly brighten for visibility on dark bg */
}

.page-about .why-choose-title {
    font-size: 1.7em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about .why-choose-item p {
    color: var(--text-color-light);
}

.page-about .section-cta {
    padding: 80px 0;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #ffc000 100%);
    color: var(--primary-color);
    text-align: center;
}

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

.page-about .section-cta .section-title::after {
    background-color: var(--primary-color);
}

.page-about .cta-text {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #333333;
}

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

/* FAQ default state - answer hidden */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--background-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--card-bg);
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: var(--card-bg);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-about .hero-title {
        font-size: 2.8em;
    }
    .page-about .hero-subtitle {
        font-size: 1.1em;
    }
    .page-about .section-title {
        font-size: 2em;
    }
    .page-about .content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-about .text-content, .page-about .image-content {
        flex: none;
        width: 100%;
    }
    .page-about .image-content {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }
    .page-about .mission-vision-grid, .page-about .values-grid, .page-about .why-choose-grid {
        grid-template-columns: 1fr;
    }
    .page-about .card-title, .page-about .value-title, .page-about .why-choose-title {
        font-size: 1.5em;
    }
    .page-about .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-about .cta-button.large {
        padding: 15px 40px;
        font-size: 1.2em;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-about .hero-section {
        padding: 60px 0;
    }
    .page-about .hero-title {
        font-size: 2.2em;
    }
    .page-about .hero-subtitle {
        font-size: 1em;
    }
    .page-about .section-intro, .page-about .section-mission-vision, .page-about .section-values, .page-about .section-why-choose-us, .page-about .section-cta, .page-about .section-faq {
        padding: 60px 0;
    }
    .page-about .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about .card, .page-about .value-item, .page-about .why-choose-item {
        padding: 25px;
    }
    .page-about .value-icon, .page-about .why-choose-icon {
        width: 100px;
        height: 100px;
    }
    .page-about .cta-text {
        font-size: 1.1em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-about .hero-title {
        font-size: 1.8em;
    }
    .page-about .hero-subtitle {
        font-size: 0.9em;
    }
    .page-about .section-title {
        font-size: 1.5em;
    }
    .page-about .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-about .cta-button.large {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-about .text-content p {
        font-size: 0.95em;
    }
    .page-about .card-title, .page-about .value-title, .page-about .why-choose-title {
        font-size: 1.3em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 18px;
    }
}