/* style/about.css */

/* --- General Styles --- */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
    overflow-x: hidden; /* Prevent horizontal scroll on wider screens due to padding */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #E53935; /* Main color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.page-about a {
    color: #E53935; /* Main color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about a:hover {
    color: #FF5A4F; /* Auxiliary color on hover */
    text-decoration: underline;
}

/* --- Buttons --- */
.page-about__hero-cta-button,
.page-about__conclusion-cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button color */
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__hero-cta-button:hover,
.page-about__conclusion-cta-button:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    padding-top: 0; /* Handled by body padding-top from shared.css */
    padding-bottom: 60px;
    text-align: center;
    background-color: #F5F7FA;
}

.page-about__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: 3.2em;
    color: #E53935;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

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

/* --- Introduction Section & Sustainability Section --- */
.page-about__introduction-section,
.page-about__sustainability-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Card BG */
}

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

.page-about__content-card {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
}

.page-about__card-title {
    font-size: 1.8em;
    color: #E53935;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-about__card-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* Limit height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__card-text {
    font-size: 1em;
    color: #333333;
    flex-grow: 1; /* Allow text to take up available space */
}

/* --- Why Choose Us Section --- */
.page-about__why-choose-us-section {
    padding: 60px 0;
    background-color: #F5F7FA; /* Background */
}

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

.page-about__feature-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-about__feature-title {
    font-size: 1.8em;
    color: #E53935;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-about__feature-image {
    width: 100%;
    height: auto;
    max-height: 280px; /* Slightly larger for features */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__feature-text {
    font-size: 1em;
    color: #333333;
    flex-grow: 1;
}

/* --- Conclusion Section --- */
.page-about__conclusion-section {
    padding: 60px 0;
    background-color: #F5F7FA; /* Background */
    text-align: center;
}

.page-about__conclusion-cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- General Image Styles --- */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-about__section-title {
        font-size: 2.2em;
    }

    .page-about__card-title,
    .page-about__feature-title {
        font-size: 1.6em;
    }

    .page-about__hero-description,
    .page-about__section-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-about__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        padding-bottom: 40px;
    }

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

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

    /* General Images & Containers */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-about__container,
    .page-about__introduction-section,
    .page-about__why-choose-us-section,
    .page-about__sustainability-section,
    .page-about__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons and Button Containers */
    .page-about__hero-cta-button,
    .page-about__conclusion-cta-button {
        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;
    }

    /* Content Grids (for cards/features) */
    .page-about__content-grid,
    .page-about__features-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

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

    .page-about__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-about__card-title,
    .page-about__feature-title {
        font-size: 1.4em;
    }

    .page-about__card-text,
    .page-about__feature-text {
        font-size: 0.9em;
    }
}