/*
Theme Name: manservimos
Author: Keiler
Version: 1.0
*/

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #003366;
}

.logo span {
  color: #0a0a0a;
  font-weight: bold;
}

/* Ajuste del tamaño del logo en el encabezado */
.logo img {
  width: 140px;   /* Cambia este valor según el tamaño deseado */
  height: auto;   /* Mantiene las proporciones */
  object-fit: contain;  /* Evita deformaciones */
  display: block;
}

.menu-principal{
  display:flex;
  gap:20px;
  list-style:none;
}

.navbar {
  display: flex;
  justify-content: center; /* space-between; */
  align-items: center;
  padding: 1rem 5%;
  background: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  gap: 40px; /* espacio entre logo y menú */

}

.navbar nav a {
  margin: 0 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.navbar nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar nav ul li {
  margin-right: 20px;
}

.navbar nav ul li a {
  text-decoration: none;
  font-weight: bold; /*500;*/
  color: #333;
}

body {
  padding-top: 70px;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #222;
}

/* HERO */

.hero {
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Overlay oscuro */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  top: 0;
  left: 0;
}

/* Contenido encima del overlay */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero h1 span {
  color: #4da6ff;
}

.hero p {
  margin-top: 20px;
  font-size: 1.1rem;
}

/* BOTONES */

.btn-primary {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 25px;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* SECCIONES */

section {
  padding: 5rem 10%;
  text-align: center;
}

.cards-container {
  display: flex;
  gap: 20px;              /* espacio entre tarjetas */
  justify-content: center;
  flex-wrap: wrap;        /* para que sea responsive */
}

.pqrs-section,
.empl-section {
  flex: 1 1 300px;       /* ancho flexible */
  max-width: 400px;
}

/* ABOUT */

.about {
  background: #f8f9fa;
}

/* SERVICES */

.services {
  background: #ffffff;
}

.slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-container {
  width: 70%;
  max-width: 700px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  text-align: center;
}

.slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

.slider-btn {
  background: #003366;
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
}

.slider-btn:hover {
  background: #9b1c1c;
}

/* ================= LOGIN ================= */
.login-wrapper{
display:flex;
justify-content:center;
align-items:center;
height:100vh;
background:linear-gradient(135deg,#003366,#001a33);
}

.login-card{
background:#fff;
padding:55px;
border-radius:18px;
width:400px;
box-shadow:0 30px 70px rgba(0,0,0,0.25);
text-align:center;
animation:fadeIn .5s ease;
}

.login-card h2{
color:#003366;
margin-bottom:30px;
font-weight:600;
}

.login-card input{
width:100%;
padding:15px;
margin-bottom:15px;
border-radius:10px;
border:1px solid #d9e1ec;
font-size:14px;
transition:0.3s;
}

.login-card input:focus{
outline:none;
border-color:#003366;
box-shadow:0 0 0 3px rgba(0,51,102,0.1);
}

.login-card button{
width:100%;
padding:15px;
background:#003366;
color:#fff;
border:none;
border-radius:10px;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.login-card button:hover{
background:#0055a5;
transform:translateY(-2px);
}

/* PORTAL */

.portal {
  background: #f1f3f5;
  padding: 4rem 10%;
}

.portal h2 {
  margin-bottom: 20px;
}

.slider-sst {
  position: relative;
  display: flex;
  align-items: center;
}

.slider-container-sst {
  overflow: hidden;
  width: 70%;
}

.slider-btn-sst {
  background: #003366;
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
}

.slider-btn-sst:hover {
  background: #012c57;
}

.qr-sst {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-sst img {
  max-width: 280px;
  height: auto;
}


/* FOOTER */

.footer {
  background: #003366;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 300px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.company-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 15px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

.company-name {
  font-weight: 700;
  font-size: 1rem;
  color: #222;
}

.company-nit {
  font-weight: 500;
  font-size: 0.85rem;
  color: #555;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 2px 8px;
  margin-top: 4px;
  display: inline-block;
}
/* ============================= */
/* HERO MEJORADO */
/* ============================= */

.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero span {
    color: #003366;
}

.btn-primary {
    background: #003366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #002244;
}


/* ============================= */
/* SECCIONES */
/* ============================= */

.about, .services, .portal {
    padding: 60px 20px;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: auto;
}


/* ============================= */
/* PORTAL */
/* ============================= */

.portal {
    background: #f5f5f5;
}

.portal h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ============================= */
/* PQRS PRO */
/* ============================= */

.pqrs-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background: #f9f9f9;
}

.pqrs-card {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 600px;
    width: 100%;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #003366;
}

.pqrs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.pqrs-icon img {
    width: 70px;
}

.pqrs-content h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #003366;
}

.pqrs-content p {
    margin: 5px 0;
    color: #555;
    font-size: 14px;
}

.pqrs-link {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-top: 5px;
    display: inline-block;
    transition: 0.3s;
}

.pqrs-card:hover .pqrs-link {
    color: #003366;
}

/* ============================= */
/* EMPLEADOS PRO */
/* ============================= */

.empl-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background: #f9f9f9;
}

.empl-card {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 600px;
    width: 100%;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #003366;
}

.empl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.empl-icon img {
    width: 100px;
}

.empl-content h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #003366;
}

.empl-content p {
    margin: 5px 0;
    color: #555;
    font-size: 14px;
}

.empl-link {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-top: 5px;
    display: inline-block;
    transition: 0.3s;
}

.empl-card:hover .empl-link {
    color: #003366;
}

/* ============================= */
/* NIVEL EMPRESA TOP */
/* ============================= */

/* NAVBAR SCROLL EFECTO */
.navbar.scrolled{
  background:#ffffff;
  box-shadow:0 8px 25px rgba(0,0,0,0.1);
  transition:0.3s;
}

/* HERO ANIMADO */
.hero-content{
  animation:fadeUp 1s ease;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* BOTONES PRO */
.hero-buttons{
  display:flex;
  gap:15px;
  justify-content:center;
  flex-wrap:wrap;
}

/* STATS */
.stats{
  display:flex;
  justify-content:center;
  gap:60px;
  background:#003366;
  color:#fff;
  padding:60px 20px;
  text-align:center;
}

.stat h3{
  font-size:2.2rem;
}

.stat p{
  opacity:0.8;
}

/* HOVER PRO CARDS */
.card{
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  width:100%;
  height:4px;
  background:#003366;
  top:0;
  left:0;
}

/* ANIMACIÓN SCROLL */
.fade-in{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.6s ease;
}

.fade-in.visible{
  opacity:1;
  transform:translateY(0);
}

/* CTA PRO */
.cta{
  background:linear-gradient(135deg,#003366,#001a33);
  color:#fff;
  text-align:center;
  padding:80px 20px;
}

.cta h2{
  margin-bottom:20px;
  color:#0f0f0f00;
}

/* MICROINTERACCIONES */
a, button{
  transition:all 0.25s ease;
}

/* SCROLL SUAVE */
html{
  scroll-behavior:smooth;
}