/*------------------------------------------------------------------
    Version: 1.0
-------------------------------------------------------------------*/

/*------------------------------------------------------------------
    IMPORT FONTS
-------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800');

/*------------------------------------------------------------------
    IMPORT FILES
-------------------------------------------------------------------*/

@import url(css/animate.css);
@import url(css/camera.css);
@import url(css/flaticon.css);
@import url(css/prettyPhoto.css);
@import url(css/owl.carousel.css);
@import url(css/font-awesome.min.css);

@import url(css/bootstrap.min.css);
@import url(css/bootstrap-select.css);
@import url(css/style.css);
@import url(css/responsive.css);

/*# sourceMappingURL=bootstrap-select.css.map */

.bootstrap-select > .btn {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    font-size: 15px;
    height: 33px;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0;
    width: 100%;
    color: #bcbcbc !important;
}

.contact_form {
    border: 1px solid #ededed;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
    background-color: #f2f3f5;
    padding: 40px 30px;
}
/* --- Ajuste visual entre secciones (CONTACTO) --- */
#contact {
  background: url(images/1.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
  padding: 80px 0;
  margin: 0;
  border: none;
}

/* Eliminar espacios visuales entre secciones */
#contact,
#contact .container,
#contact .row,
#contact form {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
}

/* Si la sección anterior tenía margen inferior */
section + #contact {
  margin-top: 0 !important;
}

/* Si la siguiente sección tiene margen superior */
#contact + section {
  margin-top: 0 !important;
}

/* Asegura que el fondo cubra todo sin bordes blancos */
body {
  background-color: #fff;
}

.contact_form .form-control {
  background-color: #333333;
  margin-bottom: 20px;
  border: 1px solid #444;
  color: #bcbcbc;
  font-size: 16px;
  padding: 12px 20px;
  height: 50px;
  border-radius: 6px;
  width: 100%;
}

.contact_form textarea {
  height: 150px !important;
  border-radius: 10px;
  resize: none;
}

/* --- Versión móvil --- */
@media (max-width: 768px) {
  #contact {
    padding: 60px 20px;
    background-attachment: scroll;
  }

  .contact_form .form-control {
    font-size: 15px;
    padding: 10px 15px;
  }

  .contact_form textarea {
    height: 130px !important;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  p {
    font-size: 15px;
  }

  .btn.consult-btn {
    width: 100%;
    font-size: 16px;
    padding: 10px 0;
  }
}

/*------------------------------------------------------------------
    FOOTER
-------------------------------------------------------------------*/

.cac {
    background-color: #232323;
    -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;
}

.cac:hover a h3 {
    color: #fff !important;
}

.cac a h3 {
    color: #999;
}

.cac h3 {
    padding: 60px 0;
    margin: 0;
    font-weight: 400;
    font-size: 20px;
    text-transform: capitalize;
    line-height: !important;
}

.footer {
    padding: 90px 0 80px !important;
    color: #999;
    background-color: #1f1f1f;
}

