
:root{
  --blueaccent: #0836AA;
  --primary-color: #ffffff;
  --secondary-color:#060F37;
  --tertiary-color:#271343;
}

/* ----- RESETEO ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  background-color: var(--secondary-color);
  font-family: "M PLUS Rounded 1c", sans-serif;
  overflow-x: hidden;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 400;
}
main {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
section{
  width: 100%;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
ul{
  list-style: none;
}
.divider {
  width: 40%;
  height: 8px;
  border-radius: 20px 0 0 20px;
  background: var(--blueaccent);
  margin: 20px 0px 30px 120px;
}

.divider-left{
  width: 20%;
  height: 8px;
  border-radius: 0px 20px 20px 0px;
  background: var(--blueaccent);
  margin-bottom: 15px;
}
.titlemedium{
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -3px;
  line-height: 1;
}
.titleblack{
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
}
.capitalize{
  text-transform: capitalize;
}
.uppercase{
  text-transform: uppercase;
}
.subtitle{
  font-size: 1.7rem;
  font-weight: 400;
}
.contrast-bg{
  background: var(--tertiary-color);
}
.subtitle-section{
  font-size:1.2rem;
  margin-bottom: 20px;
}
.slash{
  font-weight: 900;
  color: var(--blueaccent);
  font-size: 1.8rem;
}
.accent{
  color: var(--blueaccent);
}
.datebold{
  font-weight: 900;
}
.flexstart80{
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items:flex-start;
  width:80%;
  height: auto;
}

/* ----- HEADER GENERAL ----- */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  padding: 0 1rem;
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
  align-items: center;
  background:transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}
.main-header .flex80{
  align-items: center;
  margin: 0;
}
.main-header.scrolled {
  background: rgba(6, 15, 55, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.link-active{
  color: var(--blueaccent) !important;
}

/* Logo */
.logo{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.logo img {
  padding-top: 20px;
  width:80%;
}

/* Botón y redes */
.header-right {
  display: flex;
  align-items:center;
  gap: 9rem;
}

/* Botón */
.btn-consultoria {
  background: var(--blueaccent);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-consultoria:hover {
  background: var(--tertiary-color);
}

.btn-consult-desktop{
  display: none;
}

/* Redes */
.socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social:hover {
  color: var(--blueaccent);
  transition: color 0.3s;
}

/* Menú hamburguesa (solo mobile) */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size:12px;
}

.menu-toggle i {
  font-size: 1.5rem;
}

/* ----- MENÚ DESKTOP ----- */
.desktop-menu {
  display: none;
}

.desktop-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.desktop-menu a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}

.desktop-menu a:hover {
  color: var(--blueaccent);
}

/* ----- MENÚ MOBILE ----- */
.mobile-menu {
  position: fixed;
  top:100px;
  width: 80%;
  height: auto;
  border-radius: 20px;
  padding: 30px 0;
  background: var(--tertiary-color);
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
  display:none;
  flex-direction: column;
  justify-content:center;
  align-items: center;
  z-index: 999;
}

.mobile-menu ul {
  width: 100%;
  list-style: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.mobile-menu li {
  width: 90%;
  margin: 5px 0;
  padding-right: 2rem;
}

.mobile-menu a {
  color: var(--primary-color);
  font-size: 2.2rem;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--blueaccent);
}

.btn-consultoria {
  background: var(--blueaccent);
  color:var(--primary-color);
  font-size: 1rem!important;
  padding: 10px 25px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-consultoria:hover {
  background: var(--tertiary-color);
  transition: background 0.3s;
}
.container-cta{
  width: 100%;
  height:60px;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* ----- HERO ----- */
#hero {
  position: relative;
  justify-content: flex-end;
  padding: 2rem 1rem;
  overflow: hidden;
}

/* ----- HERO GRADIENT ANIMADO VERTICAL ----- */
#hero {
  background: linear-gradient(to top,
  rgba(6, 15, 55, 0.9),
  rgba(39, 19, 67, 0.9),
  rgba(10, 22, 79, 0.9),
  rgba(39, 19, 67, 0.9)
);
  background-size: 100% 400%;
  animation: gradientVertical 30s ease infinite;
}

.hero-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-height: 90%;
  z-index: 0;
  filter: drop-shadow(0px 25px 35px rgba(0, 0, 0, 0.7));
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgba(39,19,67,1) 10%, rgba(6,15,55,0)80%);
  z-index: 1;
  width: 100%;
  height: 65%;
}

#hero .flexstart80{
  position: absolute;
  z-index: 10;
  padding-bottom: 3rem;
}

.hero-text {
  width: 100%;
  position: relative;
  z-index: 2;
  line-height: 1.2;
  max-width: 400px;
}
.hero-text p{
  margin-top:2rem;                                                                                                    
}

.scroll-down {
  width: 3rem;
  height: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: var(--blueaccent);
  position:absolute;
  bottom: 1rem;
  right: 10%;
  z-index: 12;
  animation: bounce 2s infinite;
}

.scroll-down i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

