:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

:root { 
  --background-color: #ffffff;
  --default-color: #555555;
  --heading-color: #37373f;
  --accent-color: #106eea;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: #2c4964;
  --nav-hover-color: #1977cc;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #2c4964;
  --nav-dropdown-hover-color: #1977cc;
}

.light-background {
  --background-color: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*-- General Styling & Shared Classes --*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}
/*-- End General Styling & Shared Classes --*/

/*-- Preloader --*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}
@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/*-- End Preloader --*/

/*-- Scroll Top Button --*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 50px;
  height: 50px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: #faba00;
  color: var(--contrast-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*-- Disable aos animation delay on mobile devices --*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*-- Global Header --*/
/*-- Topbar --*/
.topbar {
  height: 40px;
  color: #fff;
  font-size: 13px;
  padding: 0;
  background: #282329;
  transition: all 0.5s;
}
@media (max-width: 767.98px) {
  .topbar {
    display: none !important;
  }
}
.topbar-scrolled {
  top: -40px;
}
.topbar .contact-info a {
  line-height: 1;
  color: #fff;
  transition: 0.3s;
}
.topbar .contact-info a:hover {
  color: #faba00;
  text-decoration: none;
}
.topbar .contact-info i {
  padding-right: 4px;
  margin-left: 15px;
}
.topbar .contact-info i:first-child {
  margin-left: 0;
}
/*-- End topbar --*/
/*-- Header --*/
.header {
  color: #fff;
  top: 0px;
  vertical-align: middle;
  background-color: #0072bb;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.5s;
  z-index: 997;
}
.header .logo {
  line-height: 1;
}
.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}
.header .branding {
  height: 72px;
  display: flex; 
  align-items: center;
  padding: 0;
}
@media (max-width: 767.98px) {
  .header .branding {
    height: 60px !important;
  }
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }
  .header .navmenu {
    order: 3;
  }
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}
/*-- Header End --*/

/*-- Navigation Menu --*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }
  .navmenu>ul>li:last-child {
    padding-right: 0;
  }
  .navmenu a,
  .navmenu a:focus {
    color: #fff;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 15px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #fff;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }
  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
  }
  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #fff;
    font-weight: 500;
  }
}
/*-- Desktop Navigation End --*/

/* Mobile Navigation */
@media (max-width: 1199px) {

  .mobile-nav-toggle {
    position: absolute; 
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    outline: none !important;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    transform: translateY(-50%) rotate(45deg);
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed;
    top: 60px;
    right: 20px;
    width: auto;
    padding: 15px;
    margin: 0;
    border-radius: 6px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    background-color: #E6F0F8;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .navmenu a,
  .navmenu a:focus {
    color: #333;
    display: flex;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 500;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #007bff;
    font-weight: 600;
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .navmenu > ul {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }
}
/*-- Mobile Navigation End --*/

/*-- Global Sections --*/
section,
.section {
  color: var(--default-color);
  padding: 40px 0;
  scroll-margin-top: 92px;
  overflow: clip;
  background-image: linear-gradient(to bottom, #f1f7fc, #FFF);
  background-repeat: no-repeat;
}
@media (max-width: 992px) {
  section,
  .section {
    scroll-margin-top: 56px;
    padding: 40px 0 0 0 !important;
  }
}

.section-title {
  text-align: center;
  position: relative;
  padding-bottom: 24px;
}
.section-title span {
  color: #106eea;
}
.section-title::before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: #ccc;
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}
.section-title::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: #106eea;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.section-sub-title {
  color: #ccc;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

section .box {
  position: relative;
  padding: 20px;
  border-top: 1px solid #dedede;
  background: #fff;
}
section .box::before,
section .box::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(to bottom, #dedede, #fff);
}
section .box::before {
  left: 0;
}
section .box::after {
  right: 0;
}

.section h2 {
  color: #37517e;
  font-size: 42px;
  font-weight: 700;
}
@media (max-width: 992px) {
  section h2 {
    font-size: 30px !important;
  }
}
section h3 {
  color: #444;
  font-weight: 600;
}
@media (max-width: 992px) {
  section h3 {
    text-align: justify !important;
    line-height: 1.3;
  }
}
section h4 {
  color: #444;
  font-weight: 600;
  margin-left: auto;
  margin-right: auto;
}
section p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6; 
  text-align: justify;
}
@media (max-width: 992px) {
  section p {
    font-size: 17px !important;
  }
}

.cta-btn {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  color: #fff;
  display: inline-block;
  margin-top: 5px;
  padding: 12px 30px;
  border: 0px;
  border-color: #106eea;
  border-radius: 6px;
  background: #106eea;
  transition: 0.5s;
}
.cta-btn:hover {
  font-weight: 600;
  color: #fff;
  border: 0px;
  border-color: #faba00;
  border-radius: 6px;
  background: #faba00;
}
/*-- End Global Sections --*/

/*-- # Hero Section --*/
#hero {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding: 80px 0;
  display: flex;
  align-items: center;
  background: url("../img/hero-bg.png") center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5) !important;
}
@media (max-width: 992px) {
  #hero {
    padding: 60px 0;
    background: url("../img/hero-bg-2.jpg") center center;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }
}

