/* style/about.css */
.page-about {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-about__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.page-about__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

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

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

.page-about__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-about__btn-primary {
    background-color: #FFD700;
    color: #1E90FF;
    border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
    background-color: #e6c200;
    color: #1E90FF;
}

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

.page-about__btn-secondary:hover {
    background-color: #FFD700;
    color: #1E90FF;
}

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

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

.page-about__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__section-subtitle {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__paragraph {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.page-about__story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__story-content {
    text-align: left;
}

.page-about__story-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__story-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.page-about__text-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__text-link:hover {
    color: #1E90FF;
    text-decoration: underline;
}

.page-about__values-section {
    background-color: #1E90FF;
    color: #ffffff;
}

.page-about__values-section .page-about__section-title {
    color: #FFD700;
}

.page-about__values-section .page-about__section-subtitle {
    color: #e0e0e0;
}

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

.page-about__value-card {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

.page-about__why-choose-section {
    background-color: #0d0d0d;
}

.page-about__why-choose-section .page-about__section-title {
    color: #FFD700;
}

.page-about__why-choose-section .page-about__section-subtitle {
    color: #f0f0f0;
}

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

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

.page-about__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 215, 0, 0.1);
}

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

.page-about__feature-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-about__feature-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-about__cta-bottom {
    text-align: center;
}

.page-about__faq-section {
    background-color: #1a1a1a;
}

.page-about__faq-section .page-about__section-title {
    color: #FFD700;
}

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

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #f0f0f0;
    cursor: pointer;
    background-color: rgba(255, 215, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(255, 215, 0, 0.2);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    color: #FFD700;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #e0e0e0;
    background-color: rgba(0, 0, 0, 0.2);
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 25px;
}

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

.page-about__cta-section {
    background-color: #1E90FF;
    color: #ffffff;
    text-align: center;
}

.page-about__cta-content {
    max-width: 800px;
}

.page-about__cta-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-about__cta-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__story-grid {
        grid-template-columns: 1fr;
    }
    .page-about__story-image-wrapper {
        order: -1; /* Image above text on smaller screens */
    }
    .page-about__feature-card,
    .page-about__value-card {
        padding: 25px;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        height: auto;
        min-height: 70vh;
        padding: 40px 0;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1em;
    }
    .page-about__section-padding {
        padding: 50px 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__section-subtitle {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-about__paragraph {
        font-size: 0.95em;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__story-grid,
    .page-about__values-grid,
    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-about__story-image-wrapper {
        margin-bottom: 30px;
    }
    .page-about__feature-icon {
        max-width: 200px;
    }
    .page-about__feature-title {
        font-size: 1.4em;
    }
    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 0 20px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px 20px;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Image & Video Responsive */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__story-image-wrapper,
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    /* Ensure content containers have padding for small screens */
    .page-about__section-padding > .page-about__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-about__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__value-title {
        font-size: 1.5em;
    }
    .page-about__feature-title {
        font-size: 1.3em;
    }
    .page-about__faq-question {
        font-size: 1em;
    }
    .page-about__cta-title {
        font-size: 1.6em;
    }
}