/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #7f7f90;  /* The default color of the main navmenu links */
    --nav-hover-color: #ce1212; /* Applied to main navmenu links when they are hovered over or active */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #7f7f90; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #ce1212; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  }
  
  /*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
  @media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
  }
  
  /*--------------------------------------------------------------
  # -------------------------Header-------------------------------
  --------------------------------------------------------------*/
  #header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    height: 90px;
  }
  
  #header.header-transparent {
    background: transparent;
  }
  
  #header.header-scrolled {
    background: #ffffff;
    height: 70px;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
  }
  
  #header .logo {
    font-size: 36px;
    margin: 0;
    padding: 0;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
  }
  
  .responsive-image1 {
    width: 50%; /* Ajusta el ancho al 50% del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
  }
  
  .responsive-image2 {
    width: 40%; /* Ajusta el ancho al 50% del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
  }
  
  #header .logo a {
    color: #413e66;
  }
  
  #header .logo img {
    max-height: 40px;
  }
  
  #header .social-links {
    margin: 0 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  #header .social-links a {
    color: #517286;
    transition: 0.3s;
    line-height: 0;
    margin-left: 15px;
  }
  
  #header .social-links a i {
    line-height: 0;
  }
  
  #header .social-links a:hover {
    color: #1bb1dc;
  }
  
  @media (max-width: 992px) {
    #header .social-links {
      margin: 0 15px 0 0;
    }
  }
  
  @media (max-width: 992px) {
    #header .logo {
      font-size: 28px;
    }
  }
  
  /*--------------------------------------------------------------
  --------------------------------------------------------------*/
  
  /*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/
  /**
  * Desktop Navigation 
  */
  /* Desktop Navigation */
  @media (min-width: 1200px) {
    .navbar {
      padding: 0;
      display: flex; /* Cambio importante para usar flexbox */
      justify-content: flex-end; /* Alinea los elementos al extremo derecho */
    }
  
    .navbar ul {
      margin: 0;
      padding: 0;
      display: flex;
      list-style: none;
      align-items: center;
    }
  
    .navbar li {
      position: relative;
    }
  
    .navbar>ul {
      margin-left: auto; /* Empuja los elementos hacia la derecha */
    }
  
    .navbar>ul>li {
      white-space: nowrap;
      padding: 15px 14px;
      position: relative;
    }
  
    .navbar a,
    .navbar a:focus {
      color: #000000; /* Ajusta según tu diseño */
      font-size: 14px; /* Ajusta según tu diseño */
      padding: 10px 24px;
      font-family: "Montserrat", sans-serif; /* Ajusta según tu diseño */
      text-transform: uppercase;
      font-weight: 600; /* Ajusta según tu diseño */
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
      position: relative;
    }
  
    .navbar a i,
    .navbar a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      transition: 0.3s;
    }
  
    .navbar>ul>li>a:before {
      content: "";
      position: absolute;
      height: 2px;
      bottom: -6px;
      left: 0;
      background-color: #1bb1dc; /* Ajusta el color según tu diseño */
      visibility: hidden;
      width: 0px;
      transition: all 0.3s ease-in-out 0s;
    }
  
    .navbar a:hover:before,
    .navbar li:hover>a:before,
    .navbar .active:before {
      visibility: visible;
      width: 100%;
    }
  
    .navbar li:hover>a,
    .navbar .active,
    .navbar .active:focus {
      color: #1bb1dc; /* Ajusta el color según tu diseño */
    }
  
    .navbar .dropdown ul {
      margin: 0;
      padding: 10px 0;
      background: #fff; /* Ajusta el color según tu diseño */
      display: block;
      position: absolute;
      visibility: hidden;
      left: 24px; /* Ajusta según tu diseño */
      top: calc(100% + 30px); /* Ajusta según tu diseño */
      opacity: 0;
      transition: 0.3s;
      z-index: 99;
      box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); /* Ajusta según tu diseño */
    }
  
    .navbar .dropdown ul li {
      min-width: 200px;
    }
  
    .navbar .dropdown ul a {
      padding: 10px 20px;
      font-size: 15px; /* Ajusta según tu diseño */
      text-transform: none;
      font-weight: 400; /* Ajusta según tu diseño */
      color: #000000; /* Ajusta según tu diseño */
    }
  
    .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: #1bb1dc; /* Ajusta el color según tu diseño */
    }
  
    .navbar .dropdown:hover>ul {
      opacity: 1;
      top: 100%;
      visibility: visible;
    }
  
    .navbar .dropdown .dropdown ul {
      top: 0;
      left: calc(100% - 30px);
      visibility: hidden;
    }
  
    .navbar .dropdown .dropdown:hover>ul {
      opacity: 1;
      top: 0;
      left: 100%;
      visibility: visible;
    }
  
    @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(45, 43, 70, 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: #fff;
    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: #1bb1dc;
  }
  
  .navbar-mobile .getstarted,
  .navbar-mobile .getstarted:focus {
    margin: 15px;
  }
  
  .navbar-mobile .dropdown ul,
  .navbar-mobile .dropdown .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  }
  
  .navbar-mobile .dropdown ul li,
  .navbar-mobile .dropdown .dropdown ul li {
    min-width: 200px;
  }
  
  .navbar-mobile .dropdown ul a,
  .navbar-mobile .dropdown .dropdown ul a {
    padding: 10px 20px;
  }
  
  .navbar-mobile .dropdown ul a i,
  .navbar-mobile .dropdown .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,
  .navbar-mobile .dropdown .dropdown ul a:hover,
  .navbar-mobile .dropdown .dropdown ul .active:hover,
  .navbar-mobile .dropdown .dropdown ul li:hover>a {
    color: #1bb1dc;
  }
  
  .navbar-mobile .dropdown>.dropdown-active,
  .navbar-mobile .dropdown .dropdown>.dropdown-active {
    display: block;
  }
  
  /*--------------------------------------------------------------
  # Hero Section
  --------------------------------------------------------------*/
  .hero {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
  }
  
  .hero img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    z-index: 2;
  }
  
  .hero h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  .hero p {
    font-size: 1em;
    margin: 1em 0;
  }
  
  @media (max-width: 768px) {
    .hero img {
      min-height: 300px; /* Asegura que la imagen no sea demasiado pequeña */
    }
  
    .hero h1 {
      font-size: 1.5em; /* Tamaño más pequeño para dispositivos móviles */
    }
  
    .hero p {
      font-size: 0.8em; /* Tamaño más pequeño para dispositivos móviles */
    }
  
    .hero-content {
      top: 40%; /* Ajusta la posición vertical para mejor visualización */
    }
  }
  
  /*--------------------------------------------------------------
  # Sections Header
  --------------------------------------------------------------*/
  .section-header h3 {
    font-size: 60px; /* Tamaño de la fuente para títulos grandes */
    background: linear-gradient(180deg, #0059E1, #0097DC);
              -webkit-background-clip: text;
              -webkit-text-fill-color: transparent;
    text-align: center; /* Alineación del texto al centro */
    font-weight: 700; /* Peso de la fuente para un aspecto más audaz */
    position: relative; /* Posición relativa para posibles decoraciones CSS */
    font-family: 'Montserrat', sans-serif; /* Fuente Montserrat para un look moderno */
    margin-bottom: 20px; /* Espacio debajo del título para separación */
  }
  
  .section-header p {
    text-align: center; /* Alineación del texto al centro */
    margin: auto; /* Centra el elemento en el contenedor */
    font-size: 18px; /* Tamaño de la fuente para párrafos */
    padding-bottom: 20px; /* Espaciado en la parte inferior para separación */
    color: #000000; /* Color del texto */
    width: 70%; /* Ancho del párrafo para escritorio */
    font-family: "Montserrat", sans-serif;
    text-align: justify;
  }
  
  @media (max-width: 767px) {
    .section-header h3 {
      font-size: 28px; /* Tamaño de fuente más pequeño para dispositivos móviles */
    }
  
    .section-header p {
      width: 100%; /* Ancho completo para una mejor lectura en dispositivos móviles */
      padding-bottom: 30px; /* Menor padding para mantener el contenido más compacto */
    }
  }
  
  /* Section with background
  --------------------------------*/
  .section-bg {
    background: #f5f8fd;
  }
  
  /* Portfolio Section
  --------------------------------*/
  #portfolio {
    padding: 60px 0;
    margin-top: 90px;
  
  }
  
  #portfolio #portfolio-flters {
    padding: 0;
    margin: 5px 0 35px 0;
    list-style: none;
    text-align: center;
  }
  
  #portfolio #portfolio-flters li {
    cursor: pointer;
    margin: 15px 15px 15px 0;
    display: inline-block;
    padding: 6px 10px;
    font-size: 16px;
    line-height: 20px;
    color: #413e66;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
  }
  
  #portfolio #portfolio-flters li:hover,
  #portfolio #portfolio-flters li.filter-active {
    color: #1bb1dc;
  }
  
  #portfolio #portfolio-flters li:last-child {
    margin-right: 0;
  }
  
  #portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
  }
  
  #portfolio .portfolio-item .portfolio-wrap {
    overflow: hidden;
    position: relative;
    margin: 0;
  }
  
  
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: 0.2s linear;
  }
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 {
    font-size: 22px;
    line-height: 1px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 0;
  }
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a {
    color: #fff;
  }
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a:hover {
    color: #1bb1dc;
  }
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info p {
    padding: 0;
    margin: 0;
    color: #f8fcff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
  }
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview,
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details {
    display: inline-block;
    line-height: 1;
    text-align: center;
    width: 36px;
    height: 36px;
    background: #1bb1dc;
    border-radius: 50%;
    margin: 10px 4px 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview i,
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details i {
    font-size: 22px;
    color: #fff;
    line-height: 0;
  }
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover,
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover {
    background: #42c3e8;
  }
  
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover i,
  #portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover i {
    color: #fff;
  }
  
  #portfolio .portfolio-item .portfolio-wrap:hover {
    background: #282646;
  }
  
  #portfolio .portfolio-item .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
  }
  
  
  
  
  /*--------------------------------------------------------------
  # Footer
  --------------------------------------------------------------*/
  #footer {
    background-color: #141414; /* Color de fondo */
    padding: 20px 0; /* Espaciado interno */
    text-align: center; /* Alineación del texto */
    color: #ffffff; /* Color del texto */
    font-size: 14px; /* Tamaño de fuente */
    font-family: Arial, sans-serif; /* Familia de fuente */
    width: 100%;
  }
  
  /* Estilos para el texto dentro del footer */
  #footer p {
    margin-bottom: 0; /* Elimina el margen inferior del párrafo */
    font-weight: bold; /* Texto en negrita */
    line-height: 1.6; /* Altura de línea */
  }
  