/* style/about.css */
.page-about {
    --primary-color: #003366; /* Deep Blue */
    --secondary-color: #FFCC00; /* Vibrant Gold */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #002244; /* Slightly darker than primary for contrast */
    --link-color: #FFCC00; /* Gold for links */
    --link-hover-color: #e6b800; /* Darker gold on hover */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
}

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

/* Hero Section */
.page-about-hero {
    background: var(--primary-color);
    color: var(--text-color-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Ensure hero section has a minimum height */
}

.page-about-hero-title {
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-color-light); /* White text on dark blue background */
    z-index: 1;
    position: relative;
}

.page-about-hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    position: relative;
}

.page-about-highlight {
    color: var(--secondary-color); /* Gold highlight */
}

.page-about-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

/* General Section Styling */
.page-about-mission,
.page-about-vision,
.page-about-why-us,
.page-about-cta {
    padding: 60px 0;
    text-align: center;
}

.page-about-mission,
.page-about-why-us {
    background-color: var(--background-light);
}

.page-about-vision,
.page-about-cta {
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.page-about-section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--primary-color); /* Dark blue for titles on light background */
}

.page-about-vision .page-about-section-title,
.page-about-cta .page-about-section-title {
    color: var(--secondary-color); /* Gold for titles on dark background */
}

.page-about-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-color-dark);
}

.page-about-vision .page-about-text,
.page-about-cta .page-about-text {
    color: rgba(255, 255, 255, 0.9); /* Lighter text for dark background */
}

.page-about-highlight-text-dark {
    color: var(--primary-color);
    font-weight: 600;
}

.page-about-highlight-text-light {
    color: var(--secondary-color);
    font-weight: 600;
}

.page-about-image-small {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about-image-large {
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Why Us Section */
.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: var(--text-color-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-about-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-about-feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about-feature-text {
    font-size: 1em;
    color: var(--text-color-dark);
}

/* Call to Action Button */
.page-about-btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color); /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about-btn-primary:hover {
    background-color: var(--link-hover-color);
    transform: translateY(-3px);
}

/* Animation for sections */
.page-about .fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-about .fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-about-hero-title {
        font-size: 2.5em;
    }

    .page-about-hero-subtitle {
        font-size: 1.2em;
    }

    .page-about-section-title {
        font-size: 2em;
    }

    .page-about-text {
        font-size: 1em;
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-about-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-about-hero-title {
        font-size: 2em;
    }

    .page-about-hero-subtitle {
        font-size: 1em;
    }

    .page-about-section-title {
        font-size: 1.8em;
    }

    .page-about-btn-primary {
        font-size: 1em;
        padding: 12px 25px;
    }
}