/* style/about.css */

:root {
    --primary-color: #0A1931; /* Deep Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #F0F2F5; /* Light Gray for text on dark backgrounds */
    --text-dark: #333333; /* Dark Gray for text on light backgrounds */
    --background-light: #FFFFFF; /* White background */
    --background-dark: #1A2E4C; /* Slightly lighter deep blue background */
    --border-color: #e0e0e0;
}

.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: 20px;
}

.page-about-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-about-section:nth-of-type(odd) {
    background-color: var(--background-light);
}

.page-about-section:nth-of-type(even) {
    background-color: #f9f9f9; /* Slightly off-white for contrast */
}

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

h1 {
    font-size: 42px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
}

.page-about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--background-dark));
    padding: 80px 20px;
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

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

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

.page-about-cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

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

.page-about-image-content {
    flex: 1;
    text-align: center;
}

.page-about-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

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

.page-about-value-item {
    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-value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-about-value-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 22px;
}

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

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

.page-about-why-item {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
}

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

.page-about-why-item p {
    font-size: 16px;
    color: var(--text-light);
}

.page-about-why-icon {
    width: 180px; /* Increased size for content image */
    height: 180px; /* Increased size for content image */
    margin-bottom: 20px;
    object-fit: contain;
}

/* FAQ Section Styling */
.page-about-faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background-light);
}

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

.faq-question h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-light);
}

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

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

.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 25px;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-hero {
        padding: 60px 15px;
    }

    .page-about-hero-image {
        max-width: 600px;
    }

    .page-about-hero-content h1 {
        font-size: 36px;
    }

    .page-about-section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .page-about-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

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

    .page-about-image-content {
        margin-bottom: 30px;
    }

    .page-about-value-item, .page-about-why-item {
        padding: 25px;
    }

    .page-about-value-item h3, .page-about-why-item h3 {
        font-size: 20px;
    }

    .faq-question h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-about-hero {
        padding: 40px 10px;
    }

    .page-about-hero-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .page-about-hero-content h1 {
        font-size: 30px;
    }

    .page-about-hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-about-cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-about-section {
        padding: 40px 0;
    }

    .page-about-section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 15px;
    }

    .page-about-grid, .page-about-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about-value-item, .page-about-why-item {
        padding: 20px;
    }

    .page-about-value-icon, .page-about-why-icon {
        width: 120px;
        height: 120px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-toggle {
        font-size: 24px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}