/* style/about.css */

/* Base styles for the About Us page */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared, default to white */
    padding-top: var(--header-offset, 120px);
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about__subsection-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color for subtitles */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about__section-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #f0f8ff; /* Light background for hero */
    overflow: hidden;
    padding: 80px 0;
}

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

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.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.3em;
    margin-bottom: 30px;
}

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

/* General Button Styles */
.page-about__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-about__btn-primary {
    background-color: #EA7C07;
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

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

.page-about__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
}

.page-about__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
    min-width: 220px;
}

/* Introduction Section */
.page-about__introduction {
    background-color: #FFFFFF;
    color: #333333;
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-bottom: 40px;
}

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

.page-about__content-grid--reverse .page-about__text-block {
    order: 2;
}

.page-about__content-grid--reverse .page-about__image-block {
    order: 1;
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-about__text-block a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-about__text-block a:hover {
    text-decoration: underline;
}

.page-about__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__values-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-about__values-list li {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.05em;
}

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

/* Why Choose Us Section */
.page-about__why-choose-us {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding-bottom: 80px;
}

.page-about__why-choose-us .page-about__section-title {
    color: #FFFFFF;
}

.page-about__why-choose-us .page-about__section-description {
    color: #f0f0f0;
}

.page-about__why-choose-us .page-about__text-block a {
    color: #FFFFFF;
    text-decoration: underline;
}

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

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-about__feature-card:hover {
    transform: translateY(-10px);
}

.page-about__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
}

.page-about__feature-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-card p {
    color: #f0f0f0;
    font-size: 1em;
}

.page-about__feature-card a {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Development Journey Section */
.page-about__development-journey {
    background-color: #f9f9f9;
    color: #333333;
}

.page-about__partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-about__partners-logos img {
    max-width: 200px;
    
    object-fit: contain;
    filter: grayscale(80%);
    transition: filter 0.3s ease;
}

.page-about__partners-logos img:hover {
    filter: grayscale(0%);
}

/* FAQ Section */
.page-about__faq {
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-about__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #e0e0e0;
}

.page-about__faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: #26A9E0;
}

.page-about__faq-question a {
    color: #26A9E0;
    text-decoration: none;
}

.page-about__faq-question a:hover {
    text-decoration: underline;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #26A9E0;
    border-radius: 50%;
    color: #26A9E0;
    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 20px;
    background-color: #FFFFFF;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    text-align: left;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important;
    padding: 20px;
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

.page-about__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-about__faq-answer a:hover {
    text-decoration: underline;
}

/* Call to Action Section */
.page-about__cta {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 80px 0;
}

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

.page-about__cta-title {
    font-size: 2.8em;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-about__cta-description a {
    color: #FFFFFF;
    text-decoration: underline;
}

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

/* Global Image and Video Responsive Styles (Desktop base) */
.page-about img,
.page-about video,
.page-about__video {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-about__image-block,
.page-about__video-section,
.page-about__video-container,
.page-about__video-wrapper,
.page-about__section,
.page-about__card,
.page-about__container,
.page-about__cta-buttons,
.page-about__hero-buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__subsection-title {
        font-size: 1.5em;
    }
    .page-about__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-about__content-grid--reverse .page-about__text-block,
    .page-about__content-grid--reverse .page-about__image-block {
        order: unset;
    }
    .page-about__feature-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about__container {
        padding: 0 15px;
    }

    .page-about__hero-section {
        min-height: 400px;
        padding: 60px 0;
    }
    .page-about__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-about__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-about__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-about__btn--large {
        min-width: unset;
    }

    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__subsection-title {
        font-size: 1.3em;
    }

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

    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__feature-card {
        padding: 25px;
        min-height: auto;
    }
    .page-about__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-about__feature-title {
        font-size: 1.3em;
    }

    .page-about__partners-logos {
        gap: 20px;
    }
    .page-about__partners-logos img {
        
        
    }

    .page-about__faq-question {
        padding: 15px;
    }
    .page-about__faq-question h3 {
        font-size: 1em;
    }
    .page-about__faq-toggle {
        width: 25px;
        height: 25px;
        font-size: 1.2em;
    }
    .page-about__faq-answer {
        padding: 0 15px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px;
    }

    .page-about__cta {
        padding: 60px 0;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Mobile forced responsive for images and videos */
    .page-about img,
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__content-grid,
    .page-about__features-grid,
    .page-about__partners-logos,
    .page-about__faq-list,
    .page-about__cta-content,
    .page-about__hero-content,
    .page-about__hero-section,
    .page-about__introduction,
    .page-about__why-choose-us,
    .page-about__development-journey,
    .page-about__faq,
    .page-about__cta,
    .page-about__text-block,
    .page-about__image-block,
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper,
    .page-about__cta-buttons,
    .page-about__hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-section,
    .page-about__section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-about__hero-content,
    .page-about__cta-content {
         padding-left: 20px !important;
         padding-right: 20px !important;
    }
}