/**
* Consolidated CSS file for DataMind AI
* Created from merging two style files: root style.css and assets/css/style.css
* Author: Combined from BootstrapMade & HTML Design templates
*/

/*--------------------------------------------------------------
# GENERAL STYLES
--------------------------------------------------------------*/
body {
  font-family: "Roboto", "Open Sans", sans-serif;
  color: #444444;
  background-color: #f4f4f4;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}

a {
  color: #4eb478;
  text-decoration: none !important;
  font-weight: 400;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

a:hover {
  color: #72c393;
  text-decoration: none;
}

p {
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 15px;
  opacity: 0.95;
  font-family: 'Source Sans Pro', sans-serif;
}

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

.wrap {
  max-width: auto;
  margin: auto;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

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

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

.back-to-top:hover {
  background: #6bc08e;
  color: #fff;
}

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

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

/*--------------------------------------------------------------
# Header 
--------------------------------------------------------------*/

/* Mantenemos los estilos base que ya tienes */
#header {
  height: 70px;
  z-index: 997;
  transition: all 0.5s;
  background: #000;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: none; /* Cambiado de uppercase a none para mostrar correctamente Data/Mind */
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}

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

/* Estilos específicos para el texto del logo */
.logo span {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

/* Estilos para el texto "Data" */
.logo span span[style*="color: white"] {
  font-weight: 600;
}

/* Estilos para el texto "Mind" con color neón */
.logo span span[style*="color: #a3ff00"] {
  font-weight: 600;
  text-shadow: 0 0 5px rgba(163, 255, 0, 0.5);
}

/* Estilos para el texto "AI" */
.logo span span[style*="font-weight: 300"] {
  font-weight: 300;
  letter-spacing: 1px;
  margin-left: 2px;
}

/* Mantener estilos responsive */
@media (max-width: 768px) {
  .logo span {
    font-size: 20px;
  }
  
  .logo img {
    max-height: 30px;
  }
}

/* Mantenemos tus clases existentes */
.scrolled-offset {
  margin-top: 70px;
}

.smaller-text {
  font-size: 0.5em;
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  margin-bottom: 0;
}

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

.navbar li {
  position: relative;
}

.navbar-nav > li {
  margin-left: 20px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
  text-decoration: none !important;
  border-bottom: none;
}

.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: #72c393;
}

.yamm .yamm-content ul li a,
.navbar-nav > li > a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  background-color: transparent !important;
  color: #25382f !important;
  font-size: 15px;
  padding: 17px 0 3px;
  font-weight: 400;
}

.yamm .yamm-content ul li a {
  padding: 5px 0 3px;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  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;
  color: #444444;
}

.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: #4eb478;
}

.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;
}

/* Corregir posicionamiento de submenús en escritorio */
@media (min-width: 992px) {
  .navbar .dropdown .dropdown:hover > ul {
    left: auto !important;
    right: 100% !important; /* Mostrar a la izquierda en lugar de a la derecha */
  }
  
  /* Para el caso específico de Bots que parece ser el que causa problemas */
  .navbar .dropdown .dropdown ul {
    left: auto !important; 
    right: calc(100% + 5px) !important; /* Un poco de espacio entre el menú padre y el submenú */
    top: 0 !important;
  }
}

.navbar-nav > li > .dropdown-menu {
  box-shadow: none;
  border: 0;
  border-top: 4px solid #fff;
  border-radius: 0;
  margin-top: 30px;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
  border-color: transparent;
}

.navbar-right .lastlink a {
  border: 0;
  color: #ffffff !important;
  border-radius: 500px;
}

.navbar-right .lastlink {
  margin-left: 30px;
  margin-top: 6px;
  border: 0 !important;
  text-transform: capitalize;
  border-radius: 500px;
  border-top: 0 !important;
}

.navbar-right .lastlink a {
  padding: 10px 30px 10px 20px;
}

.navbar-right .lastlink a:hover:after,
.navbar-right .lastlink a:focus:after {
  border-top: 0 !important;
}

