/**
* Template adaptado para GESI S.A.
* Estilos para empresa de seguridad privada
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  margin: 0;
}

a {
  color: #2c5a8a;
}

a:hover {
  color: #4e9ed3;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  color: #2c5a8a;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  right: 15px;
  bottom: 15px;
  background: #2c5a8a;
  color: #fff;
  transition: display 0.5s ease-in-out;
  z-index: 99999;
}

.back-to-top i {
  font-size: 24px;
  position: absolute;
  top: 7px;
  left: 8px;
}

.back-to-top:hover {
  color: #fff;
  background: #4e9ed3;
  transition: background 0.2s ease-in-out;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  height: 70px;
  padding: 10px 0;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 60px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-menu,
.nav-menu * {
  margin: 0;
  padding: 5px 0;
  list-style: none;
}

.navbar-center {
  position: absolute;
  left: 50%;
  transform: translatex(-50%);
}

.nav-menu > ul > li {
  width: auto;
  position: relative;
  white-space: nowrap;
  float: left;
  margin-top: -10px;
  background: #ffffff; /* cambiar color*/
}

.nav-menu a {
  display: flex;
  position: relative;
  color: #1b50b3;
  padding: 12px 10px;
  transition: 0.3s;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
}

.nav-menu a:hover,
.nav-menu .active > a,
.nav-menu li:hover > a {
  background: rgba(16, 64, 126, 0.445);
  text-decoration: none;
}

.header-scrolled .nav-menu > ul > li {
  background: none;
}

.header-scrolled .nav-menu a {
  color: #2c5a8a;
}

.header-scrolled .nav-menu a:hover,
.header-scrolled .nav-menu .active > a,
.header-scrolled .nav-menu li:hover > a {
  background: rgba(102, 148, 207, 0.445);
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(48, 69, 117, 0.637);
  transition: ease all 0.3s;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #2e86c1;
}

.nav-menu .drop-down ul a:hover,
.nav-menu .drop-down ul .active > a,
.nav-menu .drop-down ul li:hover > a {
  color: #36393a;
}

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  content: "\eaa0";
  font-family: IcoFont;
  position: absolute;
  right: 15px;
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1.5;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #2e86c1;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #1e6481;
  padding: 30px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #1d3333;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(30, 48, 56, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  /*background: url("../img/img6.jpeg") top center;*/
  background-size: cover;
  position: relative;
  text-align: center;
}

#hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 15px;
}

#hero h1 {
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  text-shadow: -2px -2px 0 #19191a,
    /* Borde superior izquierdo */ 2px -2px 0 #19191a,
    /* Borde superior derecho */ -2px 2px 0 #19191a,
    /* Borde inferior izquierdo */ 2px 2px 0 #19191a,
    /* Borde inferior derecho */ -2px 0px 0 #19191a,
    /* Borde izquierdo */ 2px 0px 0 #19191a,
    /* Borde derecho */ 0px -2px 0 #19191a,
    /* Borde superior */ 0px 2px 0 #19191a; /* Borde inferior */
}

#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 600;
  text-shadow: -2px -2px 0 #19191a,
    /* Borde superior izquierdo */ 2px -2px 0 #19191a,
    /* Borde superior derecho */ -2px 2px 0 #19191a,
    /* Borde inferior izquierdo */ 2px 2px 0 #19191a,
    /* Borde inferior derecho */ -2px 0px 0 #19191a,
    /* Borde izquierdo */ 2px 0px 0 #19191a,
    /* Borde derecho */ 0px -2px 0 #19191a,
    /* Borde superior */ 0px 2px 0 #19191a; /* Borde inferior */
}

#hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 40px;
  max-width: 800px;
  text-shadow: -2px -2px 0 #19191a,
    /* Borde superior izquierdo */ 2px -2px 0 #19191a,
    /* Borde superior derecho */ -2px 2px 0 #19191a,
    /* Borde inferior izquierdo */ 2px 2px 0 #19191a,
    /* Borde inferior derecho */ -2px 0px 0 #19191a,
    /* Borde izquierdo */ 2px 0px 0 #19191a,
    /* Borde derecho */ 0px -2px 0 #19191a,
    /* Borde superior */ 0px 2px 0 #19191a; /* Borde inferior */
}

#hero .btn-get-started {
  font-size: 36px;
  display: inline-block;
  padding: 4px 0;
  border-radius: 50px;
  transition: 0.3s ease-in-out;
  margin: 10px;
  width: 64px;
  height: 64px;
  text-align: center;
  border: 2px solid #fff;
  color: #fff;
}

#hero .btn-get-started:hover {
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 5px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
}

.section-bg {
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  position: relative;
  margin-bottom: 30px;
  color: #2f4d5a;
  z-index: 2;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 122px;
  height: 66px;
  background: url(../img/section-title-bg.png) no-repeat;
  z-index: -1;
}

.section-title p {
  margin-bottom: 0;
  color: #6c757d;
}

.values li {
  padding: 8px 0; /* Espaciado vertical */
  display: flex;
  align-items: center;
  gap: 10px;
}

.values li i {
  color: #4e9ed3;
  font-size: 1.2em;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  background: url("../img/about-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 9;
}

.about .container {
  position: relative;
  z-index: 10;
}

.about .content {
  padding: 30px 30px 30px 0;
}

.about .content h3 {
  font-weight: 700;
  font-size: 34px;
  color: #ffffff;
  margin-bottom: 30px;
}

.about .content p {
  margin-bottom: 30px;
  line-height: 1.8;
}

.about .content .values ul {
  list-style: none;
  padding: 0;
}

.about .content .values li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-weight: 600;
}