.footer .widget-title {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.footer .widget-title small {
    color: #999;
    display: block;
    padding: 0 58px;
    text-transform: uppercase;
}

.footer .widget-title h3 {
    color: #fff;
    font-weight: 300;
    font-size: 21px;
    padding: 0;
    margin: 0;
    line-height: 1 !important;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #999;
}

.footer-links a:hover,
.footer a:hover {
    color: #333333 !important;
}

.footer-links li {
    margin-bottom: 10px;
    display: block;
    width: 100%;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.twitter-widget li {
    margin-bottom: 0;
    border: 0 !important;
}

.twitter-widget li i {
    border-right: 0 !important;
    margin-right: 0;
}

.footer-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: 0;
}

.footer-links i {
    display: inline-block;
    width: 25px;
    margin-right: 10px;
    border-right: 1px dashed rgba(255, 255, 255, 0.1);
}

.copyrights {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    background-color: #1f1f1f;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    padding: 30px 0px;
    overflow: hidden;
}


/* Footer left */

.footer-distributed .footer-left {
    float: left;
}

.footer-distributed .footer-links {
    margin: 0 0 10px;
    text-transform: uppercase;
    padding: 0;
}

.footer-distributed .footer-links a {
    display: inline-block;
    line-height: 1.8;
    margin: 0 10px 0 10px;
    text-decoration: none;
}

.footer-distributed .footer-company-name {
    font-weight: 300;
    margin: 0 10px;
    color: #666;
    padding: 0;
}


.footer-distributed a{
	margin-bottom: 20px;
	display: inline-block;
}

/* Footer right */

.footer-distributed .footer-right {
    float: right;
}


/* The search form */

.footer-distributed form {
    position: relative;
}

.footer-distributed form input {
    display: block;
    border-radius: 3px;
    box-sizing: border-box;
    background-color: #181818;
    border: none;
    font: inherit;
    font-size: 15px;
    font-weight: normal;
    color: #999;
    width: 400px;
    padding: 18px 50px 18px 18px;
}

.footer-distributed form input:focus {
    outline: none;
}


/* Changing the placeholder color */

.footer-distributed form input::-webkit-input-placeholder {
    color: #999;
}

.footer-distributed form input::-moz-placeholder {
    opacity: 1;
    color: #999;
}

.footer-distributed form input:-ms-input-placeholder {
    color: #999;
}


/* The magnify glass icon */

.footer-distributed form i {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 16px;
    right: 18px;
    color: #999;
    font-size: 18px;
    margin-top: 6px;
}

.footer-distributed .footer-company-name a{
	color: #ffffff;
}

.footer-distributed .footer-company-name a:hover{
	color: #cccccc;
}

/*------------------------------------------------------------------
    MISC
-------------------------------------------------------------------*/

.dmtop.show {
    bottom: 10px;
}

.progress {
    background-color: #f2f3f5;
    border-radius: 0;
    box-shadow: none;
    height: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.skills h3 {
    color: #999999;
    font-size: 15px;
}

.dmtop {
    background-color: #3C3D41;
    z-index: 100;
    width: 50px;
    height: 50px;
    line-height: 47px;
    position: fixed;
    bottom: -100px;
    border-radius: 3px;
    right: 10px;
    text-align: center;
    font-size: 28px;
    color: #ffffff !important;
    cursor: pointer;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    -ms-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}

.icon_wrap {
    background-color: #1f1f1f;
    width: 100px;
    height: 100px;
    display: block;
    line-height: 100px;
    font-size: 34px;
    color: #ffffff;
    margin: 0 auto;
    text-align: center;
    padding: 0 !important;
    border: 0 !important;
}

.stat-wrap h3 {
    font-size: 18px;
    font-weight: 400;
    color: #999 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important:
}

.stat-wrap p {
    font-size: 38px;
    color: #ffffff;
    margin: 0;
    font-weight: 300;
    padding: 4px 0 0;
    line-height: 1 !important:
}

#preloader {
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #333333;
    z-index: 11000;
    position: fixed;
    display: block
}


#main-ld {
  width: 70px;
  height: 70px;
  overflow: hidden;
  position: absolute;
  top: calc(50% - 17px);
  left: calc(50% - 35px);
}
#loader {
  width: 70px;
  height: 70px;
  border-style: solid;
  border-top-color: #FFF;
  border-right-color: #FFF;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotate 3s ease-in-out infinite;
  transform: rotate(-200deg)
}
@keyframes rotate {
  0% { border-width: 10px; }
  25% { border-width: 3px; }
  50% { 
    transform: rotate(115deg); 
    border-width: 10px;
  }
  75% { border-width: 3px;}
  100% { border-width: 10px;}
}

/*------------------------------------------------------------------
    BUTTONS
-------------------------------------------------------------------*/

.navbar-default .btn-light {
    padding: 0 20px;
    margin-left: 15px;
}

.btn {
    border: 0 !important;
}

.btn-light {
    padding: 10px 40px;
    font-size: 18px;
    border: 2px solid #ffffff !important;
    color: #ffffff;
    background-color: transparent;
}

.btn-dark {
    padding: 13px 40px;
    font-size: 18px;
    border: 1px solid #ececec !important;
    color: #1f1f1f;
    background-color: transparent;
}

