:root {
    --main-color: #d33753;
    --light-color: #fafafa;
    --padding-lg: 3rem;
    --padding-md: 2rem;
    --padding-sm: 1rem;
    --shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    --shadow-light: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
        rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

@font-face {
    font-family: "Macan";
    src: url('/newux/fonts/MacanPanWeb-Regular.ttf');
}

body {
    font-family: "Macan";
}

.about-us-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 10px;
}

.about-us-page {
    width: 1400px;
    display: flex;
    margin-top: 10px;
    flex-direction: column;
    gap: 4rem;
}

@media (max-width: 1500px) {
    .about-us-page {
        width: 100%;
    }
}

.about-hero {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.about-hero-image {
    flex-basis: 60%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about-stamp {
    left: 0;
    bottom: 3rem;
    position: absolute;
    background-color: #fff;
    padding: 2rem;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 300px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.about-stamp::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--main-color);
    left: -85px;
    top: 25px;
}

.about-stamp::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--main-color);
    right: -85px;
    bottom: 25px;
}

.about-stamp h4 {
    font-weight: 600;
    color: var(--main-color);
}

.about-stamp p {
    font-size: 14px;
}

.about-hero-image img {
    width: 80%;
    height: 500px;
    object-fit: cover;
    border-radius: 5px;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    flex-basis: 40%;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.about-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.about-hero-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-hero-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-hero-card p {
    width: 400px;
}

.about-hero-card i {
    color: var(--main-color);
}

@media (max-width: 1100px) {
    .about-hero-image img {
        width: 90%;
    }

    .about-hero-card p {
        width: 300px;
    }
}

@media (max-width: 1000px) {
    .about-hero {
        flex-direction: column;
    }

    .about-hero-image {
        flex-basis: 100%;
    }

    .about-hero-image img {
        width: 100%;
    }

    .about-stamp {
        left: 1rem;
        bottom: 1rem;
    }

    .about-hero-content {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .about-hero-card-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .about-hero-card p {
        min-width: 300px;
    }
}

.about-mission-vision {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.mission-vision {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.mission-card {
    background-color: #fafafa;
    padding: 2rem;
    width: 500px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #000;
    border-radius: 5px;
}

@media (max-width:640px) {
    .mission-card {
        width: 100%;
    }
}

.mission-icon, .about-icon-card {
    background-color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    display: flex;
    justify-content: center;
    position: absolute;
    top: -1.5rem;
    right: 1.5rem;
    align-items: center;
}

.mission-card h3 {
    font-weight: 600;
    font-size: 18px;
}

.mission-icon img {
    width: 25px;
    height: 25px;
}

.about-choose {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.about-cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
}

.about-card {
    border-radius: 5px;
    background-color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 1.5rem;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.about-icon-card {
    top: 15px;
    right: 25px;
}

.about-card::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--main-color);
    top: -65px;
    right: 0px;
}

.about-card h4 {
    font-weight: 600;
    font-size: 18px;
    padding-right: 3rem;
}

.about-card p {
    font-size: 14px;
}

.about-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    overflow: hidden;
}

.category-grid-scroller {
    width: 100%;
}

.category-grid {
    display: flex;
    gap: 1rem;
    padding: 2px;
    overflow: auto;
}

.category-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    background-color: #2e2e2e;
    color: #fff;
    padding: 3rem 2rem;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 1.5rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.category-card i {
    background-color: #fff;
    color: var(--main-color);
    padding: 10px;
    border-radius: 50%;
    width: fit-content;
}

.category-card h4 {
    font-weight: 600;
}

.about-visit {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-visit-image {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.about-visit-image img {
    width: 500px;
    object-fit: cover;
    height: 400px;
    border-radius: 5px;
}

.about-visit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-visit-content p {
    width: 400px;
}

.about-visit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-visit-card i {
    color: var(--main-color);
}

@media (max-width:1000px) {
    .about-visit-image img {
        width: 300px;
        height: 300px;
    }

    .about-visit-content p {
        width: 300px;
    }
}

@media (max-width:750px) {
    .about-visit {
        flex-direction: column;
        gap: 3rem;
    }

    .about-visit-content p {
        width: 400px;
    }
}

@media (max-width:500px) {
    .about-visit-content p {
        width: 100%;
    }
}

/*animations*/
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}