:root {
	--bs-bg-body: #000000;
	--bs-bg-blanco:#ffffff;
	--bs-bg-negro:#ffffff;

	--bs-bg-ama1:#fdfce9;
	--bs-bg-ama2:#fcfac5;
	--bs-bg-ama3:#faf28e;
	--bs-bg-ama4:#f7e455; /*oficial*/
	--bs-bg-ama5:#f2d01d;
	--bs-bg-ama6:#e2b810;
	--bs-bg-ama7:#c38f0b;
	--bs-bg-ama8:#9c670c;
	--bs-bg-ama9:#815112;
	--bs-bg-ama10:#6e4315;
	--bs-bg-ama11:#402308;
	--bs-bg-ama12:#f2b705;

	--bs-bg-gris1:#f9fafb;
	--bs-bg-gris2:#f4f4f5;
	--bs-bg-gris3:#e6e8ea;
	--bs-bg-gris4:#d3d6d9; /*oficial*/
	--bs-bg-gris5:#9fa4ac;
	--bs-bg-gris6:#878c94;
	--bs-bg-gris7:#4f565f;
	--bs-bg-gris8:#3c434c;
	--bs-bg-gris9:#232a33;
	--bs-bg-gris10:#151a23;
	--bs-bg-gris11:#06090f;

	--bs-bg-azul1:#eef6ff;
	--bs-bg-azul2:#dcecff;
	--bs-bg-azul3:#b2daff;
	--bs-bg-azul4:#6dbcff; /*oficial*/
	--bs-bg-azul5:#209dff;
	--bs-bg-azul6:#008eff;
	--bs-bg-azul7:#0076df;
	--bs-bg-azul8:#005cb4;
	--bs-bg-azul9:#004d94;
	--bs-bg-azul10:#003366;
	--bs-bg-azul11:#002651;
	--bs-bg-azul12:#1e293b;



	--bs-color-blanco:#ffffff;
	--bs-color-negro:#000000;

	--bs-color-ama1:#fdfce9;
	--bs-color-ama2:#fcfac5;
	--bs-color-ama3:#faf28e;
	--bs-color-ama4:#f7e455; /*oficial*/
	--bs-color-ama5:#f2d01d;
	--bs-color-ama6:#e2b810;
	--bs-color-ama7:#c38f0b;
	--bs-color-ama8:#9c670c;
	--bs-color-ama9:#815112;
	--bs-color-ama10:#6e4315;
	--bs-color-ama11:#402308;
	--bs-color-ama12:#f2b705;

	--bs-color-gris1:#f9fafb;
	--bs-color-gris2:#f4f4f5;
	--bs-color-gris3:#e6e8ea;
	--bs-color-gris4:#d3d6d9; /*oficial*/
	--bs-color-gris5:#9fa4ac;
	--bs-color-gris6:#878c94;
	--bs-color-gris7:#4f565f;
	--bs-color-gris8:#3c434c;
	--bs-color-gris9:#232a33;
	--bs-color-gris10:#151a23;
	--bs-color-gris11:#06090f;

	--bs-color-azul1:#eef6ff;
	--bs-color-azul2:#dcecff;
	--bs-color-azul3:#b2daff;
	--bs-color-azul4:#6dbcff; /*oficial*/
	--bs-color-azul5:#209dff;
	--bs-color-azul6:#008eff;
	--bs-color-azul7:#0076df;
	--bs-color-azul8:#005cb4;
	--bs-color-azul9:#004d94;
	--bs-color-azul10:#003366;
	--bs-color-azul11:#002651;


  --card-border-radius: 1rem;
}
body { 
	font-family: "Fira Sans", sans-serif;
	color: var(--bs-bg-body);
  font-size: 1.1rem;
	overflow-x: hidden;

}
/*----------------------------------------background------------------------------------*/
.bg-amarillo1{
    background-color: var(--bs-bg-ama1);
}
.bg-amarillo2{
  background-color: var(--bs-bg-ama2);
}
.bg-amarillo3{
  background-color: var(--bs-bg-ama3);
}
.bg-amarillo4{
  background-color: var(--bs-bg-ama4);
}
.bg-amarillo5{
  background-color: var(--bs-bg-ama5);
}
.bg-amarillo6{
  background-color: var(--bs-bg-ama6);
}
.bg-amarillo7{
  background-color: var(--bs-bg-ama7);
}
.bg-amarillo8{
  background-color: var(--bs-bg-ama8);
}
.bg-amarillo9{
  background-color: var(--bs-bg-ama9);
}
.bg-amarillo10{
  background-color: var(--bs-bg-ama10);
}
.bg-amarillo11{
  background-color: var(--bs-bg-ama11);
}
.bg-amarillo12{
  background-color: var(--bs-bg-ama12);
}

