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

.page-about {
    background-color: var(--background-color);
    color: var(--text-main); /* Dark background, so light text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.page-about__subsection-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green-color); /* Fallback background */
}

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

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

.page-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

.page-about__btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 10px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-text:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

/* Intro Section */
.page-about__intro-section,
.page-about__why-choose-us,
.page-about__products-services,
.page-about__responsibility-section,
.page-about__team-section,
.page-about__contact-support,
.page-about__future-section,
.page-about__faq-section {
    padding: 60px 0;
}

.page-about__intro-section p,
.page-about__responsibility-section p,
.page-about__team-section p,
.page-about__contact-support p,
.page-about__future-section p {
    color: var(--text-secondary);
}

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

.page-about__feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-about__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__card-title {
    font-size: 1.4em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-about__service-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__contact-list li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 1.05em;
    position: relative;
    padding-left: 25px;
}

.page-about__contact-list li::before {
    content: '•'; /* Or a custom icon */
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-about__cta-buttons--contact {
    margin-top: 40px;
}

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

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-main);
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-about__faq-item[open] .page-about__faq-question {
    border-bottom: 1px solid var(--divider-color);
}

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

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

.page-about__faq-answer {
    padding: 20px;
    padding-top: 0;
    color: var(--text-secondary);
}

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

.page-about__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-about__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__subsection-title {
        font-size: 1.5em;
    }

    .page-about__hero-image-wrapper {
        max-height: 500px;
    }

    .page-about__hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-about__subsection-title {
        font-size: 1.3em;
    }

    .page-about__intro-section,
    .page-about__why-choose-us,
    .page-about__products-services,
    .page-about__responsibility-section,
    .page-about__team-section,
    .page-about__contact-support,
    .page-about__future-section,
    .page-about__faq-section {
        padding: 40px 0;
    }

    .page-about__hero-section {
        padding-bottom: 40px;
    }

    .page-about__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-about__hero-description {
        font-size: 1em;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image, video, button responsiveness */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__hero-image-wrapper,
    .page-about__feature-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-about__container,
    .page-about__hero-content,
    .page-about__cta-buttons,
    .page-about__feature-grid,
    .page-about__service-grid,
    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

    .page-about__feature-grid,
    .page-about__service-grid {
        grid-template-columns: 1fr;
    }

    .page-about__hero-image-wrapper {
        max-height: 300px;
    }

    .page-about__feature-image {
        height: 180px; /* Adjust height for smaller screens */
    }

    .page-about__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-about__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .page-about__section-title {
        font-size: 1.5em;
    }

    .page-about__subsection-title {
        font-size: 1.2em;
    }

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

    .page-about__hero-description {
        font-size: 0.95em;
    }
}

/* Ensure images meet minimum size in content areas */
.page-about__feature-image {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast fix classes - not directly used but for reference */
.page-about__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-about__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}