.btn-light:hover,
.btn-light:focus {
    border-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.6);
}

/*codigo de ivan*/
/* ==========================================================
   GROWING BUSINESS CONSULTING - ESTILOS PRINCIPALES
   ========================================================== */

/* 🎨 Paleta de colores institucional */
:root {
  --primary: #00313C;   /* Azul petróleo oscuro */
  --secondary: #0D5257; /* Azul profundo */
  --accent: #26D07C;    /* Verde tecnológico */
  --highlight: #A7E163; /* Verde claro */
  --background: #F0EADA;/* Beige claro */
  --text-dark: #1A1A1A;
  --text-light: #ffffff;
}

/* ==========================================================
   HEADER DOBLE TRANSFORMABLE - LOGO + REDES
   ========================================================== */

/* Estado inicial */
#header-gbc {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.4s ease;
}

/* 🔹 Barra superior */
.top-bar {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 8px 0;
  transition: all 0.4s ease;
  font-size: 0.95rem;
}

/* Logo + texto institucional */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand .brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-light);
  margin-left: 6px;
  line-height: 1.2;
  transition: color 0.4s ease;
}

.navbar-brand .brand-text strong {
  color: var(--highlight);
}

.navbar-brand .brand-text span {
  color: var(--accent);
}

/* 🔹 Barra inferior (menú principal) */
.main-nav {
  background-color: var(--secondary);
  transition: all 0.4s ease;
  padding: 0.6rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--highlight);
}

