/* Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos principales */
html, body{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7em;
}

a{
  color: #333;
  text-decoration: none;
}

h1, h2, h3{
  padding-bottom: 10px 0;
}

p{
  margin: 10px 0;
}

/* Utilidades */
.container{
margin: auto;
max-width: 1100px;
overflow: auto;
padding: 0 20px;
}

.clr{
  clear: both;
}

/* padding */
.py-1{
  padding: 10px 0;
}

.py-2{
  padding: 20px 0;
}

.py-3{
  padding: 30px 0;
}

.btn{
  display: inline-block;
  font-size: 16px;
  color: #ffffff;
  background: #333;
  padding: 13px 20px;
  border: none;
  cursor: pointer;
}

.lead{
  font-size: 20px; 
  color: #f1ee06;
}

.text-primary{
  color: #f15050;
}

.btn:hover{
  background: #1ddd95;
  color: #333;
}

/* Navegación */
#navbar{
  position:sticky;
  top:0;
  background: lab(16.22% 0.46 0.16);
  color: #fff;
  overflow: auto;
  z-index: 9999;
 
}

#navbar a{
  color: #f3dddd;
}

#navbar h1{
  float: left;
  padding-top: 20px;
  color: #252323;
  
}

#navbar ul{
  list-style: none;
  float: right;
}

#navbar ul li{
  float: left;
}

#navbar ul li a{
  display: block;
  padding: 20px;
  text-align: center;
}

#navbar ul li a:hover,#navbar ul li a.current{
  background: #1ddd95;
  color: #000;
}

/* Showcase */
#showcase{
  background: url('../img/bg-1.jpg') no-repeat center center/cover;
  opacity: 0.8;
  height: 600px;
 
}

#showcase .showcase-content{
  color: white;
  text-align: center;
  padding-top: 170px;
}

#showcase .showcase-content h1{
  font-size: 60px;
  line-height: 1.2em;
}

#showcase .showcase-content p{
  padding-bottom: 20px;
  line-height: 1.7em;
}

/* Home */
#home-info{
  height: 400px;
}

#home-info .info-img{
  float: left;
  width: 50%;
  background: url('../img/mantenimiento-de-ups-en-peru.jpg') no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 100%;
}

#home-info .info-content{
  float: right;
  width: 50%;
  height: 100%;
  text-align: center;
  padding: 50px 30px;
  overflow: hidden;
}

/* Features */
.box{
  float: left;
  width: 33.3%;
  padding: 50px;
  text-align: center;
}

.box i{
  margin-bottom: 20px;
}
.bg-gray{
  background: #cfcfcf;
  color: #333;
}

.bg-light{
  background: #f4f4f4;
  color: #333;
}

.bg-primary{
  background: #1ddd95;
  color: #333;
 
}


/* Footer */
#main-footer{
  text-align: center;
  background: #000;
  color: #fff;
  padding: 20px;
}

/* Empresa */
#about-info .info-right{
  float: right;
  width: 50%;
  min-height: 100%;
}

#about-info .info-right img{
  display: block;
  margin: auto;
  width: 70%;
  border-radius: 50%;
}

#about-info .info-left{
  float: left;
  width: 50%;
  min-height: 100%;
}

.l-heading{
  font-size: 40px;
}

/* Testimonios */
#testimonials{
  height: 100%;
  background: url('../img/mantenimiento-de-ups.jpg') no-repeat center center/cover;
  padding-top: 100px;
}

#testimonials h2{
  color: white;
  text-align: center;
  padding-bottom: 40px;
}

#testimonials .testimonial{
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 5px;
  opacity: 0.9;
}

#testimonials .testimonial img{
  width: 100px;
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

/* Contacto */
#contact-form .form-group{
  display: block;
  margin-bottom: 5px;
}

#contact-form label{
  display: block;
  margin-bottom: 5px;
  
}

#contact-form input, #contact-form textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
}

#contact-form textarea{
  height: 200px;
}

#contact-form input:focus,
#contact-form textarea:focus{
  margin-right: 5px;
  margin-left: 5px;
  outline: none;
  border-color: #2ddd1d;
 
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.whatsapp img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.whatsapp img:hover {
  transform: scale(1.1);
}

/* Estilo del texto emergente */
.tooltip {
  visibility: hidden;
  opacity: 0;
  margin-right: 10px;
  padding: 6px 10px;
  background-color: #153dac;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.3s;
}

/* Mostrar texto al pasar el mouse */
.whatsapp:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* contador de visitas*/
.contador {
  margin: 20px auto;
  padding: 15px 20px;
  max-width: 400px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  background: #f0f8ff;
  border: 2px solid #25d366;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  color: #333;
}

.contador .numero {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: bold;
  color: #d3b325; /* Verde estilo WhatsApp */
}

/* Botones de redes sociales */
.social-left {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display:flex;
  flex-direction:column;
  gap: 12px;
  z-index: 200;
}

.social-left a {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
}

/* Colores oficiales */
.social-left .tiktok { background: #000000; }
.social-left .linkedin { background: #0e76a8; }
.social-left .facebook { background: #1877f2; }

.social-left a:hover {
  transform: scale(1.2);
  opacity: 0.9;
}