.bg-gris1{
  background-color: var(--bs-bg-gris1);
}
.bg-gris2{
  background-color: var(--bs-bg-gris2);
}
.bg-gris3{
  background-color: var(--bs-bg-gris3);
}
.bg-gris4{
  background-color: var(--bs-bg-gris4);
}
.bg-gris5{
  background-color: var(--bs-bg-gris5);
}
.bg-gris6{
  background-color: var(--bs-bg-gris6);
}
.bg-gris7{
  background-color: var(--bs-bg-gris7);
}
.bg-gris8{
  background-color: var(--bs-bg-gris7);
}
.bg-gris9{
  background-color: var(--bs-bg-gris7);
}
.bg-gris10{
  background-color: var(--bs-bg-gris10);
}
.bg-gris11{
  background-color: var(--bs-bg-gris11);
}

.bg-azul1{
  background-color: var(--bs-bg-azul1);
}
.bg-azul2{
  background-color: var(--bs-bg-azul2);
}
.bg-azul3{
  background-color: var(--bs-bg-azul3);
}
.bg-azul4{
  background-color: var(--bs-bg-azul4);
}
.bg-azul5{
  background-color: var(--bs-bg-azul5);
}
.bg-azul6{
  background-color: var(--bs-bg-azul6);
}
.bg-azul7{
  background-color: var(--bs-bg-azul7);
}
.bg-azul8{
  background-color: var(--bs-bg-azul8);
}
.bg-azul9{
  background-color: var(--bs-bg-azul9);
}
.bg-azul10{
  background-color: var(--bs-bg-azul10);
}
.bg-azul11{
  background-color: var(--bs-bg-azul11);
}
.bg-blanco{
  background-color: var(--bs-bg-blanco);
}

/*----------------------------------------background------------------------------------*/
/*------------------------------------------texto---------------------------------------*/
.texto-amarillo1{
    color: var(--bs-color-ama1);
}
.texto-amarillo2{
  color: var(--bs-color-ama2);
}
.texto-amarillo3{
  color: var(--bs-color-ama3);
}
.texto-amarillo4{
  color: var(--bs-color-ama4);
}
.texto-amarillo5{
  color: var(--bs-color-ama5);
}
.texto-amarillo6{
  color: var(--bs-color-ama6);
}
.texto-amarillo7{
  color: var(--bs-color-ama7);
}
.texto-amarillo8{
  color: var(--bs-color-ama8);
}
.texto-amarillo9{
  color: var(--bs-color-ama10);
}
.texto-amarillo11{
  color: var(--bs-color-ama11);
}
.texto-amarillo12{
  color: var(--bs-color-ama12);
}

.texto-amarillo12{
  color: var(--bs-color-ama12);
}
.texto-gris1{
  color: var(--bs-color-gris1);
}
.texto-gris2{
  color: var(--bs-color-gris2);
}
.texto-gris3{
  color: var(--bs-color-gris3);
}
.texto-gris4{
  color: var(--bs-color-gris4);
}
.texto-gris5{
  color: var(--bs-color-gris5);
}
.texto-gris6{
  color: var(--bs-color-gris6);
}
.texto-gris7{
  color: var(--bs-color-gris7);
}
.texto-gris8{
  color: var(--bs-color-gris8);
}
.texto-gris9{
  color: var(--bs-color-gris9);
}
.texto-gris10{
  color: var(--bs-color-gris10);
}
.texto-gris11{
  color: var(--bs-color-gris11);
}






