.boxes {
    margin: auto 65px;
    display: block;
    text-align: center;
    margin-top: 50px;
}
.typing-text {
    display: inline-block;
    text-align: justify;
}

.hero_title h3 span:not(.typing-text) {
    display: none;
}

.boxes .hero_title{
	display: block;
	justify-content: left;
    margin-left: 6%;	
}

.boxes__description > .title {
    padding-bottom: 10px;
    /* display: inline-flex;
    align-items: center; */
}

.boxes__description > .title > span {
    font-family: Poppins;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 115.5%; /* 46.2px */
    letter-spacing: -0.4px;
}

.boxes__description > .subtitle {
    color: #fff;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 190%; /* 45.6px */
}


/* Keyframes for slide-in from left animation (for titles) */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

/* Keyframes for fadeIn and slide-up animation (for subtitle) */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Hide all titles and subtitle initially */
.text-bluesky,
.text-red,
.text-blue,
.subtitle,
.boxes__slider {
    opacity: 0;
    visibility: hidden;
}

/* Apply slide-in from left animation to titles */
.text-bluesky,
.text-red,
.text-blue{
    display: inline-block;
    animation: slideFromLeft 1s ease-in-out forwards;
}

/* Apply animations with delays for titles */
.text-bluesky {
    animation-delay: 0.2s;
}

.text-red {
    animation-delay: 1s;
}

.text-blue {
    animation-delay: 1.7s;
}

/* Apply fadeIn and slide-up animation to subtitle */
.subtitle, .boxes__slider {
    animation: fadeInSlideUp 1s ease-in-out forwards;
    animation-delay: 2.5s;
}

/* Whole div animation */
.boxes__description {
    animation: fadeIn 3.5s ease-in-out forwards;
}

/* Keyframes for fadeIn animation (for the whole div) */
@keyframes fadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}


.boxes__slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 499px;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    gap: 10px;
}

.boxes__slider > .boxes__images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    height: 100%;
    width: 349px;
    pointer-events: none;
}


.boxes__slider > .boxes__arrows {
    position: absolute;
    /* top: 50%; */
    border: 2px solid white;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.boxes__slider > .boxes__arrows svg {
    width: 10px;
    height: 20px;
    border-width: 2px;
}

.boxes__slider > .boxes__left__arrow {
    left: 0;
}

.boxes__slider > .boxes__right__arrow {
    right: 0;
}

.box_image {
    width: 200px;
    height: 349px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 20px;
}

.box_image img{
    width: 100%;
    height: auto;
    transform: scale(1.2);
    transform-origin: center;
}

.box {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /*619px*/
    width: 100%;
    opacity: 0;
}

.box.active{
    opacity: 1;
}

.text-bluesky {
    color: #0ff;
}

.text-red {
    color: #f66;
}

.text-blue {
    color: #3290f0;
}

.box__text {
    text-align: center;
    position: relative;
    bottom: 70px;
    width: 100%;
}

.box__text--title {
    font-size: var(--font-size-xl);
    color: #fff;
    margin-bottom: 10px;
    line-height: 28.36px;
}

.box__text--content {
    color: #d9d9d9;
    font-weight: 300;
    font-size: var(--font-size-xl);
    line-height: 28.36px;
}

@media (max-width: 1081px) {
    .boxes {
        margin : 20px
    }
	.boxes__description > .title > span {
    	font-size: 20px;
	}
	.typing-text {
    	display: block;
    	text-align: center;
	}
    .boxes .hero_title {
        width: 90%;
        text-align: justify;
        margin: auto;
    }
	.typing-text {
    	display: block;
    	text-align: center;
	}
	.boxes .hero_title h3 {
		text-align: center;
	}
}
}

