﻿.tabsSec{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px 0px;
}

.tabs-container {
  position: relative;
  margin-bottom: 0;
}

.tabs-wrapper {
  display: flex;
  margin-bottom: 0;
  padding: 0 20px;
  justify-content: center;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 100px;
  text-align: center;
}

.tab-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.tab-text {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.tab:not(.active) .tab-text {
  color: #1e3a8a;
  position: absolute;
  bottom: 0;
  font-size: 15px;
}

.tab.active .tab-text {
  color: #1e3a8a;
  font-weight: bold;
  position: absolute;
  bottom: 0;
  font-size: 14px;
  background-color: #e5e5e5;
  padding: 10px 25px;
  border-radius: 12px;
}

.tab.active .tab-text::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #e5e5e5;
  z-index: 10;
}

img.tab-img {
  margin-bottom: 70px;
  width: 65px;
  height: 65px;
}   

.content-container {
  background: #e5e5e5;
  border-radius: 20px;
  padding: 0px 40px;
  color: #012169;
  position: relative;
  margin-top: 15px;
  margin-bottom: 60px;
}

.tab-contentXpert{
  display: none;
}

.tab-contentXpert.active{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column;
}

.contenidoTab{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-top: 50px;
}

.contenidoTab h1{
  font-size: 24px !important;
  text-transform: none;
  margin-bottom: 5px !important;
  text-align: left;
  width: 100%;
  font-weight: bold !important;
}

.contenidoTab p{
  color: black !important;
  font-size: 17px !important;
  text-align: left;
  width: 100%;
}

.contenidoVideoTab{
  margin-top: 20px;
  background-color: white;
  display: flex;
  justify-content: start;
  align-items: center;    
  border-radius: 12px;
  width: 90%;
  padding: 15px 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.portadaVideoTab{
  width: 500px;
  border-radius: 15px;
  height: 315px;
  object-fit: cover;
}

.descripcionVideoTab{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 30px;
  margin-top: 30px;
}

.descripcionVideoTab h2{
  text-transform: none;
  font-size: 24px !important;
  text-align: left;
  font-weight: 400;
  width: 100%;
  margin-bottom: 40px;
}

.descripcionVideoTab h3{
  text-transform: none;
  font-size: 18px !important;
  text-align: left;
  font-weight: bold;
  width: 100%;
  margin-bottom: 5px;
  color: #012169;
}

.descripcionVideoTab p{
  text-transform: none;
  font-size: 16px !important;
  text-align: left;
  font-weight: 300;
  margin-bottom: 40px;
  width: 100%;
  color: #012169 !important;
}

.botonesVideoTab{
  display: flex;
  justify-content: start;    
  align-items: center;
  width: 100%;
}

.botonIzquierda{
  display: flex;
  justify-content: start;
  align-items: center;
}

.botonIzquierda p{
  margin-bottom: 0px !important;
  color: gray !important;
  margin-left: 15px;
  font-weight: bold;
  font-size: 14px !important;
}

.botonCompartir{
  display: flex;
  justify-content: end;
  align-items: center;
}

.btn-naranjaTabs{
  background: #ed8b00;
  color: #fff !important;
  border-radius: 30px;
  padding: 15px 25px;
  display: flex !important;
  font-size: 16px;
  line-height: 1;
  font-family: roboto !important;
  font-weight: 400;
  justify-content: center;
  align-items: center;
}

.btn-naranjaTabs:hover{
  background-color: #cc6a25;
}

.btn-naranjaTabs img{
  width: 25px;
  margin-right: 5px;
}

.botonCompartir img{
  width: 23px;
  margin-left: 15px;
  cursor: pointer;
}

@media (max-width: 1366px) {
  .portadaVideoTab {
    width: 100%;
    border-radius: 15px;
    height: 370px;
    object-fit: cover;
}

.contenidoVideoTab {
  margin-top: 20px;
  background-color: white;
  display: flex
;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  width: 95%;
  padding: 20px 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  flex-direction: column;
}
.descripcionVideoTab {
  display: flex
  ;
          flex-direction: column;
          justify-content: start;
          align-items: center;
          margin-left: 0px;
          margin-top: 30px;
          width: 100%;
}
}

@media (max-width: 1024px) {

  

}

@media (max-width: 768px) {
  .tabs-wrapper {
    justify-content: left;
    overflow-x: scroll;
    gap: 40px;
    padding: 20px 0px;
  }

  .tab {
    min-width: 80px;
    padding: 10px 5px;
  }

  .tab-text {
    font-size: 0.8rem;
  }

  .content-container {
    padding: 25px;
  }

  .tab-contentXpert.active{
    flex-wrap: wrap;
    padding: 0;
    text-align: center;
    justify-content: center;
  }

  .card-tab{
    max-width: 100% !important;
    min-width: 100% !important;
  }

  .content-container {
    margin-top: -7px;
  }

  .tab.active::after {
    bottom: -13px;
}

.portadaVideoTab {
  width: 100%;
}
}

@media (max-width: 480px) {
  .portadaVideoTab {
    width: 100%;
    border-radius: 15px;
    height: 190px;
    object-fit: cover;
}

.btn-naranjaTabs {
  background: #ed8b00;
  color: #fff !important;
  border-radius: 30px;
  padding: 15px 25px;
  display: flex !important
;
  font-size: 14px;
  line-height: 1;
  font-family: roboto !important;
  font-weight: 400;
  justify-content: center;
  align-items: center;
}
}