.texto-azul1{
  color: var(--bs-color-azul1);
}
.texto-azul2{
  color: var(--bs-color-azul2);
}
.texto-azul3{
  color: var(--bs-color-azul3);
}
.texto-azul4{
  color: var(--bs-color-azul4);
}
.texto-azul5{
  color: var(--bs-color-azul5);
}
.texto-azul6{
  color: var(--bs-color-azul6);
}
.texto-azul7{
  color: var(--bs-color-azul7);
}
.texto-azul8{
  color: var(--bs-color-azul8);
}
.texto-azul9{
  color: var(--bs-color-azul9);
}
.texto-azul10{
  color: var(--bs-color-azul10);
}
.texto-azul11{
  color: var(--bs-color-azul11);
}

.texto-blanco{
    color: var(--bs-bg-blanco);
}

.texto-justificado{ text-align: justify;}

.fondo_titulo{
  background-image: url("../img/fondo_titulo.png");
  background-repeat: no-repeat;
  height: 80px;
  background-size: cover;
  /*opacity: 0.4; /* Set transparency here */
 /*opacity: 0.5; /* Everything inside becomes 50% transparent */

}

/*------------------------------------------texto---------------------------------------*/
/*----------------------------------------Top Bar----------------------------------*/
.top-bar {
    background-color: var(--bs-bg-gris2);
    font-size: 12px;
    /*font-weight: 900;*/
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--bs-bg-gris8);
}
.texto_topbar{
    color: var(--bs-color-gris7);
    font-weight: 600;
    padding-top: 3px;
}
.texto_topbar:hover{
    color: var(--bs-color-ama12) !important;
}
a.texto_topbar_amarillo {
    color: var(--bs-color-gris7);
    width: 28px;
    height: 28px;
    /*border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--bs-color-blanco), transparent 50%);*/
    font-size: 16px;
    margin-right: 0px;
    transition: 0.3s;
    /*padding-top: 4px;*/
    /*padding-left: 2px;*/
}
.top-bar a.social {
}
a.texto_topbar_amarillo:hover {
  color: var(--bs-color-ama12);
  border-color: var(--bs-bg-ama12);
}
/*----------------------------------------Top Bar----------------------------------*/
/*----------------------------------------Navbar----------------------------------*/
.navbar-unacar {
    background: var(--bs-bg-blanco);
    backdrop-filter: blur(10px);
    padding: 0;
    border-bottom: 3px solid var(--bs-bg-azul8);
    min-height: 60px;
}
.nav-link-custom {
    color: var(--bs-color-azul10);
    /*font-weight: 800;*/
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 1.5rem 1.5rem !important;
    border-right: 1px solid var(--bs-bg-gris3);
    transition: all 0.3s ease;
    /*text-transform: uppercase;*/
    display: flex;
    align-items: center;
}
.nav-link-custom:hover {
    background: var(--bs-bg-ama12);
    color: var(--bs-color-blanco);
}
/* Mega Menú con Bootstrap */
.dropdown-full { position: static !important; }
.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-top: 4px solid var(--bs-bg-ama12);
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: 0;
    background: var(--bs-bg-blanco);
}
.fa-circle-check{ color:var(--bs-color-azul10) !important; }
.texto_menu_amarillo{
    color: var(--bs-color-ama12);
}
.texto_menu_gris{
    color: var(--bs-color-azul10);
}

/*----------------------------------------Navbar----------------------------------*/
/*----------------------------------------logo----------------------------------*/
/* Contenedor del Logo */
.brand-container {
    /*background-color: #fff;  Fondo blanco para que el logo resalte */
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 60px;
   /* border-right: 1px solid rgba(0,0,0,0.05);*/
    transition: transform 0.3s ease;
}
.brand-container:hover {
    transform: scale(1.02);
}