.navbar-right .lastlink a i {
  padding-right: 5px;
  font-size: 12px;
  vertical-align: unset;
}

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

@media (max-width: 991px) {
  /* Estilos básicos del botón hamburguesa */
  .mobile-nav-toggle {
    display: block !important;
    position: fixed !important;
    right: 20px !important;
    top: 20px !important;
    z-index: 9999 !important;
    color: #fff !important;
    background-color: rgba(0,0,0,0.5) !important;
    padding: 10px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-style: normal !important;
    transition: all 0.3s ease !important;
  }
  
  /* Ocultar cualquier contenido dentro del toggle */
  .mobile-nav-toggle * {
    display: none !important;
  }
  
  /* Icono de hamburguesa usando pseudo-elementos */
  .mobile-nav-toggle::before {
    content: '☰';
    display: block !important;
    font-size: 24px !important;
  }
  
  /* Icono X cuando el menú está abierto */
  .mobile-nav-toggle.open::before {
    content: '✕';
  }
  
  /* Estilo hover para el botón */
  .mobile-nav-toggle:hover {
    background-color: rgba(0,0,0,0.7) !important;
  }
  
  /* Ocultar menú normal en móvil */
  .navbar ul {
    display: none;
  }
  
  /* Estructura base de la navegación móvil */
  .navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(43, 43, 43, 0.9);
    transition: 0.3s;
    z-index: 999;
  }
  
  /* Posición del toggle en el menú móvil */
  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  /* Menú principal cuando está visible */
  .menu-visible {
    display: block !important;
    position: fixed !important;
    top: 70px !important;
    left: 10% !important;
    right: 10% !important;
    background: rgba(0,0,0,0.95) !important;
    box-shadow: 0 0 15px rgba(0,0,0,0.5) !important;
    padding: 20px !important;
    border-radius: 8px !important;
    z-index: 998 !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important; /* Evita barras horizontales */
    border: 1px solid rgba(255,255,255,0.1) !important;
    animation: fadeIn 0.3s ease !important;
  }
  
  /* Animación para el menú */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Eliminar barras de desplazamiento innecesarias */
  .menu-visible ul,
  .menu-visible .dropdown ul {
    overflow: hidden !important;
  }
  
  /* Estilos para los submenús */
    .menu-visible .dropdown ul {
      display: none !important;
      padding-left: 15px !important;
      margin-top: 5px !important;
      margin-bottom: 5px !important;
      background-color: #121212 !important; /* Fondo casi negro */
      border: 1px solid rgba(255,255,255,0.15) !important;
      border-radius: 5px !important;
      animation: fadeIn 0.3s ease !important;
    }
  
  /* Reglas específicas para submenús anidados */
