/* style/about.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #0A2463;
    --border-color: #e0e0e0;
}

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

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

.page-about__section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-about__section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-about__section-title {
    font-size: 36px;
    color: var(--primary-color);
    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: var(--secondary-color);
    border-radius: 2px;
}

/* Hero Section */
.page-about__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3A7A 100%);
    color: var(--text-color-light);
}

.page-about__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.page-about__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.page-about__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* CTA Button */
.page-about__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
}

.page-about__cta-button:hover {
    background-color: #ffe866; /* Lighter gold */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__cta-button--secondary:hover {
    background-color: #1A3A7A;
    border-color: #1A3A7A;
    color: #fff;
}

.page-about__inline-cta {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-about__inline-cta:hover {
    color: var(--secondary-color);
}

/* Mission & Vision */
.page-about__mission-vision .page-about__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-about__mission-vision .page-about__text-content {
    flex: 1;
    min-width: 300px;
}

.page-about__mission-vision .page-about__image-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-about__mission-vision .page-about__image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

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

.page-about__history-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__history-item h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

/* Why Choose */
.page-about__why-choose {
    background-color: #eaf0f4;
}

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

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

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

.page-about__advantage-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 100px;
    min-height: 100px;
}

.page-about__advantage-item h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

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

.page-about__product-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-about__product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.page-about__product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
    min-width: 200px;
    min-height: 200px;
}

.page-about__product-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 20px 15px 10px;
}

.page-about__product-card p {
    padding: 0 20px 20px;
    font-size: 16px;
    color: #666;
}

.page-about__card-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__card-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Commitment */
.page-about__commitment {
    background-color: #f0f8ff;
}

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

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

.page-about__commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-about__commitment-item h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.page-about__commitment-item h3 .page-about__card-link {
    color: var(--primary-color);
    text-decoration: none;
}

.page-about__commitment-item h3 .page-about__card-link:hover {
    color: var(--secondary-color);
}

/* Future */
.page-about__future {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-about__future .page-about__section-title {
    color: var(--secondary-color);
}

.page-about__future p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* FAQ Section */
.page-about__faq {
    background-color: var(--background-light);
}

.page-about__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

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

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

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

.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);
    color: var(--primary-color);
}

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

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 40px;
    }
    .page-about__section-title {
        font-size: 30px;
    }
    .page-about__mission-vision .page-about__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-about__mission-vision .page-about__text-content, 
    .page-about__mission-vision .page-about__image-content {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        padding: 60px 15px;
    }
    .page-about__hero-title {
        font-size: 32px;
    }
    .page-about__hero-description {
        font-size: 18px;
    }
    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-about__history-item h3, 
    .page-about__advantage-item h3, 
    .page-about__product-card h3, 
    .page-about__commitment-item h3 {
        font-size: 20px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 16px;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-item.active .faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 28px;
    }
    .page-about__hero-description {
        font-size: 16px;
    }
    .page-about__section-title {
        font-size: 22px;
    }
    .page-about__history-grid, 
    .page-about__advantages-grid, 
    .page-about__product-grid, 
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
    }
    .page-about__history-item, 
    .page-about__advantage-item, 
    .page-about__product-card, 
    .page-about__commitment-item {
        padding: 20px;
    }
    .page-about__product-card img {
        height: 180px;
    }
}