.logo-unacar {
    height: 50px; /* Tamaño optimizado para el navbar */
    width: auto;
}
/*----------------------------------------logo----------------------------------*/
/*----------------------------------------Sidebar Custom----------------------------------*/
/* Sidebar Custom */
.sidebar {
    background-color: var(--bs-bg-blanco);
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bs-bg-ama1);
    color: var(--u-dark);
    font-weight: bold;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--bs-bg-ama12);
}
.sidebar-item {
    padding: 8px 15px;
    display: block;
    text-decoration: none;
    color: var(--bs-color-gris7);
    font-size: 14px;
    transition: 0.2s;
}

.sidebar-item:hover {
    color: var(--bs-color-ama12);
    padding-left: 20px;
}
.border-gold-left {
    border-left: 5px solid var(--bs-bg-ama12);
}
/*----------------------------------------Sidebar Custom----------------------------------*/
/*------------------------Mision y Visión------------------*/
.service-item-custom {
	background-color: var(--bs-bg-gris2);
	transition: all ease-in-out 0.3s;
}

.service-item-custom h3 {
	color: var(--bs-color-ama12);
	transition: ease-in-out 0.3s;
}

.service-item-custom .icon i {
	transition: 0.5s;
}

/* Efecto hover para pantallas grandes */
@media (min-width: 1365px) {
	.service-item-custom:hover {
		transform: translateY(-10px);
	}
	.service-item-custom:hover h3 {
		color: var(--bs-color-gris8);
	}
}
/*------------------------Mision y Visión------------------*/
/*---------------------------principios-----------------------*/
.card-animate {
    border: none;
    border-radius: 24px;
    background: var(--bs-bg-blanco);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}
.card-animate:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: var(--bs-bg-ama12);
}
.bg-holder {
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    z-index: 0;
    background-image: url(../img/fondo_principios.png);
    background-position: center bottom;
}

.theme-tab .nav-link {
    display: block;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    text-align: center;
    color: var(--bs-color-blanco);
}

.theme-tab .nav-link .nav-item-circle {
    color: var(--bs-color-blanco);
    background-color: var(--bs-bg-ama12);
    border: 2px solid var(--bs-bg-gris5);
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    line-height: 2.75rem;
    padding: 0;
    text-align: center;
    align-self: center;
    display: block;
    transition: all 0.2s ease-in-out;
}

.theme-tab .nav-link.active {
    color: var(--bs-color-ama12);
}

.theme-tab .nav-link.active .nav-item-circle {
    background-color: var(--bs-color-blanco) !important;
    color: var(--bs-color-ama12);
    border-color: var(--bs-bg-ama12);
}

.theme-tab .nav-link .nav-item-circle .check-icon {
    display: none;
}

.theme-tab .nav-link .nav-item-circle-parent {
    display: block;
    position: relative;
    padding: 0 1rem;
}

.theme-tab .nav-link .nav-item-circle-parent:before {
    content: "";
    height: 2px;
    width: 101%;
    position: absolute;
    left: 51%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    background: var(--bs-bg-blanco);
}

