/* style/about.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Black */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --background-light: #F8F8F8;
    --background-dark: #2C2C2C;
    --accent-color: #FF4500; /* Orange-Red for highlights */
    --border-color: #E0E0E0;
}

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

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

.page-about h1, .page-about h2, .page-about h3 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.2;
}

.page-about h1 {
    font-size: 2.8em;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about h2 {
    font-size: 2.2em;
    color: var(--secondary-color);
    padding-top: 40px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.page-about h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 20px;
}

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

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

/* Hero Banner */
.page-about .hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background-color: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-about .hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-about .hero-image {
    width: 100%;
    height: 500px; /* Adjusted for better visual impact */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

.page-about .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
    background: rgba(26, 26, 26, 0.7);
    padding: 30px;
    border-radius: 10px;
    margin-top: -150px; /* Overlap with image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about .hero-content h1 {
    color: var(--primary-color);
    font-size: 2.8em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-about .hero-content p {
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 25px;
}

.page-about .hero-content strong {
    color: var(--primary-color);
}

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

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

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

.page-about .section-mission h2 {
    margin-bottom: 50px;
}

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

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

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

.page-about .section-mission .content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.page-about .btn-secondary:hover {
    background: #000000; /* Even darker black */
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Why Us */
.page-about .section-why-us {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-about .section-why-us h2, .page-about .section-why-us p {
    color: var(--text-light);
}

.page-about .section-why-us h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about .section-why-us .section-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-about .section-why-us strong {
    color: var(--primary-color);
}

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

.page-about .feature-item {
    background: #3A3A3A;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .feature-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Slightly brighten icons for dark background */
}

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

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

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

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

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

.page-about .section-commitment h2 {
    margin-bottom: 40px;
}

.page-about .commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    display: inline-block;
    max-width: 800px;
}

.page-about .commitment-list li {
    background: #FFFFFF;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-about .commitment-list li strong {
    color: var(--secondary-color);
}

.page-about .cta-bottom {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(90deg, var(--primary-color), #FFC107);
    border-radius: 10px;
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about .cta-bottom p {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-about .cta-bottom .cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-about .cta-bottom .cta-button:hover {
    background: #000000;
    color: var(--text-light);
}

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

.page-about .section-faq h2 {
    margin-bottom: 40px;
}

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

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
    text-align: left;
}

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

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

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

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

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

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

.page-about .section-contact h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.page-about .contact-info {
    margin-top: 30px;
    background: #3A3A3A;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about .contact-info p strong {
    color: var(--primary-color);
}

.page-about .section-contact .cta-button {
    margin-top: 30px;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.page-about .section-contact .cta-button:hover {
    background: #FFC107;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about h1 {
        font-size: 2.2em;
    }
    .page-about h2 {
        font-size: 1.8em;
    }
    .page-about h3 {
        font-size: 1.4em;
    }
    .page-about .hero-image {
        height: 400px;
    }
    .page-about .hero-content {
        margin-top: -100px;
        padding: 25px;
    }
    .page-about .hero-content h1 {
        font-size: 2.2em;
    }
    .page-about .hero-content p {
        font-size: 1em;
    }
    .page-about .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about .section-mission .content-wrapper {
        flex-direction: column;
    }
    .page-about .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-about .feature-item img {
        width: 80px;
        height: 80px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-about .container {
        padding: 15px;
    }
    .page-about h1 {
        font-size: 1.8em;
    }
    .page-about h2 {
        font-size: 1.6em;
    }
    .page-about .hero-image {
        height: 300px;
    }
    .page-about .hero-content {
        margin-top: -80px;
        padding: 20px;
    }
    .page-about .hero-content h1 {
        font-size: 1.8em;
    }
    .page-about .hero-content p {
        font-size: 0.95em;
    }
    .page-about .cta-button {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    .page-about .section-mission, .page-about .section-why-us, .page-about .section-commitment, .page-about .section-faq, .page-about .section-contact {
        padding: 50px 0;
    }
    .page-about .features-grid {
        grid-template-columns: 1fr;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-answer {
        padding: 15px 20px;
    }
    .page-about .contact-info {
        padding: 20px;
    }
}