/* style/about.css */

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

.page-about {
    font-family: 'Arial', sans-serif;
    background-color: var(--lk88-background); /* Using custom background color */
    color: var(--lk88-text-main); /* Using custom main text color */
    line-height: 1.6;
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow */
}

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

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.8); /* Slightly dim the image to make text below stand out */
}

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

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for responsive H1 */
    color: var(--lk88-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-about__description {
    font-size: 1.1rem;
    color: var(--lk88-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
    width: 100%; /* Important for mobile button width */
    max-width: 600px;
    margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For button responsiveness */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-about__btn-primary {
    background: var(--lk88-button-gradient);
    color: var(--lk88-text-main); /* White text on dark green gradient */
    border: 2px solid var(--lk88-primary);
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-secondary {
    background: transparent;
    color: var(--lk88-secondary); /* Green text */
    border: 2px solid var(--lk88-secondary);
}

.page-about__btn-secondary:hover {
    background: var(--lk88-secondary);
    color: var(--lk88-background); /* Dark text on green background */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

.page-about__section {
    padding: 80px 0;
    box-sizing: border-box;
}

.page-about__section--dark {
    background-color: var(--lk88-deep-green); /* Use deep green for dark sections */
}

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

.page-about__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--lk88-gold); /* Gold color for section titles */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-about__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--lk88-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-about__intro-text {
    font-size: 1.1rem;
    color: var(--lk88-text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-about__content-grid:last-of-type {
    margin-bottom: 0;
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
    min-width: 300px;
}

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

.page-about__text-block p a {
    color: var(--lk88-secondary);
    text-decoration: none;
    font-weight: bold;
}

.page-about__text-block p a:hover {
    text-decoration: underline;
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

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

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

.page-about__feature-card {
    background-color: var(--lk88-card-bg); /* Card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--lk88-divider);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-about__feature-icon {
    width: 100%; /* Ensure images are large enough */
    max-width: 300px; /* Max width for feature icons */
    height: auto;
    display: block;
    margin-bottom: 25px;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__feature-title {
    font-size: 1.4rem;
    color: var(--lk88-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card p {
    color: var(--lk88-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraph to grow */
}

.page-about__btn-text {
    color: var(--lk88-secondary);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: auto; /* Push to bottom of card */
}

.page-about__btn-text:hover {
    text-decoration: underline;
}

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

.page-about__contact-card {
    background-color: var(--lk88-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--lk88-divider);
    display: flex;
    flex-direction: column;
}

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

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-about__contact-list li {
    color: var(--lk88-text-main);
    margin-bottom: 10px;
}

.page-about__contact-list strong {
    color: var(--lk88-primary);
}

.page-about__faq-section {
    padding: 80px 0;
    background-color: var(--lk88-background);
}

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

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--lk88-text-main);
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(var(--lk88-primary), 0.1);
}

/* Hide default details marker */
.page-about__faq-item summary {
    list-style: none;
}
.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}


.page-about__faq-toggle {
    font-size: 1.5rem;
    color: var(--lk88-secondary);
    margin-left: 15px;
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    color: var(--lk88-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    /* For details tag, content is naturally hidden/shown */
}

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

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

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

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


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column; /* Keep consistent for smaller screens */
    }
    .page-about__image-block,
    .page-about__text-block {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        padding: 10px 15px 40px;
    }
    .page-about__hero-content {
        padding: 0 15px;
    }
    .page-about__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-about__description {
        font-size: 1rem;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding for button container */
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__section {
        padding: 40px 0;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-about__intro-text {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }
    .page-about__sub-title {
        font-size: 1.5rem;
    }
    .page-about__feature-grid,
    .page-about__contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-about__feature-card,
    .page-about__contact-card {
        padding: 25px;
    }
    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    /* Mobile image responsiveness */
    .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__hero-image-wrapper,
    .page-about__image-block,
    .page-about__feature-card,
    .page-about__contact-card,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding for content containers, adjust as needed */
        padding-left: 15px; 
        padding-right: 15px;
    }

    /* Override container padding for full-width sections where content has its own padding */
    .page-about__hero-section,
    .page-about__section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-about__hero-content,
    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific for sections that might contain video or other full-width elements */
    .page-about__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-about__video-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure video elements themselves are responsive */
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}