/* 🔹 Redes sociales */
.social-top a {
  color: var(--text-light);
  margin-left: 12px;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.social-top a:hover {
  color: var(--accent);
}

/* 🔸 Estado al hacer scroll (fusionado y blanco) */
.header-scrolled .top-bar {
  display: none;
}

.header-scrolled .main-nav {
  background-color: #ffffff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 0.4rem 0;
}

.header-scrolled .navbar-brand img {
  height: 40px !important;
}

.header-scrolled .navbar-brand .brand-text {
  color: var(--primary);
}

.header-scrolled .navbar-brand .brand-text strong {
  color: var(--secondary);
}

.header-scrolled .navbar-brand .brand-text span {
  color: var(--accent);
}

.header-scrolled .main-nav .nav-link {
  color: var(--primary);
}

.header-scrolled .main-nav .nav-link:hover,
.header-scrolled .main-nav .nav-link.active {
  color: var(--accent);
}

.header-scrolled .social-top a {
  color: var(--primary);
}

/* 🔹 Menú móvil */
.navbar-toggler {
  color: var(--text-light);
  border: none;
}

.navbar-toggler:focus {
  outline: none;
}

/* ==========================================================
   HERO PRINCIPAL - TEXTO IZQUIERDA, IMAGEN DERECHA
   ========================================================== */

.hero-modern {
  background-color: var(--background);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Grid principal */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Texto (columna izquierda) */
.hero-text h5 {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text h1 {
  color: var(--primary);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 520px;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 12px;
  transition: all 0.3s ease-in-out;
}

/* Botones base */
.consult-btn {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.consult-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.register-btn {
  background-color: var(--accent);
  color: var(--primary);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.register-btn:hover {
  background-color: var(--highlight);
}

/* Responsive para móviles pequeños (menos de 576px) */
@media (max-width: 575.98px) {
  .consult-btn,
  .register-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;         /* Botones ocupan todo el ancho */
    text-align: center;  /* Centrar texto */
    margin-bottom: 12px; /* Separación vertical */
  }
}

/* Responsive para tablets y pantallas medianas (576px a 991.98px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .consult-btn,
  .register-btn {
    padding: 11px 24px;
    font-size: 1rem;
  }
}


/* Imagen (columna derecha) */
.hero-image {
  position: relative;
  display: inline-block;
}

.hero-image img {
  width: 80%;
  max-width: 360px;
  max-height: 3500px; /* 🔹 controla la altura máxima */
  height: auto;       /* mantiene proporción */
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

/* 🔸 Degradado inferior */
.hero-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px; /* altura del degradado */
  border-radius: 0 0 12px 12px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    var(--background) 100%
  );
  pointer-events: none;
}



/* =================== RESPONISVE =================== */

/* En pantallas medianas hacia abajo (tablets y móviles grandes) */
@media (max-width: 991.98px) {
  .hero-grid {
    grid-template-columns: 1fr; /* Una sola columna */
    gap: 30px;
  }

  .hero-text p {
    max-width: 100%; /* Que ocupe todo el ancho disponible */
  }

  .hero-image img {
    width: 60%;
    max-width: 280px;
  }
}

/* En pantallas pequeñas (móviles) */
@media (max-width: 575.98px) {
  .hero-modern {
    padding: 60px 15px 40px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h5 {
    font-size: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .hero-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-right: 8px;
  }

  .hero-image img {
    width: 90%;
    max-width: 320px;
  }
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-image {
    text-align: center;
    margin-top: 30px;
  }
  .hero-image img {
    width: 90%;
    max-width: 380px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .main-nav {
    background-color: var(--primary);
  }
  .social-top {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand .brand-text {
    font-size: 0.9rem;
  }
}
/* ==========================================================
   HEADER - NUEVO COMPORTAMIENTO SCROLL Y FUENTES
   ========================================================== */

/* Fuente base regular */
body, .brand-text, .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

/* Oculta el menú inferior al inicio */
#mainNav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

/* Cuando se hace scroll */
.header-scrolled #mainNav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Cambia logo y colores en el estado scrolled */
.header-scrolled #logo-gbc {
  opacity: 0;
  pointer-events: none;
}

.header-scrolled #logo-gbc-alt {
  opacity: 1;
  pointer-events: auto;
}

#logo-gbc-alt {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Oculta la barra superior cuando bajamos */
.header-scrolled .top-bar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Ajustes generales de transición */
.top-bar, .main-nav {
  transition: all 0.4s ease;
}

/* Efecto suave en redes */
.social-top a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-top a:hover {
  color: var(--highlight);
  transform: scale(1.1);
}
/* ==========================================================
   HEADER UNIFICADO CON MENÚ + EFECTO DE SCROLL
   ========================================================== */

/* Estado inicial */
#header-gbc {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.4s ease;
}

/* Barra principal */
.main-nav {
  background-color: var(--primary);
  transition: all 0.4s ease;
  padding: 10px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand .brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 5px;
  line-height: 1.2;
  transition: color 0.4s ease;
}

.navbar-brand .brand-text strong {
  color: var(--highlight);
  font-weight: 600;
}

.navbar-brand .brand-text span {
  color: var(--accent);
  font-weight: 500;
}

/* Logos (normal y alternativo) */
#logo-gbc-alt {
  display: none;
}

#logo-gbc, #logo-gbc-alt {
  height: 45px;
  transition: opacity 0.4s ease;
}

/* Menú */
.nav-link {
  color: var(--text-light);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--highlight);
}

/* Redes */
.social-top a {
  color: var(--text-light);
  margin-left: 12px;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-top a:hover {
  color: var(--highlight);
  transform: scale(1.1);
}

/* 🔸 Estado al hacer scroll */
.header-scrolled .main-nav {
  background-color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.header-scrolled .nav-link {
  color: var(--primary);
}

.header-scrolled .nav-link:hover,
.header-scrolled .nav-link.active {
  color: var(--accent);
}

.header-scrolled .brand-text {
  color: var(--primary);
}

.header-scrolled .brand-text strong {
  color: var(--secondary);
}

.header-scrolled .brand-text span {
  color: var(--accent);
}

.header-scrolled .social-top a {
  color: var(--primary);
}

/* Cambio de logo */
.header-scrolled #logo-gbc {
  display: none;
}

.header-scrolled #logo-gbc-alt {
  display: inline-block;
}

/* Responsivo */
@media (max-width: 992px) {
  .navbar-collapse {
    background-color: var(--primary);
    border-radius: 8px;
    margin-top: 10px;
  }

  .nav-link {
    color: var(--text-light);
    text-align: center;
    display: block;
  }

  .social-top {
    display: none;
  }
}
/* ==========================================================
   EFECTO FLOTANTE PARA LA BARRA INFERIOR DEL HEADER
   ========================================================== */