#about{
  padding: 60px 0;
}


.container-colums{
  width: 80%;
  height:auto;
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  align-items:flex-start;
  flex-wrap:wrap;
  padding-top: 40px;
}

.column-left{
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.column-left .titlemedium {
  margin-bottom: 30px;
}
.text{
  margin-bottom: 30px;
}

.link-arrow {
  width: 100%;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  justify-content:flex-start;
  align-items: center;
  transition: all 1s ease-in;
  color: var(--primary-color);
  opacity: 1;
}
.arrow{
  margin-left: 10px;
  color: var(--blueaccent);
  font-size: 2.5rem;
  transition: all 1s ease-in;
}
.link-arrow:hover{
  opacity:0.7 ;
  text-decoration: underline;
  transition: all 1s ease-in;
}
.link-arrow:hover .arrow{
  font-size: 2.8rem;
  transition: all 1s ease-in;
}



.column-right{
  width:100%;
  height: auto;
  margin-top: 2rem;
}
.container-list{
  width: 100%;
  height: auto;
}
.container-list .item{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  height: 60px;
}

.number{
  width: 60%;
  word-spacing: -15px;
  letter-spacing: -5px;
  font-weight:900 ;
  font-size: 5rem;
}
.title-item{
  width: 40%;
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: right;
}
.container-list .divider{
  height: 8px;
  margin: 20px 0px 30px 165px;
}

#services{
  padding: 60px 0;
}

.list-container{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-list{
  width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.item-list .list-info{
  width: 100%;
}

.list-name{
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.2;
}
.icon-list{
  width: 141px;
  height: 100px;
  border-radius: 10px;
  background: var(--tertiary-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon-list i{
  font-size: 6rem;
  color: var(--blueaccent);
}


#skills{
  padding: 80px 0;
}

.skills-header {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.skills-header .titlemedium{
  margin-bottom: 30px;
}

/* ----- CONTENEDOR GENERAL ----- */
.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 3rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* ----- CARDS ----- */
.card {
  background-color:var(--secondary-color);
  border-radius: 1rem;
  padding: 3rem 0;
  padding-left: 2.5rem;
  color: #fff;
  flex: 0 0 100%; 
  margin-left: 2rem;
  margin-right:0;
}
.card-image{
  width: 141px;
  height: 100px;
  border-radius: 10px;
  background: var(--tertiary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.card-image img {
  width: 50%;
  height:auto;
}

.card h3 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom:30px;
}

.card p {
  width: 90%;
  color:var(--primary-color);
  min-height: 50px;
}

.card .divider-left {
  width: 20%;
  height: 5px;
  background-color:var(--blueaccent);
  border-radius: 2px;
  margin-top: 1.5rem;
}

/* ----- NAV BUTTONS ----- */
#nextBtn{
  transform: rotate(180deg);
}
.carousel-nav-buttons {
  width: 100%;
  display: flex;
  justify-content:flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  position: relative;
}

.carousel-nav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1b1541;
  border: none;
  color:var(--primary-color);
  font-size: 2rem;
  width: 75px;
  height: 58px;
  border-radius: 10px;
  cursor: pointer;
  padding: 0.7rem 1rem;
  transition: background-color 0.3s ease;
}

.carousel-nav-btn.active,
.carousel-nav-btn:hover {
  background-color:var(--blueaccent);
}


#portfolio{
  padding: 80px 0;
}
.container-project{
  width: 100%;
  height: auto;
  background: var(--tertiary-color);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  align-items:center;
}

.container-labels{
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-top: 30px;
  padding-right: 20px;
}
.label{
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 5px;
  padding: 10px;
  border-radius: 10px;
  border: 3px dotted var(--blueaccent);
}
.label p{
  font-size: 12px;
  margin-left: 5px;
}
.label i{
  font-size: 1rem;
  color: #0836AA;
}

.container-info-project{
  width: 100%;
  height: auto;
  padding: 2rem 0;
}
.name-empresa{
  font-size: 1.2rem;
  margin-bottom: 10px;
  padding-left: 2rem;
}
.description{
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  padding-left: 2rem;
  margin-bottom: 30px;
}
.name-project{
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  padding-left: 2rem;
}

.container-image-project{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.container-image-project img{
  width: 100%;
}

#consultancy{
  justify-content: flex-start;
  padding-bottom: 2rem;
}
.container-image_consultancy{
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.container-image_consultancy .image_consultancy{
  width: 100%;
}

.info-consultancy{
  width: 80%;
  height:  auto;
}

.container-callto{
  width: 85%;
  height: auto;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.callto{
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  margin: 30px 0;
  display: flex;
  flex-direction: row;
}
.cta-tusclases:hover{
  background: var(--blueaccent);
  border-radius: 20px;
  transition: all 1s ease;
}

.footer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height:auto;
  padding: 3rem 0;
}
.footer .column-left{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footer .container-infofooter{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footer .container-image{
  width:150px;
  height: 150px;
  border-radius: 50%;
  background: var(--tertiary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.footer .container-info-project{
  padding: 0;
}
.footer .name{
  width: 100%;
  font-size: 2rem;
  margin-top: 20px;
  margin-bottom: 5px;
}
.footer .profile{
  width: 100%;
  font-size: 1.2rem;
  opacity: 0.6;
  line-height: 1.1;
  margin-bottom:30px;
}
.footer .socials{
  gap: 5rem;
}
.footer .social{
  font-size: 3rem;
}

.footer .column-right{
  margin-top: 0;
}
.footer .link-arrow:hover{ color:var(--blueaccent)!important; transition: all 1s ease;}
.footer .container-divider{
  width: 100%;
  height:auto;
  margin: 40px 0;
  display: flex;
  justify-content:flex-start;
  align-items:center;
}
.footer .divider-left{
  width: 40%;
}
.footer .copy{
  width: 100%;
  text-align: center ;
}


/* ===== BOTÓN IR ARRIBA ===== */
#btn-up {
  position: fixed;
  bottom: 2rem;
  right: 35px;
  background: var(--blueaccent);
  color: #fff;
  border: none;
  border-radius:10px;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1500;
}
#btn-up i{
  font-size: 1.5rem;
  transform: rotate(180deg);
}

#btn-up.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px;
}

#btn-up:hover {
  background-color: #062c8a;
  transform: translateY(-3px);
}


#about_hero {
  justify-content:center;
  text-align:left;
  padding: 90px 0;
  overflow: hidden;
}

.container-hcards{
  width: 100%;
  height: 90px;
  display: inline-flex;
  justify-content:flex-start;
  align-items: center;
}
.hcard{
  width: 80%;
  height: 80px;
  padding:0 1rem;
  border-radius: 10px;
  background: var(--tertiary-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.hcard .number{
  width: 50%;
  font-size: 3rem;
  word-spacing:2px;
}
.hcard .title-item{ 
  width: 50%;
  font-size: 1rem;
}
.about-image{
  width: 100%;
  filter: drop-shadow(0px 0px 40px rgba(8, 54, 170, 0.7));
}


#experience {
  justify-content:center;
  text-align:left;
  padding: 90px 0;
  overflow: hidden;
}
.list-arsenal{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: auto;
}
.list-arsenal li{
  width: 100%;
  margin: 20px 0;
}
#experience .subtitle{
  margin-bottom: 20px;
}
.container-skills{
  width: 100%;
  height: auto;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content:flex-start;
  align-items: flex-start;
}
.skill-name{
  width: auto;
  margin-right:20px;
  margin-bottom: 15px;
  font-size: 2rem;
  font-weight: 900;
}


#experience .container-hcards{
  width: 100%;
  height: auto;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
#experience .hcard{
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
  text-align: center;
}
#experience .hcard .number{
  width: 100%;
}


