/* style/about.css */

/* Base styles for the About Us page */
.page-about {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Inherit from body var(--dark-bg) */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding: 100px 0; /* Adjusted for content below header, actual padding-top is from var(--header-offset) */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #017439; /* Brand primary color for hero background */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-about__hero-section .page-about__container {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Register/Login font color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-about__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    min-width: 180px; /* Ensure minimum button width for readability */
}

.page-about__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-2px);
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
}

/* Section General Styles */
.page-about__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 80px 0;
}

.page-about__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

/* Introduction Section */
.page-about__introduction-section .page-about__section-title {
    color: #FFFF00; /* Yellow for title on dark background */
}

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

.page-about__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
}

.page-about__image-content--center {
    margin: 40px auto;
    display: block;
    max-width: 800px;
}

/* Mission & Vision Section */
.page-about__mission-vision-section .page-about__section-title {
    color: #017439; /* Brand primary color for title on light background */
}

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

.page-about__card {
    background-color: #f8f8f8; /* Light grey card background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333; /* Dark text for light card background */
}

.page-about__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Brand primary color for card titles */
}

.page-about__card p {
    font-size: 1em;
    line-height: 1.7;
}

/* Core Values Section */
.page-about__core-values-section .page-about__section-title {
    color: #FFFF00; /* Yellow for title on dark background */
}

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

.page-about__value-item .page-about__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    color: #ffffff; /* Light text for dark section card */
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__value-item .page-about__card-title {
    color: #FFFF00; /* Yellow for card titles on dark background */
}

/* Technology & Security Section */
.page-about__technology-security-section .page-about__section-title {
    color: #017439; /* Brand primary color for title on light background */
}

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

/* Products Section */
.page-about__products-section .page-about__section-title {
    color: #FFFF00; /* Yellow for title on dark background */
}
.page-about__products-section .page-about__section-description {
    color: #ffffff;
}

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

.page-about__product-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    color: #ffffff; /* Light text for dark section card */
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 20px;
}

.page-about__product-card .page-about__card-title {
    color: #FFFF00; /* Yellow for card titles on dark background */
}

.page-about__product-card .page-about__card-title a {
    color: #FFFF00; /* Yellow for link text */
    text-decoration: none;
}

.page-about__product-card .page-about__card-title a:hover {
    text-decoration: underline;
}

.page-about__product-image {
    width: 100%;
    height: 200px; /* Fixed height for product images in card */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
}

/* Experience & Support Section */
.page-about__experience-support-section .page-about__section-title {
    color: #017439; /* Brand primary color for title on light background */
}

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

/* Responsibility Section */
.page-about__responsibility-section .page-about__section-title {
    color: #FFFF00; /* Yellow for title on dark background */
}

/* FAQ Section */
.page-about__faq-section .page-about__section-title {
    color: #017439; /* Brand primary color for title on light background */
}

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

.page-about__faq-item {
    background-color: #f8f8f8; /* Light grey for FAQ item background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333; /* Dark text for FAQ item */
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand primary color for question background */
    color: #ffffff; /* White text for question */
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #005f2e; /* Slightly darker green on hover */
}

.page-about__faq-question h3 {
    margin: 0;
    color: #ffffff; /* White text for question title */
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Yellow toggle icon */
}

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff; /* White background for answer */
    color: #333333; /* Dark text for answer */
}

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

.page-about__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Call to Action Section */
.page-about__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-about__cta-section .page-about__section-title {
    color: #FFFF00; /* Yellow for title on dark background */
}

.page-about__cta-section .page-about__section-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
}