/* style/about.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main: #333333;
    --card-bg: #FFFFFF;
    --background-color: #F5F7FA;
    --border-color: #E0E0E0;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background-color);
}

.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-color);
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-about__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-about__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--white {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-about__cta-button--white:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.page-about__section {
    padding: 60px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-about__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-about__section-title--white {
    color: #ffffff;
}

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

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

.page-about__text-block {
    flex: 1;
    color: var(--text-main);
}

.page-about__text-block--white {
    color: #ffffff;
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
}

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__overview-section {
    background-color: var(--card-bg);
}

.page-about__why-choose-us,
.page-about__our-commitment,
.page-about__contact-section {
    background-color: var(--primary-color);
    color: #ffffff; /* Ensure text is white on primary color background */
}

.page-about__why-choose-us .page-about__section-title,
.page-about__our-commitment .page-about__section-title,
.page-about__contact-section .page-about__section-title {
    color: #ffffff;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-about__feature-item {
    margin-bottom: 20px;
}

.page-about__feature-item:last-child {
    margin-bottom: 0;
}

.page-about__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-about__feature-item p {
    font-size: 16px;
    color: #f0f0f0;
}

.page-about__products-services {
    background-color: var(--background-color);
}

.page-about__product-heading {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-about__product-heading:first-of-type {
    margin-top: 0;
}

.page-about__team-section {
    background-color: var(--card-bg);
}

.page-about__contact-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-about__contact-channels {
    text-align: center;
    margin-bottom: 40px;
}

.page-about__contact-channels p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-about__contact-list li {
    font-size: 16px;
}

.page-about__contact-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__contact-link:hover {
    color: var(--secondary-color);
}

/* Responsive styles */
@media (max-width: 992px) {
    .page-about__content-wrapper {
        flex-direction: column;
    }
    .page-about__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-about__text-block, .page-about__image-block {
        flex: none;
        width: 100%;
    }
    .page-about__image-block {
        margin-bottom: 30px;
    }
    .page-about__image-block img {
        max-width: 100%;
    }
    .page-about__main-title {
        font-size: clamp(24px, 5vw, 40px);
    }
    .page-about__section-title {
        font-size: 30px;
    }
    .page-about__feature-title, .page-about__product-heading {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-about__hero-image img,
    .page-about__image-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }

    .page-about__section,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__main-title {
        font-size: 28px;
    }

    .page-about__hero-description {
        font-size: 16px;
    }

    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .page-about__feature-title, .page-about__product-heading {
        font-size: 18px;
    }

    .page-about__contact-list {
        flex-direction: column;
        gap: 15px;
    }
}