/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.google.com/share?selection.family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --white-color: hsl(0, 100%, 100%);
  --black-color: hsl(0, 100%, 100%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Kanit", sans-serif;
  --biggest-font-size: 2rem;
  --big-font-size: 1.5rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4rem;
    --big-font-size: 3rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.main {
    overflow: hidden;
  }
  

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--black-color);
  color: var(--white-color);
  margin: 0; 
  padding: 0;
}

.header::before {
    content: " ";
    display: block;
    margin-bottom: 80px;
}


.header-hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}

.header-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 105%;
    background-image: linear-gradient(180deg, #0182ec93 0%, #0000008c 100%), url('../img/abajo\ inio\ 2.jpeg');
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
}

header::before {
    content: " ";
    display: block;
    margin-bottom: 80px;
}

/*Particulas JS diseño*/
#particles-js{
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -1;
}



/* Hero container */
/* Ensure z-index of hero__container is above particles.js */
.hero__container {
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
    margin-top: 10%; /* Adjusted margin */
    margin-left: auto; /* Centered the container */
    margin-right: auto; /* Centered the container */
    z-index: 1; /* Ensure it's above particles.js */
    position: relative;
}

/* Add background and adjustments to make text visible */
.header-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 105%;
    background-image: linear-gradient(180deg, #0182ec93 0%, #0000008c 100%), url('../img/servicios miguel castillo-Photoroom.jpg');
    background-size: cover;
    background-attachment: fixed;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
}

.titulo-1{
    justify-content: center;
    text-align: center;
    margin-top: 15%;
    font-size: var(--big-font-size);
}

.parrafo-box{
    margin-top: 17%;
}
.parrafo-2{
    justify-content: center;
    text-align: center;
    margin-right: 2%;
    font-size: var(--h3-font-size);
}

.cta {
    background-color: #2091F9;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
    z-index: 1;
    margin-left: 44%;
    
}

.cta-pro{
  background-color: #2091F9;
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 32px;
  z-index: 1;
  margin-left: 39%;
}

/*Prueba de animacion*/

.animacion-zoom {
  opacity: 0;
  transform: scale(0.5);
  transition: all 1s ease-in-out;
}

.animacion-zoom.show {
  opacity: 1;
  transform: scale(1);
}




/*NAV-BAR O Barra de navegación*/

.nav {
    position: fixed;
    height: var(--header-height);
    display: flex;
    justify-content:space-around;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.692),rgba(0, 110, 255, 0.671)); /* Fondo oscuro opaco */
    width: 100%;
    transition: top 0.3s ease; /* Transición suave */
    z-index: 100;
    
  }
  
