/* style/about.css */

/* Base styles for the page-about content */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000; /* Ensuring body background is dark */
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-about__dark-section {
    background-color: #0A2463;
    color: #ffffff;
}

.page-about__medium-bg {
    background-color: #E3B505;
    color: #000000; /* Black text for yellow background */
}

.page-about__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #E3B505; /* Accent color for titles */
    font-weight: bold;
}

.page-about__dark-section .page-about__section-title {
    color: #ffffff;
}

.page-about__medium-bg .page-about__section-title {
    color: #0A2463;
}

.page-about__section-paragraph {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-about__dark-section .page-about__section-paragraph {
    color: #f0f0f0;
}

.page-about__medium-bg .page-about__section-paragraph {
    color: #333333;
}

/* Hero Section */
.page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay to ensure text readability */
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #E3B505;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-about__btn-primary {
    background-color: #E3B505;
    color: #0A2463;
    border: 2px solid #E3B505;
}

.page-about__btn-primary:hover {
    background-color: #ffc81a;
    border-color: #ffc81a;
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #E3B505;
    border: 2px solid #E3B505;
}

.page-about__btn-secondary:hover {
    background-color: #E3B505;
    color: #0A2463;
}

.page-about__cta-buttons--center {
    margin-top: 30px;
}

/* Introduction Section Grid */
.page-about__introduction-section .page-about__grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.page-about__introduction-section .page-about__image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__introduction-section .page-about__grid-title {
    font-size: 1.8em;
    color: #E3B505;
    margin-bottom: 15px;
}

.page-about__introduction-section .page-about__grid-paragraph {
    max-width: 700px;
    color: #f0f0f0;
}

.page-about__list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 20px auto;
    text-align: left;
}

.page-about__list li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-about__list li strong {
    color: #E3B505;
}

/* Products Section */
.page-about__products-section .page-about__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__products-section .page-about__product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__products-section .page-about__product-card:hover {
    transform: translateY(-10px);
}

.page-about__products-section .page-about__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-about__products-section .page-about__card-title {
    font-size: 1.5em;
    color: #E3B505;
    margin-bottom: 10px;
}

.page-about__products-section .page-about__card-title a {
    color: #E3B505;
    text-decoration: none;
}

.page-about__products-section .page-about__card-title a:hover {
    text-decoration: underline;
}

.page-about__products-section .page-about__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Security Section */
.page-about__security-section .page-about__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__security-section .page-about__feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff;
}

.page-about__security-section .page-about__card-title {
    font-size: 1.6em;
    color: #E3B505;
    margin-bottom: 15px;
}

.page-about__security-section .page-about__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-about__security-section .page-about__card-description a {
    color: #E3B505;
    text-decoration: none;
}

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

/* Promotions Section */
.page-about__promotions-section .page-about__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__promotions-section .page-about__promo-card {
    background: #0A2463;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff;
}

.page-about__promotions-section .page-about__card-title {
    font-size: 1.6em;
    color: #E3B505;
    margin-bottom: 15px;
}

.page-about__promotions-section .page-about__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-about__promotions-section .page-about__section-paragraph a {
    color: #0A2463;
    font-weight: bold;
    text-decoration: none;
}

.page-about__promotions-section .page-about__section-paragraph a:hover {
    text-decoration: underline;
}

/* Support Section */
.page-about__support-section .page-about__support-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__support-section .page-about__support-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff;
}

.page-about__support-section .page-about__card-title {
    font-size: 1.6em;
    color: #E3B505;
    margin-bottom: 15px;
}

.page-about__support-section .page-about__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-about__support-section .page-about__card-description a {
    color: #E3B505;
    text-decoration: none;
}

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

/* Responsibility Section */
.page-about__responsibility-section .page-about__responsibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__responsibility-section .page-about__responsibility-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff;
}

.page-about__responsibility-section .page-about__card-title {
    font-size: 1.6em;
    color: #E3B505;
    margin-bottom: 15px;
}

.page-about__responsibility-section .page-about__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-about__responsibility-section .page-about__card-description a {
    color: #E3B505;
    text-decoration: none;
}

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

/* Why Choose Section */
.page-about__why-choose-section .page-about__advantages-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-about__why-choose-section .page-about__advantages-list li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #E3B505;
}

.page-about__why-choose-section .page-about__advantages-list li strong {
    color: #E3B505;
}

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

.page-about__faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: #0A2463;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__faq-question:hover {
    background: #1a3a7a;
}

.page-about__faq-question h3 {
    margin: 0;
    color: #E3B505;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #E3B505;
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.05);
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 20px;
}

.page-about__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-about__faq-answer a {
    color: #E3B505;
    text-decoration: none;
}

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

/* Conclusion Section */
.page-about__conclusion-section {
    padding-bottom: 80px;
}

.page-about__conclusion-section .page-about__section-paragraph {
    margin-bottom: 30px;
}

/* Global image and video responsive styles */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-about video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

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

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-about__hero-title {
        font-size: 2.5em;
    }

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

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

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

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 1.8em;
    }

    .page-about__section-paragraph {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-about__container {
        padding: 0 15px;
    }

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about video {
        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-cta-buttons,
    .page-about__product-grid,
    .page-about__feature-grid,
    .page-about__promo-grid,
    .page-about__support-content,
    .page-about__responsibility-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 !important;
    }

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

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