/* style/about.css */

/* Variables */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Black */
    --accent-color: #FF4500; /* Orange Red for highlights */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f8f8;
    --bg-dark: #1A1A1A; /* Assuming body background is dark */
    --border-color: rgba(255, 255, 255, 0.1);
}

/* Base styles for the page 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(--bg-dark); /* Ensure background is dark if shared.css doesn't force it */
}

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

.page-about__section-title,
.page-about__card-title,
.page-about__value-heading,
.page-about__cta-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-about__section-title {
    font-size: 2.5em;
    padding-top: 40px;
}

.page-about__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
    background-color: var(--bg-dark);
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: var(--text-light);
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-about__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Intro Section */
.page-about__intro-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

.page-about__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Mission & Vision Section */
.page-about__mission-vision {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-about__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-about__card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-about__card:hover {
    transform: translateY(-5px);
}

.page-about__card-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Values Section */
.page-about__values-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

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

.page-about__value-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.page-about__value-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__value-heading {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-about__choose-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.page-about__choose-us-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__advantage-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-about__advantage-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-about__advantage-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.page-about__list-highlight {
    color: var(--primary-color);
}

.page-about__choose-us-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Video Section */
.page-about__video-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
}

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

.page-about__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__video,
.page-about__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-about__video-link {
    display: block;
}

.page-about__video-caption {
    margin-top: 20px;
    font-size: 1.1em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 20px;
}

/* CTA Section */
.page-about__cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
}

.page-about__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-about__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-content .page-about__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-about__cta-content .page-about__btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-about__cta-content .page-about__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-about__cta-content .page-about__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-about__choose-us-content {
        grid-template-columns: 1fr;
    }
    .page-about__choose-us-image {
        order: -1; /* Image first on mobile */
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        min-height: 450px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__intro-section,
    .page-about__mission-vision,
    .page-about__values-section,
    .page-about__why-choose-us,
    .page-about__video-section,
    .page-about__faq-section,
    .page-about__cta-section {
        padding: 50px 0;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    
    /* Image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__choose-us-content,
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper,
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    /* Video responsiveness */
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__video-wrapper {
        padding-bottom: 75% !important; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 */
    }
    .page-about__faq-answer {
        padding: 0 15px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__hero-description {
        font-size: 0.9em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__card-title {
        font-size: 1.4em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
}