/* style/about.css */

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

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

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

.page-about__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary brand color */
    margin-bottom: 30px;
    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: #ffc107; /* Auxiliary brand color */
    border-radius: 2px;
}

.page-about__highlight {
    color: #007bff;
    font-weight: bold;
}

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

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
}

.page-about__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-about__btn--primary {
    background-color: #ffc107; /* Auxiliary brand color */
    color: #333; /* Dark text for contrast */
    margin: 0 10px;
}

.page-about__btn--primary:hover {
    background-color: #e0a800;
    color: #000;
    transform: translateY(-2px);
}

.page-about__btn--secondary {
    background-color: transparent;
    color: #fff; /* Light text for contrast */
    border: 2px solid #fff;
    margin: 0 10px;
}

.page-about__btn--secondary:hover {
    background-color: #fff;
    color: #007bff;
    transform: translateY(-2px);
}

/* Grid Layout */
.page-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-about__grid--reverse {
    grid-template-columns: 1fr 1fr;
}

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

.page-about__content-block ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-about__content-block ul li {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23007bff' class='bi bi-check-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E") no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

.page-about__content-block p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 15px;
}

/* Why Us Section */
.page-about__why-us {
    background-color: #fff;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

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

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

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

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

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

.page-about__cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-about__cta-buttons .page-about__btn--primary {
    background-color: #ffc107; /* Auxiliary brand color */
    color: #333;
    border: none;
}

.page-about__cta-buttons .page-about__btn--primary:hover {
    background-color: #e0a800;
    color: #000;
}

.page-about__cta-buttons .page-about__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-about__cta-buttons .page-about__btn--secondary:hover {
    background-color: #fff;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-about__grid--reverse .page-about__image-block {
        order: -1; /* Image first on mobile for reverse grid */
    }

    .page-about__hero-title {
        font-size: 2.8em;
    }

    .page-about__hero-description {
        font-size: 1.1em;
    }

    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__cta-title {
        font-size: 2.2em;
    }

    .page-about__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        padding: 80px 0;
    }

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__content-block ul li {
        font-size: 1em;
    }

    .page-about__feature-item {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .page-about__hero-title {
        font-size: 2.2em;
    }

    .page-about__section-title {
        font-size: 1.8em;
    }

    .page-about__cta-title {
        font-size: 1.8em;
    }

    .page-about__container {
        padding: 0 15px;
    }

    .page-about__btn {
        font-size: 1em;
        padding: 10px 25px;
    }
}