.theme-tab .nav-item-circle {
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.theme-tab .nav-item {
    display: flex;
    flex-basis: auto;
    flex-grow: 1;
    max-width: 100%;
    justify-content: center;
}

.theme-tab .nav-item:first-child .nav-item-circle-parent:before, 
.theme-tab .nav-item:last-child .nav-item-circle-parent:before {
    width: 50%;
}

.theme-tab .nav-item:first-child .nav-item-circle-parent:before {
    transform: translate3d(0, -50%, 0);
}

.theme-tab .nav-item:last-child .nav-item-circle-parent:before {
    left: 0;
    transform: translate3d(0, -50%, 0);
}
/*---------------------------principios-----------------------*/
/*----------------------------------------theme-tab----------------------------------
.card-animate {
    border: none;
    border-radius: 24px;
    background: var(--bs-bg-blanco);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}
.card-animate:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: var(--bs-bg-ama12);
}
.bg-holder {
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform, opacity, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    z-index: 0;
    background-image:url(../img/fondo_principios.png);background-position:center bottom;background-size:cover;
}

.theme-tab .nav-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    text-align: center;
    color: var(--bs-color-blanco);
    display: block;
}

.theme-tab .nav-link .nav-item-circle {
  color: var(--bs-color-blanco);
  background-color: var(--bs-bg-ama12);
  border: 2px solid var(--bs-bg-gris5);
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  line-height: 2.75rem;
  padding: 0;
  text-align: center;
  -ms-flex-item-align: center;
  align-self: center;
  display: block;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.theme-tab .nav-link.active {
  color: var(--bs-color-ama12);
}

.theme-tab .nav-link.active .nav-item-circle {
  background-color: var(--bs-color-blanco) !important;
  color: var(--bs-color-ama12);
  border-color: var(--bs-bg-ama12);
}

.theme-tab .nav-link .nav-item-circle .check-icon {
  display: none;
}

.theme-tab .nav-link .nav-item-circle-parent {
  display: block;
}

.theme-tab .nav-link .nav-item-circle-parent:before {
  content: "";
  height: 2px;
  width: 101%;
  position: absolute;
  left: 51%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  background: var(--bs-bg-blanco);
}

.theme-tab .nav-item-circle-parent {
  position: relative;
  padding: 0 1rem;
}

.theme-tab .nav-item-circle {
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.theme-tab .nav-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-preferred-size: auto;
  flex-basis: auto;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.theme-tab .nav-item:first-child .nav-item-circle-parent:before, .theme-tab .nav-item:last-child .nav-item-circle-parent:before {
  width: 50%;
}

.theme-tab .nav-item:first-child .nav-item-circle-parent:before {
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
}

.theme-tab .nav-item:last-child .nav-item-circle-parent:before {
  left: 0;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
}
----------------------------------------theme-tab----------------------------------*/
/*---------------------------Valores-----------------------*/


.timeline,
.timeline-nodes {
    position: relative;
}

/* Modificadores de dirección para el zigzag en pantallas medianas/grandes */
@media (min-width: 768px) {
    .timeline-nodes:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-nodes:nth-child(odd) h3,
    .timeline-nodes:nth-child(odd) p {
        text-align: right;
    }

    .timeline-nodes:nth-child(odd) .timeline-date {
        text-align: left;
    }
     
    .timeline-nodes:nth-child(even) .timeline-date {
        text-align: right;
    }
}

.timeline h3,.timeline h4, 
.timeline p {
    padding: 15px 30px;
    margin: 0;
} 

.timeline h3 {
    background: var(--bs-bg-azul8);
    position: relative;
    border-radius: 0.375rem 0.375rem 0 0; /* Ajustado al border-radius estándar de BS5 */
}
.timeline h4 {
    background: var(--bs-bg-gris6);
    position: relative;
    border-radius: 0.375rem 0.375rem 0 0; /* Ajustado al border-radius estándar de BS5 */
}

/* Línea central de la línea de tiempo */
.timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 40px;
    left: 50%;
    width: 2px;
    background-color: var(--bs-bg-ama12);
    height: 90%;
    z-index: 1;
    transform: translateX(-50%);
}

.timeline-content {
    position: relative;
    border-radius: 0.375rem;
    padding: 0;
    overflow: hidden;
}

/* Flechas decorativas (Pseudo-elementos) */
@media (min-width: 768px) {
    .timeline-nodes:nth-child(odd) h3::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 100%;
        transform: translateY(-50%);
        width: 0;
        border-left: 10px solid var(--bs-bg-azul8);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    .timeline-nodes:nth-child(even) h3::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 100%;
        transform: translateY(-50%);
        width: 0;
        border-right: 10px solid var(--bs-bg-azul8);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }
}

/* Contenedor de los números/iconos */
.timeline-icons {
    position: relative;
    z-index: 10;
    color: var(--bs-bg-ama12);
    background: var(--bs-bg-gris2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.15);
    margin: 0 auto;
}