/* 🔹 Barra inferior flotante */
.main-nav {
  background-color: var(--secondary);
  padding: 0.8rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 85%;
  margin: 0 auto;
  position: relative;
  top: 10px;
  transition: all 0.4s ease;
  z-index: 10;
}

/* 🔸 Hace que parezca despegada del fondo */
#header-gbc {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding-bottom: 10px; /* Espacio para la barra flotante */
  background-color: transparent;
}

/* 🔹 Transición al hacer scroll */
.header-scrolled .main-nav {
  background-color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  width: 90%;
  margin-top: 5px;
}

/* 🔹 Ajustes del menú dentro de la barra */
.main-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--highlight);
}

/* 🔸 Colores al hacer scroll */
.header-scrolled .main-nav .nav-link {
  color: var(--primary);
}

.header-scrolled .main-nav .nav-link:hover,
.header-scrolled .main-nav .nav-link.active {
  color: var(--accent);
}

/* 🔹 Responsivo (ajuste para pantallas pequeñas) */
@media (max-width: 992px) {
  .main-nav {
    width: 95%;
    border-radius: 12px;
    padding: 0.7rem 1rem;
  }
}
/* ==========================================================
   EFECTO FLOTANTE PARA LA BARRA INFERIOR DEL HEADER
   ========================================================== */

#header-gbc {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding-bottom: 10px; /* Espacio para la barra flotante */
  background-color: transparent;
}

/* 🔹 Barra inferior flotante */
.main-nav {
  background-color: var(--secondary);
  padding: 0.8rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 85%;
  margin: 0 auto;
  position: relative;
  top: 10px;
  transition: all 0.4s ease;
  z-index: 10;
}

/* 🔸 Al hacer scroll */
.header-scrolled .main-nav {
  background-color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  width: 90%;
  margin-top: 5px;
}

/* 🔹 Menú links */
.main-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--highlight);
}

/* 🔸 Colores al hacer scroll */
.header-scrolled .main-nav .nav-link {
  color: var(--primary);
}

.header-scrolled .main-nav .nav-link:hover,
.header-scrolled .main-nav .nav-link.active {
  color: var(--accent);
}

/* 🔹 Responsivo */
@media (max-width: 992px) {
  .main-nav {
    width: 95%;
    border-radius: 12px;
    padding: 0.7rem 1rem;
  }
}
/* ==========================================================
   SECCIÓN "QUÉ HACEMOS" - ESTILO MODERNO GBC
   Bootstrap 5.3 + TailwindCSS + Animaciones suaves
   ========================================================== */

/* Fondo general de la sección */
#what-we-do {
  background: linear-gradient(180deg, #F0EADA 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Título y subtítulo */
#what-we-do h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#what-we-do h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Subtítulo */
#what-we-do p.lead {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0.85;
}

/* Tarjetas de servicio */
#what-we-do .service-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 2.2rem 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Efecto sutil al pasar el mouse */
#what-we-do .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Íconos con fondo circular */
#what-we-do .service-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  background: rgba(38, 208, 124, 0.1);
  padding: 18px;
  border-radius: 50%;
  transition: all 0.4s ease;
}

#what-we-do .service-card:hover i {
  background: var(--accent);
  color: var(--text-light);
  transform: scale(1.1);
}

/* Títulos dentro de las tarjetas */
#what-we-do .service-card h5 {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* Descripción */
#what-we-do .service-card p {
  color: var(--text-dark);
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Animación de entrada */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#what-we-do .service-card {
  animation: fadeUp 0.8s ease both;
}

/* Retraso escalonado para cada tarjeta */
#what-we-do .service-card:nth-child(1) {
  animation-delay: 0.1s;
}
#what-we-do .service-card:nth-child(2) {
  animation-delay: 0.3s;
}
#what-we-do .service-card:nth-child(3) {
  animation-delay: 0.5s;
}

