body{
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}
::-webkit-scrollbar {
    display: none;
}
/* Navegador */
.navegador {
    width: 80%;
    display: flex;
    justify-content: space-between;
}
.menus {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}
.btn-contact {
    background-color: #000000;
    padding: 5px 50px;
    border-radius: 20px;
}
.btn-contact a {
    color: #fff !important;
    display: block;
    text-align: center;
    text-decoration: none !important; 
}
.menus li a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    position: relative;
    padding-bottom: 5px;
}
.menus li:not(.btn-contact) a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff7300, #ffeb00, #47ff00);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out, background-position 0.5s ease-in-out;
}
.menus li:not(.btn-contact) a:hover::after {
    transform: scaleX(1);
    background-position: 100% 0;
}

/*banner*/
#banner{
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}
#banner h1{
    font-size: 3.5em;
    font-weight: 400;
}
#banner h1 span{
    font-weight: bold;
}
#banner p {
    font-size: 18px;
    line-height: 30px;
}
#banner p b {
    position: relative;
    text-decoration: none; 
}

#banner p b::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; 
    width: 100%;
    height: 3px; 
    background: linear-gradient(90deg, #070707, #000000); 
    border-radius: 10px 0px; 
}
#banner a {
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    width: 60px; 
    height: 60px; 
    background-color: transparent;
    border: 1px solid #b9b9b9a2; 
    text-align: center;
    font-size: 18px;  
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: #000;
    border-radius: 50%; 
}
#banner a:hover {
    background: conic-gradient(
        rgb(202, 78, 78), rgb(201, 158, 78), rgb(199, 199, 77), rgb(77, 175, 77), rgb(77, 189, 189), rgb(86, 86, 190), rgb(161, 83, 161), rgb(179, 92, 92)
    ); 
    color: #fff; 
    transform: scale(1.1); 
    border: none; 
}

/*franja colores rectangulares*/
.flags{
    width: 100%;
    height: 20px;
    display: flex;
}
.color{
    width: 20%;
    height: 100%;
}
.red{
    background-color: rgb(245, 7, 7);
}
.yellow{
    background-color: rgb(240, 240, 21);
}
.orange{
    background-color: orange;
}
.skyblue{
    background-color: skyblue;
}
.green{
    background-color: green;
}

/*como funciona*/
#funciona {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 50px 0;
}
.content-video-f{
    width: 50%;
}
.video-funciona {
    position: relative;
    width: 400px;
    height: 500px;
    overflow: hidden;
}

.video-funciona video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-funciona .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}
.video-funciona h2{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    color: #000;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}

.video-funciona i {
    border: 2px solid black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 30px; 
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}
.fa-comments{
    font-size: 50px;
}
.fa-rocket{
    font-size: 50px;
}
.fa-file{
    font-size: 50px;
}
.video-funciona i {
    
    justify-content: center;
    cursor: pointer;
}
.video-funciona .play-pause-btn {
    display: flex;
    align-items: center;
    justify-content: center; 
    border: 2px solid black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 30px; 
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}
.video-funciona.playing h2 {
    opacity: 0;
    pointer-events: none;
}
.video-funciona.playing .play-pause-btn {
    opacity: 0;
}

.video-funciona:hover .play-pause-btn {
    opacity: 1;
}

.video-funciona.playing h2,
.video-funciona.playing i,
.video-funciona.playing .overlay {
    opacity: 0;
    pointer-events: none;
}

.pasos-funciona {
    width: 50%;
    text-align: left;
}

.pasos-funciona h2 {
    font-weight: bold;
    font-size: 28px;
}

.hr-tittle {
    height: 5px;
    background: black;
    border: none;
    width: 100%;
    margin: 10px 0;
}

.paso {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.paso i {
    padding-top: 23px;
}

.guia h3 {
    font-weight: bold;
    font-size: 20px;
}

/* tipos de asesoria */
#tipos-asesoria {
    display: flex;
    width: 100%;
    flex-direction: column;
    text-align: center;
    margin: 100px;
    align-items: center;
    justify-content: center;
}
#tipos-asesoria h2 {
    font-weight: bold;
    font-size: 28px;
    text-decoration: underline;
    text-decoration-color: #ffeb00;
    text-underline-offset: 20px;
}

.containt-card {
    display: flex;
    width: 55%;
    gap: 10px; 
    justify-content: center;
}


.card-container {
    width: 50%;
    display: flex;
    flex-direction: column; 
    align-items: stretch; 
    position: relative;
    padding: 10px;
}

.card {
    width: 100%;
    background-color: #ececec;
    text-align: left;
    position: relative;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    flex-grow: 1;
}

.card-content {
    padding: 10px;
}
.card .tipos {
    margin-left: -20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-info {
    width: 100%;
    background-color: #ececec;
    color: rgb(0, 0, 0);
    text-align: left;
    opacity: 0;
    transition: all 0.3s ease-in-out;
   
    display: flex;
    align-items: center; 
    gap: 10px;
}
.card-info p{
    padding: 10px;
}
.card-info a {
    color: #0077B5;
    font-size: 24px;
    transition: color 0.3s;
}

.card-info a:hover {
    color: #005582;
}


.card-container:hover .card-info {
    opacity: 1;
    transform: translateY(0);
}

/*franja de servicios */
#franja-servicios {
    overflow: hidden;
    background: #f8f8f8;
    padding: 10px 0;
    white-space: nowrap;
    position: relative;
}

.carousel {
    display: flex;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 50px; 
    animation: scroll 100s linear infinite;
}

.carousel-track li {
    font-size: 1.2rem;
    font-weight: bold;
    color: #6d6d6d;
    white-space: nowrap;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%); 
        
    }
}

/*sobre*/
#sobre{
    margin: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container-go{
    width: 30%;
    height: auto;
    padding-left: 10%;
}
.container-go h2{
    font-weight: bold;
    font-size: 28px;
}
.container-go h1{
    font-size: 28px;
}
.container-go span, p{
    width: 400px;
}
/*videos sobre*/
.carousel-container {
    position: relative;
    width: 50%;
    height: 540px;
    perspective: 1000px;
}
.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    position: absolute;
    width: 300px;
    height: 500px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out, opacity 0.5s;
}
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-button {
    position: absolute;
    font-size: 40px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s;
    display: none;
}
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}