/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #ffffff; /* Blanco como fondo principal */
  color: #444;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #003b75; /* Azul profundo como color primario */
  text-decoration: none;
}

a:hover {
  color: #31553f; /* Verde sobrio para hover en enlaces */
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #003b75; /* Azul profundo */
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #31553f; /* Verde sobrio */
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #ffffff; /* Blanco */
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
  z-index: 996;
}

#topbar .contact-info i {
  font-style: normal;
  color: #003b75; /* Azul profundo */
}

#topbar .contact-info i a,
#topbar .contact-info i span {
  padding-left: 5px;
  color: #333;
}

#topbar .contact-info i a:hover {
  color: #003b75; /* Azul profundo */
}

#topbar .social-links a {
  color: #333;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #003b75; /* Azul profundo */
}

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

#header.header-scrolled {
  height: 60px;
}

#header #logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header #logo h1 a,
#header #logo h1 a:hover {
  color: #003b75; /* Azul profundo */
}

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #413e66;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #003b75; /* Azul profundo */
}

.navbar .dropdown ul {
  position: absolute;
  display: none;
  left: 30px;
  top: 100%;
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #ffffff; /* Blanco */
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 500;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #003b75; /* Azul profundo */
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: 100%;
}

.navbar .dropdown .dropdown:hover>ul {
  display: block;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
  color: #413e66;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(4, 4, 4, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #ffffff; /* Blanco */
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #413e66;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #003b75; /* Azul profundo */
}

.navbar-mobile .dropdown ul {
  position: static;
  display: block;
  padding: 10px 0;
  margin: 10px 20px;
  background-color: #ffffff; /* Blanco */
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #003b75; /* Azul profundo */
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  background: #003b75; /* Azul profundo */
}

#hero .hero-content {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#hero .hero-content h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
}

#hero .hero-content h2 span {
  color: #d0d2d8; /* Gris claro para acento en el título principal */
}

#hero .hero-content .btn-get-started,
#hero .hero-content .btn-projects {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
}

#hero .hero-content .btn-get-started {
  background: #003b75; /* Azul profundo */
  border: 2px solid #003b75; /* Azul profundo */
}

#hero .hero-content .btn-get-started:hover {
  background: none;
  border-color: #fff;
}

#hero .hero-content .btn-projects {
  border: 2px solid #fff;
}

#hero .hero-content .btn-projects:hover {
  background: #003b75; /* Azul profundo */
  border-color: #003b75; /* Azul profundo */
}

#hero .hero-slider {
  z-index: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#hero .hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 300ms;
  -webkit-backface-visibility: hidden;
}

#hero .hero-slider::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

#hero .hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
}

#hero .hero-slider .swiper-pagination-bullet-active {
  background-color: #003b75; /* Azul profundo */
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  padding-bottom: 30px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #003b75; /* Azul profundo */
  bottom: 0;
  left: calc(50% - 25px);
}

.section-header p {
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: #5d5d5d;
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
#about .content h2 {
  color: #003b75; /* Azul profundo */
  font-weight: 700;
}

#about .content h3 {
    color: #31553f; /* Verde sobrio para subtítulos */
    font-size: 24px;
    font-weight: 600;
    margin-top: 20px;
}

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

#about .content ul li {
  padding-bottom: 10px;
}

#about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #003b75; /* Azul profundo */
}

#about .about-img {
  /*max-height: 850px;*/
  overflow: hidden;
}

#about .about-img img {
  padding-right: 50px;
  margin-bottom: 15px;
  max-width: 100%;
}

@media (max-width: 768px) {
  #about .about-img {
    height: auto;
  }

  #about .about-img img {
    padding-right: 0;
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# History Section
--------------------------------------------------------------*/
#history h2 {
    text-align: center;
}

#history p {
    text-align: center;
    font-size: 16px;
}

#history .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #ffffff; /* Blanco */
  box-shadow: 0 0 29px 0 rgba(18, 66, 101, 0.08);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

#history .icon-box .icon {
  margin: 0 auto 20px auto;
  padding-top: 10px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  background: #ffffff; /* Blanco */
  transition: all 0.3s ease-in-out;
}

#history .icon-box .icon i {
  font-size: 36px;
  line-height: 1;
}

#history .icon-box .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  text-align: center;
}

#history .icon-box .title a {
  color: #111;
}

#history .icon-box .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

#history .icon-box:hover {
  transform: translateY(-5px);
  border-color: #ffffff; /* Blanco */
}

/* Colores para los íconos de la sección Historia */
#history .icon-box-pink .icon {
  border: 2px solid #d0d2d8; /* Gris claro */
}

#history .icon-box-pink .icon i {
  color: #003b75; /* Azul profundo */
}

#history .icon-box-cyan .icon {
  border: 2px solid #d0d2d8; /* Gris claro */
}

#history .icon-box-cyan .icon i {
  color: #31553f; /* Verde sobrio */
}

#history .icon-box-green .icon {
  border: 2px solid #d0d2d8; /* Gris claro */
}

#history .icon-box-green .icon i {
  color: #003b75; /* Azul profundo */
}

#history .icon-box-blue .icon {
  border: 2px solid #d0d2d8; /* Gris claro */
}

#history .icon-box-blue .icon i {
  color: #31553f; /* Verde sobrio */
}

#history ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 15px;
}