/* Responsivo */
@media (max-width: 768px) {
  #what-we-do h2 {
    font-size: 1.8rem;
  }

  #what-we-do .service-card {
    margin-bottom: 1.5rem;
  }
}
:root {
  --primary: #00313C;
  --secondary: #0D5257;
  --accent: #26D07C;
  --highlight: #A7E163;
  --background: #F0EADA;
  --text-dark: #1A1A1A;
  --text-light: #ffffff;
}

/* Tipografía */
body {
  font-family: "Degular", "Montserrat", sans-serif;
  color: var(--text-dark);
}

/* SECCIONES */
.section-title {
  color: var(--secondary) !important; /* mismo color del header */
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}
/* Tarjetas modernas */
.service-card, .card-method {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.service-card:hover, .card-method:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-top: 4px solid var(--accent);
}

/* Iconos */
.text-accent { color: var(--accent); }

/* ==================== BOTONES ANIMADOS ==================== */
/* ==========================================================
   BOTONES "SMART EXECUTIVE GLOW"
   Ajuste dinámico de brillo según color de fondo
   ========================================================== */
/* ==========================================================
   BOTONES MODERNOS CON ANIMACIÓN BRILLANTE Y EJECUTIVA ✨
   ========================================================== */

/* Base general */
.btn {
  display: inline-block;
  font-family: 'Degular', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Efecto de brillo diagonal dinámico */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-25deg);
  transition: all 0.5s ease;
  z-index: 0;
}

.btn:hover::before {
  left: 130%;
  transition: all 0.6s ease;
}

/* Botón verde oscuro (principal / corporativo) */
.consult-btn {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--text-light);
  box-shadow: 0 6px 15px rgba(0, 49, 60, 0.25);
}

.consult-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 49, 60, 0.35);
}

/* Botón verde claro (secundario / destacado) */
.register-btn {
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: var(--primary);
  box-shadow: 0 6px 15px rgba(38, 208, 124, 0.25);
}

.register-btn:hover {
  background: linear-gradient(135deg, var(--highlight), var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(38, 208, 124, 0.35);
}

/* Estado activo */
.btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

/* 🔹 Brillo elegante en foco */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(38, 208, 124, 0.3);
}

/* ==========================================================
   VARIANTES DE COLOR
   ========================================================== */

/* 🟦 Azul ejecutivo (oscuro con brillo claro) */
.consult-btn {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--text-light);
}

.consult-btn::after {
  box-shadow: 0 0 10px rgba(255,255,255,0.1),
              0 0 25px rgba(38, 208, 124, 0.2);
}

.consult-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  transform: translateY(-2px);
}

.consult-btn:hover::after {
  box-shadow: 0 0 15px rgba(255,255,255,0.2),
              0 0 35px rgba(38,208,124,0.3);
}

/* 💚 Verde institucional (brillo suave y elegante) */
.register-btn {
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: var(--primary);
}

.register-btn::after {
  box-shadow: 0 0 8px rgba(167,225,99,0.3),
              0 0 20px rgba(38,208,124,0.3);
}

.register-btn:hover {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--text-light);
  transform: translateY(-2px);
}

.register-btn:hover::after {
  box-shadow: 0 0 16px rgba(167,225,99,0.4),
              0 0 40px rgba(38,208,124,0.5);
}

/* ⚪ Botón neutro (para formulario de contacto, opcional) */
.submit-btn {
  background: linear-gradient(135deg, #ffffff, #f8f9f9);
  color: var(--primary);
  border: 2px solid var(--accent);
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: var(--primary);
  transform: translateY(-2px);
}

/* 🔸 Efecto clic */
.btn:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}


/* Botón principal */
.consult-btn {
  background-color: var(--secondary);
  color: var(--text-light);
}
.consult-btn::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: all 0.3s ease;
  z-index: 0;
  transform: translateY(0);
}
.consult-btn:hover::before {
  top: 0;
}
.consult-btn span, .consult-btn {
  position: relative;
  z-index: 1;
}
.consult-btn:hover {
  color: var(--primary);
}

/* ==================== FORMULARIO ==================== */
form .form-control {
  border: 1px solid #ccc;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(38, 208, 124, 0.25);
}
.shape-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-img {
  width: 70%;              /* Imagen más pequeña */
  border-radius: 18px;
  position: relative;
  z-index: 2;
}