.timeline-icons span {
    font-weight: 700;
    font-size: 1.25rem;
   /* margin-top: -1.4em;*/
}

.timeline-date {
    align-self: center;
}

/* Adaptabilidad para Móviles (Pantallas menores a 768px) */
@media (max-width: 767.98px) {
    .timeline::before {
        left: 30px;
        height: 95%;
    }

    .timeline-nodes {
        padding-left: 60px;
    }

    .timeline-icons {
        position: absolute;
        left: 0;
        top: 10px;
        margin: 0;
        width: 50px;
        height: 50px;
    }

    .timeline-content h3::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 100%;
        transform: translateY(-50%);
        width: 0;
        border-right: 10px solid var(--bs-bg-azul8);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    .timeline-date {
        text-align: left !important;
        padding: 0 !important;
    }
}
/*---------------------------Valores-----------------------*/
/*--------------------------------------- TIMELINE-----------------------------------------
.timeline,
.timeline-nodes {
    position: relative;
}

.timeline-nodes:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline h3, 
.timeline p {
    padding: 10px 30px;
} 

.timeline h3 {
    background: var(--bs-bg-azul8);
}
.timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 37px;
    left: 50%;
    width: 0;
    border-left: 1px solid var(--bs-bg-ama12);
     height: 85%;
    z-index: 1;
    transform: translateX(-50%);
}

.timeline-content {
    position: relative;
    border-radius: 0 0 0.5rem 0.6rem;
    padding: 0;
}

.timeline-nodes:nth-child(odd) h3,
.timeline-nodes:nth-child(odd) p {
    text-align: right;
}

.timeline-nodes:nth-child(odd) .timeline-date {
    text-align: left;
}
 
.timeline-nodes:nth-child(even) .timeline-date {
    text-align: right;
}
.timeline-nodes:nth-child(odd) h3::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(0, -50%);
    width: 0;
    border-left: 10px solid var(--bs-bg-azul8);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-nodes h3 {
    position: relative;
    border-radius: 0.25rem 0.25rem 0 0;
}

.timeline-nodes:nth-child(even) h3::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translate(0, -50%);
    width: 0;
    border-right: 10px solid var(--bs-bg-azul8);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.timeline-icons {
    position: relative;
    z-index: 100;
    color: var(--bs-color-ama12);
    background: var(--bs-bg-gris3);
    border-radius: 50%;
    width: 80px;
    height: 80px;

  
}
.timeline-icons i {
    position: inherit;
    top: 40%;
    left: 0%;
}

.timeline-icons span {
    position: inherit;
    top: 30%;
    left: 0%;
    font-weight: 600;
    font-size: 1.5rem;

}
.timeline-icons::before {

box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  z-index: 1;
}

.timeline-icon {
  position: relative;
  z-index: 100;
  font-size: 30px;
  color: var(--bs-bg-ama12);
  display: block;
  text-align: center;
  line-height: 80px;
}
@media (max-width: 767px) {
    .timeline-nodes:nth-child(odd) h3,
    .timeline-nodes:nth-child(odd) p {
        text-align: left;
    }

    .timeline-nodes:nth-child(even) {
        flex-direction: row;
    }
    .timeline::before {
        content: "";
        display: block;
        position: absolute;
        top: 60px;
        left: 33px;
        width: 0;
        height: 90%;
        z-index: 1;
        transform: translateX(-50%);
    }

    .timeline-icons {
        position: absolute;
        left: -10px;
        top: 40px;
    }

    .timeline-icons i {
        position: inherit;
        top: 40%;
        left: 40%;
    }
    .timeline-nodes:nth-child(odd) h3::after {
        left: auto;
        right: 100%;
        border-left: 0;
        border-right: 10px solid var(--bs-bg-azul8);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }
    .timeline-nodes:nth-child(even) h3::after {
        right: 100%;
        width: 0;
        border-right: 10px solid var(--bs-bg-azul8);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }
    .timeline-nodes:nth-child(even) .timeline-date {
        text-align: left;
    }

    .timeline-icons::before {
        width: 75px;
        height: 75px;
    }

    .timeline-icon {
        line-height: 75px;
    }

} 
@media (max-width: 575px) {
    .timeline::before {
        content: "";
        display: block;
        top: 60px;
        left: 57px;
        height: 87%;
    }

    .timeline-icons {
        position: absolute;
        left: -10px;
    }

    .timeline-icons i {
        position: inherit;
        top: 40%;
        left: 40%;
    }

    .timeline-icons::before {
        width: 70px;
        height: 70px;
    }

    .timeline-icon {
        line-height: 70px;
    }
}   
--------------------------------------- TIMELINE-----------------------------------------*/
/*----------------------------------------ol number----------------------------------*/
.modern-ol {
  counter-reset: modern-counter;
}

