/* style/about.css */

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Light background for general content */
}

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

/* Hero Section */
.page-about__hero {
    background: linear-gradient(135deg, #007bff, #28a745); /* Primary and secondary colors */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: page-about__pulse 4s infinite ease-out;
}

.page-about__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: page-about__pulse 5s infinite ease-in;
}

@keyframes page-about__pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-about__hero-subtitle {
    font-size: 1.5em;
    font-weight: normal;
    max-width: 800px;
    margin: 0 auto;
}

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

.page-about__section--alt-bg {
    background-color: #e9ecef; /* Slightly darker background for contrast */
}

.page-about__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #28a745; /* Secondary color for accent */
    border-radius: 2px;
}

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

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

.page-about__text-content {
    flex: 1;
    font-size: 1.1em;
    color: #333;
}

.page-about__text-content p {
    margin-bottom: 15px;
}

.page-about__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-about__value-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3)); /* Shadow with primary color */
}

.page-about__value-item h3 {
    font-size: 1.5em;
    color: #007bff; /* Primary color for value titles */
    margin-bottom: 15px;
}

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

/* Call to Action Section */
.page-about__cta-section {
    background: #007bff; /* Primary color background */
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about__cta-text {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 30px;
}

.page-about__cta-button {
    display: inline-block;
    background-color: #28a745; /* Secondary color for button */
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
    background-color: #218838; /* Darker secondary color on hover */
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-subtitle {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        padding: 80px 0;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-subtitle {
        font-size: 1em;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-text {
        font-size: 1.1em;
    }
    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 1.2em;
    }
}