/* style/about.css */

/* --- General Page Styles --- */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Body background from shared.css (default white) */
}

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

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

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

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

.page-about__sub-section {
    margin-top: 40px;
    text-align: left;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    text-align: left;
}

.page-about__text-block {
    text-align: left;
    margin-bottom: 15px;
    color: #333333; /* Ensure contrast on light background */
}

.page-about__text-white {
    color: #ffffff !important; /* For dark background sections */
}

.page-about__value-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.page-about__value-list li {
    margin-bottom: 10px;
    color: #333333;
}

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
    padding: var(--header-offset, 120px) 0 0 0; /* Apply header offset here if body doesn't have it */
    min-height: 600px; /* Ensure hero section has a minimum height */
    text-align: center;
}

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

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-about__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-about__intro-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* --- Buttons --- */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons are responsive */
}

.page-about__btn-primary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #017439;
}

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

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

.page-about__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2b;
    border-color: #005a2b;
}

/* --- Why Choose Us Section --- */
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-about__feature-item:hover {
    transform: translateY(-5px);
}

.page-about__feature-icon {
    width: 200px; /* Min size */
    height: 200px; /* Min size */
    margin-bottom: 20px;
    object-fit: contain;
}

.page-about__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-about__feature-description {
    color: #555555;
}

.page-about__section-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
}

/* --- Our Commitment Section (Dark Background) --- */
.page-about__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-about__dark-bg .page-about__section-title {
    color: #ffffff;
}

.page-about__dark-bg .page-about__section-intro {
    color: #f0f0f0;
}

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

.page-about__commitment-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
}

.page-about__commitment-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-about__commitment-description {
    color: #f0f0f0;
}

/* --- Our Team Section --- */
.page-about__team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__team-member {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-about__team-member-photo {
    width: 400px; /* Min size */
    height: 300px; /* Min size */
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid #017439;
}

.page-about__team-member-name {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
}

.page-about__team-member-role {
    color: #555555;
}

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

.page-about__achievement-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
}

.page-about__achievement-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}