#clients{
  padding: 2rem 0;
  justify-content: center;
  align-items: center;
}
.container-flex80{
  width: 80%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#clients .titlemedium{
  text-align: center;
}
.container-list{
  width: 100%;
  height: auto;
  margin-top: 20px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.container-list .container-logo{
  width: 40%;
  height: auto;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 5px;
  mix-blend-mode: luminosity;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container-list .container-logo img{
  width: 100%;
}

#experience-work, #experience-edu{
  padding: 3rem 0;
}
.flex80{
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content:center;
  align-items:flex-start;
  margin-top: 2rem;
}
.flex80 .divider-left{
  margin: 30px 0;
}
.date{
  font-size: 12px;
  margin-bottom: 10px;
}

#experience-work .icon-list img, #experience-edu .icon-list img{
  width: 75%;
}

#tools{
  padding:3rem 0;
}


#portfolio-projects{
  padding: 3rem 0;
}
#portfolio-projects .container-project{
  background: transparent;
  width: 100%;
  min-height: 650px;
}
#portfolio-projects .divider-left{
  margin-top: 30px;
  margin-bottom: 30px;
}
#portfolio-projects .info-project{
  width: 100%;
  height: auto;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items:flex-start;
  padding: 3rem 0;
}
#portfolio-projects .container-labels{
  justify-content: flex-start;
  padding-left: 2rem;
}
#portfolio-projects .name-empresa{
  font-size: 0.75rem;
}
#portfolio-projects .name-project{
  margin-bottom:30px;
}
.slider {
  position: relative;
  width: 100%;
  height:auto;
  overflow: hidden;
}

/* --- Slides base --- */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 100%;
  opacity: 0;
  transition: all 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 3rem;
}
.slide .text{
  margin-top: 10px;
  padding-left: 2rem;
  width: 90%;
  margin-bottom: 10px;
}
.slide.active {
  left: 0;
  opacity: 1;
}

.slide.prev {
  left: -100%;
}

.slide.next {
  left: 100%;
}

.slider-nav-buttons{
  position: absolute;
  top: 110px;
  right: 20px;
  display: flex;
  justify-content:flex-end;
  align-items: center;
  gap: 10px;
  margin-top:2.5rem;
}
#nextSlide i{
  transform:rotate(180deg) ;
}