.modern-ol li {
  position: relative;
  counter-increment: modern-counter;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Efecto hover sutil para dar interactividad */
.modern-ol li:hover {
  transform: translateY(-2px);
  box-shadow: var(--bs-box-shadow) !important;
}

/* Creación del número moderno flotante */
.modern-ol li::before {
  content: counter(modern-counter);
  position: absolute;
  top: -13px;
  left: 20px;
  background-color: var(--bs-bg-azul7);
  color: var(--bs-color-blanco);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.15rem 0.8rem;
  border-radius: 50rem;
  box-shadow: var(--bs-box-shadow-sm);
  border: 0px solid var(--bs-bg-gris8);
}
/*----------------------------------------ol number----------------------------------*/
/*----------------------------------testimony-wrap-------------------------------*/
.testimony-wrap {
  display: block;
  position: relative;
  padding: 30px;
  border: 1px solid #f5f7f9;
  background: #fff;
  -webkit-box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 3px 66px -24px rgba(0, 0, 0, 0.2); 
}
.testimony-wrap .user-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  margin-top: -80px; 
}
.testimony-wrap .user-img .quote {
  position: absolute;
  bottom: 10px;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--bs-color-gris2);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%; 


    font-size: 30px;
    padding-top: 15px;


}
.testimony-wrap .user-img .quote i {
  color: #fff; 
}


.testimony-wrap .depto {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 0;
  color: var(--bs-color-ama6);
}

.testimony-wrap .name {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 0;
  color: var(--bs-color-gris8);
}
.testimony-wrap .correo {
  font-size: 17px;
  color: var(--bs-color-azul4); 
}
.testimony-wrap .position {
  font-size: 17px;
  color: var(--bs-color-gris5); 
}
.testimony-wrap a {
  font-size: 16px;
  color: #8d9db9; 
}
.mb-6 {
    margin-bottom: 4.5rem !important;
}
/*----------------------------------testimony-wrap-------------------------------*/

/*----------------------------------------Tap-------------------------------------*/
/* Section Header Customization */
    .section-heading h2 {
      font-weight: 700;
      color: #2b2d42;
      letter-spacing: -0.5px;
    }

    .section-heading h6 {
      color: #8d99af;
      letter-spacing: 1px;
    }

    /* Modern Vertical Nav Pills */
    .custom-pills .nav-link {
      background-color: var(--bs-bg-gris3);
      color: var(--bs-body-color);
      border: 1px solid var(--bs-bg-gris4);
      border-radius: var(--card-border-radius);
      padding: 1.1rem 1.25rem;
      font-weight: 500;
      font-size: 1.05rem;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    }

    .custom-pills .nav-link .icon-box {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: var(--bs-body-bg);
      color: var(--bs-bg-azul8);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      box-shadow: 0 3px 6px rgba(0,0,0,0.05);
      padding: 20px;
    }

    .custom-pills .nav-link:hover {
      background-color: var(--bs-secondary-bg);
      transform: translateX(4px);
    }

    .custom-pills .nav-link.active {
      background-color: var(--bs-bg-azul8) !important;
      color: #ffffff !important;
      border-color: var(--bs-bg-azul9);
      box-shadow: 0 8px 20px rgba(43, 45, 66, 0.25);
    }

    .custom-pills .nav-link.active .icon-box {
      background-color: rgba(255, 255, 255, 0.2);
      color: #ffffff;
    }

    /* Tab Content Card */
    .tab-content-card {
      background-color: var(--bs-body-bg);
      border-radius: var(--card-border-radius);
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
      border: 1px solid var(--bs-border-color);
      overflow: hidden;
    }

    .tab-content-image {
      border-radius: calc(var(--bs-bg-gris7) - 0.25rem);
      object-fit: cover;
      width: 100%;
      max-height: 400px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.08);
      transition: transform 0.5s ease;
    }

    .tab-content-card:hover .tab-content-image {
      transform: scale(1.02);
    }

    /* Custom Animations */
    .tab-pane.fade {
      transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
      transform: translateY(10px);
    }

    .tab-pane.fade.show {
      transform: translateY(0);
    }
