#container-completo {
    width: 100%;
    min-height: 100vh; /* Asegura que ocupe toda la pantalla */
    position: relative;
}

#container-completo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/Desarrollo_software.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px) brightness(30%);
    z-index: -1;
}

#barra{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: auto;
    width: 100%;
    color: white;
    font-family: 'Poppins', sans-serif;
    padding-top: 30px;
}
/* Contenedor principal */
.container-a {
    width: 80%;
    max-width: 500px;
    text-align: center;
}

/* Barra de progreso */
.progress-container {
    width: 100%;
    height: 25px;
    background: #333;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: red; /* Inicia en rojo */
    transition: width 2s ease-in-out, background 1s ease-in-out;
}

/* Estado del progreso */
#status-text {
    margin-top: 15px;
    font-size: 16px;
    font-weight: normal;
}

/* Contenedor del mensaje final */
.final-message {
    opacity: 0; /* Oculto al inicio */
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    text-align: center;
    margin-top: 20px;
    width: 85%;
}

/* Cuando la animación se activa */
.final-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos del título y párrafo */
.final-message h2 {
    font-size: 38px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.final-message p {
    font-size: 19px;
    color: #ccc;
    max-width: 500px;
    margin: auto;
    font-family: 'Poppins', sans-serif;
}

/* Panel de control */
#technologies-panel {
    width: 91%;
    padding: 20px;
    background-color: #1d1f23;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
}

/* Encabezado */
.panel-header h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #b60000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Cuerpo del panel */
.panel-body {
    display: grid;
    gap: 20px;
}

/* Categorías de tecnologías */
.technology-category h3 {
    font-size: 24px;
    border-bottom: 2px solid #660000;
    padding-bottom: 10px;
    color: #b60000;
}

/* Tecnologías individuales */
.technology {
    background-color: #2c2f36;
    padding: 10px;
    border-radius: 6px;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

/* Iconos */
.tech-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}
.tech-icon img{
    width: 28px;
}

/* Efecto de hover en iconos */
.technology:hover .tech-icon {
    transform: rotate(15deg);
}

/* Ajusta la posición de la ola para que se separe las secciones y no interfiera con el navbar */
.wave {
    position: relative; /* Cambiado de absolute a relative para integrarla al flujo de la sección */
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -5px; /* Ajusta según necesites para fusionar visualmente con la siguiente sección */
}

.wave.uno{
    background-color: #fdf8f3;
}
.wave.dos{
    background-color: #212121;
}

.wave svg {
    position: relative;
    display: block;
    width: calc(140% + 1.3px);
    height: 164px;
}

.wave.uno .shape-fill {
    fill: #1d1f23;
}

.wave.dos .shape-fill {
    fill: #fdf8f3;
}

/* Timeline */
#timeline {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 50px 20px;
    position: relative;
    background-color: #fdf8f3
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #e1e1e1;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    padding: 20px 14px 20px 0;
    left: -14px;
    text-align: right;
}

.timeline-item.right {
    padding: 20px 0 20px 14px;
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    right: -15px;
    width: 20px;
    height: 20px;
    background: #b60000;
    border-radius: 50%;
}

#circle_1{background: #ffffff; border: 5px solid cadetblue;}
#circle_2{background: #ffffff; border: 5px solid #fbca3e;}
#circle_3{background: #ffffff; border: 5px solid #e24a68;}
#circle_4{background: #ffffff; border: 5px solid #1b5f8c;}
#circle_5{background: #ffffff; border: 5px solid #279116;}
#circle_6{background: #ffffff; border: 5px solid #7f56d4;}


.timeline-item.right .timeline-dot {
    left: -15px;
}

.timeline-card {
    background: rgb(237, 237, 237);
    border-radius: 28px 28px 10px 10px;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

/* Estilos de los iconos */


.timeline-card i {
    font-size: 22px;
    margin-left: 10px;
}

/* Colores específicos */
.fa-comments { color: #1f5c5e; }
.fa-paint-brush { color: #b98b09; }
.fa-code.TM { color: #9a001e; }
.fa-search { color: #00416b; }
.fa-rocket { color: #0b4d00; }
.fa-tools.TM { color: #4b2794; }

/* Ajuste de margen derecho según el ícono */
.fa-comments { margin-right: 30px; }
.fa-paint-brush { margin-right: 7px; }
.fa-code,
.fa-rocket,
.fa-tools { margin-right: 15px; }
.fa-search.TM { margin-right: 10px; }

.timeline-card h3 {
    margin: 10px 0;
    font-size: 12px;
    color: white;
}

#timeline h2 {
    width: 80%;
    margin: 20px auto;
    color: #ffffff;  /* Color del texto */
    background-color: #41516c;
    padding: 10px;
    border-radius: 50px;
    text-shadow: 4px 4px 0px #2b374c;
}


.timeline-card p {
    margin:0;
    font-size: 12px;
}

.timeline-title {
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 100px;
}

.timeline-title.right {
    display: flex;
    justify-content: start;
    border-radius: 100px 0 0 100px;
}

.timeline-title.left {
    display: flex;
    justify-content: end;
    border-radius: 0 100px 100px 0;
}

/* Estilos de los banners */

#c_1{background-color: cadetblue;}
#c_2{background-color: #fbca3e;}
#c_3{background-color: #e24a68;}
#c_4{background-color: #1b5f8c;}
#c_5{background-color: #279116;}
#c_6{background-color: #7f56d4;}

.timelime-content{
    padding: 6px;
}

/* Estilos de FAQ's */
#faq-software {
    padding: 20px;
    border-radius: 10px;
}

#faq-software h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    color: #b60000;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.faq-question {
    font-family: 'Poppins', sans-serif;
    color: #fdf8f3;
    width: 100%;
    background: none;
    border: none;
    padding: 15px;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.faq-icon {
    transition: transform 0.3s ease;
}

.faq-answer {
    font-family: 'Poppins', sans-serif;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
}

.faq-answer p {
    color: #fdf8f3;
    margin: 10px 0;
}

/* 🔹 Rotar la flecha cuando se expande la respuesta */
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}


/* Por defecto se oculta el panel en pantallas grandes */
@media (min-width: 1024px){
    #technologies-panel {
        width: 96.79%;
        padding: 20px;
        background-color: #1d1f23;
        color: #fff;
        font-family: 'Courier New', Courier, monospace;
    }
    /* Efecto de hover */
    .technology:hover {
        transform: scale(1.013);
        background-color: #a1a1a1;
    }

    
    .timeline-card h3 {
        margin: 10px 36px 10px 0;
        font-size: 20px;
        color: white;
    }
    #timeline h2 {
        margin: 13px auto;
        font-size: 39px;
        width: 50%;
    }

    .timeline-card i {
        font-size: 30px;
        margin-right: 30px;
    }
    
    .timeline-card p {
        margin:0;
        font-size: 16px;
    }

    .timelime-content {
        padding: 10px;
    }

    #faq-software {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    .faq-item {
        width: 70%;
    }
    .faq-question:hover {
        color: #b60000;
    }
}

