/* style/about.css */

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

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--light-bg-text-color); /* Default text color for light body background */
    line-height: 1.6;
}

.page-about__section {
    padding: 60px 0;
    position: relative;
}

.page-about__hero-section {
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    background: var(--section-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-about__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    color: var(--dark-bg-text-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.page-about__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gold-color);
    margin-bottom: 20px;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
}

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

.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: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.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(--text-main);
    border: 2px solid var(--primary-color);
}

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

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

.page-about__intro-section {
    background-color: #f8f8f8;
    color: var(--light-bg-text-color);
}

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

.page-about__intro-section .page-about__section-title {
    color: var(--primary-color);
}

.page-about__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-about__highlight-text {
    font-weight: bold;
    color: var(--primary-color);
}

.page-about__dark-bg {
    background-color: var(--section-bg);
    color: var(--dark-bg-text-color);
}

.page-about__light-bg {
    background-color: #f8f8f8;
    color: var(--light-bg-text-color);
}

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

.page-about__text-secondary {
    color: var(--text-secondary);
}

.page-about__text-contrast-fix {
    color: var(--light-bg-text-color);
}

.page-about__dark-bg .page-about__text-contrast-fix {
    color: var(--dark-bg-text-color);
}

.page-about__mission-vision-section,
.page-about__security-section,
.page-about__team-culture-section {
    background-color: var(--section-bg);
    color: var(--dark-bg-text-color);
}

.page-about__mission-vision-section .page-about__section-title,
.page-about__security-section .page-about__section-title,
.page-about__team-culture-section .page-about__section-title,
.page-about__faq-section .page-about__section-title {
    color: var(--gold-color);
}

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

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

.page-about__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-about__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--dark-bg-text-color);
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-about__card-description {
    font-size: 1em;
    line-height: 1.7;
    flex-grow: 1;
    color: var(--text-secondary);
}

.page-about__card-description a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-about__card-description a:hover {
    text-decoration: underline;
}

.page-about__faq-section {
    background-color: var(--section-bg);
    color: var(--dark-bg-text-color);
}

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

.page-about__faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

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

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

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

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

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

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

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

/* Links within content sections */
.page-about__paragraph a,
.page-about__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__main-title {
        font-size: clamp(2em, 5vw, 3em); /* Responsive H1 */
    }
    .page-about__sub-title {
        font-size: 1.5em;
    }
    .page-about__grid-two-columns {
        grid-template-columns: 1fr;
    }
    .page-about__grid-three-columns {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-about__reverse-on-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__hero-section {
        padding-bottom: 40px;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-about__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        text-align: center;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__paragraph {
        font-size: 0.95em;
    }
    .page-about__card {
        padding: 20px;
    }
    .page-about__card-title {
        font-size: 1.3em;
    }
    .page-about__card-description {
        font-size: 0.9em;
    }
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95em;
    }

    /* Mobile image and video responsive styles */
    .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__image-block,
    .page-about__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-about__hero-section {
      padding-top: 10px !important;
    }

    /* Specific override for grid gaps on mobile */
    .page-about__grid-two-columns,
    .page-about__grid-three-columns {
        gap: 20px;
    }

    .page-about__faq-list {
        padding: 0 15px;
    }
    .page-about__faq-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__hero-content {
        padding: 20px 15px;
    }
}