/* style/about.css */

/* Custom Colors */
:root {
    --bg-dark: #08160F;
    --bg-card: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base Styles for .page-about - Dark Background */
.page-about {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-about__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    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: var(--gold-color);
    border-radius: 2px;
}

.page-about__section-title--light {
    color: #ffffff;
}

.page-about__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-about__text-block {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__text-block--light {
    color: #ffffff;
}

.page-about__card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about a {
    color: var(--gold-color);
    text-decoration: none;
}

.page-about a:hover {
    text-decoration: underline;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-about__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    margin-bottom: 60px;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    text-align: center;
    max-width: 900px;
    margin-top: -120px; /* Overlap slightly for visual effect, but not text on image */
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.page-about__main-title {
    font-size: 3.2em;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Intro Section */
.page-about__intro-section {
    padding: 60px 0;
}

/* Mission Vision Section */
.page-about__mission-vision-section {
    padding: 40px 0;
}

.page-about__mission-vision-section .page-about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-about__mission-card, .page-about__vision-card {
    text-align: center;
}

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

.page-about__card-text {
    color: var(--text-secondary);
    font-size: 1.05em;
}

/* Values Section */
.page-about__values-section {
    padding: 60px 0;
}

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

.page-about__value-item {
    text-align: center;
}

.page-about__value-title {
    font-size: 1.6em;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-about__value-description {
    color: var(--text-secondary);
}

/* Why Choose Us Section */
.page-about__why-choose-us {
    padding: 60px 0;
}

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

.page-about__feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__feature-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
}

.page-about__feature-title {
    font-size: 1.7em;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-about__feature-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Security Section */
.page-about__security-section {
    padding: 60px 0;
}

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

.page-about__security-text {
    flex: 1;
}

.page-about__security-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-about__security-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

.page-about__security-text .page-about__btn-secondary {
    margin-right: 15px;
    margin-top: 20px;
}

/* Video Section */
.page-about__video-section {
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
}

.page-about__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--deep-green);
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    width: 100%; /* Ensure desktop width is 100% */
}

.page-about__intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: block;
}

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

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

.page-about__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
}

.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--bg-card);
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: var(--deep-green);
}

.page-about__faq-item[open] .page-about__faq-question {
    background-color: var(--deep-green);
}

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    color: var(--gold-color);
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−';
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
}

.page-about details > summary {
    list-style: none;
}

.page-about details > summary::-webkit-details-marker {
    display: none;
}

/* Footer Placeholder */
.page-about__footer-placeholder {
    height: 100px; /* Example height */
    background-color: #111;
    color: #fff;
    text-align: center;
    line-height: 100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-content {
        margin-top: -80px;
    }
    .page-about__main-title {
        font-size: 2.8em;
    }
    .page-about__security-content {
        flex-direction: column;
    }
    .page-about__security-image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-about__video-wrapper {
        padding-bottom: 65% !important; /* Adjust aspect ratio for mobile if needed */
    }

    .page-about__video-section {
        padding-top: 10px !important;
    }

    .page-about__cta-button,
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Space between stacked buttons */
    }

    .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;
        flex-direction: column !important;
        gap: 10px !important;
        overflow: hidden !important;
    }

    .page-about__hero-content {
        margin-top: -60px;
        padding: 0 15px;
    }

    .page-about__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-about__mission-vision-section .page-about__container {
        grid-template-columns: 1fr;
    }

    .page-about__values-grid,
    .page-about__features-grid {
        grid-template-columns: 1fr;
    }

    .page-about__security-content {
        flex-direction: column;
    }

    .page-about__security-text .page-about__btn-secondary {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .page-about__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-about__faq-answer {
        padding: 0 20px 15px;
    }
}