/* style/about.css */

/* Define CSS Variables for colors */
:root {
    --primary-bg-dark: #1A202C;
    --secondary-accent-gold: #FFD700;
    --text-light: #E0E0E0;
    --text-dark: #1A202C;
    --card-bg: #2C3E50; /* Slightly lighter dark for cards */
    --button-text-dark: #1A202C;
    --button-hover-bg: #CCA300; /* Darker gold for hover */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}

/* Base styles for the page-about content */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark background */
    background-color: var(--primary-bg-dark); /* Main background */
    padding-top: 0; /* Adjust if header has fixed position */
    padding-bottom: 0; /* Adjust if footer has fixed position */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* General container for content */
.page-about-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section styling */
.page-about-section {
    padding: var(--section-padding);
    text-align: center;
}

.page-about-section-title {
    font-size: 2.8em;
    color: var(--secondary-accent-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
}

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

/* Hero Section */
.page-about-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px; /* Adjusted padding */
    background: linear-gradient(135deg, #1A202C, #2C3E50); /* Gradient for hero */
}

.page-about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-about-hero h1 {
    font-size: 3.5em;
    color: var(--secondary-accent-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about-hero p {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.page-about-hero-image {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px; /* Space between content and image */
}

.page-about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

/* Call to Action Button */
.page-about-cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-accent-gold);
    color: var(--button-text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.page-about-cta-button:hover {
    background: var(--button-hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about-cta-large {
    padding: 22px 55px;
    font-size: 1.6em;
}

/* Mission Section */
.page-about-mission .page-about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-about-mission h2 {
    color: var(--secondary-accent-gold);
    font-size: 2.5em;
    margin-bottom: 25px;
    line-height: 1.3;
}

.page-about-mission p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-about-mission .page-about-content-block {
    flex: 1;
}

.page-about-mission .page-about-image-block {
    flex: 0 0 500px; /* Fixed width for image block */
}

.page-about-mission .page-about-image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Why Choose Section */
.page-about-why-choose {
    background-color: #0F131D; /* Slightly different dark background */
}

.page-about-why-choose h2 {
    color: var(--secondary-accent-gold);
}

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

.page-about-feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--secondary-accent-gold);
}

.page-about-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-about-feature-card h3 {
    font-size: 1.6em;
    color: var(--secondary-accent-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about-feature-card p {
    font-size: 1.05em;
    color: var(--text-light);
}

/* Responsibility Section */
.page-about-responsibility {
    background-color: var(--primary-bg-dark);
}

.page-about-responsibility .page-about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-about-responsibility h2 {
    color: var(--secondary-accent-gold);
    font-size: 2.5em;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: center;
}

.page-about-responsibility .page-about-content-block {
    flex: 1;
}

.page-about-responsibility .page-about-content-block p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

.page-about-responsibility .page-about-content-block ul li {
    background-color: var(--card-bg);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 3px solid var(--secondary-accent-gold);
    color: var(--text-light);
    font-size: 1.05em;
}

.page-about-responsibility .page-about-image-block {
    flex: 0 0 500px;
}

.page-about-responsibility .page-about-image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Future Section */
.page-about-future {
    background: linear-gradient(135deg, #2C3E50, #1A202C);
}

.page-about-future h2 {
    color: var(--secondary-accent-gold);
}

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

/* FAQ Section */
.page-about-faq {
    background-color: #0F131D;
}

.page-about-faq h2 {
    color: var(--secondary-accent-gold);
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--card-bg); /* Darker background for question */
    border: 1px solid #3A475A;
    border-radius: 8px; /* Apply border-radius to top corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: var(--text-light);
}

.faq-question:hover {
    background: #3A475A; /* Slightly lighter on hover */
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-accent-gold); /* Gold for question text */
    flex-grow: 1;
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-accent-gold);
    transition: transform 0.3s ease;
    margin-left: 15px;
    line-height: 1; /* Ensure proper alignment */
}

/* FAQ default state - answer hidden */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #2C3E50; /* Slightly lighter dark for answer background */
    color: var(--text-light);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 25px;
    border-top: 1px solid #3A475A;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an 'x' or 'minus' */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-hero h1 {
        font-size: 2.8em;
    }
    .page-about-hero p {
        font-size: 1.1em;
    }
    .page-about-cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
}