/* style/about.css */

/* General page-about styling */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark grey for general text */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background */
}

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

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

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

/* Hero Section */
.page-about__hero {
    background: linear-gradient(135deg, #CC0000 0%, #FFCC00 100%); /* Primary to secondary gradient */
    padding: 100px 0;
    text-align: center;
    color: #fff; /* White text on dark gradient */
}

.page-about__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff; /* White text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #fff; /* White text */
}

.page-about .highlight {
    color: #FFCC00; /* Secondary color for highlights */
    font-weight: bold;
}

/* Buttons */
.page-about__btn {
    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, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-about__btn--primary {
    background-color: #CC0000; /* Primary color */
    color: #fff; /* White text for contrast */
    border-color: #CC0000;
}

.page-about__btn--primary:hover {
    background-color: #a30000; /* Darker red on hover */
    border-color: #a30000;
}

.page-about__btn--secondary {
    background-color: #FFCC00; /* Secondary color */
    color: #333; /* Dark text for contrast */
    border-color: #FFCC00;
}

.page-about__btn--secondary:hover {
    background-color: #e6b800; /* Darker yellow on hover */
    border-color: #e6b800;
}

.page-about__btn--outline {
    background-color: transparent;
    color: #CC0000; /* Primary color text */
    border-color: #CC0000;
}

.page-about__btn--outline:hover {
    background-color: #CC0000;
    color: #fff;
}

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

.page-about__section:nth-of-type(odd) {
    background-color: #fff; /* White background for alternating sections */
}

.page-about__heading {
    font-size: 2.5em;
    color: #CC0000; /* Primary color for headings */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__content {
    flex: 1;
    text-align: left;
}

.page-about__content p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #555;
}

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

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

/* Why Choose Us Features */
.page-about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

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

.page-about__feature-item:hover {
    transform: translateY(-10px);
}

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

.page-about__feature-title {
    font-size: 1.5em;
    color: #CC0000; /* Primary color */
    margin-bottom: 15px;
}

.page-about__feature-item p {
    color: #666;
    font-size: 1em;
}

/* Call to Action */
.page-about__cta {
    background-color: #333; /* Dark background for CTA */
    color: #fff; /* White text */
    padding: 80px 0;
    text-align: center;
}

.page-about__cta .page-about__heading {
    color: #FFCC00; /* Secondary color for CTA heading */
}

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

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

/* Fade-in animation for sections */
.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: 992px) {
    .page-about__container--flex {
        flex-direction: column;
    }
    .page-about__container--reverse {
        flex-direction: column; /* Revert for small screens to maintain flow */
    }
    .page-about__content, .page-about__image-wrapper {
        width: 100%;
    }
    .page-about__hero {
        padding: 80px 0;
    }
    .page-about__title {
        font-size: 2.5em;
    }
    .page-about__subtitle {
        font-size: 1.2em;
    }
    .page-about__heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        padding: 60px 0;
    }
    .page-about__title {
        font-size: 2em;
    }
    .page-about__subtitle {
        font-size: 1em;
    }
    .page-about__section {
        padding: 60px 0;
    }
    .page-about__heading {
        font-size: 1.8em;
    }
    .page-about__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__features {
        grid-template-columns: 1fr;
    }
    .page-about__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__title {
        font-size: 1.8em;
    }
    .page-about__subtitle {
        font-size: 0.9em;
    }
    .page-about__heading {
        font-size: 1.5em;
    }
    .page-about__btn {
        width: 100%;
        max-width: 250px;
    }
    .page-about__cta-buttons {
        gap: 15px;
    }
}