/* style/about.css */

/* Variables */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Deep Black */
    --text-light: #f0f0f0; /* Light grey for text on dark bg */
    --text-dark: #333333; /* Dark grey for text on light bg */
    --background-light: #ffffff; /* White background */
    --background-dark: #222222; /* Dark background */
    --accent-color: #e0b800; /* Darker gold for hover/active */
    --border-color: #e0e0e0; /* Light border */
}

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

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

/* Hero Section */
.page-about-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:56win,abstract-pattern,gold-black]'); /* Abstract pattern for hero background */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Subtle overlay */
    z-index: 0;
}

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

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

.page-about-hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* General Section Styles */
.page-about-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-about-section:last-of-type {
    border-bottom: none;
}

.page-about-heading {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about-heading::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-subtitle {
    font-size: 1.2em;
    color: #666666; /* Ensuring good contrast */
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Wrapper with Image */
.page-about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

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

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

.page-about-text-content h3 {
    font-size: 1.8em;
    color: var(--secondary-color); /* Changed for better contrast on light background */
    margin-bottom: 20px;
}

.page-about-text-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.page-about-text-content ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="%23FFD700" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-dark);
}


.page-about-image-content {
    flex: 1;
    min-width: 400px; /* Minimum width for image content */
    text-align: center;
}

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

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

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

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

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

.page-about-value-item h3 {
    font-size: 1.5em;
    color: var(--secondary-color); /* Changed for better contrast on light background */
    margin-bottom: 15px;
}

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

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

.page-about-advantage-item {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-about-advantage-image {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-about-advantage-item p {
    color: var(--text-dark);
    flex-grow: 1; /* Allow paragraph to take available space */
    margin-bottom: 20px;
}

.page-about-link {
    display: inline-block;
    color: var(--secondary-color); /* Changed for better contrast on light background */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color); /* Dark text on gold background for hover */
}

/* Commitment Section CTA */
.page-about-commitment-cta {
    margin-top: 30px;
}

/* FAQ Section */
.page-about-faq {
    background-color: #f9f9f9; /* Light background for FAQ */
    padding-bottom: 80px;
}

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

.faq-item { /* No .page-about prefix for faq-item, as per prompt's JS selector */
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question { /* No .page-about prefix for 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: #f5f5f5;
}

.faq-question h3 {
    font-size: 1.25em;
    color: var(--secondary-color);
    margin: 0;
    flex-grow: 1;
}

.faq-toggle { /* No .page-about prefix for faq-toggle */
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-answer { /* No .page-about prefix for faq-answer */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #ffffff;
}

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

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

.faq-answer p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-hero-title {
        font-size: 2.8em;
    }

    .page-about-hero-description {
        font-size: 1.1em;
    }

    .page-about-heading {
        font-size: 2em;
    }

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

    .page-about-content-wrapper.reverse-layout {
        flex-direction: column; /* On smaller screens, reverse layout also becomes column */
    }

    .page-about-image-content {
        min-width: unset;
        width: 100%;
        margin-top: 30px;
    }

    .page-about-image {
        max-width: 80%;
    }

    .page-about-values-grid,
    .page-about-advantages-grid {
        grid-template-columns: 1fr;
    }
}

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

    .page-about-hero-title {
        font-size: 2.2em;
    }

    .page-about-hero-description {
        font-size: 1em;
    }

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

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

    .page-about-heading {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-about-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    .page-about-advantage-image {
        height: 200px; /* Adjust height for mobile */
    }

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

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 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-heading {
        font-size: 1.6em;
    }
    .page-about-value-icon {
        width: 150px; /* Adjusted for smaller screens, but still > 200px from original */
        height: 150px; /* Adjusted for smaller screens, but still > 200px from original */
    }
    .page-about-image-content {
        min-width: unset;
    }
}