/* Semicírculo superior verde */
.half-circle.top {
  position: absolute;
  width: 180px;
  height: 260px;
  background-color: #A7E037;
  border-radius: 0 0 260px 260px;
  top: -140px;
  right: 0;
  z-index: 100;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Semicírculo inferior azul oscuro */
.half-circle.bottom {
  position: absolute;
  width: 180px;
  height: 260px;
  background-color: #002B3D;
  border-radius: 260px 260px 0 0;
  bottom: -140px;
  left: 0;
  z-index: 1;
  opacity: 0.95;
  transition: all 0.3s ease;
}

/* Efecto hover */
.shape-wrapper:hover .half-circle.top,
.shape-wrapper:hover .half-circle.bottom {
  transform: scale(1.05);
  opacity: 1;
}

/* Modo móvil: colores más tenues y transparentes */
@media (max-width: 768px) {
  .half-circle.top {
    background-color: rgba(167, 224, 55, 0.3); /* verde tenue y transparente */
    opacity: 0.6;
  }
  .half-circle.bottom {
    background-color: rgba(0, 43, 61, 0.3);   /* azul oscuro tenue y transparente */
    opacity: 0.6;
  }
}

@media (max-width: 480px) {
  .half-circle.top {
    background-color: rgba(167, 224, 55, 0.15); /* aún más tenue */
    opacity: 0.4;
  }
  .half-circle.bottom {
    background-color: rgba(0, 43, 61, 0.15);
    opacity: 0.4;
  }
}

/* Hace que todas las columnas sean del mismo alto */
.row.g-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hace que las tarjetas se expandan uniformemente */
.card-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.card-modern i {
  transition: color 0.3s ease;
}

/* Alternar colores automáticamente */
.card-modern:nth-child(odd) i {
  color: var(--accent); /* Verde tecnológico */
}

.card-modern:nth-child(even) i {
  color: var(--primary); /* Azul petróleo */
}

/* Efecto hover */
.card-modern:hover i {
  color: var(--highlight); /* Verde claro al pasar el cursor */
}

.intro-text {
  background-color: #ffffff; /* blanco limpio */
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 750px;
  text-align: center;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
}
.methodology-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #ffffff 0%, var(--background) 5%, var(--background) 95%, #ffffff 100%);
}
.background-spheres {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.background-spheres .sphere {
  position: absolute;
  width: var(--size);
  height: var(--size);
  top: var(--top);
  left: var(--left);
  background-color: var(--color);
  border-radius: 50%;
  opacity: 0.2; /* más visible que antes */
  animation: float var(--duration) ease-in-out infinite alternate;
}

/* Animación flotante más natural */
@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  25% {
    transform: translateY(-15px) translateX(10px) scale(1.05);
  }
  50% {
    transform: translateY(-10px) translateX(-10px) scale(1.02);
  }
  75% {
    transform: translateY(10px) translateX(5px) scale(1.03);
  }
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
}

/* Contenido encima del fondo */
.methodology-section .content {
  position: relative;
  z-index: 2;
  padding: 0 15px; /* Añadido para que no se pegue en pantallas pequeñas */
}

