/* style/about.css */

/* Custom Colors */
:root {
    --page-about-primary-color: #11A84E;
    --page-about-secondary-color: #22C768;
    --page-about-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-about-card-bg: #11271B;
    --page-about-background: #08160F; /* This is the main body background, but handled by shared.css */
    --page-about-text-main: #F2FFF6;
    --page-about-text-secondary: #A7D9B8;
    --page-about-border-color: #2E7A4E;
    --page-about-glow-color: #57E38D;
    --page-about-gold-color: #F2C14E;
    --page-about-divider-color: #1E3A2A;
    --page-about-deep-green: #0A4B2C;
    --page-about-dark-text-for-light-bg: #333333; /* For sections with light background */
}

.page-about {
    /* body padding-top handled by shared.css, no need to add here */
    background-color: var(--page-about-background); /* Ensure consistent background, though body handles it */
    color: var(--page-about-text-main); /* Default text color for dark background */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0; /* Adjusted padding */
    background-color: var(--page-about-background);
    color: var(--page-about-text-main);
    padding-top: 10px; /* Small top padding, body already handles header offset */
}

.page-about__hero-image-container {
    width: 100%;
    max-width: 1200px; /* Constrain image container */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-about__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-about-text-main);
}

.page-about__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--page-about-text-secondary);
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Ensure padding/border included in width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-about__btn-primary {
    background: var(--page-about-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-about__btn-secondary {
    background: transparent;
    color: var(--page-about-primary-color);
    border: 2px solid var(--page-about-border-color);
}

.page-about__btn-secondary:hover {
    background: var(--page-about-primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
    padding: 80px 0;
    background-color: var(--page-about-background);
}

.page-about__mission-vision-section .page-about__container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.page-about__mission-card,
.page-about__vision-card {
    flex: 1 1 calc(50% - 15px);
    background-color: var(--page-about-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 300px;
}

.page-about__card-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--page-about-text-main);
}

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