.nav__logo img{
  width: 113px;
  margin-top: 5px;

}
     
  .nav__close, 
  .nav__toggle {
    display: flex;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  /* Navigation for mobile devices */
  @media screen and (max-width: 1150px) {
    .nav__menu {
      position: fixed;
      left: -100%;
      top: 0;
      background-color: rgba(0, 110, 235, 0.315);
      width: 100%;
      height: 100%;
      padding: 6rem 3.5rem 4.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: left .4s;
      backdrop-filter: blur(5px); /*Para el efecto BLUR es necesario dejar el background con el RGBA y el color ya se modifica a gusto :3*/
    }
  
    .nav__item {
      transform: translateX(-150px);
      visibility: hidden;
      transition: transform .4s ease-out, visibility .4s;
    }
  
    .nav__item:nth-child(1) {
      transition-delay: .1s;
    }
    .nav__item:nth-child(2) {
      transition-delay: .2s;
    }
    .nav__item:nth-child(3) {
      transition-delay: .3s;
    }
    .nav__item:nth-child(4) {
      transition-delay: .4s;
    }
    .nav__item:nth-child(5) {
      transition-delay: .5s;
    }
  }
  
  .nav__list, 
  .nav__social {
    display: flex;
  }
  
  .nav__list {
    flex-direction: column;
    row-gap: 3rem;
  }
  
  .nav__link {
    position: relative;
    color: var(--white-color);
    font-size: var(--h1-font-size);
    font-weight: var(--font-semi-bold);
    display: inline-flex;
    align-items: center;
    transition: opacity .4s;
  }
  
  .nav__link i {
    font-size: 2rem;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
  }
  
  .nav__link span {
    position: relative;
    transition: margin .4s;
  }
  
  .nav__link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--white-color);
    transition: width .4s ease-out;
  }
  
  /* Animation link on hover */
  .nav__link:hover span {
    margin-left: 2.5rem;
  }
  
  .nav__link:hover i {
    opacity: 1;
    visibility: visible;
  }
  
  .nav__link:hover span::after {
    width: 100%;
  }
  
  /* Sibling fade animation */
  .nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
    opacity: .4;
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }
  
  .nav__social {
    column-gap: 1rem;
  }
  
  .nav__social-link {
    color: var(--white-color);
    font-size: 1.5rem;
    transition: transform .4s;
  }
  
  .nav__social-link:hover {
    transform: translateY(-.25rem);
  }
  
  /* Show menu */
  .show-menu {
    left: 0;
  }
  
  /* Animation link when displaying menu */
  .show-menu .nav__item {
    visibility: visible;
    transform: translateX(0);
  }

  .scroll-up {
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.scroll-down {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

  
  
  /* Show menu */
  
  .show-menu{
    right: 0;
  }

  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
  }

  
  /*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
    .container {
      margin-inline: auto;
    }
  
   
    .nav__toggle, 
    .nav__close {
      display: none;
    }
  
    .nav__link {
      font-size: var(--normal-font-size);
    }
  
    .nav__link i {
      font-size: 1.5rem;
    }
  
    .nav__list {
      flex-direction: row;
      column-gap: 3.5rem;
    }
  
    .nav__menu {
      display: flex;
      align-items: center;
      column-gap: 3.5rem;
    }
  }

  /*=============== BREAKPOINTS ===============*/
/* For medium devices */

@media screen and (min-width: 768px) {

    .nav__menu{
      width: 50%;
    }
    
  }
  
  
  /* For large devices */
  
  @media screen and (min-width: 1150px) {
  
    .nav{
      height: calc(var(--header-height) + 1rem);
    }
  
    .nav__toggle,
    .nav__close{
      display: none;
    }
  
    .nav__menu{
      width: initial;
    }
    .nav__list{
      flex-direction: row;
      column-gap: 4rem;
    }
  

  }







  /*=====RESPONSIVE======*/

  @media screen and (max-width:600px) {

    .header-hero::before {  
      
      background-position: center;  
  }

    .titulo-1{
      margin-top: 210px;
    }
  
    .parrafo-box{
      margin-top: 210px;
    }

    .cta{
      margin-left: 38%;
    }

   .center{
    display: none;
   }
  }

  @media screen and (max-width: 800px) {
    /* results */



  /*Scroller infinity*/



  /* About us */


}

@media screen and (max-width: 500px) {

  /* ABOUT US */
  
}









/*=====Nuevo footer para la parte de inicio======*/

footer{
  width: 100%;
  background: linear-gradient(to right,#00093c, #152c3b);
  color: #fff;
  padding: 50px 0 30px;
  font-size: 13px;
  line-height: 20px;
}
.row{
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.col{
  flex-basis: 25%;
  padding: 10px;
}
.col:nth-child(2), .col:nth-child(3){
  flex-basis: 15%;
}
.footer_logo{ /*El general y la 45001*/
  width: 90px;
  position: relative;
  top: -20px;
  left: -18px;
}
/*individualizar logos ISO*/


.footer_logo:nth-child(1){ /*ISO 9001*/
  width: 270px;
  left: -68px;
}

.footer_logo:nth-child(2){ /*ISO 45001*/
  width: 20px;
  
}

.footer_logo:nth-child(3){ /*ISO 14001*/
  margin-left: 7px;
  width: 80px;
}

.footer_about-codigo{
  position: relative;
  top: -50px;
  margin-left: 2px;
  font-weight: 500;
}


.footer_about{
  position: relative;
  top: -23px;
}
.col h3{
  width: fit-content;
  margin-bottom: 40px;
  position: relative;
}
.footer_email{
  width: fit-content;
  border-bottom: 1px solid #34a1fa;
  margin: 20px 0;
}
.col ul li{
  list-style: none;
  margin-bottom: 12px;
}
.col ul li a{
  text-decoration: none;
  color: #fff;
}
.col form{
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1379ff;
  margin-bottom: 50px;
}
.col form .icon{
  font-size: 18px;
  margin-right: 10px;
}
.col form input{
  width: 100%;
  background: transparent;
  color: #ccc;
  border: 0;
  outline: none;
}
.col form button{
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}
.col form button .icon_right{
  font-size: 16px;
  color: #ccc;
}
.col .social_icons .social_icon{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(to top,rgb(0, 102, 255), rgb(34, 34, 34));
  margin-right: 15px;
  padding: 5px;
  cursor: pointer;
}
hr{
  width: 90%;
  border: 0;
  border-bottom: 1px solid #ccc;
  margin: 20px auto;
}
footer .copyright{
  text-align: center;
}
.bottom_line{
  width: 100%;
  height: 5px;
  background: #767676;
  border-radius: 3px;
  position: absolute;
  top: 25px;
  left: 0;
  overflow: hidden;
}
.bottom_line span{
  width: 15px;
  height: 100%;
  background: #3572f6;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moveline 2s linear infinite;
}
@keyframes moveline{
  0%{
      left:-20px;
  }
  100%{
      left:100%;
  }
}

@media (max-width:500px){
  .bottom_line{
    margin-top: 19px;
  }
}
/*Estructura de la parte de informacion de los servicios matrix telcom*/


/* End Hero Section */

.service-top p{
  color: black;
}
.service-top .section-title  {
	font-size: 50px;
	font-weight: 300;
	color: black;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	text-align: center;
}

.projects-header .section-title{
  font-size: 40px;
	font-weight: 300;
	color: black;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	text-align: center;

}



.section-title span {
	color: rgb(3, 91, 255);
}
img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

/* Services Section */

.palabras-clave{
  color: #1379ff;
  font-size: 20px;
  font-weight: 600;
}
#services .services {
	flex-direction: column;
	text-align: center;
	max-width: 1500px;
	margin: 0 auto;
	padding: 100px 0;
}
#services .service-top {
	max-width: 500px;
	margin: 0 auto;
}
#services .service-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 50px;
}
#services .service-item {
	flex-basis: 80%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: 30px;
	border-radius: 10px;
	background-image: url(../img/Cables\ organizados\ 1.jpeg);
	background-size: cover;
	margin: 10px 5%;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