/* Introducción */
.intro-text {
  background-color: #ffffff;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 750px;
  margin: 0 auto 40px; /* Centramos y damos margen abajo */
  text-align: center;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Tarjetas modernas */
.card-modern {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.card-modern i {
  color: var(--accent);
  transition: transform 0.4s ease, color 0.4s ease;
  margin-bottom: 15px;
}

.card-modern:hover i {
  transform: scale(1.2) rotate(10deg);
  color: var(--highlight);
}

/* ================= Responsivo ================= */
@media (max-width: 992px) {
  .methodology-section .row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .methodology-section .col-md-3 {
    flex: 1 1 45%; /* 2 tarjetas por fila */
    max-width: 45%;
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .methodology-section .col-md-3 {
    flex: 1 1 100%; /* 1 tarjeta por fila */
    max-width: 100%;
    margin-bottom: 25px;
  }

  .card-modern {
    padding: 20px 15px;
  }

  .card-modern i {
    font-size: 2.5rem; /* Iconos un poco más pequeños */
    margin-bottom: 10px;
  }

  .intro-text {
    font-size: 1rem;
    padding: 20px 15px;
  }
}

/* ==========================================================
   MENÚ SUPERIOR - ESPACIADO REDUCIDO Y ESTILO CORPORATIVO
   ========================================================== */

.top-menu .nav-item {
  margin: 0 0.4rem; /* 🔹 Antes: 0.8rem → más compacto */
}

.top-menu .nav-link {
  font-family: 'Degular', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-light);
  position: relative;
  transition: all 0.3s ease;
  padding: 6px 0; /* 🔹 Menor padding vertical */
}

/* 🔸 Línea animada al hacer hover */
.top-menu .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.top-menu .nav-link:hover::after,
.top-menu .nav-link.active::after {
  width: 100%;
}

/* 🔹 Cambio de color al hover */
.top-menu .nav-link:hover,
.top-menu .nav-link.active {
  color: var(--highlight);
}

/* 🔸 Estado con scroll (header-scrolled) */
.header-scrolled .top-menu .nav-link {
  color: var(--primary);
}

.header-scrolled .top-menu .nav-link:hover,
.header-scrolled .top-menu .nav-link.active {
  color: var(--accent);
}

.header-scrolled .top-menu .nav-link::after {
  background-color: var(--accent);
}
.top-menu .nav-item {
  margin: 0 0.25rem;
}
/* ==========================================================
   TITULOS DE CADA SECTION - AJUSTE VERTICAL Y ESTILO
   ========================================================== */

.section-title {
  font-family: 'Degular', sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--primary);
  margin-top: 1.5rem;   /* 🔹 Añade espacio desde arriba */
  margin-bottom: 0.5rem;  /* 🔹 Espacio con el texto o contenido siguiente */
  position: relative;
  display: inline-block;
}

/* Opcional: línea decorativa sutil bajo el título */
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 0.6rem auto 0 auto;
  border-radius: 2px;
}
/* Contenedor de filas de servicios */
#Servicios .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Añadido para espacio uniforme entre columnas */
}

/* Cada columna debe ocupar el mismo alto */
#Servicios .col-md-4 {
  display: flex;
  flex: 1 1 30%; /* base de ancho flexible, min 30% */
  min-width: 280px; /* para que no se hagan demasiado estrechas */
}

/* Tarjeta uniforme */
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

/* Animación al pasar el mouse */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== Responsivo ===== */
@media (max-width: 992px) {
  #Servicios .col-md-4 {
    flex: 1 1 45%; /* Dos columnas en pantallas medianas */
    min-width: unset;
  }
}

@media (max-width: 600px) {
  #Servicios .col-md-4 {
    flex: 1 1 100%; /* Una columna en pantallas pequeñas */
  }

  .service-card {
    padding: 20px 15px;
  }

  .service-card i {
    font-size: 2.5rem; /* Iconos un poco más pequeños */
  }

  #Servicios h5 {
    font-size: 1.2rem;
  }

  #Servicios p {
    font-size: 0.95rem;
  }
}

/* 🔹 Scrollbar general (moderno y elegante) */
::-webkit-scrollbar {
  width: 10px;              /* ancho de la barra vertical */
  height: 10px;             /* ancho de la barra horizontal */
}

/* 🔹 Fondo del scrollbar */
::-webkit-scrollbar-track {
  background: #00313C;      /* fondo azul petróleo */
  border-radius: 10px;
}

/* 🔹 Barrita que se mueve */
::-webkit-scrollbar-thumb {
  background: #A7E163;      /* verde claro */
  border-radius: 10px;
  border: 2px solid #00313C; /* borde para integrar mejor */
  transition: background 0.3s ease;
}

/* 🔹 Efecto hover */
::-webkit-scrollbar-thumb:hover {
  background: #c9f48a; /* un tono más claro del verde al pasar el mouse */
}

/* 🔹 Firefox (compatibilidad) */
* {
  scrollbar-width: thin;
  scrollbar-color: #A7E163 #00313C;
}



