/* About us page styles */

.about-container {
    position: relative;
    max-width: 1500px;
    left: 50%;
    transform: translateX(-50%);
    padding: 40px 20px;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.about-text {
    width: 50%;
    display: flex;
    align-items: center;
}

.about-inner {
    width: 90%;
}

.about-inner h1 {
    color: var(--color-darkred);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-inner .intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
}

.about-inner p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.about-img {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.about-cta {
    text-align: center;
    margin-top: 40px;
}

/* Responsive design */
@media only screen and (max-width: 1024px) {
    .about-flex {
        gap: 30px;
    }

    .about-inner h1 {
        font-size: 2rem;
    }

    .about-inner .intro {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 768px) {
    .about-flex {
        flex-direction: column;
        gap: 30px;
    }

    .about-text {
        width: 100%;
    }

    .about-img {
        width: 100%;
        max-width: 300px;
    }

    .about-inner h1 {
        font-size: 1.8rem;
    }

    .about-inner .intro {
        font-size: 0.95rem;
    }

    .about-container {
        padding: 20px 15px;
    }
}

@media only screen and (max-width: 480px) {
    .about-inner h1 {
        font-size: 1.5rem;
    }

    .about-inner .intro {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-img img {
        max-width: 100%;
    }
}
