/* style/about.css */

/* Base styles for the page content */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background: transparent; /* Body background is from shared.css */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-about__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: -1;
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

/* General Section Styles */
.page-about__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    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-color: #26A9E0;
    border-radius: 2px;
}

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

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}
.page-about__content-grid--reverse .page-about__text-block {
    order: 2;
}
.page-about__content-grid--reverse .page-about__image-wrapper {
    order: 1;
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0; /* Light text for dark background */
}

.page-about__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Dark Background Sections */
.page-about__dark-bg {
    background-color: #0a0a0a; /* Ensure dark background for consistency with body */
    color: #ffffff;
}

/* Overview Section */
.page-about__overview-section .page-about__text-block p {
    color: #f0f0f0;
}

/* Vision and Mission Section */
.page-about__vision-mission-section {
    background-color: #1a1a1a;
    padding: 60px 0;
}
.page-about__vision-mission-section .page-about__section-title {
    color: #26A9E0;
}
.page-about__vision-mission-section .page-about__content-wrapper p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Core Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__value-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-10px);
}

.page-about__value-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-about__value-card p {
    font-size: 1em;
    color: #f0f0f0;
}

/* Products Section */
.page-about__products-section {
    background-color: #1a1a1a;
    padding: 60px 0;
}
.page-about__products-section .page-about__section-title {
    color: #26A9E0;
}
.page-about__product-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__product-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.1em;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.page-about__product-list li a {
    color: #EA7C07; /* Login color for action links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.page-about__product-list li a:hover {
    color: #ff9900;
}

/* Security Section */
.page-about__security-section .page-about__text-block p {
    color: #f0f0f0;
}

/* Responsibility Section */
.page-about__responsibility-section {
    background-color: #1a1a1a;
    padding: 60px 0;
}
.page-about__responsibility-section .page-about__section-title {
    color: #26A9E0;
}
.page-about__responsibility-section .page-about__content-wrapper p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Team Section */
.page-about__team-section .page-about__text-block p {
    color: #f0f0f0;
}
.page-about__team-section .page-about__content-wrapper p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* CTA Section */
.page-about__cta-section {
    background-color: #1a1a1a;
    padding: 80px 20px;
    text-align: center;
}

.page-about__cta-section .page-about__section-title {
    color: #26A9E0;
    margin-bottom: 25px;
}

.page-about__cta-section .page-about__description {
    font-size: 1.3em;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
    background: #1e87b7;
    border-color: #1e87b7;
}

.page-about__btn-secondary {
    background: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
    background: #26A9E0;
    color: #ffffff;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
}
.page-about__faq-section .page-about__section-title {
    color: #26A9E0;
}

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

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-about__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 20px;
}

.page-about__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    .page-about__content-grid--reverse .page-about__text-block {
        order: initial;
    }
    .page-about__content-grid--reverse .page-about__image-wrapper {
        order: initial;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__hero-section {
        height: 500px;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__container {
        padding: 30px 15px;
    }

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

    /* Images responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size is respected */
        min-height: 200px !important; /* Ensure min size is respected */
    }

    /* Image/Video/Content containers responsiveness */
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__content-grid,
    .page-about__content-wrapper,
    .page-about__values-grid,
    .page-about__faq-list,
    .page-about__hero-buttons,
    .page-about__cta-buttons,
    .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; /* Prevent horizontal scroll */
    }

    /* Video responsiveness (if any) */
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Buttons responsiveness */
    .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: 12px 20px; /* Adjust padding for mobile */
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__product-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Ensure content area images do not display smaller than 200px */
.page-about__overview-section .page-about__image,
.page-about__products-section .page-about__image,
.page-about__security-section .page-about__image {
    min-width: 200px;
    min-height: 200px;
}
@media (max-width: 768px) {
    .page-about__overview-section .page-about__image,
    .page-about__products-section .page-about__image,
    .page-about__security-section .page-about__image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}