/* style/about.css */

/* General page styling */
.page-about {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for readability on light backgrounds */
    background-color: #f8f9fa; /* Light background */
}

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

/* Hero Section */
.page-about__hero {
    position: relative;
    background-color: #007bff; /* Primary color background */
    color: #ffffff; /* White text on primary background */
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: #ffffff; /* Ensure high contrast */
}

.page-about__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    z-index: 1;
    color: #e0e0e0; /* Slightly off-white for contrast */
}

/* Buttons */
.page-about__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 1;
}

.page-about__btn--primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #000000; /* Black text on auxiliary color for high contrast */
}

.page-about__btn--primary:hover {
    background-color: #e0a800; /* Darker auxiliary on hover */
    color: #000000;
    transform: translateY(-2px);
}

.page-about__btn--secondary {
    background-color: transparent;
    border: 2px solid #ffc107; /* Auxiliary color border */
    color: #ffc107; /* Auxiliary color text */
    margin-left: 15px;
}

.page-about__btn--secondary:hover {
    background-color: #ffc107;
    color: #000000;
    transform: translateY(-2px);
}

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

.page-about__section:nth-of-type(even) {
    background-color: #f1f5f9; /* Light grey for alternating sections */
}

.page-about__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for section titles */
    margin-bottom: 40px;
    font-weight: 700;
}

/* Mission & Vision */
.page-about__mission-vision {
    background-color: #ffffff;
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .page-about__content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.page-about__card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    border-top: 4px solid #007bff; /* Primary color accent */
}

.page-about__card:hover {
    transform: translateY(-5px); /* Keep hover effect consistent */
}

.page-about__card-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__card-text {
    font-size: 1.1em;
    color: #555555;
}

.page-about__card-text strong {
    color: #007bff; /* Highlight tg88 */
}

/* Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .page-about__values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-about__value-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-about__value-item:hover {
    transform: translateY(-5px); /* Keep hover effect consistent */
}

.page-about__value-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-about__value-title {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: 600;
}

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

/* Call to Action Section */
.page-about__cta {
    background-color: #007bff; /* Primary color background */
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.page-about__cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

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

.page-about__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
}

.page-about__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-subtitle {
        font-size: 1.3em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__card-title {
        font-size: 1.6em;
    }
    .page-about__value-title {
        font-size: 1.4em;
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 767px) {
    .page-about__hero {
        padding: 60px 0;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-subtitle {
        font-size: 1.1em;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__card,
    .page-about__value-item {
        padding: 20px;
    }
    .page-about__card-title {
        font-size: 1.4em;
    }
    .page-about__value-title {
        font-size: 1.2em;
    }
    .page-about__cta {
        padding: 50px 0;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn--secondary {
        margin-left: 0;
    }
}