section .wrap .courses .brand-share .parent .button-group .button-container .circle-button {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 0px 32px 0px #54545424;
    transition: transform 0.3s ease;
    z-index: 2;
}
section .wrap .courses .brand-share .parent .button-group .button-container .circle-button img {
    width: 27px;
    padding: 7px;
}

section .wrap .courses .brand-share .parent .button-group .button-container .expandable-bar {
   height: 28px;
}

section .wrap .courses .brand-share .parent .button-group .button-container .expandable-bar .icon-container a img {
    height: 27px;
}

section .wrap .courses .brand-share .parent .button-group .button-container:hover ~ .button-container {
    transform: translateX(70px); 
}




.expandable-bar {
    position: absolute;
    top: 48%;
    left: 65%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    background-color: #D3E4F6;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.2s ease;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    z-index: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-left: 20px;
    padding-right: 20px;
    
}

.button-container:first-child .expandable-bar {
    padding-right: 0;
}

section .wrap .courses .brand-share .parent .button-group .button-container:first-child:hover ~ .button-container:nth-child(2) {
    transform: translateX(110px);
}

section .wrap .courses .brand-share .parent .button-group .button-container:first-child:hover ~ .button-container:nth-child(3) {
    transform: translateX(110px);
}

.parent {
    height: 100%;
}


.button-group {
    display: flex;
    align-items: center;
    gap: 20px; 
    position: relative;
    justify-content: center;
    height: 100%;
}


.button-container {
    display: flex;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

.icon img:hover {
    transform: scale(1.2);
}

.button-container:hover .circle-button {
    transform: scale(1.1);
}

.icon-container {
    display: flex;
}

.icon img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}


.button-container:hover .expandable-bar {
    transform: translateY(-50%) scaleX(1);
    opacity: 1;
}


.button-group:nth-child(1):hover ~ .button-container {
    transform: translateX(240px); /* Ajusta según el ancho de la barra expandida */
}

.button-container:hover ~ .button-container {
    transform: translateX(200px); /* Ajusta según el ancho de la barra expandida */
}


section .wrap h2.title-about {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 21px;
    padding-top: 60px;
}

section .wrap {
    padding: 0;
}

section .wrap .courses {
   position: relative;
}

section .wrap .courses .brand-cont{
    display: flex;
    flex-direction: column;
}
section .wrap .courses .brand-cont .logo-cont {
   width: 50%;
   margin: 0 auto;
}
section .wrap .courses .brand-cont .logo-cont .brand-img {
    width: 100%;
    height: 150px;
}

section .wrap .courses .brand-cont .brand-text{
    border: 2px solid #C6D4FD;
    border-radius: 5px;
    width: 85%;
    margin: 0 auto;
    background: #F2F5FD;
    color: #1E2CA2;
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    padding: 15px;
}

section .wrap .courses .brand-cont a.back-to-courses-btn {
    position: absolute;
    top: 40px;
    right: 30px;
}

section .wrap .courses .brand-cont a.back-to-courses-btn img.close-img {
    width: 75%;
    transform: rotate(0.5turn);
}

section .wrap .courses .brand-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 0;
    gap: 20px;
}

section .wrap .courses .brand-boxes div {
    box-shadow: 0px 0px 32px 0px #54545424;
    border: 2px solid #C6D4FD;
    color: var(--primary-adistec);
    font-size: 11px;
    line-height: 14px;
    height: 44px;
    width: auto;
    border-radius: 5px;
    text-align: center;
    padding: 0 10px;
}

section .wrap .courses .brand-share {
    height: 45px;
    position: relative;
    margin: 0 -3px -2px -3px;
}

section .wrap .courses .brand-share a {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--primary-adistec);
}

section .wrap .courses .brand-boxes img {
    position: relative;
    right: -4px;
    top: 7px;
    width: 24px;
}

section .wrap .courses .brand-boxes .box-element {
  position: relative;
  min-width: 152px;
}


@media only screen and (min-width: 768px) {
 section .wrap .courses {
    width: 85%; 
    margin: 0 auto; 
    border: 3px solid #C6D4FD;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
 }
 section .wrap h2.title-about {
    font-size: 38px;
    line-height: 42px;
    padding-bottom: 20px;
}
 section .wrap .courses .brand-boxes div {
    font-size: 12px;
    line-height: 14px;
    height: 45px;
    width: auto;
 }
 section .wrap .courses .brand-cont .brand-text {
    font-size: 18px;
    line-height: 22px;
    padding: 20px;
 }
 section .wrap .courses .brand-share {
    height: 69px;
 }

 section .wrap .courses .brand-share .parent .button-group .button-container .circle-button {
    width: 43px;
    height: 43px;   
 }

 section .wrap .courses .brand-share .parent .button-group .button-container .circle-button img {
    width: 42px;
    padding: 10px;
 }

 section .wrap .courses .brand-share .parent .button-group .button-container .expandable-bar {
   height: 44px;
   font-size: 16px;
 }

 section .wrap .courses .brand-share .parent .button-group .button-container .expandable-bar .icon-container a img {
    height: 34px;
 }

 section .wrap .courses .brand-share .parent .button-group .button-container:hover ~ .button-container {
    transform: translateX(100px); 
 }

 section .wrap .courses .brand-share .parent .button-group .button-container:first-child:hover ~ .button-container:nth-child(2) {
    transform: translateX(135px);
 }

 section .wrap .courses .brand-share .parent .button-group .button-container:first-child:hover ~ .button-container:nth-child(3) {
    transform: translateX(135px);
 }

 section .wrap .courses .brand-share button {
    height: 43px;
    width: 43px;
 }
 section .wrap .courses .brand-share button img {
    width: 18px;
 }
 section .wrap .courses .brand-share a .btn-share img { 
    width: 42px;
    padding: 10px;
 }
 section .wrap .courses .brand-share a .btn-share {
    width: 43px;
    height: 43px;
 }

}


@media only screen and (min-width: 992px) {
 section .wrap { 
    padding: 0;
    width: 100%;
 }
 section .wrap .courses .brand-share .parent .button-group {
    justify-content: unset;
    left: 20%;
 }

 section .wrap .courses .brand-share button:nth-child(3) img {
    vertical-align: top;
 }
 section .wrap .courses .brand-cont {
    flex-direction: row;
    align-items: center;
 }

 section .wrap .courses .brand-cont .logo-cont {
    width: 23%;
    margin: unset;
}
 section .wrap .courses .brand-cont .brand-img {
    width: 80% !important;
    height: 150px;
    margin: 0 auto;
    display: block;
    padding: 0 20px;
 }
 section .wrap .courses .brand-boxes {
    justify-content: start;
    gap: 25px;
    position: relative;
    left: 20%;
    padding-bottom: 30px;
    padding-top: 0;
 }
 section .wrap .courses .brand-cont .brand-text {
    margin: 30px 100px 0 0;
    display: inline-block;
    align-self: end;
    padding-bottom: 20px;
    width: 95%;
 }
 section .wrap .courses .brand-cont .text-cont {
    width: 91.5%;
    bottom: 0;
    display: inline-flex;
    padding-bottom: 20px;
}
 section .wrap .courses .brand-cont a.back-to-courses-btn {
    top: 10px;
    right: 5px;
 }
}


