/* style/about.css */
/* Custom Color Palette */
:root {
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Auxiliary color */
    --color-button-bg: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page-about scope */
.page-about {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for readability */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-about a {
    color: var(--color-secondary); /* Links should stand out */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about a:hover {
    color: var(--color-glow); /* Hover effect */
    text-decoration: underline;
}

/* Typography */
.page-about h1,
.page-about h2,
.page-about h3 {
    color: var(--color-text-main);
    margin-bottom: 1.2em;
    line-height: 1.2;
}

.page-about h1 {
    /* No fixed large font-size for h1, use clamp if needed, but for now just other properties */
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 800px; /* To prevent h1 from being too wide on large screens */
}

.page-about h2 {
    font-size: 2.2em;
    font-weight: 600;
    border-bottom: 2px solid var(--color-divider);
    padding-bottom: 0.5em;
    margin-top: 1.5em;
}

.page-about h3 {
    font-size: 1.6em;
    font-weight: 500;
    color: var(--color-gold); /* Using gold for subheadings to add accent */
    margin-top: 1.2em;
}

.page-about p {
    margin-bottom: 1em;
}

.page-about strong {
    color: var(--color-gold);
}

.page-about ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
}

.page-about li {
    margin-bottom: 0.5em;
}

/* Sections */
.page-about__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-about__content-wrapper {
    margin-top: 30px;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image then text */
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-deep-green); /* A darker green for the hero section background */
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and text */
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__hero-content {
    max-width: 800px;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-about__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    margin-bottom: 0.5em;
    color: var(--color-gold);
}

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

/* Buttons */
.page-about__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-about__btn--primary {
    background: var(--color-button-bg);
    color: var(--color-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

/* Flex layout for specific content wrappers */
.page-about__content-wrapper--flex {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-about__content-wrapper--reverse {
    flex-direction: row-reverse; /* Reverse order for image and text block */
}

.page-about__text-block {
    flex: 1;
    min-width: 300px; /* Ensure text blocks don't get too small */
}

.page-about__image-block {
    flex: 1;
    min-width: 300px; /* Ensure image blocks don't get too small */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__image--left {
    margin-right: auto; /* Push image to the left within its container */
}

.page-about__image--right {
    margin-left: auto; /* Push image to the right within its container */
}

/* Product list */
.page-about__product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

.page-about__product-list li {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__product-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__product-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-about__product-title a {
    color: var(--color-gold); /* Product titles in gold */
    text-decoration: none;
}

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

/* Security and Responsibility Lists */
.page-about__security-list,
.page-about__responsibility-list,
.page-about__awards-list,
.page-about__contact-list {
    list-style: none; /* Remove default list bullets */
    padding: 0;
}

.page-about__security-list li,
.page-about__responsibility-list li,
.page-about__awards-list li,
.page-about__contact-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.page-about__security-list li::before,
.page-about__responsibility-list li::before,
.page-about__awards-list li::before,
.page-about__contact-list li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--color-glow); /* Green checkmark */
    font-size: 1.2em;
    line-height: 1;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 30px;
}

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

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--color-gold); /* FAQ question in gold */
    outline: none;
    list-style: none; /* Hide default summary arrow */
}

/* Hide default arrow for details tag in Webkit browsers */
.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
    color: var(--color-glow);
}

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

.page-about__faq-answer p {
    margin-top: 0;
}

/* Images in content blocks */
.page-about__text-block .page-about__image {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-about__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__content-wrapper--flex {
        flex-direction: column;
        gap: 30px;
    }
    .page-about__content-wrapper--reverse {
        flex-direction: column; /* Revert order for mobile */
    }
}

@media (max-width: 768px) {
    /* Global responsive images */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Global responsive containers for images/videos/buttons */
    .page-about__section,
    .page-about__hero-section,
    .page-about__content-wrapper,
    .page-about__image-block,
    .page-about__text-block,
    .page-about__product-list li,
    .page-about__faq-item,
    .page-about__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Adjust padding for hero section specifically */
    .page-about__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-about__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-image-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific overrides for buttons */
    .page-about__btn {
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* Add margin for stacked buttons */
    }
    .page-about__hero-content .page-about__btn {
        width: auto; /* Allow button to size to content if not forced 100% */
        max-width: 100%;
    }

    /* For multiple buttons in a row, stack them */
    .page-about__cta-buttons { /* Assuming a container for multiple buttons */
        display: flex !important;
        flex-direction: column !important;
        gap: 10px;
        align-items: center;
    }

    .page-about h2 {
        font-size: 1.8em;
    }
    .page-about h3 {
        font-size: 1.3em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__product-list {
        grid-template-columns: 1fr; /* Stack products */
    }
    .page-about__product-list li {
        padding-left: 20px; /* Adjust padding due to forced 15px overall */
        padding-right: 20px;
    }
    .page-about__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-about__team-awards .page-about__content-wrapper--flex {
        flex-direction: column; /* Stack team and awards sections */
    }
    .page-about__image--left,
    .page-about__image--right {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Ensure body padding for fixed header is not duplicated */
.page-about__hero-section {
    /* body { padding-top: var(--header-offset); } is handled by shared.css */
    /* This section should only have its own internal padding */
    padding-top: 10px; /* Small top padding for visual break, not for header offset */
}