/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8;
    background-color: #0A192F;
    line-height: 1.6;
}

.page-about .highlight {
    color: #FFD700;
}

.page-about__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-about__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-btn, .page-about__cta-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-about__hero-btn:hover, .page-about__cta-btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-about__hero-image {
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
}

.page-about__section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.page-about__section:nth-of-type(odd) {
    background-color: #0A192F;
    color: #F8F8F8;
}

.page-about__section:nth-of-type(even) {
    background-color: #1a2b47; /* Slightly lighter dark blue for contrast */
    color: #F8F8F8;
}

.page-about__content-wrapper {
    flex: 1;
    max-width: 600px;
}

.page-about__image-wrapper {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-about__section-title {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    color: #FFD700;
}

.page-about__section-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

.page-about__our-story, .page-about__why-kv888 {
    flex-direction: column;
    text-align: center;
}

.page-about__our-values {
    flex-direction: row-reverse; /* Image on left, text on right */
    text-align: left;
}

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

.page-about__values-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-about__values-list li strong {
    color: #FFD700;
}

.page-about__values-list li::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

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

/* Responsive Design */
@media (min-width: 768px) {
    .page-about__hero {
        padding: 100px 40px;
    }

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

    .page-about__section {
        flex-direction: row;
        text-align: left;
    }

    .page-about__section:nth-of-type(even) {
        flex-direction: row-reverse; /* Alternate image/text layout */
    }

    .page-about__our-story, .page-about__why-kv888 {
        flex-direction: row; /* Ensure they follow row layout */
        text-align: left;
    }
    
    .page-about__our-story .page-about__image-wrapper, .page-about__why-kv888 .page-about__image-wrapper {
        order: 2; /* Image on right for these sections */
    }

    .page-about__our-values {
        flex-direction: row-reverse; /* Image on left, text on right */
    }

    .page-about__section-title {
        text-align: left;
        font-size: 3em;
    }
}

@media (max-width: 767px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }

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

    .page-about__section {
        flex-direction: column;
        text-align: center;
    }

    .page-about__content-wrapper, .page-about__image-wrapper {
        max-width: 100%;
    }

    .page-about__section-title {
        font-size: 2em;
        text-align: center;
    }

    .page-about__section-text {
        text-align: left;
    }

    .page-about__values-list li {
        padding-left: 0;
        text-align: left;
    }

    .page-about__values-list li::before {
        display: none;
    }
}