/* style/about.css */
/* 
  Body padding-top is handled by shared.css for fixed header offset.
  This page's first section should only have a small decorative padding-top.
*/

:root {
    /* Custom Colors from provided palette */
    --page-about-main-color: #11A84E;
    --page-about-accent-color: #22C768;
    --page-about-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-about-card-bg: #11271B;
    --page-about-background: #08160F; /* Body background color */
    --page-about-text-main: #F2FFF6;
    --page-about-text-secondary: #A7D9B8;
    --page-about-border-color: #2E7A4E;
    --page-about-glow-color: #57E38D;
    --page-about-gold-color: #F2C14E;
    --page-about-divider-color: #1E3A2A;
    --page-about-deep-green-color: #0A4B2C;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-about-text-main); /* Light text for dark body background */
    background-color: var(--page-about-background); /* Explicitly set for content area if needed, though body should handle */
}

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

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above, text below */
    align-items: center;
    text-align: center;
    padding: 40px 0 60px; /* Decorative padding-top, not header offset */
    background-color: var(--page-about-deep-green-color); /* Darker background for hero */
}

.page-about__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 300px; /* Ensure minimum size */
    min-width: 200px;
}

.page-about__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: var(--page-about-text-main);
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-about-gold-color); /* Using gold for H1 for emphasis */
}

.page-about__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: var(--page-about-text-secondary);
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-about__btn-primary {
    background: var(--page-about-button-gradient);
    color: var(--page-about-text-main);
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-about__introduction-section,
.page-about__mission-vision-section,
.page-about__values-section,
.page-about__products-overview-section,
.page-about__security-section,
.page-about__team-section,
.page-about__faq-section,
.page-about__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-about__dark-section {
    background-color: var(--page-about-card-bg); /* Use card BG for dark sections */
    color: var(--page-about-text-main);
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
    color: var(--page-about-main-color);
}

.page-about__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--page-about-gold-color);
}

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

.page-about__text-block strong {
    color: var(--page-about-text-main);
}

/* Grid Layout for content blocks */
.page-about__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.page-about__grid-layout--reversed {
    grid-template-columns: 1fr 1fr; /* Default order */
}

.page-about__grid-layout--reversed .page-about__image-wrapper {
    order: 2; /* Image on right */
}
.page-about__grid-layout--reversed .page-about__content-block {
    order: 1; /* Content on left */
}

.page-about__image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.page-about__value-card {
    background-color: var(--page-about-deep-green-color); /* Darker green for cards */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-about-border-color);
    transition: transform 0.3s ease;
}

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

.page-about__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-about-main-color);
}

.page-about__card-description {
    font-size: 0.95rem;
    color: var(--page-about-text-secondary);
}

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

.page-about__product-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    color: var(--page-about-text-secondary);
}

.page-about__product-list li::before {
    content: '✅'; /* Checkmark icon */
    margin-right: 10px;
    color: var(--page-about-main-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-about__product-list li a {
    color: var(--page-about-text-main);
    text-decoration: none;
    font-weight: bold;
}

.page-about__product-list li a:hover {
    color: var(--page-about-gold-color);
    text-decoration: underline;
}

/* FAQ Section */
.page-about__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-about__faq-item {
    background-color: var(--page-about-deep-green-color);
    border: 1px solid var(--page-about-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;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--page-about-main-color);
    transition: background-color 0.3s ease;
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: var(--page-about-text-main);
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-about-glow-color);
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign visual */
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--page-about-text-secondary);
}

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

.page-about__faq-answer a {
    color: var(--page-about-main-color);
    text-decoration: underline;
}

.page-about__faq-answer a:hover {
    color: var(--page-about-gold-color);
}

/* DETAILS element specific styles */
.page-about__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-about__faq-item summary::-webkit-details-marker {
    display: none; /* Hide for Webkit browsers */
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-about__grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .page-about__grid-layout--reversed .page-about__image-wrapper {
        order: initial; /* Reset order for smaller screens */
    }
    .page-about__grid-layout--reversed .page-about__content-block {
        order: initial; /* Reset order for smaller screens */
    }

    .page-about__image-wrapper {
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 30px 0 40px;
    }

    .page-about__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-about__hero-description {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    }

    .page-about__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-about__introduction-section,
    .page-about__mission-vision-section,
    .page-about__values-section,
    .page-about__products-overview-section,
    .page-about__security-section,
    .page-about__team-section,
    .page-about__faq-section,
    .page-about__cta-section {
        padding: 50px 0;
    }

    .page-about__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-about__sub-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .page-about__text-block,
    .page-about__card-description,
    .page-about__product-list li,
    .page-about__faq-question,
    .page-about__faq-answer {
        font-size: 1rem;
    }

    /* Mobile 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__hero-image-wrapper,
    .page-about__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    /* Ensure content area images are not scaled down below 200px by CSS */
    .page-about__image {
      min-width: 200px;
      min-height: 200px;
    }

    /* FAQ item padding for mobile */
    .page-about__faq-question,
    .page-about__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}