/*--------------------------------------------------------------
# Infrastructure Section (nuevos estilos para infraestructura)
--------------------------------------------------------------*/
#infrastructure {
    background-color: #d0d2d8; /* Gris claro para fondo alternativo */
}

#infrastructure h2 {
    text-align: center;
}

#infrastructure p {
    text-align: center;
    font-size: 16px;
}

#infrastructure .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #ffffff; /* Blanco */
  box-shadow: 0 0 29px 0 rgba(18, 66, 101, 0.08);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

#infrastructure .icon-box .icon {
  margin: 0 auto 20px auto;
  padding-top: 10px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  background: #ffffff; /* Blanco */
  transition: all 0.3s ease-in-out;
}

#infrastructure .icon-box .icon i {
  font-size: 36px;
  line-height: 1;
}

#infrastructure .icon-box .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  text-align: center;
}

#infrastructure .icon-box .title a {
  color: #111;
}

#infrastructure .icon-box:hover {
  transform: translateY(-5px);
  border-color: #ffffff; /* Blanco */
}

/* Colores para los íconos de la sección Infraestructura */
#infrastructure .icon-box-pink .icon {
  border: 2px solid #003b75; /* Azul profundo */
}

#infrastructure .icon-box-pink .icon i {
  color: #003b75; /* Azul profundo */
}

#infrastructure .icon-box-cyan .icon {
  border: 2px solid #31553f; /* Verde sobrio */
}

#infrastructure .icon-box-cyan .icon i {
  color: #31553f; /* Verde sobrio */
}

#infrastructure .icon-box-green .icon {
  border: 2px solid #003b75; /* Azul profundo */
}

#infrastructure .icon-box-green .icon i {
  color: #003b75; /* Azul profundo */
}

#infrastructure .icon-box-blue .icon {
  border: 2px solid #31553f; /* Verde sobrio */
}

#infrastructure .icon-box-blue .icon i {
  color: #31553f; /* Verde sobrio */
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
#services .box {
  padding: 40px;
  box-shadow: 0 0 29px 0 rgba(18, 66, 101, 0.08);
  margin-bottom: 30px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

#services .box:hover {
  box-shadow: 0 10px 29px 0 rgba(18, 66, 101, 0.1);
}

#services .box .icon {
  float: left;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #003b75; /* Azul profundo */
  border-radius: 50%;
  transition: all 0.4s ease-in-out;
}

#services .box .icon i {
  color: #fff;
  font-size: 24px;
}

#services .box:hover .icon {
  background: #ffffff; /* Blanco */
  border: 2px solid #003b75; /* Azul profundo */
}

#services .box:hover .icon i {
  color: #003b75; /* Azul profundo */
}

#services .box .title {
  margin-left: 80px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#services .box .title a {
  color: #111;
}

#services .box .description {
  margin-left: 80px;
  line-height: 24px;
  font-size: 14px;
}

#services ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 15px;
}

/*--------------------------------------------------------------
# Clients Section (Sectores donde trabajamos)
--------------------------------------------------------------*/
#clients .clients-wrap {
  border: 1px solid #d0d2d8; /* Gris claro */
}

#clients .client-logo {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#clients .client-logo i {
  font-size: 48px;
  color: #777;
  margin-bottom: 15px;
}

#clients .client-logo h4 {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

#clients .client-logo:hover i, #clients .client-logo:hover h4 {
  color: #003b75; /* Azul profundo */
}

@media (max-width: 768px) {
  #clients .client-logo {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section (Clientes que confían en nosotros)
--------------------------------------------------------------*/
#testimonials {
  padding: 60px 0;
  background-color: #d0d2d8; /* Gris claro como fondo alternativo */
}

#testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 200px;
  padding: 30px;
}

#testimonials .testimonial-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #003b75; /* Azul profundo */
    margin-bottom: 10px;
}

#testimonials .testimonial-item p {
    font-size: 16px;
    color: #777;
}

#testimonials .testimonials-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

#testimonials .testimonials-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #ffffff; /* Blanco */
  opacity: 1;
  border: 1px solid #003b75; /* Azul profundo */
}

#testimonials .testimonials-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #003b75; /* Azul profundo */
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact .contact-info {
  margin-bottom: 20px;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 15px;
  color: #003b75; /* Azul profundo */
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: #413e66;
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #999;
}

#contact .contact-info a {
  color: #413e66;
}

#contact .contact-info a:hover {
  color: #003b75; /* Azul profundo */
}

#contact .contact-person h4 {
    font-weight: bold;
    margin-top: 10px;
}

#contact .contact-person p {
    font-size: 14px;
}

#contact .form .form-group {
  margin-bottom: 15px;
}

#contact .form input,
#contact .form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

#contact .form input::focus,
#contact .form textarea::focus {
  background-color: #003b75; /* Azul profundo */
}

#contact .form input {
  padding: 10px 15px;
}

#contact .form textarea {
  padding: 12px 15px;
}

#contact .form button[type=submit] {
  background: #003b75; /* Azul profundo */
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

#contact .form button[type=submit]:hover {
  background: #31553f; /* Verde sobrio */
}

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

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #ccc;
}


/*--------------------------------------------------------------
# eNVIO DE FORM
--------------------------------------------------------------*/
.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message {
  display: none;
}

.d-block {
  display: block !important;
}

.sent-message {
  color: #fff;
  background: #28a745;
  padding: 15px;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