.about .content h3 {
  font-size: 34px;
  color: #2c5a8a;
}

.about .content .values li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #4e9ed3;
  position: absolute;
  left: 0;
  top: 8px;
}

.about .content .about-btn {
  display: inline-block;
  background: #2c5a8a;
  padding: 10px 30px 10px 30px;
  color: #fff;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: 600;
}

.about .content .about-btn i {
  font-size: 18px;
  margin-left: 5px;
  transition: 0.3s;
}

.about .content .about-btn:hover {
  background: #4e9ed3;
  color: #fff;
}

.about .icon-boxes .icon-box {
  margin-top: 30px;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about .icon-boxes .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about .icon-boxes .icon-box i {
  font-size: 40px;
  color: #2c5a8a;
  margin-bottom: 15px;
}

.about .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px 0;
}

.about .icon-boxes .icon-box p {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.6;
  text-align: justify;
}

/* Añade esto al final de tu archivo style.css */
.about .content .values ul {
  list-style: none !important; /* Elimina puntos/checkboxes */
  padding-left: 0 !important; /* Quita el sangrado */
}

.about .content .values li {
  position: relative;
  padding-left: 30px; /* Espacio para tu nuevo icono */
}

/* Elimina el pseudo-elemento que genera checkboxes */
.about .content .values li::before {
  content: none !important; /* ¡Esto es clave! */
}

/* Estilos para los nuevos iconos (usando IcoFont) */
.about .content .values li i {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #4e9ed3;
  font-size: 20px;
}

/*--------------------------------------------------------------
# Info
--------------------------------------------------------------*/

.information {
  background: url("../img/about-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 90px 0;
  position: relative;
}

.information::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.781);
  z-index: 9;
}

.information .container {
  position: relative;
  z-index: 10;
}

.information h3 {
  font-size: 34px;
  font-weight: 700;
  color: #2c5a8a;
  margin-bottom: 30px;
}

.information h4 {
  font-size: 24px;
  font-weight: 700;
  color: #2c5a8a;
  margin-bottom: 20px;
}

.information p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: justify;
}

.information .icon-boxes .icon-box i {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  color: #2c5a8a;
  margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  background: url("../img/about-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.781);
  z-index: 9;
}

.services .container {
  position: relative;
  z-index: 10;
}

.services .content {
  padding: 30px 30px 30px 0;
}

.services .icon-box {
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.icon-box-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.services .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.services .icon-box::before {
  content: "";
  position: absolute;
  background: #f8f9fa;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.services .icon-box:hover::before {
  background: #2c5a8a;
  top: 0;
}

.services .icon {
  margin-bottom: 20px;
}

.services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #2c5a8a;
  transition: all 0.3s ease-in-out;
}

.icon-box-text {
  flex: 1; /* Ocupa el espacio restante */
}

.services .icon-box:hover .icon i {
  color: #fff;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  color: #2c5a8a;
  transition: color 0.3s ease-in-out;
}

.services .title a {
  color: #2c5a8a;
  transition: 0.3s;
}

.services .description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  color: #6c757d;
}

.services .icon-box:hover .title,
.services .icon-box:hover .description {
  color: #fff;
}

.rounded-img {
  width: 120px; /* Tamaño ajustable */
  height: 120px; /* Igual que width para mantener proporción */
  border-radius: 30%; /* Imagen redonda */
  object-fit: cover; /* Evita distorsión */
  flex-shrink: 0; /* Evita que se encoja */
}

@media (max-width: 768px) {
  .icon-box-content {
    flex-direction: column; /* Apila imagen sobre texto en móviles */
    text-align: center;
  }
  .rounded-img {
    margin-bottom: 15px;
  }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  background: url("../img/about-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 150px 0;
  position: relative;
}

.clients::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.781);
  z-index: 9;
}

.clients .container {
  position: relative;
  z-index: 10;
}

.clients .client-item {
  background: #fff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.clients .client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.clients .client-item h5 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #2c5a8a;
}

.clients .client-item p {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  background: url("../img/about-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.781);
  z-index: 9;
}

.contact .container {
  position: relative;
  z-index: 10;
}

.contact .info-box {
  color: #444444;
  background: #fff;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 5px 2px;
  border-radius: 8px;
  height: 100%;
  transition: all 0.3s ease;
}

.contact .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact .info-box i {
  font-size: 32px;
  color: #2c5a8a;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #e9f4fb;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #2c5a8a;
  font-weight: 700;
  margin: 15px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #2c5a8a;
  padding: 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

#footer h3 {
  color: #fff;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .navbar-center {
    position: static;
    transform: none;
  }
}

@media (max-width: 992px) {
  #hero h1 {
    font-size: 36px;
  }
  #hero h2 {
    font-size: 20px;
  }
  .about .content {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  #header {
    height: 70px;
  }
  #hero {
    height: auto;
    padding: 120px 0 60px 0;
  }
  #hero .hero-container {
    position: static;
    transform: none;
    padding-top: 80px;
  }
  .section-title h2 {
    font-size: 28px;
  }
  .about .content {
    padding: 30px 0;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 28px;
  }
  #hero h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .section-title h2 {
    font-size: 24px;
  }
}
