/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style,
.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
    padding: 10px;
}

.section-title .sub-style::before,
.section-title .sub-style::after,
.sub-title::before,
.sub-title::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--bs-primary) !important;
}

.section-title .sub-style::before,
.sub-title::before {
    width: 100px;
    margin-top: 8px;
}

.section-title .sub-style::after,
.sub-title::after {
    width: 50px;
    margin-bottom: 8px;
}

.section-title .sub-style::before {
    left: 0;
    margin-left: -100px;
}

.section-title .sub-style::after {
    left: 0;
    margin-left: -50px;
}

.sub-title::before {
    right: 0;
    margin-right: -100px;
}

.sub-title::after {
    right: 0;
    margin-right: -50px;
}

/* Media Queries para hacer el diseño responsive */
@media (max-width: 768px) {
    .section-title .sub-style::before,
    .sub-title::before {
        width: 50px; /* Ajusta el ancho en dispositivos móviles */
        margin-left: -50px; /* Ajusta el margen en dispositivos móviles */
    }

    .section-title .sub-style::after,
    .sub-title::after {
        width: 25px; /* Ajusta el ancho en dispositivos móviles */
        margin-left: -25px; /* Ajusta el margen en dispositivos móviles */
    }

    .sub-title::before {
        right: 0;
        margin-right: -50px; /* Ajusta el margen en dispositivos móviles */
    }

    .sub-title::after {
        right: 0;
        margin-right: -25px; /* Ajusta el margen en dispositivos móviles */
    }
}

/*** Feature Start ***/
.feature .feature-item {
    position: relative;
    display: flex;
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.feature .feature-item::before {
    width: 0;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover::before {
    width: 100%;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    display: inline-flex;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon,
.feature .feature-item:hover .feature-content {
    position: relative;
    z-index: 2;
}

.feature .feature-item:hover .feature-content {
    color: var(--bs-white);
}

.feature .feature-item:hover .feature-content h5 {
    color: var(--bs-dark);
}

/*** Feature End ***/

/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}

.team .team-item .team-img:hover .team-icon {
    margin-bottom: 145px;
}

.team .team-item:hover .team-img::before {
    background: rgba(21, 185, 217, .3);
}

.team .team-item .team-content {
    color: var(--bs-primary);
    transition: 0.5s;
}

.team .team-item .team-content h5 {
    color: var(--bs-secondary);
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.team .team-item:hover .team-content h5 {
    color: var(--bs-dark);
}

/*** Team End ***/

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box {
    display: flex;
    align-items: center;
    padding: 20px;
    transition: ease-in-out 0.3s;
    box-shadow: 2px 0 35px 0 rgba(68, 88, 144, 0.12);
}

.features .icon-box i {
    font-size: 32px;
    padding-right: 10px;
    line-height: 1;
}

.features .icon-box h3 {
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 16px;
}

.features .icon-box h3 a {
    color: #493c3e;
    transition: ease-in-out 0.3s;
}

.features .icon-box:hover a {
    color: #9b8100;
}

.justificado {
    text-align: justify;
}
