/* style/about.css */

/* General styling for the about page content */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Container for consistent content width */
.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-about__hero {
    background: linear-gradient(135deg, #4A0E6B, #6A1D9C); /* Gradient from primary to a lighter variant */
    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, 215, 0, 0.1); /* Subtle gold accent */
    border-radius: 50%;
    filter: blur(50px);
}

.page-about__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 215, 0, 0.15); /* Subtle gold accent */
    border-radius: 50%;
    filter: blur(60px);
}

.page-about__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
}

.page-about__subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-about__highlight {
    color: #FFD700; /* Gold for highlighting keywords */
}

/* Buttons */
.page-about__button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #4A0E6B; /* Deep purple text on gold button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-about__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Sections */
.page-about__section {
    padding: 60px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.page-about__section:nth-of-type(even) {
    background-color: #f0f0f0; /* Alternating background for sections */
}

.page-about__grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__grid--reverse {
    flex-direction: row-reverse;
}

.page-about__content-block {
    flex: 1;
}

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

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    /* Initial state for JS animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-about__image--visible {
    opacity: 1;
    transform: translateY(0);
}

.page-about__heading {
    font-size: 2.5em;
    color: #4A0E6B; /* Primary color for headings */
    margin-bottom: 25px;
    font-weight: 700;
}

.page-about__heading--center {
    text-align: center;
    margin-bottom: 50px;
}

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

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

.page-about__value-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about__value-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(74, 14, 107, 0.3)); /* Shadow for icons */
}

.page-about__value-title {
    font-size: 1.8em;
    color: #4A0E6B;
    margin-bottom: 15px;
}

.page-about__value-description {
    font-size: 1em;
    color: #666;
}

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

.page-about__cta .page-about__heading {
    color: #FFD700; /* Gold heading on dark background */
}

.page-about__cta .page-about__text {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-about__title {
        font-size: 2.8em;
    }
    .page-about__subtitle {
        font-size: 1.3em;
    }
    .page-about__heading {
        font-size: 2em;
    }
    .page-about__grid {
        flex-direction: column;
        gap: 30px;
    }
    .page-about__grid--reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        padding: 80px 0;
    }
    .page-about__title {
        font-size: 2.2em;
    }
    .page-about__subtitle {
        font-size: 1.1em;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__heading {
        font-size: 1.8em;
        text-align: center;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__image-wrapper {
        order: -1; /* Image appears first on mobile for some sections */
    }
}

@media (max-width: 480px) {
    .page-about__hero {
        padding: 60px 0;
    }
    .page-about__title {
        font-size: 1.8em;
    }
    .page-about__subtitle {
        font-size: 1em;
    }
    .page-about__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-about__heading {
        font-size: 1.5em;
    }
    .page-about__text {
        font-size: 0.95em;
    }
}