/* style/about.css */

/* Base styles for the page-about scope */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css (#121212) */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%; /* Ensure container takes full width on desktop too */
}

/* Section styling */
.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__dark-section {
    background-color: rgba(38, 169, 224, 0.1); /* Slightly tinted background for contrast */
    color: #ffffff;
}

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

.page-about__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about p {
    margin-bottom: 1em;
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-about a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1a1a1a; /* Dark background for hero */
    padding-top: 10px; /* Small top padding as per requirement */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Min size requirement */
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px 60px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over the image for design, but not *on* the image */
    background-color: rgba(18, 18, 18, 0.8); /* Semi-transparent dark background for content */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-about__intro-text {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__cta-center {
    margin-top: 40px;
    text-align: center;
}

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

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

.page-about__btn-primary:hover {
    background-color: #ff9933;
    border-color: #ff9933;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 124, 7, 0.4);
}

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

.page-about__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

/* Content Grid */
.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
    width: 100%; /* Ensure grid takes full width */
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block,
.page-about__image-block {
    flex: 1;
    min-width: 300px;
}

.page-about__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px;
}

/* Features Grid */
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%; /* Ensure grid takes full width */
}

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Products Grid */
.page-about__products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%; /* Ensure grid takes full width */
}

.page-about__product-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__product-image {
    width: 100%;
    height: 200px; /* Fixed height for product images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-height: 200px;
}

.page-about__product-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__product-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-about__product-title a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Commitment Grid */
.page-about__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%; /* Ensure grid takes full width */
}

.page-about__commitment-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__link {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    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: #26A9E0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #EA7C07;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−';
}

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: #e0e0e0;
}

.page-about__faq-answer p {
    color: #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2.2em;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column;
    }
    .page-about__hero-content {
        margin-top: -60px;
        padding: 30px 20px 50px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important;
    }
    .page-about__hero-content {
        margin-top: -40px;
        padding: 20px 15px 40px;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-about__intro-text {
        font-size: 1em;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.4em;
    }
    .page-about__cta-buttons {
        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;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-image-wrapper,
    .page-about__image-block,
    .page-about__product-card,
    .page-about__feature-card,
    .page-about__commitment-item,
    .page-about__cta-buttons,
    .page-about__cta-center,
    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-about__product-image {
        height: auto;
    }
    
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-about__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-about__content-grid,
    .page-about__features-grid,
    .page-about__products-grid,
    .page-about__commitment-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
}