.menu-visible .dropdown .dropdown > ul {
  display: none !important;
  padding-left: 15px !important;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  background-color: #0a0a0a !important; /* Fondo negro sólido */
  border: 1px solid rgba(78, 180, 120, 0.3) !important; /* Borde verde sutil */
  border-radius: 5px !important;
  animation: fadeIn 0.3s ease !important;
}
  
  /* Mostrar submenús cuando están activos */
  .menu-visible .dropdown ul.show-submenu,
  .menu-visible .dropdown .dropdown > ul.show-submenu {
    display: block !important;
  }
  
  /* Estilos para los enlaces */
  .menu-visible a {
    color: #ffffff !important;
    font-weight: 500 !important;
    display: block !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
  }
  
  /* Efecto hover para enlaces */
  .menu-visible a:hover {
    background: rgba(255,255,255,0.2) !important;
  }
  
  /* Estilo para enlaces activos */
  .menu-visible .active > a {
    background: rgba(78, 180, 120, 0.3) !important;
    color: #fff !important;
  }
  
  /* Estilo para enlaces cuando el dropdown está abierto */
  .menu-visible .dropdown.open > a {
    background: rgba(255,255,255,0.1) !important;
  }
  
  /* Indicador de flecha para los dropdowns */
  .menu-visible .dropdown > a::after {
    content: '▼';
    margin-left: 5px;
    font-size: 12px;
    display: inline-block;
    transition: transform 0.3s;
  }
  
  /* Rotar flecha cuando el dropdown está abierto */
  .menu-visible .dropdown.open > a::after {
    transform: rotate(180deg);
  }
  
  /* Estilo para submenús secundarios */
  .menu-visible .dropdown .dropdown > a::after {
    content: '▶';
  }
  
  .menu-visible .dropdown .dropdown.open > a::after {
    content: '▼';
  }
  
  /* Estilos para elementos dentro del submenú */
  .menu-visible .dropdown ul li {
    margin-bottom: 5px !important;
  }
  
  .menu-visible .dropdown ul a {
    padding: 10px 15px !important;
    font-size: 14px !important;
  }
  
  /* Compatibilidad con estilos existentes */
  .navbar-mobile a,
  .navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #fff;
  }
  
  .navbar-mobile a:hover,
  .navbar-mobile .active,
  .navbar-mobile li:hover>a {
    color: #4eb478;
  }
  
  .navbar-mobile .getstarted,
  .navbar-mobile .getstarted:focus {
    margin: 15px;
  }
  
  .navbar-mobile .dropdown ul {
    position: static;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,0.15);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  }
  
  .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: #4eb478;
  }
  
  .navbar-mobile .dropdown>.dropdown-active {
    display: block;
  }
}

/* YAMM Mega Menu */
.yamm .nav,
.yamm .collapse,
.yamm .dropup,
.yamm .dropdown {
  position: static;
  z-index: 111;
}

.yamm .container {
  position: relative;
}

.yamm .yamm-content {
  padding: 20px 30px;
}

.yamm .dropdown.yamm-fw .dropdown-menu {
  left: auto;
  right: 0;
}

.yamm .yamm-content ul {
  padding: 0;
  min-width: 180px;
}

.navbar-right .yamm-content li:hover a {
  padding-left: 10px !important;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  /*background: url("../img/hero-bg.gif") top center;*/
  /*background-size: cover;*/
  position: relative;
  border-bottom: 1px solid #222;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

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

#hero h1 {
  margin: 0 0 30px 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  color: #fff;
}

#hero h2 {
  color: #eee;
  margin-bottom: 40px;
  font-size: 22px;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 2px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 5px;
  transition: 0.5s;
  border: 2px solid #ffffff;
  color: #fff;
}

#hero .btn-get-started:hover {
  background: #4eb478;
  border: 2px solid #4eb478;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
  #hero h1,
  #hero h2 {
    width: 50%;
  }
}

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

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

.section {
  background-color: #ffffff;
  padding: 10rem 0;
  position: relative;
  display: block;
  overflow: hidden;
}

.section.bt {
  border-top: 1px solid #eee;
}

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