/*----------------------------------------Tap-------------------------------------*/
/*----------------------------------------Card-------------------------------------*/

.portfolio-item {
  position: relative;
}

/* Efectos Hover */
.item-link:hover .hidden-content {
  top: -100px;
  opacity: 1;
  visibility: visible;
}

.item-link:hover .showed-content {
  top: 90px;
}

/* Contenido Oculto (Gradiente) */
.portfolio-item .hidden-content {
  /*background: linear-gradient(105deg, rgba(255,77,30,1) 0%, rgba(255,44,109,1) 100%);*/
  background: var(--bs-bg-ama12);
  opacity: 0;
  top: 0;
  visibility: hidden;
  position: absolute;
  z-index: 2;
  transition: all 0.5s ease-in-out;
  width: 100%; /* Asegura que ocupe todo el ancho de la columna */
}

/* Flecha del contenido oculto */
.portfolio-item .hidden-content::after {
  width: 20px;
  height: 20px;
  position: absolute;
  content: '';
  left: 50%;
  bottom: -8px;
  margin-left: -10px;
  transform: rotate(45deg);
  /*background: linear-gradient(105deg, rgba(255,52,69,1) 0%, rgba(255,51,78,1) 100%);*/
  background: var(--bs-bg-ama12);
  z-index: -1;
}

/* Contenido Visible */
.portfolio-item .showed-content {
  top: 0px;
  position: relative;
  z-index: 3;
  transition: all 0.5s ease-in-out;
}

.portfolio-item img {
    /* max-width: 100px; */
    width: 200px;
    height: 200px;
    border-radius: 50%;
}
.portfolio-item .name {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 0;
  color: var(--bs-color-gris8);
}
.portfolio-item .correo {
    font-size: 17px;
    color: var(--bs-color-azul4);
}    
/*----------------------------------------Card----------------------------------*/

/*----------------------------------------footer----------------------------------*/
.footer {
	color: var(--bs-color-blanco);
	background-color: var(--bs-bg-gris7);
	font-size: 12px;
}
.footer .icon {
	color: var(--bs-color-blanco);
	margin-right: 15px;
	margin-top: 15px;
	font-size: 24px;
	line-height: 0;
	opacity: 0.1;
	position: relative;
}
.footer h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 15px;
}
.footer .address p {
	margin-bottom: 0px;
}
.footer .social-links a {
	
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--bs-bg-blanco), transparent 50%);
	font-size: 16px;
	color: color-mix(in srgb, var(--bs-bg-blanco), transparent 50%);
	margin-right: 10px;
	transition: 0.3s;
	padding: 5px;
}
.footer .social-links a:hover {
	color: var(--accent-color);
	border-color: var(--bs-bg-ama12);
}
.footer .copyright {
	padding: 25px 0;
	border-top: 1px solid var(--bs-bg-ama12);
}
.footer .copyright p {
	margin-bottom: 0;
}
.footer .credits {
	margin-top: 5px;
	font-size: 13px;
}
.footer hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid var(--bs-bg-ama12);
    /*border-top: 1px solid color(var(--bs-bg-ama12));*/
    opacity: 1;
}
/*----------------------------------------footer----------------------------------*/