#services .service-item:nth-child(1){
  background-image: url(../img/Estante\ de\ productos\ 1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

#services .service-item:nth-child(3){
  background-image: url(../img/CAPACITACIÓN.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 20% 80%;
}

#services .service-item:nth-child(4){
  background-image: url(../img/IMG_0512.JPG);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left;
}
#services .service-item::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-image: linear-gradient(60deg, #17191b91 0%, #060607 100%);
	opacity: 0.9;
	z-index: -1;
}
#services .service-bottom .icon {
	height: 80px;
	width: 80px;
	margin-bottom: 20px;
}
#services .service-item h2 {
	font-size: 18px;
	color: white;
	margin-bottom: 10px;
	text-transform: uppercase;
}
#services .service-item p {
	color: white;
	text-align: left;
  font-size: 16px;
  font-weight: 530;
  line-height: 1.3;
}
/* End Services Section */

/* Projects section */
#projects .projects {
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 0;
}
#projects .projects-header h1 {
	margin-bottom: 50px;
}
#projects .all-projects {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
#projects .project-item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 80%;
	margin: 20px auto;
	overflow: hidden;
	border-radius: 10px;
}
#projects .project-info {
	padding: 30px;
	flex-basis: 50%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	background-image: linear-gradient(60deg, #0e7bf7 0%, #485563 100%);
	color: white;
}
#projects .project-info h1 {
	font-size: 2rem;
	font-weight: 500;
}
#projects .project-info h2 {
	font-size: 1.8rem;
	font-weight: 500;
	margin-top: 10px;
}
#projects .project-info p {
	color: white;
}
#projects .project-img {
	flex-basis: 50%;
	height: 300px;
	overflow: hidden;
	position: relative;
}
#projects .project-img:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-image: linear-gradient(60deg, #29323c6b 0%, #485563 100%);
	opacity: 0.7;
}
#projects .project-img img {
	transition: 0.3s ease transform;
}
#projects .project-item:hover .project-img img {
	transform: scale(1.1);
}

/*video*/
#projects .project-video {
	flex-basis: 50%;
	height: 400px;
	overflow: hidden;
	position: relative;
}
#projects .project-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s ease transform;
}
#projects .project-item:hover .project-video video {
	transform: scale(1.1);
}
/* End Projects section */
/* End Projects section */


/* Keyframes */
@keyframes hamburger_puls {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.4);
	}
}
@keyframes text_reveal_box {
	50% {
		width: 100%;
		left: 0;
	}
	100% {
		width: 0;
		left: 100%;
	}
}
@keyframes text_reveal {
	100% {
		color: white;
	}
}
@keyframes text_reveal_name {
	100% {
		color: crimson;
		font-weight: 500;
	}
}
/* End Keyframes */

/* Media Query For Tablet */
@media only screen and (min-width: 768px) {
	.cta {
		font-size: 2.5rem;
		padding: 20px 60px;
	}
	h1.section-title {
		font-size: 6rem;
	}

	/* End Hero */

	/* Services Section */
	#services .service-bottom .service-item {
		flex-basis: 45%;
		margin: 2.5%;
	}
	/* End Services Section */

	/* Project */
	#projects .project-item {
		flex-direction: row;
	}
	#projects .project-item:nth-child(even) {
		flex-direction: row-reverse;
	}
	#projects .project-item {
		height: 400px;
		margin: 0;
		width: 100%;
		border-radius: 0;
	}
	#projects .all-projects .project-info {
		height: 100%;
	}
	#projects .all-projects .project-img {
		height: 100%;
	}
	/* End Project */

	/* About */
	#about .about {
		flex-direction: row;
	}
	#about .col-left {
		width: 600px;
		height: 400px;
		padding-left: 60px;
	}
	#about .about .col-left .about-img::after {
		left: -45px;
		top: 34px;
		height: 98%;
		width: 98%;
		border: 10px solid crimson;
	}
	#about .col-right {
		text-align: left;
		padding: 30px;
	}
	#about .col-right h1 {
		text-align: left;
	}
	/* End About */

	
}
/* End Media Query For Tablet */