#hero .container {
  position: relative;
  vertical-align: middle;
  z-index: 3;
}

@media (max-width: 768px) {
  #hero .row {
    display: flex;
    justify-content: center;
    text-align: center;
  }
  #hero .row div {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

#hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #106eea;
}
@media (max-width: 992px) {
  #hero h2 {
    font-size: 2.5rem !important;
    text-align: center;
  }
}
#hero h4 {
  font-weight: 400;
  text-align: justify;
  padding-bottom: 40px;
  color: #fff;
}
@media (max-width: 992px) {
  #hero h4 {
    line-height: normal;
    text-align: center;
  }
}
#hero span {
  color: #106eea;
}
/*-- Hero Section End --*/

/*-- Clients Section --*/
.clients .swiper-slide img {
  max-width: 80%;
  max-height: 60px; /* Altura máxima controlada */
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.8; /* Ligero efecto para mejorar la visualización */
  transition: 0.3s;
}
.clients .swiper-slide img:hover {
  opacity: 1;
}
/* Ajustamos el tamaño del slide para mantener la proporción */
.clients .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
/*-- Clients Section End --*/

/*-- About Us Section --*/
.about .img {
  border-radius: 8px;
  overflow: hidden;
}
.about .img img {
  transition: 0.6s;
}
.about .details {
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.5s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.14);
}
.about .details .icon {
  position: absolute;
  margin: 0;
  width: 72px;
  height: 72px;
  left: calc(50% - 36px);
  background: #0072bb;
  color: var(--contrast-color);
  border: 4px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px;
  transition: ease-in-out 0.3s;
  top: -36px;
}
.about .details h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}
.about .details p {
  margin-bottom: 0;
}
.about .about-item:hover .details h3 {
  color: var(--accent-color);
}
.about .about-item:hover .details .icon {
  background: #fff;
  border: 4px solid var(--accent-color);
}
.about .about-item:hover .details .icon i {
  color: var(--accent-color);
}
.about .about-item:hover .img img {
  transform: scale(1.2);
}
/*-- End About Section --*/

/*-- Call To Action Section --*/
.call-to-action {
  padding: 100px 0;
  position: relative;
  clip-path: inset(0);
}
.call-to-action .container {
  position: relative;
  z-index: 3;
}
.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.call-to-action:before {
  background: rgba(0, 0, 0, 0.5);
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.call-to-action h4 {
  font-weight: 500;
  color: #fff;
  text-align: left;
}
.call-to-action p {
  color: #fff;
  text-align: justify;
}
.call-to-action h4 {
  font-weight: 500;
  color: #fff !important;
  text-align: left;
  margin-bottom: 0;
}
/*-- Hide Call To Action on Mobile --*/
@media (max-width: 767px) {
  #call-to-action {
    display: none;
  }
}
/*-- Call-To-Action End --*/

