/* style/about.css */

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

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

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

.page-about__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.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;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding-top: var(--header-offset, 120px);
    text-align: center;
}

.page-about__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-about__hero-description {
    font-size: 1.4em;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

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

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

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

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

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

.page-about__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
}

/* Intro Section */
.page-about__section--intro {
    background-color: #0A2239;
    color: #ffffff;
}

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

.page-about__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-about__text-block h3 {
    color: #FFD700;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Why Choose Section */
.page-about__section--why-choose {
    background-color: #0A2239;
    color: #ffffff;
}

.page-about__dark-section {
    background-color: #0A2239;
    color: #ffffff;
}

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

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

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

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

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

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

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

/* Commitment Section */
.page-about__section--commitment {
    background-color: #0A2239;
    color: #ffffff;
}

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

.page-about__commitment-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-about__commitment-item p {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Team Section */
.page-about__section--team {
    background-color: #0A2239;
    color: #ffffff;
}

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

.page-about__team-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Future Section */
.page-about__section--future {
    background-color: #0A2239;
    color: #ffffff;
}

/* FAQ Section */
.page-about__section--faq {
    background-color: #0A2239;
    color: #ffffff;
}

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

.page-about__faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 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: #FFD700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.page-about__faq-question:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-about__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__content-grid,
    .page-about__content-grid--reverse,
    .page-about__team-content {
        grid-template-columns: 1fr;
    }
    .page-about__content-grid--reverse .page-about__image-block {
        order: -1;
    }
    .page-about__section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        min-height: 500px;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 25px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__section-subtitle {
        font-size: 0.9em;
        margin-bottom: 40px;
    }
    .page-about__text-block p {
        font-size: 0.95em;
    }
    .page-about__feature-card img,
    .page-about__image-block img,
    .page-about__team-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__hero-buttons,
    .page-about__cta-buttons,
    .page-about__features-grid,
    .page-about__commitment-grid,
    .page-about__team-content,
    .page-about__faq-list,
    .page-about__faq-item,
    .page-about__faq-question,
    .page-about__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-about__hero-section {
      padding-left: 0;
      padding-right: 0;
    }
    .page-about__section {
      padding-left: 0;
      padding-right: 0;
    }
    .page-about__content-grid {
      gap: 30px;
    }
    .page-about__team-content {
      gap: 30px;
    }
    .page-about__video-section {
      padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 10px 20px 20px;
    }
}