﻿:root {
    --color-primary: #eb4120;
    --color-white: #fff;
    --color-border: #e0e0e0;
    --font-encode-sans: "Encode Sans", sans-serif;
}

/* ==========================
       About Section
    =========================== */
.about-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.about-container {
    width: 100%;
    max-width: 1291px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.about-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.title-line {
    width: 30px;
    height: 2.5px;
    flex-shrink: 0;
}

.about-title {
    font-family: var(--font-encode-sans);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.2px;
    color: var(--color-white);
}

.about-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

    .about-item:nth-child(2) {
        flex-direction: row-reverse;
    }

.about-item__image-container {
    width: 350px; 
    height: 233px; 
    background-color: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    padding: 16px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.about-item__image-containerone {
    width: 350px; 
    height: 233px; 
    background-color: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.about-item__image {
    width: 100%;
    height: auto;
    border-radius: 34px;
}

.about-item__imageone {
    width: 120%;
    height: auto;
    border-radius: 34px;
}


.about-item__text-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

    .about-item__text-content header {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-top: 2rem;
    }

.content-heading-large {
    font-family: var(--font-encode-sans);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: var(--color-white);
}

.content-heading-xlarge {
    font-family: var(--font-encode-sans);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: var(--color-white);
}

.content-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: justify;
}

    .content-paragraphs p {
        margin: 0;
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: 0.2px;
    }

.about-item:nth-child(1) .content-paragraphs p {
    font-family: var(--font-encode-sans);
    font-weight: 400;
}

.about-item:nth-child(2) .content-paragraphs p {
    font-family: var(--font-encode-sans);
    font-weight: 400;
}

    .content-paragraphs p:nth-child(2) {
            display: none;
        }

    .content-paragraphs.expanded p:nth-child(2) {
        display: block;
    }

    .content-paragraphs p {
        transition: opacity 0.3s ease-in-out;
    }


.btn-read-more {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border: 1.5px solid var(--color-white);
    border-radius: 12px;
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-encode-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.2px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

    .btn-read-more:hover {
        background-color: var(--color-white);
        color: var(--color-primary);
    }


/* Large screens */
@media (max-width: 1200px) {
    .about-item {
        gap: 60px;
    }

    .about-item__image {
        width: 400px;
        height: auto;
    }
}

/* Medium screens */
@media (max-width: 992px) {
    .about-section {
        padding: 60px 20px;
    }

    .about-content-wrapper {
        gap: 80px;
    }

    .about-item,
    .about-item:nth-child(2) {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-item__text-content {
        align-items: center;
    }

    .about-item__image-container {
        width: 300px;
        height: 200px;
        max-width: 524px;
    }

    .about-item__image {
        width: 100%;
        height: auto;
    }

    .content-heading-large {
        font-size: 28px;
    }

    .content-heading-xlarge {
        font-size: 32px;
    }
}

/* Small screens */
@media (max-width: 576px) {
    .about-section {
        padding: 40px 15px;
    }

    .about-content-wrapper {
        gap: 60px;
    }

    .about-item__image-container {
        width: 100%;
        max-width: 250px;
        height: auto; 
    }

    .content-heading-large {
        font-size: 28px;
    }

    .content-heading-xlarge {
        font-size: 32px;
    }

    .about-title {
        font-size: 20px;
    }
}
