/* style/about.css */

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

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--phlboss888-text-main); /* Default text color for the page, as body background is dark */
    background-color: var(--phlboss888-background);
    line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--phlboss888-background);
}

.page-about__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-about__hero-content {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--phlboss888-card-bg); /* Use card background for content block */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-top: -80px; /* Overlap with image slightly for visual effect */
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    max-width: 900px;
    box-sizing: border-box;
    border: 1px solid var(--phlboss888-border);
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--phlboss888-gold);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-description {
    font-size: 1.15rem;
    color: var(--phlboss888-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-about__btn-primary {
    background: var(--phlboss888-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-about__btn-secondary:hover {
    background: var(--phlboss888-main-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.page-about__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* General Section Styling */
.page-about__section {
    padding: 80px 0;
    position: relative;
}

.page-about__dark-section {
    background-color: var(--phlboss888-background);
}

.page-about__light-bg {
    background-color: var(--phlboss888-deep-green);
    color: var(--phlboss888-text-main);
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--phlboss888-gold);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-about__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--phlboss888-main-color);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-about__paragraph {
    font-size: 1rem;
    color: var(--phlboss888-text-secondary);
    margin-bottom: 15px;
}

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

.page-about__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--phlboss888-text-secondary);
}

.page-about__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--phlboss888-main-color);
    font-weight: bold;
}

/* Background Image Section */
.page-about__bg-image-section {
    padding: 100px 0;
    background-color: var(--phlboss888-deep-green);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-about__section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.page-about__content-overlay {
    position: relative;
    z-index: 1;
    background-color: rgba(17, 39, 27, 0.85); /* phlboss888-card-bg with transparency */
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--phlboss888-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-about__content-overlay .page-about__section-title,
.page-about__content-overlay .page-about__sub-title,
.page-about__content-overlay .page-about__paragraph,
.page-about__content-overlay .page-about__list-item {
    color: var(--phlboss888-text-main);
}

.page-about__timeline {
    border-left: 3px solid var(--phlboss888-main-color);
    padding-left: 20px;
    margin-top: 30px;
}

.page-about__timeline .page-about__list-item {
    padding-left: 20px;
    margin-bottom: 25px;
}

.page-about__timeline .page-about__list-item::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--phlboss888-gold);
    border-radius: 50%;
    border: 3px solid var(--phlboss888-main-color);
    z-index: 1;
}

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

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

.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%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__card-title {
    font-size: 1.3rem;
    color: var(--phlboss888-main-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.page-about__card-description {
    font-size: 0.95rem;
    color: var(--phlboss888-text-secondary);
}

/* Partner List */
.page-about__partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.page-about__partner-item {
    flex: 0 0 auto;
    text-align: center;
}

.page-about__partner-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    filter: grayscale(100%) brightness(150%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-about__partner-logo:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

.page-about__license-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__faq-item {
    background-color: var(--phlboss888-deep-green);
    border: 1px solid var(--phlboss888-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-about__faq-item:hover {
    background-color: var(--phlboss888-card-bg);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--phlboss888-text-main);
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    list-style: none; /* For details/summary */
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: var(--phlboss888-text-main);
}

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

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

.page-about__faq-item[open] .page-about__faq-answer {
    padding-top: 10px;
}

.page-about__faq-answer .page-about__btn-primary {
    margin-top: 15px;
}

/* Contact Section */
.page-about__contact-section {
    background-color: var(--phlboss888-deep-green);
}

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: center;
}

.page-about__contact-item {
    font-size: 1.1rem;
    color: var(--phlboss888-text-main);
    margin-bottom: 10px;
}

.page-about__contact-item strong {
    color: var(--phlboss888-gold);
}

/* Conclusion Section */
.page-about__conclusion-section {
    padding: 80px 0;
    background-color: var(--phlboss888-background);
    text-align: center;
}

.page-about__conclusion-section .page-about__paragraph {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-content {
        margin-top: -60px;
    }
    .page-about__content-overlay {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-about__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-about__hero-content {
        margin-top: -40px;
        padding: 30px 15px;
        max-width: calc(100% - 30px);
    }

    .page-about__main-title {
        font-size: 2rem;
    }

    .page-about__intro-description {
        font-size: 1rem;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-about__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-about__sub-title {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-about__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-about__partner-list {
        gap: 20px;
    }

    .page-about__partner-logo {
        max-width: 150px;
    }

    .page-about__license-image {
        margin-top: 30px;
    }

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

    .page-about__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Mobile specific image handling */
    .page-about img {
        max-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__content-overlay,
    .page-about__feature-card,
    .page-about__partner-item,
    .page-about__faq-item,
    .page-about__contact-section,
    .page-about__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-about__hero-section,
    .page-about__video-section { /* Added for safety, though no video in this page */
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 1.8rem;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-about__hero-content {
        margin-top: -30px;
        padding: 25px 10px;
    }

    .page-about__section-title {
        font-size: 1.5rem;
    }

    .page-about__sub-title {
        font-size: 1.2rem;
    }

    .page-about__faq-question {
        padding: 12px 15px;
    }

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