/* style/about.css */
:root {
    --primary-color: #1A202C; /* Deep Midnight Blue/Charcoal */
    --secondary-color: #FFD700; /* Bright Gold/Amber */
    --text-light: #F0F2F5; /* Off-white for light text on dark backgrounds */
    --text-dark: #333333; /* Dark grey for general text on light backgrounds */
    --background-light: #FFFFFF; /* White background */
    --background-dark: #2D3748; /* Slightly lighter dark background */
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

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

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

.page-about .bg-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-about .text-light {
    color: var(--text-light);
}

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

.page-about .section-title.text-light {
    color: var(--secondary-color);
}

.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 .section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: var(--text-dark);
}

.page-about .section-description.text-light {
    color: var(--text-light);
}

/* 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: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
    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-banner {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limit height for aesthetic */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

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

.page-about .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about .hero-content p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

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

.page-about .cta-button:hover {
    background: #FFC107; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-about .intro-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .intro-icon {
    width: 120px; /* Increased size for content image, not icon */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no color filter */
}

.page-about .intro-item h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about .intro-item p {
    color: var(--text-dark);
    font-size: 1em;
}

/* Section History */
.page-about .section-history {
    padding: 80px 0;
    background-color: var(--primary-color);
}

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

.page-about .history-image {
    flex: 1; /* Allow image to take available space */
    min-width: 400px; /* Minimum width for image */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px var(--shadow-dark);
    filter: none; /* Ensure no color filter */
}

.page-about .history-text {
    flex: 2; /* Text takes more space */
    min-width: 400px; /* Minimum width for text */
    color: var(--text-light);
}

.page-about .history-text h3 {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-about .history-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-about .history-text ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.1em;
}

.page-about .history-text ul li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-about .history-text strong {
    color: var(--secondary-color);
}

.page-about .history-quote {
    font-style: italic;
    font-size: 1.2em;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin-top: 40px;
    color: var(--text-light);
}

/* Section Values */
.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: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .value-icon {
    width: 120px; /* Increased size for content image, not icon */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no color filter */
}

.page-about .value-item h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about .value-item p {
    color: var(--text-dark);
    font-size: 1em;
}

/* Section Why Choose */
.page-about .section-why-choose {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.page-about .feature-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.page-about .feature-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px var(--shadow-dark);
    padding: 30px;
}

.page-about .feature-item.reverse {
    flex-direction: row-reverse;
}

.page-about .feature-image {
    flex: 1;
    min-width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    filter: none; /* Ensure no color filter */
}

.page-about .feature-content {
    flex: 2;
    min-width: 350px;
}

.page-about .feature-content h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about .feature-content p {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.page-about .feature-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-about .feature-button:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

/* Section Responsibility */
.page-about .section-responsibility {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-about .responsibility-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .responsibility-icon {
    width: 120px; /* Increased size for content image, not icon */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no color filter */
}

.page-about .responsibility-item h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about .responsibility-item p {
    color: var(--text-dark);
    font-size: 1em;
}

/* Section Future */
.page-about .section-future {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
}

.page-about .future-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 8px 20px var(--shadow-dark);
    filter: none; /* Ensure no color filter */
}

/* Section Contact */
.page-about .section-contact {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-about .contact-info {
    text-align: center;
    font-size: 1.2em;
    color: var(--text-dark);
}

.page-about .contact-info p {
    margin-bottom: 15px;
}

.page-about .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about .contact-info a:hover {
    color: var(--secondary-color);
}

/* FAQ Section */
.page-about .section-faq {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-about .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.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 20px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

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

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background: #fdfdfd;
    color: var(--text-dark);
}

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

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer ul {
    padding-left: 20px;
    list-style-type: disc;
}

.page-about .button-small {
    display: inline-block;
    padding: 8px 18px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.page-about .button-small:hover {
    background: #FFC107;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about .hero-content h1 {
        font-size: 3em;
    }
    .page-about .hero-content p {
        font-size: 1.2em;
    }
    .page-about .section-title {
        font-size: 2em;
    }
    .page-about .history-image, .page-about .history-text {
        min-width: unset;
        flex: 1 1 100%;
    }
    .page-about .feature-item, .page-about .feature-item.reverse {
        flex-direction: column;
        text-align: center;
    }
    .page-about .feature-image {
        min-width: unset;
        max-width: 80%;
        margin: 0 auto 20px auto;
    }
    .page-about .feature-content {
        min-width: unset;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-about .hero-section {
        padding: 40px 15px;
    }
    .page-about .hero-image-banner {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .page-about .hero-content h1 {
        font-size: 2.2em;
    }
    .page-about .hero-content p {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-about .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
    .page-about .section-intro, .page-about .section-history, .page-about .section-values, .page-about .section-why-choose, .page-about .section-responsibility, .page-about .section-future, .page-about .section-contact, .page-about .section-faq {
        padding: 50px 0;
    }
    .page-about .section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-about .section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-about .intro-grid, .page-about .values-grid, .page-about .responsibility-grid {
        grid-template-columns: 1fr;
    }
    .page-about .intro-item h3, .page-about .value-item h3, .page-about .responsibility-item h3 {
        font-size: 1.5em;
    }
    .page-about .history-text ul li {
        font-size: 1em;
    }
    .page-about .history-text h3, .page-about .feature-content h3 {
        font-size: 1.8em;
    }
    .page-about .feature-image {
        max-width: 90%;
    }
    .faq-question {
        padding: 15px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-about .hero-content h1 {
        font-size: 1.8em;
    }
    .page-about .hero-content p {
        font-size: 0.9em;
    }
    .page-about .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about .section-title {
        font-size: 1.5em;
    }
    .page-about .history-image {
        min-width: unset;
    }
    .page-about .history-text, .page-about .feature-content {
        min-width: unset;
    }
    .page-about .feature-image {
        max-width: 100%;
    }
}