/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

/* Hero Section */
.page-about__hero-section {
    background: linear-gradient(135deg, #1A237E 0%, #39439f 100%); /* Dark indigo to slightly lighter indigo */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-about__hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #FFD700; /* Gold for title */
}

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

.page-about__hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.15;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.page-about__hero-image {
    max-width: 70%;
    height: auto;
    object-fit: cover;
    transform: translateX(20%) translateY(20%);
}

/* General Section Styles */
.page-about__section {
    padding: 60px 0;
}

.page-about__section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #1A237E;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

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

/* Content Grid */
.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-about__text-content {
    flex: 1;
}

.page-about__text-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #444444;
}

.page-about__text-content strong {
    color: #1A237E;
}

.page-about__text-content ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-about__text-content ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #444444;
}

.page-about__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Core Values */
.page-about__core-values {
    background-color: #f0f2f5;
}

.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-about__value-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__value-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

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

.page-about__value-item p {
    font-size: 1em;
    color: #555555;
}

/* Subpages Section */
.page-about__subpages {
    background-color: #ffffff;
}

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

.page-about__subpage-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__subpage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__subpage-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-about__subpage-title a {
    color: #1A237E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__subpage-title a:hover {
    color: #FFD700;
}

.page-about__subpage-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Call to Action Section */
.page-about__cta-section {
    background-color: #1A237E;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-about__cta-content {
    max-width: 800px;
    z-index: 1;
    padding: 0 20px;
}

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

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

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

.page-about__cta-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-about__cta-image {
    max-width: 60%;
    height: auto;
    object-fit: cover;
    transform: translateX(-20%) translateY(-20%);
}

/* Buttons */
.page-about__button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-about__button--primary {
    background-color: #FFD700;
    color: #1A237E;
    border: 2px solid #FFD700;
}

.page-about__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-about__button--secondary {
    background-color: #1A237E;
    color: #FFD700;
    border: 2px solid #1A237E;
}

.page-about__button--secondary:hover {
    background-color: #39439f;
    border-color: #39439f;
    transform: translateY(-2px);
}

.page-about__button--outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-about__button--outline:hover {
    background-color: #FFD700;
    color: #1A237E;
    transform: translateY(-2px);
}

.page-about__button--text {
    background: none;
    border: none;
    color: #1A237E;
    padding: 0;
    font-size: 1em;
    font-weight: 600;
    text-decoration: underline;
}

.page-about__button--text:hover {
    color: #FFD700;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-description,
    .page-about__text-content p,
    .page-about__text-content ul li,
    .page-about__subpage-description,
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column;
    }
    .page-about__image-wrapper {
        order: -1; /* Image appears above text on mobile for non-reversed grid */
        margin-bottom: 30px;
    }
    .page-about__content-grid--reverse .page-about__image-wrapper {
        order: 0; /* Image appears below text on mobile for reversed grid */
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 0.95em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__values-grid,
    .page-about__subpage-grid {
        grid-template-columns: 1fr;
    }
    .page-about__value-item,
    .page-about__subpage-card {
        padding: 25px;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__button {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-section, .page-about__section, .page-about__cta-section {
        padding: 40px 0;
    }
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__hero-description {
        font-size: 0.9em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__cta-title {
        font-size: 1.6em;
    }
}