/* style/about.css */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background: #B71C1C; /* Background */
}

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

.page-about__hero-section {
    display: flex;
    flex-direction: column; /* Default for mobile, will change for desktop */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, #C91F17 0%, #7A0E0E 100%); /* Main to Deep Red */
    border-bottom: 5px solid #F2B544; /* Border */
}

.page-about__hero-content {
    max-width: 800px;
    padding: 20px;
}

.page-about__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: #FFD86A; /* Gold-like for title */
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 216, 106, 0.7); /* Glow */
}

.page-about__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF5E1; /* Text Main */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red for text */
    border: 2px solid #F4D34D; /* Gold border */
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.page-about__btn-secondary {
    background: #C91F17; /* Main color */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F4D34D; /* Gold border */
}

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.page-about__hero-image-container {
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-about__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Ensure image is not cropped */
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #FFD86A; /* Gold for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 216, 106, 0.5);
}

.page-about__section-intro-text {
    font-size: 1.05rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #FFF5E1; /* Text Main */
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
    padding: 60px 0;
    background: #B71C1C; /* Background */
    border-top: 5px solid #F2B544;
}

.page-about__dark-section {
    background: #7A0E0E; /* Deep Red */
    color: #FFF5E1;
}

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

.page-about__card {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-about__card-title {
    font-size: 1.6rem;
    color: #FFD86A; /* Gold for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__card-text {
    font-size: 1rem;
    line-height: 1.7;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #7A0E0E 0%, #C91F17 100%); /* Deep Red to Main */
}

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

.page-about__feature-item {
    text-align: center;
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-about__feature-icon {
    width: 250px; 
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #F4D34D; /* Gold border */
    box-shadow: 0 0 15px #FFCC66; /* Glow */
    max-width: 100%; /* Image responsiveness */
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__feature-title {
    font-size: 1.5rem;
    color: #FFD86A; /* Gold for feature titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__feature-description {
    font-size: 1rem;
}

/* Commitment Section */
.page-about__commitment-section {
    padding: 60px 0;
    background: #B71C1C; /* Background */
    border-top: 5px solid #F2B544;
}

.page-about__light-bg {
    background: #B71C1C; /* Using Background color as "light" for contrast with dark-bg */
    color: #FFF5E1;
}

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

.page-about__commitment-item {
    text-align: center;
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-about__commitment-icon {
    width: 200px; 
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #F4D34D; /* Gold border */
    box-shadow: 0 0 15px #FFCC66; /* Glow */
    max-width: 100%; /* Image responsiveness */
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__commitment-title {
    font-size: 1.5rem;
    color: #FFD86A; /* Gold for titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__commitment-description {
    font-size: 1rem;
}

/* Values Section */
.page-about__values-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #C91F17 0%, #7A0E0E 100%); /* Main to Deep Red */
    border-top: 5px solid #F2B544;
}

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

.page-about__value-item {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-about__value-heading {
    font-size: 1.6rem;
    color: #FFD86A; /* Gold for headings */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__value-text {
    font-size: 1rem;
    line-height: 1.7;
}

/* CTA Section */
.page-about__cta-section {
    padding: 60px 0;
    text-align: center;
    background: #7A0E0E; /* Deep Red */
    border-top: 5px solid #F2B544;
    border-bottom: 5px solid #F2B544;
}

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

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
    background: #B71C1C; /* Background */
}

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

.page-about__faq-item {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #F2B544; /* Border */
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #FFD86A; /* Gold for questions */
    cursor: pointer;
    background: #C91F17; /* Main color */
    border-bottom: 1px solid rgba(255, 216, 106, 0.3);
    list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none;
}

.page-about__faq-question::marker {
    display: none;
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #FFD86A; /* Gold */
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #FFF5E1; /* Text Main */
}
.page-about__faq-answer p {
    margin: 0; /* Remove default paragraph margin */
    color: #FFF5E1; /* Ensure p tag text color */
}


/* --- Responsive Styles (Desktop First, then Mobile adjustments) --- */
@media (min-width: 769px) {
    .page-about__hero-section {
        flex-direction: row; /* Desktop: image next to content */
        text-align: left;
        padding-left: 40px;
        padding-right: 40px;
        justify-content: space-between;
    }

    .page-about__hero-content {
        flex: 1;
        padding-right: 40px;
    }

    .page-about__hero-image-container {
        flex: 1;
        margin-top: 0;
        margin-left: 30px;
    }

    .page-about__hero-buttons {
        justify-content: flex-start;
    }

    .page-about__content-grid,
    .page-about__features-grid,
    .page-about__commitment-grid,
    .page-about__values-list {
        grid-template-columns: repeat(2, 1fr); /* Two columns for larger screens */
    }
}

@media (min-width: 1024px) {
    .page-about__content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-about__features-grid,
    .page-about__commitment-grid,
    .page-about__values-list {
        grid-template-columns: repeat(4, 1fr); /* Four columns for even larger screens */
    }
}

/* --- Mobile-specific overrides (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-about__container {
        padding: 15px;
    }

    .page-about__hero-section {
        flex-direction: column;
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__hero-content {
        padding: 15px 0;
    }

    .page-about__hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

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

    .page-about__hero-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__hero-image-container {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .page-about__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-about__section-intro-text {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-about__mission-vision-section,
    .page-about__why-choose-us-section,
    .page-about__commitment-section,
    .page-about__values-section,
    .page-about__cta-section,
    .page-about__faq-section {
        padding: 40px 0;
    }

    .page-about__content-grid,
    .page-about__features-grid,
    .page-about__commitment-grid,
    .page-about__values-list {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }

    .page-about__card,
    .page-about__feature-item,
    .page-about__commitment-item,
    .page-about__value-item {
        padding: 20px;
    }

    .page-about__feature-icon,
    .page-about__commitment-icon {
        width: 200px !important; /* Minimum 200px */
        height: 200px !important; /* Minimum 200px */
        margin-bottom: 15px;
    }

    .page-about__card-title,
    .page-about__feature-title,
    .page-about__commitment-title,
    .page-about__value-heading {
        font-size: 1.4rem;
    }

    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-about__faq-answer {
        padding: 15px 20px;
    }

    /* General image and container responsiveness for mobile */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
    }
}