﻿.about-company {
    background: linear-gradient(135deg, #0d9488 0%, #064e3b 100%);
    color: #f0fdf4;
    padding: 70px 20px;
    font-family: "Poppins", sans-serif;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 320px;
    animation: fadeInUp 1.2s ease;
}

    .about-text h1 {
        font-size: 36px;
        color: #ffffff;
        margin-bottom: 20px;
        position: relative;
    }

        .about-text h1 span {
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 80px;
            height: 3px;
            background-color: #bbf7d0;
            border-radius: 2px;
        }

    .about-text p {
        line-height: 1.7;
        margin-bottom: 16px;
        color: #e0f2f1;
    }

    .about-text strong {
        color: #ffffff;
        font-weight: 600;
    }

.highlight {
    color: #bbf7d0;
    font-weight: 600;
}

/* ---- Image Section ---- */
.about-image {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatImage 3s ease-in-out infinite;
}

    .about-image img {
        width: 85%; /* reduced width for better balance */
        max-width: 580px; /* reduced max size */
        height: 450px; /* keep natural aspect ratio */
        border-radius: 14px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .about-image img:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
        }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ---- Responsive Design ---- */
@media (max-width: 992px) {
    .about-text h1 {
        font-size: 30px;
    }

    .about-image img {
        width: 80%;
        max-width: 340px;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-text h1 {
        font-size: 26px;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-image img {
        width: 90%;
        max-width: 320px;
    }
}
