/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background #f4f4f4 */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-about__hero-section {
    background-color: #0A0A0A;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-about__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A0A0A;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.page-about__story-section,
.page-about__values-section,
.page-about__commitment-section,
.page-about__future-section,
.page-about__cta-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-about__story-section {
    background-color: #ffffff;
}

.page-about__story-title,
.page-about__values-title,
.page-about__commitment-title,
.page-about__future-title,
.page-about__cta-title {
    font-size: 2.8em;
    color: #0A0A0A;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-about__story-title::after,
.page-about__values-title::after,
.page-about__commitment-title::after,
.page-about__future-title::after,
.page-about__cta-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-about__story-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.page-about__story-content p {
    font-size: 1.1em;
    color: #444444;
    text-align: justify;
    max-width: 800px;
}

.page-about__story-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about__values-section {
    background-color: #f9f9f9;
}

.page-about__values-intro {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    color: #555555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__value-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-about__value-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-about__value-card-title {
    font-size: 1.8em;
    color: #0A0A0A;
    margin-bottom: 15px;
}

.page-about__value-card-description {
    font-size: 1em;
    color: #666666;
}

.page-about__commitment-section {
    background-color: #0A0A0A;
    color: #ffffff;
}

.page-about__commitment-title {
    color: #FFD700;
}

.page-about__commitment-title::after {
    background-color: #ffffff;
}

.page-about__commitment-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

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

.page-about__commitment-text p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__commitment-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A0A0A;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.page-about__commitment-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-about__future-section {
    background-color: #ffffff;
}

.page-about__future-intro {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    color: #555555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__future-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-about__future-item {
    background-color: #f0f0f0;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-about__future-item-title {
    font-size: 1.6em;
    color: #0A0A0A;
    margin-bottom: 10px;
}

.page-about__future-item-description {
    font-size: 1em;
    color: #666666;
}

.page-about__future-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background-color: #0A0A0A;
    color: #FFD700;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__future-button:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-about__cta-section {
    background: linear-gradient(135deg, #0A0A0A 0%, #333333 100%);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.page-about__cta-title {
    color: #FFD700;
}

.page-about__cta-title::after {
    background-color: #ffffff;
}

.page-about__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--primary {
    background-color: #FFD700;
    color: #0A0A0A;
}

.page-about__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-about__cta-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-about__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #0A0A0A;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__story-title,
    .page-about__values-title,
    .page-about__commitment-title,
    .page-about__future-title,
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__commitment-content {
        flex-direction: column;
    }
    .page-about__commitment-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-about__hero-section {
        padding: 60px 15px;
        min-height: 450px;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__story-section,
    .page-about__values-section,
    .page-about__commitment-section,
    .page-about__future-section,
    .page-about__cta-section {
        padding: 40px 15px;
    }
    .page-about__story-title,
    .page-about__values-title,
    .page-about__commitment-title,
    .page-about__future-title,
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__future-list {
        grid-template-columns: 1fr;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__cta-button {
        width: 100%;
        max-width: 300px;
    }
    /* Ensure content images do not overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    /* Specific rule for content images to ensure min-size is respected, but max-width for responsiveness */
    .page-about__story-image, 
    .page-about__value-icon, 
    .page-about__commitment-image {
        min-width: 200px;
        min-height: 200px;
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-about__story-title,
    .page-about__values-title,
    .page-about__commitment-title,
    .page-about__future-title,
    .page-about__cta-title {
        font-size: 1.5em;
    }
    .page-about__story-content p {
        font-size: 1em;
    }
    .page-about__values-intro,
    .page-about__future-intro {
        font-size: 1em;
    }
    .page-about__value-card-title {
        font-size: 1.5em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}