@import url("partials/short-hero.css");

#about-text-title {
    font-family: var(--secondary-text-font);
    font-weight: 600;
    font-size: 2rem;
    margin: 0;
    color: var(--primary-color);
}

.img-container {
    overflow: hidden;
    border-radius: 20px;
    translate: 0 40px;
    opacity: 0;
    transition: translate 1s ease-out,
                opacity 1s ease-out;
}

.img-container.show {
    translate: 0 0;
    opacity: 1;
}

.about-text {
    font-family: var(--primary-text-font);
    font-size: 1.3rem;
    font-weight: 400;
    text-align: justify;
}

.stat-bubble {
    box-shadow: 0 0 70px -40px #000;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1s ease,
                opacity 1s ease,
                background-color .3s ease;
}

.stat-bubble.show {
    transform: translateY(0);
    opacity: 1;
}

.stat-icon {
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 30px;
    background-image: linear-gradient(135deg, var(--primary-color) 30%, var(--secondary-color) 80%);
    color: white;
    font-size: 2rem;
    transition: transform .3s ease,
                box-shadow .3s ease;
}

.stat-value {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 500;
    color: var(--secondary-color);
    font-family: var(--primary-text-font);
}

.stat-header {
    font-size: 1.55rem;
    margin: 0;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
    font-family: var(--primary-text-font);
}

.stat-bubble:hover .stat-icon {
    transform: scale(1.05) rotateZ(10deg);
    box-shadow: 0 0 25px 0 var(--primary-color);
}

section#vision-mission {
    gap: 20px;
    align-items: center;
}

.vm-card {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 20px;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 350px;
    box-shadow: 0 0 15px -5px #000;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1s ease,
                opacity 1s ease,
                background-color .3s ease;
}

.vm-card.show {
    transform: translateY(0);
    opacity: 1;
}

.vm-card::after {
    content: "";
    position: absolute;
    width: 100%; height: 5px;
    left: 0; top: 0;
    background-color: var(--primary-color);
    pointer-events: none;
    transition: height .3s ease, background-color .3s ease;
}

.vm-card:hover::after {
    height: 100%;
    background-color: transparent;
}

.vm-header {
    text-align: center;
    font-size: 2rem;
    margin: 0;
    font-family: var(--primary-text-font);
    font-weight: 600;
    transition: color .6s ease, text-shadow .6s ease;
    color: var(--text-color);
}

.vm-description {
    margin: 0;
    font-family: var(--primary-text-font);
    font-size: 1rem;
    color: #6a6a6a;
    transition: color .6s ease, text-shadow .6s ease;
    font-weight: 500;
}

.vm-card:hover .vm-description,
.vm-card:hover .vm-header {
    color: var(--primary-color);
    text-shadow: 0 0 1px var(--primary-color);
}

.vm-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    aspect-ratio: 1;
    background-color: rgba(227, 24, 55, 0.1);
    border-radius: 100%;
    transition: transform .5s ease;
}

.vm-card:hover .vm-icon {
    transform: rotateY(360deg);
}
