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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, #26A9E0, #FFFFFF);
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
}

.page-about__hero-image {
    width: 100%;
    height: auto; /* Ensure image scales correctly */
    max-width: 100%; /* Ensure image scales correctly */
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: #ffffff; /* White text for gradient background */
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button scales */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__cta-button:hover {
    background: #d46b00; /* Darker shade for hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-about__section {
    padding: 60px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.page-about__section:last-of-type {
    border-bottom: none;
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-about__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-about__text-block {
    font-size: 1.05em;
    color: #444444;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-about__image-block {
    text-align: center;
    margin: 30px 0;
}

.page-about__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
    object-fit: cover;
}

.page-about__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-about__list-item {
    font-size: 1.05em;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #444444;
}

.page-about__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
}

/* Why Choose Section */
.page-about__why-choose-section {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
}

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

.page-about__why-choose-section .page-about__text-block {
    color: #f0f0f0;
}

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

.page-about__card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text for white card background */
}

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

.page-about__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
    object-fit: cover;
}

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

.page-about__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

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

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

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

.page-about__btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary:hover {
    background: #d46b00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Commitment Section */
.page-about__commitment-section {
    background-color: #f9f9f9; /* Light background */
    color: #333333;
}

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

.page-about__commitment-grid .page-about__card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.page-about__faq-section {
    padding-bottom: 80px;
}

.page-about__faq-list {
    margin-top: 30px;
}

.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-about__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: #333333;
    pointer-events: none; /* Prevent h3 from blocking click */
}

.page-about__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-about__faq-item.active .page-about__faq-toggle {
    color: #26A9E0;
    transform: rotate(180deg); /* Rotate for minus sign effect */
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #fcfcfc;
    color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to accommodate content */
    padding: 20px 20px !important;
    opacity: 1;
    border-top: 1px solid #e0e0e0;
}

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

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

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

/* Ensure no filter is used on images */
.page-about img {
    filter: none; /* Explicitly ensure no filters */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header spacing */
    }

    .page-about__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        margin-top: 15px;
        width: 100% !important; /* Force full width on mobile */
        max-width: 300px !important; /* Max width for button, prevents stretching too much */
    }

    .page-about__section {
        padding: 40px 15px; /* Apply padding here for mobile sections */
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-about__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-about__text-block,
    .page-about__list-item,
    .page-about__card-text {
        font-size: 0.95em;
    }

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

    .page-about__card {
        padding: 20px;
    }

    .page-about__card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Still enforce minimum size for content images */
        min-height: 200px;
    }

    /* General image responsive styles for content area */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Still enforce minimum size for content images */
        min-height: 200px;
    }
    
    /* Ensure containers for images and content don't cause overflow */
    .page-about__section,
    .page-about__container,
    .page-about__image-block,
    .page-about__grid-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ specific mobile styles */
    .page-about__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-about__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-about__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-about__faq-answer {
        padding: 0 15px;
    }
    
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px !important;
    }

    /* Responsive button adjustments */
    .page-about__cta-button,
    .page-about__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-about__cta-wrapper {
        display: flex; /* Use flex to center single button */
        justify-content: center;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}