/* style/about.css */

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

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-about {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Light text for dark background */
    background-color: var(--background-dark); /* Fallback, but body background is from shared */
    line-height: 1.6;
}

.page-about__section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

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

.page-about__section-title {
    font-size: 2.8em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__section-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about__text-block p {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body padding-top handled by shared.css */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--background-dark);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-about__hero-content-area {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size, not fixed large value */
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.page-about__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

.page-about__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Mission Section */
.page-about__section--mission {
    background-color: var(--card-background);
}

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

.page-about__image-block {
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it respects max-width */
}

.page-about__text-block--full {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--divider-color);
}

/* Values Section */
.page-about__section--values {
    background-color: var(--background-dark);
}

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

.page-about__value-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-about__value-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Products Section */
.page-about__section--products {
    background-color: var(--card-background);
}

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

.page-about__product-card {
    background-color: var(--background-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-about__product-image {
    width: 100%;
    height: 200px; /* Fixed height for product images */
    object-fit: cover;
    display: block;
}

.page-about__product-card .page-about__card-title {
    padding: 20px 20px 10px;
    color: var(--gold-color);
    text-align: left;
    font-size: 1.4em;
}

.page-about__product-card p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    flex-grow: 1;
    text-align: left;
}

.page-about__product-card .page-about__btn-secondary {
    margin: 0 20px 20px;
    display: block;
}

/* Why Choose Us Section */
.page-about__section--why-choose-us {
    background-color: var(--background-dark);
}

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

.page-about__why-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-about__list-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__why-item p {
    color: var(--text-secondary);
}

/* CTA Section */
.page-about__section--cta {
    background-color: var(--card-background);
    text-align: center;
    padding: 80px 20px;
}

.page-about__cta-content {
    max-width: 800px;
}

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

/* FAQ Section */
.page-about__section--faq {
    background-color: var(--background-dark);
}

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

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

.page-about__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-about__faq-item summary:hover {
    background-color: var(--primary-color);
}

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

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

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
    .page-about__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        padding-bottom: 40px;
    }
    .page-about__hero-image-wrapper {
        max-height: 300px;
    }
    .page-about__main-title {
        font-size: clamp(2em, 8vw, 2.8em);
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-about__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-about__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-about__text-block--full {
        margin-top: 30px;
        padding-top: 30px;
    }
    .page-about__values-grid,
    .page-about__products-grid,
    .page-about__why-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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;
    }
    .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;
      overflow: hidden !important;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__hero-image-wrapper,
    .page-about__image-block,
    .page-about__product-card,
    .page-about__value-card,
    .page-about__why-item,
    .page-about__faq-item,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure content does not overflow */
    }
    .page-about__product-image {
        height: auto; /* Allow auto height on mobile */
    }
    .page-about__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__sub-title {
        font-size: 1.4em;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .page-about__faq-item summary {
        font-size: 1em;
    }
}