/* style/about.css */

/* General page-about styling */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff; /* Default text color for dark sections */
    background-color: #1A237E; /* Main background color for dark sections */
}

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

.page-about__container--alt-bg {
    background-color: #000; /* A very dark background to ensure contrast with #FFD700 text */
    padding: 40px 20px;
    color: #FFD700; /* Text color for this section */
}


/* Hero Section */
.page-about__hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #1A237E 0%, #000000 100%); /* Darker gradient for hero */
    color: #fff;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
}

.page-about__hero .page-about__container {
    position: relative;
    z-index: 1;
}

.page-about__title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main titles */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0; /* Slightly lighter white for better contrast with dark background */
}

/* Buttons */
.page-about__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 20px;
}

.page-about__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A237E; /* Dark indigo text for gold button */
    border: 2px solid #FFD700;
}

.page-about__button--primary:hover {
    background-color: #e5c100; /* Slightly darker gold on hover */
    color: #000;
}

.page-about__button--secondary {
    background-color: #1A237E; /* Dark indigo button */
    color: #FFD700; /* Gold text for dark button */
    border: 2px solid #FFD700;
}

.page-about__button--secondary:hover {
    background-color: #000; /* Even darker on hover */
    color: #FFD700;
}

/* Mission & Vision Section */
.page-about__mission-vision {
    background-color: #000; /* Dark background */
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-about__mission-vision .page-about__container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    color: #FFD700; /* Gold text for this section */
}

.page-about__content-block {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: rgba(26, 35, 126, 0.8); /* Semi-transparent dark indigo overlay */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff; /* White text for content blocks */
}

.page-about__mission-vision .page-about__heading,
.page-about__mission-vision .page-about__paragraph {
    color: #FFD700; /* Gold for headings, white for paragraphs inside content blocks */
}

.page-about__content-block .page-about__paragraph {
    color: #e0e0e0; /* Lighter white for readability */
}

.page-about__heading {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-about__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-about__mission-vision .page-about__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

/* Expertise Section */
.page-about__expertise {
    padding: 60px 0;
    background-color: #1A237E; /* Main dark indigo background */
    text-align: center;
    position: relative;
}

.page-about__expertise .page-about__container {
    position: relative;
    z-index: 1;
}

.page-about__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-about__list-item {
    background-color: rgba(255, 215, 0, 0.1); /* Light gold background for list items */
    border: 1px solid #FFD700;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #FFD700; /* Gold text */
    flex: 1 1 auto;
    max-width: 45%;
    text-align: left;
}

.page-about__expertise .page-about__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

/* Values Section */
.page-about__values {
    padding: 60px 0;
    background-color: #000; /* Dark background */
    text-align: center;
    position: relative;
}

.page-about__values .page-about__container {
    position: relative;
    z-index: 1;
    color: #FFD700; /* Gold text for this section */
}

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

.page-about__value-item {
    background-color: rgba(26, 35, 126, 0.8); /* Semi-transparent dark indigo overlay */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff; /* White text for value items */
}

.page-about__value-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold for value titles */
    margin-bottom: 10px;
}

.page-about__value-description {
    font-size: 1em;
    color: #e0e0e0; /* Lighter white for descriptions */
}

.page-about__values .page-about__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

/* CTA Section */
.page-about__cta {
    padding: 80px 0;
    background-color: #1A237E; /* Dark indigo background */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__cta .page-about__container {
    position: relative;
    z-index: 1;
}

.page-about__heading--cta {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-about__paragraph--cta {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-about__cta-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px; /* Smaller image for CTA background */
    height: auto;
    opacity: 0.2;
    z-index: 0;
    transform: rotate(15deg);
}

/* Fade-in animation */
.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 adjustments */
@media (max-width: 768px) {
    .page-about__title {
        font-size: 2.5em;
    }

    .page-about__heading {
        font-size: 1.8em;
    }

    .page-about__intro-text,
    .page-about__paragraph {
        font-size: 1em;
    }

    .page-about__mission-vision .page-about__container {
        flex-direction: column;
    }

    .page-about__content-block {
        max-width: 100%;
    }

    .page-about__list-item {
        max-width: 100%;
    }

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

@media (max-width: 480px) {
    .page-about__hero {
        padding: 60px 0;
    }

    .page-about__title {
        font-size: 2em;
    }

    .page-about__heading {
        font-size: 1.5em;
    }

    .page-about__button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-about__cta-image {
        width: 200px;
    }
}