.section-title {
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #4eb478;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 30px;
  color: #f4f4f4;
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 0;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title hr {
  width: 80px;
  margin-top: 23px;
  padding: 1px;
  border-style: dotted;
}

.section-title h3 {
  padding: 0;
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.section-title .lead {
  color: #767676;
  font-family: Trebuchet MS;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-button {
  margin-top: 42px;
  display: block;
  position: relative;
}

.section-button .lead {
  margin-bottom: 30px;
}

.light-color .lead {
  color: rgba(255, 255, 255, 0.8);
}

.light-color h3 {
  color: #ffffff;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content {
  padding-left: 30px;
}

.about .content h3 {
  font-weight: 700;
  font-size: 34px;
}

.about .content p {
  margin-bottom: 0;
}

.about .content .icon-box {
  margin-top: 25px;
}

.about .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.about .content .icon-box i {
  font-size: 48px;
  float: left;
  color: #4eb478;
}

.about .content .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.about .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

/* Video Box and Modal Styles */
.btn-close-white {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1051;
  width: 30px !important;
  height: 30px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-white::before,
.btn-close-white::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.btn-close-white::before {
  transform: rotate(45deg);
}

.btn-close-white::after {
  transform: rotate(-45deg);
}

.btn-close-white:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: rotate(90deg);
}

.btn-close {
  background: none !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .btn-close-white {
    width: 40px !important;
    height: 40px !important;
    right: 10px;
    top: 10px;
    border: 3px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.3) !important;
  }

  .btn-close-white::before,
  .btn-close-white::after {
    width: 20px;
    height: 3px;
  }
}

@media (max-width: 480px) {
  .btn-close-white {
    width: 44px !important;
    height: 44px !important;
  }
}
.video-box {
  position: relative;
  width: 100%;
}

.video-box video {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-overlay {
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  border-radius: 4px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
}

@media (max-width: 991px) {
  .about {
    padding-left: 0;
  }
  .about .image {
    text-align: center;
  }
  .about .image img {
    max-width: 80%;
  }
}

@media (max-width: 667px) {
  .about .image img {
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .card {
  border-radius: 5px;
  overflow: hidden;
  border: 0;
  background: #f7f7f7;
  position: relative;
  transition: 0.3s;
}

.features .card-body {
  padding-top: 20px;
  position: relative;
}

.features .card-body i {
  font-size: 120px;
  color: #e7e7e7;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
}

.features .card-title {
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.features .card-title a {
  color: #444444;
  transition: 0.3s;
}

.features .card-text {
  position: relative;
  z-index: 2;
  color: #5e5e5e;
}

.features .card:hover {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.features .card:hover .card-title a {
  color: #4eb478;
}

.features .card .card-img-top {
  width: 100%;
  height: 200px;
}

@media (max-width: 1024px) {
  .features {
    background-attachment: scroll;
  }
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(2, 2, 2, 0.6), rgba(0, 0, 0, 0.8)), url("../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 5px;
  transition: 0.3s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #4eb478;
  border: 2px solid #4eb478;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  padding-bottom: 30px;
}

.services .icon-box {
  margin-bottom: 20px;
  padding: 30px 15px;
  border-radius: 6px;
  background: #fff;
}

.services .icon-box i {
  float: left;
  color: #4eb478;
  font-size: 40px;
  line-height: 0;
}

.services .icon-box h4 {
  margin-left: 70px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .icon-box h4 a {
  color: #444444;
  transition: 0.3s;
}

.services .icon-box .icon-box:hover h4 a {
  color: #4eb478;
}

.services .icon-box p {
  margin-left: 70px;
  line-height: 24px;
  font-size: 14px;
}

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

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.7);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: #eee;
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #4eb478;
}

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

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Home Services
--------------------------------------------------------------*/
.home-service {
  width: 100%;
  overflow: hidden;
  display: block;
  background-color: #f1f6f7;
  padding: 3em;
  border: 4px solid #f7fafb;
  border-top: 6px solid #f7fafb;
  cursor: pointer;
}

.home-service i {
  font-size: 160px;
  position: absolute;
  top: 100px;
  opacity: 0.03;
  color: #212121;
  left: 30px;
  transform: rotate(-20deg);
  z-index: 1;
}

.home-service p {
  font-size: 1.33333em;
  color: #212121;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.home-service:hover i,
.home-service:hover p {
  color: #ffffff;
}

.home-service:hover i {
  opacity: 0.1;
}

.home-service:hover.c1,
.home-service:hover.c2,
.home-service:hover.c3,
.home-service:hover.c4 {
  background-color: #4eb478 !important;
}

.home-service.c1 {
  background: #24d37c !important;
}

.nopad {
  padding: 0;
}

.first {
  clear: both;
}

.last {
  margin-right: 0;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px;
}

.contact .info-box i {
  font-size: 32px;
  color: #4eb478;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #cbe9d8;
  float: left;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0 10px 68px;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

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

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4eb478;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4eb478;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #45a36c;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}