/* ===== ABOUT COMPONENT ===== */
.about {
    background-color: var(--container-color);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, var(--first-color-lighter) 50%, transparent 100%);
    opacity: 0.1;
    z-index: 0;
}

.about__container {
    position: relative;
    z-index: 1;
}

.about__img {
    width: 200px;
    border-radius: 1rem;
    justify-self: center;
    align-self: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about__img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--first-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.about__img:hover {
    transform: translateY(-10px);
}

.about__img:hover::before {
    opacity: 0.1;
}

.about__description {
    text-align: center;
    margin-bottom: var(--mb-2-5);
    line-height: 1.6;
    color: var(--text-color);
}

.about__info {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: var(--mb-2-5);
    gap: 1rem;
}

.about__info-title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--first-color);
    display: block;
    text-align: center;
    margin-bottom: 0.25rem;
    animation: countUp 2s ease-out;
}

.about__info-name {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    display: block;
    text-align: center;
    font-weight: var(--font-medium);
}

.about__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Info Cards */
.about__info > div {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about__info > div:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 350px) {
    .about__info {
        flex-direction: column;
        align-items: center;
    }
    
    .about__info > div {
        width: 100%;
        max-width: 200px;
    }
}

@media screen and (min-width: 568px) {
    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 3rem;
    }
    
    .about__description {
        text-align: initial;
    }
    
    .about__buttons {
        justify-content: initial;
    }
}

@media screen and (min-width: 768px) {
    .about__container {
        column-gap: 5rem;
    }
    
    .about__img {
        width: 350px;
    }
    
    .about__info {
        justify-content: space-between;
    }
}

@media screen and (min-width: 1024px) {
    .about__img {
        width: 400px;
    }
}