/*-- Services --*/
.services .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 20%);
}
.services .content ul {
  list-style: none;
  padding: 0;
}
.services .content ul li {
  padding: 0 0 10px 0;
  position: relative;
  display: flex;
  align-items: center; /* Alineación vertical centrada */
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 20%); /* Mismo color que fst-italic */
}
.services .content ul li span {
  text-align: justify; /* Justificación del texto */
  flex-grow: 1; /* Para que el texto ocupe todo el espacio disponible */
}
.services .content ul i {
  font-size: 20px;
  color: var(--accent-color);
  flex-shrink: 0; /* Evita que el icono se reduzca */
}
.services .content p:last-child {
  margin-bottom: 0;
}
/*-- /Services --*/

/*-- # Contact Section --*/
.contact .info-item {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  background-color: #fff;
  text-align: center;
  gap: 0;
  height: 100%;
}
@media (max-width: 768px) {
  .contact .info-item {
    margin-inline: 20px;
  }
}

.contact .info-item i {
  font-size: 38px;
  line-height: 1;
  color: #106eea;
  margin-bottom: 15px; /* Consistent spacing after icon */
}

.contact .info-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0; /* Add consistent bottom margin */
  padding: 0;
}

/* Make address behave like p */
.contact .info-item address {
  margin: 0;
  font-style: normal;
}

.contact .info-item p {
  margin: 0;
}

.contact a {
  color: #999;
}
.contact a:hover {
  color: #333;
  transition: all 0.5s ease;
}

@media (max-width: 768px) {
  .box-none {
    display: none;
  }
}

/* Sección del formulario */
/*Error/Success*/
#error,
#success {
  display: none;
  color: #fff;
  padding: 13px 15px;
  border-radius: 6px;
  background: #009900;
  margin-left: 12px;
  margin-right: 12px;
  width: calc(100% - 24px);
}
#error {
    background: #ff3300;
}

.form-container {
  width: 100%;
  border-radius: 0px;
  padding: 0px !important;
  border: none;
  position: relative;
}
@media (max-width: 768px) {
  .form-container {
    padding: 20px !important;
  }
}
.form-control {
  font-size: 16px;
  color: #444 !important;
  border: 1px solid #ccc;
  border-radius: 0px;
  padding: 12px 15px;
  background-color: #fff;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .form-control {
    font-size: 18px !important;
  }
}
.form-control:hover {
  border: 1px solid #106eea;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.form-control:focus {
  color: #444 !important;
  font-style: normal;
  border: 2px solid #106eea;
  box-shadow: none;
  outline: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
::placeholder {
  color: #999 !important;
  font-style: italic !important;
}

.form-check {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.form-check label {
  font-size: 15px;
  color: #777;
}
.form-check-input {
  margin-top: 0;
  border: 1px solid #666 !important;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.form-check-input:hover {
  box-shadow: none;
}
.form-check-input:checked {
  background-color: #106eea;
  border-color: #106eea;
  box-shadow: none;
}
.form-label {
  color: #777;
  font-size: 14px;
  line-height: 1.6;
  padding: 10px;
  text-align: justify;
}
/*-- # End Contact Section --*/

/*-- # Foot Section --*/
@media (max-width: 768px) {
  .foot {
    display: none;
  }
}
.foot p {
  font-size: 15px;
  color: #999;
}
a {
  color: #999;
  position: relative;
}
a:hover {
  color: #333;
  text-decoration: none;
  transition: all 1s;
}
/*-- End Foot Section --*/

/*-- # Footer Section --*/
#footer {
  font-size: 14px;
  padding: 0 0 30px 0;
  background: #333;
  text-align: justify;
}