/* style/about.css */

:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --text-main-color: #F3F8FF;
    --text-secondary-color: #AFC4E8;
    --card-bg-color: #10233F;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-about {
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--deep-navy-color);
}

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

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

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

.page-about__sub-title {
    font-size: 1.8em;
    color: var(--text-main-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-about__paragraph {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
}

/* Hero Section */
.page-about__hero-section {
    padding-top: 10px; /* Small padding as body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    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 {
    max-width: 900px;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for responsive H1 */
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

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

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

.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;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-about__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--gold-color);
    color: var(--deep-navy-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mission Vision Section */
.page-about__mission-vision-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

.page-about__text-block {
    padding: 20px;
    background-color: var(--deep-navy-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-about__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary-color);
    font-size: 1.1em;
}

.page-about__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

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

.page-about__feature-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
}

.page-about__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__card-description {
    color: var(--text-secondary-color);
    font-size: 1em;
}

/* Products Section */
.page-about__products-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

.page-about__product-card {
    background-color: var(--deep-navy-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-about__product-card:hover {
    transform: translateY(-5px);
}

.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: 15px 20px 5px;
    font-size: 1.3em;
    color: var(--gold-color);
}

.page-about__product-card .page-about__card-title a {
    color: inherit;
    text-decoration: none;
}

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

.page-about__product-card .page-about__card-description {
    padding: 0 20px 20px;
    color: var(--text-secondary-color);
}

/* Commitment Section */
.page-about__commitment-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

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

.page-about__commitment-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-about__commitment-card:hover {
    transform: translateY(-5px);
}

.page-about__commitment-icon {
    width: 100%;
    height: auto;
    max-width: 180px;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__commitment-card .page-about__card-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-about__commitment-card .page-about__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-about__commitment-card .page-about__card-title a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-about__cta-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
    text-align: center;
}

.page-about__cta-section .page-about__paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

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

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--primary-color);
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-about__faq-question::marker { /* Hide default marker for Firefox */
    display: none;
    content: '';
}

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

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

.page-about__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary-color);
    font-size: 1.05em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer {
    max-height: 500px; /* Sufficiently large for content */
    padding: 0 20px 20px;
}

.page-about__faq-item[open] .page-about__faq-question .page-about__faq-toggle {
    content: '−';
}

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

/* General image and button responsiveness */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-about__btn-primary, .page-about__btn-secondary,
.page-about a[class*="button"],
.page-about a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__hero-cta-buttons,
.page-about__cta-buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .page-about__container {
        padding: 15px;
    }

    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

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

    .page-about__paragraph {
        font-size: 1em;
    }

    /* Hero Section */
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

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

    .page-about__hero-image {
        object-fit: contain !important; /* Ensure image is not cropped */
        aspect-ratio: unset !important;
        max-height: none !important;
    }

    .page-about__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
        line-height: 1.3;
    }

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

    .page-about__hero-cta-buttons,
    .page-about__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding-left: 15px;
        padding-right: 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;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mission Vision Section */
    .page-about__mission-vision-section {
        padding: 40px 0;
    }

    .page-about__grid-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Why Choose Us Section */
    .page-about__why-choose-us-section {
        padding: 40px 0;
    }

    .page-about__features-grid {
        grid-template-columns: 1fr;
    }

    .page-about__feature-card {
        padding: 25px;
    }

    .page-about__feature-icon {
        max-width: 200px;
    }

    /* Products Section */
    .page-about__products-section {
        padding: 40px 0;
    }

    .page-about__products-grid {
        grid-template-columns: 1fr;
    }

    .page-about__product-image {
        height: 180px;
    }

    /* Commitment Section */
    .page-about__commitment-section {
        padding: 40px 0;
    }

    .page-about__commitment-grid {
        grid-template-columns: 1fr;
    }

    .page-about__commitment-icon {
        max-width: 150px;
    }

    /* CTA Section */
    .page-about__cta-section {
        padding: 40px 0;
    }

    /* FAQ Section */
    .page-about__faq-section {
        padding: 40px 0;
    }

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

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

    .page-about__faq-item[open] .page-about__faq-answer {
        padding: 0 15px 15px;
    }

    /* Universal image and container rules for mobile */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__text-block,
    .page-about__feature-card,
    .page-about__product-card,
    .page-about__commitment-card,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* No jackpot JS for about page, so no winner list or game grid specific mobile CSS here */