/* Media Query For Desktop */
@media only screen and (min-width: 1200px) {
	/* header */

	/* End header */

	#services .service-bottom .service-item {
		flex-basis: 22%;
		margin: 1.5%;
	}
}
/* End  Media Query For Desktop */


/*Seccion de las card para los diseñoos*/
:root {
  --bg: #1E1F26;
  --black: #262626;
  --white: #fff;
  --gray: #b1b1b1;
  --time: 300ms;
}
.botones-3D {
  display: flex;
  justify-content: space-around;
}
.botones-3D-2 {
  list-style: none;
  margin: 0 20px;
}
.fas {
  font-size: 40px;
  padding: 0 25px;
}
.botones-3D-3 {
  text-decoration: none;
  font-size: 20px;
  color: var(--black);
  display: flex;
  align-items: center;
  width:215px;
  height: 90px;
  background: var(--white);
  transform: rotate(-30deg) skew(25deg);
  box-shadow: -20px 20px 10px rgba(0,0,0,.5);
  transition: var(--time);
}
.botones-3D-3:before,
.botones-3D-3:after {
  content: '';
  position: absolute;
  background: var(--gray);
  transition: var(--time);
}
.botones-3D-3:before {
  top:10px;
  left:-20px;
  height:100%;
  width:20px;
  transform: rotate(0deg) skewY(-45deg);
}
.botones-3D-3:after {
  bottom:-20px;
  left:-10px;
  height:20px;
  width:100%;
  transform: rotate(0deg) skewX(-45deg);
}
.botones-3D-3:hover {
  transform: rotate(-30deg) skew(25deg) translate(20px,-15px);
  box-shadow: -50px 50px 50px rgba(0,0,0,.5);
  color: var(--white);
}


/* Diseño */
.botones-3D-2:hover:nth-child(1) a{
  background: #0846ca;
}
.botones-3D-2:hover:nth-child(1) a:before{
  background: #365492;
}
.botones-3D-2:hover:nth-child(1) a:after{
  background: #4a69ad;
}

/* Innovación */
.botones-3D-2:hover:nth-child(2) a{
  background: #00aced;
}
.botones-3D-2:hover:nth-child(2) a:before{
  background: #097aa5;
}
.botones-3D-2:hover:nth-child(2) a:after{
  background: #53b9e0;
}

/* Fabricación */
.botones-3D-2:hover:nth-child(3) a{
  background: #C03B78;
}
.botones-3D-2:hover:nth-child(3) a:before{
  background: #a5215c;
}
.botones-3D-2:hover:nth-child(3) a:after{
  background: #d34583;
}

/*Flex direction de los botones 3D*/

@media screen and (max-width:600px) {
  
  .botones-3D{
    flex-direction: column;
  }

  .botones-3D-2{
    height: 160px;
    margin-left: 160px;
  }

}

/*Servicios 2*/

.section-title-2{
  
  font-size: 40px;
  font-weight: 300;
  color: rgb(245, 245, 245);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-align: center;
}

.section-title-2 span {
	color: rgb(3, 91, 255);
}

.servicios{
  background-image: linear-gradient(rgba(0, 0, 0, 0.2),
  rgba(0, 0, 0, 0.788)),
  url(../img/mIGUEL\ PELUQUEADO.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 100px 0;
}

.servicios-content{
  text-align: center;
}

.servicios-group{
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}




/*Diseño de los botones desplegables*/
/* Dropdown Button */
.nav__link.dropdown-toggle {
  background-color: #00000000; /* Black background */
  color: #fff; /* White text */
  border-radius: 20px;
  border: none; /* No border */
  cursor: pointer; /* Pointer cursor on hover */
}

/* Dropdown Content (Hidden by Default) */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #000; /* Black background */
  min-width: 60px;
  border-radius: 20px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.021);
  z-index: 1;
}

.dropdown-item{
  position: relative;
    color: var(--white-color);
    font-size: var(--h1-font-size);
    font-weight: var(--font-semi-bold);
    display: inline-flex;
    align-items: center;
    transition: opacity .4s;
    padding: 20px;
}

/* Show the dropdown menu on hover */
.nav__link.dropdown-toggle:hover.dropdown-menu {
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-item:hover {
  background-color: #007bff; /* Blue background */
  color: #fff; /* White text */
  border-radius: 20px;
}




 










