﻿h4 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 2em;
    position: relative;
    margin-bottom: 20px
}

    h4:before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 5px;
        width: 55px;
        background-color: var(--lmc-orange);
    }

    h4:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 2px;
        height: 1px;
        width: 95%;
        max-width: 255px;
        background-color: var(--lmc-orange);
    }

.aboutus {
    margin: 3% 5% 0 5%;
    padding: 2% 5%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

    .aboutus > div:last-of-type {
        padding: 0 5%;
        animation: border-angle-rotate 3s infinite linear;
        border-left: 0.2rem solid transparent;
        background: linear-gradient(white, white) padding-box, conic-gradient( from var(--border-angle), var(--lmc-soft-orange) 10%, white ) border-box;
    }

    .aboutus > div:first-of-type {
        text-align: center;
    }

.missionVision {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.section {
    padding: 5% 3%;
}

.text-center {
    text-align: center;
    margin-bottom: 4rem;
}

    .text-center h2 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .text-center p {
        margin: 0 auto;
        color: #4b5563;
    }

.missionVision > .animationBox {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .missionVision > .animationBox {
        grid-template-columns: repeat(3, 1fr);
    }
}

.missionVision > .animationBox > div {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.missionVision > .animationBox h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px dashed var(--lmc-orange);
    padding-bottom: 5px;
}

.missionVision > .animationBox p,
.missionVision > .animationBox ul {
    color: #4b5563;
    flex-grow: 1;
}

.missionVision > .animationBox ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.missionVision > .animationBox li {
    list-style: circle;
    margin-bottom: 0.75rem;
}

/*#region Animations*/
@keyframes border-angle-rotate {
    from {
        --border-angle: 0deg;
    }

    to {
        --border-angle: 360deg;
    }
}

@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
/*#endregion*/
/*#region Container animations */
.animationBox {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

    .animationBox.show {
        opacity: 1;
        transform: translateY(0);
    }
/*#endregion*/
@media (max-width: 480px) {
    .aboutus > div > img {
        max-width: 100%;
        width: 100% !important;
    }
}

@media (max-width: 1024px) {
    .aboutus {
        display: flex !important;
        flex-direction: column !important;
    }

        .aboutus > div > img {
            max-width: 100%;
            width: 50%;
        }

        .aboutus > div:last-of-type > p:last-of-type {
            padding-bottom: 30px !important;
        }

        .aboutus > div:last-of-type {
            padding: 0;
        }

        .aboutus > div:last-of-type {
            animation: none;
            background: none;
        }

    .missionVision {
        display: flex;
        flex-direction: column;
    }
}
