:root {
    --primary-green: #28a745;
    --primary-orange: #fd7e14;
    --light-green-bg: #e9f5ee;
    --dark-text: #222;
    --medium-text: #555;
    --star-color: #ffc107;
    --avatar-border-color: #fff;
}

.about-us-section {
    padding: 60px 0;
    /* background-color: #fff; */
    margin-left: 170px;
    margin-top: -140px;
    margin-bottom: 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.image-column img {
    width: 120%;
    margin-left: -150px;
    height: 420px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* background: #fff; */
    margin-top: 150px;
}

.text-column {
    padding-left: 20px;
}

.pre-heading {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-green);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.text-column h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.15;
}

.description {
    font-size: 1.08rem;
    color: var(--medium-text);
    margin-bottom: 30px;
    line-height: 1.7;
}

.testimonial-box {
    background-color: var(--light-green-bg);
    padding: 28px 28px 22px 28px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.rating-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.avatars {
    display: flex;
    margin-right: 15px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--avatar-border-color);
    object-fit: cover;
    margin-left: -12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
    background: #fff;
}

.avatar:first-child {
    margin-left: 0;
}

.star-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stars {
    font-size: 1.3rem;
    color: var(--star-color);
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.rating-text {
    font-size: 0.95rem;
    color: var(--medium-text);
}

.testimonial-quote {
    font-size: 1.08rem;
    color: var(--dark-text);
    margin-bottom: 18px;
    font-style: normal;
    font-weight: 500;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.08rem;
    transition: color 0.2s;
}

.contact-link .icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.contact-link:hover {
    color: #e96c0a;
    text-decoration: underline;
}

/* Animations */
.animate-fadein {
    opacity: 0;
    transform: translateY(40px);
    animation: fadein-up 0.8s cubic-bezier(.4, 1, .3, 1) forwards;
}

@keyframes fadein-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-image-in {
    opacity: 0;
    transform: translateX(-80px) scale(0.96);
    animation: image-in-left 1.1s cubic-bezier(.4, 1, .3, 1) forwards;
}

@keyframes image-in-left {
    0% {
        opacity: 0;
        transform: translateX(-80px) scale(0.96);
    }

    80% {
        opacity: 1;
        transform: translateX(10px) scale(1.04);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 40px 0;
        /* Reduced vertical padding for mobile */
        margin-left: 0;
        /* Reset desktop-specific margin */
        margin-top: 0;
        /* Reset or adjust as needed. If it overlaps, consider a positive value. */
        /* For example, if the previous section has a negative bottom margin: */
        /* margin-top: 30px; */
    }

    .container {
        padding: 0 20px;
        /* Add some side padding for mobile content */
    }

    .about-us-grid {
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 30px;
        /* Adjust gap for vertical stacking */
    }

    .image-column img {
        width: 100%;
        /* Make image full width */
        margin-left: 0;
        /* Reset desktop-specific margin */
        height: auto;
        /* Maintain aspect ratio */
        max-height: 300px;
        /* Optional: constrain image height on mobile */
        object-fit: cover;
        /* Ensure image covers the area nicely */
        margin-top: 0;
        /* Reset desktop-specific margin */
        border-radius: 12px;
        /* Slightly less rounded for mobile, or as per design */
    }

    .text-column {
        padding-left: 0;
        /* Reset padding */
        text-align: left;
        /* Or 'center' if you prefer for mobile heading/text */
    }

    .pre-heading {
        font-size: 0.9rem;
        /* Slightly smaller pre-heading */
        /* text-align: center; If you centered text-column */
        margin-bottom: 10px;
        color: #4CAF50;
        /* Green color from mobile screenshot for "Who We Are" */
    }

    .text-column h2 {
        font-size: 2rem;
        /* Adjust title size for mobile */
        /* text-align: center; If you centered text-column */
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .description {
        font-size: 0.95rem;
        /* Adjust description font size */
        /* text-align: center; If you centered text-column */
        margin-bottom: 25px;
    }

    .testimonial-box {
        padding: 20px;
        /* Adjust padding for smaller box */
        margin-top: 10px;
        /* Add some space above the testimonial box */
        background-color: #f0f7f2;
        /* Lighter green from mobile screenshot */
        border-radius: 16px;
        /* More rounded corners from mobile screenshot */
    }

    .rating-header {
        flex-direction: row;
        align-items: center;
        margin-bottom: 15px;
    }

    .avatars {
        margin-right: 12px;
    }

    .avatar {
        width: 40px;
        height: 40px;
        margin-left: -10px;
        border: 2px solid #ffffff;
    }

    .star-rating {
        align-items: flex-start;
    }

    .stars {
        font-size: 1.1rem;
        color: #FF9800;
        letter-spacing: 1px;
    }

    .rating-text {
        font-size: 0.9rem;
        color: #333;
    }

    .testimonial-quote {
        font-size: 1rem;
        margin-bottom: 15px;
        font-weight: normal;
        color: #2c7509;
        line-height: 1.5;
    }

    .contact-link {
        font-size: 1rem;
        color: #F27427;
    }

    .contact-link .icon {
        font-size: 1.1em;
    }

    .animate-fadein,
    .animate-image-in {
        opacity: 1;
        transform: none;
        animation: none;
    }
}