@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* ROOT VARS */
:root {
  --font-default: "Inter", sans-serif;
  --font-primary: "Inter", sans-serif;

  --color-default-light: #e3e3e3;
  --color-default: #494949;
  --color-default-dark: #000024;

  /* --color-primary-light: #ff94eb;
  --color-primary: #fc62d8;
  --color-primary-dark: #fc2dd5; */

  /* --color-secondary-light: #9e83ff;
  --color-secondary: #855afd;
  --color-secondary-dark: #683eff; */

  --color-white: #ffffff;
  --color-light: #f3f5fa;
  --color-dark: #000024;

  --regular-shaodw: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;

  --regular-shaodw: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;

  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Inter", sans-serif;
  color: var(--color-default);
  font-weight: 600;
}

a {
  text-decoration: none;
}

a:hover {
  color: #fff !important;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  color: var(--color-default-dark);
}

p {
  font-size: 20px;
  font-weight: normal;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--color-dark);
}
#preloader img {
  width: 100px;
}

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

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

.back-to-top:hover {
  background: #075e54;
  color: #fff;
}

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

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

#header {
  position: fixed; /* ✅ Este cambio es esencial */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 997;
  padding: 15px 0;
  background-color: transparent;
  transition: all 0.5s ease;
}
.header_white {
  position: fixed; /* ✅ Este cambio es esencial */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 997;
  padding: 15px 0;
  background-color: #fff !important;
  transition: all 0.5s ease;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgb(249, 250, 252);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: var(--regular-shaodw);
}

#header.header-scrolled .navbar a,
#header.header-scrolled .mobile-nav-toggle {
  color: #000 !important;
}

#header.header-scrolled .logo,
#header.header-scrolled .mobile-nav-toggle {
  color: #000 !important;
}

#header.header-scrolled .navbar a:hover,
#header.header-scrolled .navbar .active,
#header.header-scrolled .navbar li:hover > a {
  color: var(--color-primary) !important;
}

#logo {
  max-height: 45px;
}

.header_white .logo{
  color: #000 !important;
}

.btn-main {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-secondary-light);
  --bs-btn-border-color: var(--color-secondary-light);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--color-secondary-dark);
  --bs-btn-hover-border-color: var(--color-secondary-dark);
  --bs-btn-focus-shadow-rgb: 217, 164, 6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--color-secondary-dark);
  --bs-btn-active-border-color: var(--color-secondary-dark);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--color-secondary-light);
  --bs-btn-disabled-border-color: var(--color-secondary-light);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1pt;
  font-family: var(--font-primary);
}

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

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

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 16px;
  letter-spacing: 0.5pt;
  font-weight: normal;
  color: #fff;
  font-family: var(--font-primary);
  white-space: nowrap;
  transition: 0.3s;
}

.header_white .navbar a,
.navbar a:focus{
    color: #000 !important;
}

.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: var(--color-primary);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0 20px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

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

.navbar .dropdown ul a {
  padding: 10px 20px 0px 20px;
  font-size: 12px;
  letter-spacing: 0.5pt;
  text-transform: none;
  color: var(--color-default);
}

.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: var(--color-primary);
}

.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: #fff;
  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(40, 58, 90, 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;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

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

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--color-primary);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
  color: #37517e;
}

.navbar-mobile .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 {
  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: var(--color-primary);
}

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

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 40px 0;
  overflow: hidden;
}
.bg-cover {
  background-position: center;
  background-size: cover;
  width: 100%;
}

.bg-cover-cuadrado {
  background-position: center;
  background-size: cover;
  width: 100%;
  content: "";
  padding-bottom: 100%;
  border-radius: 0 3rem 3rem 3rem;
  height: 100px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  background: #0f172a;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 1) 15%,
    rgba(30, 58, 138, 1) 50%,
    rgba(58, 10, 88, 1) 100%
  );
  background-attachment: fixed;
  color: white;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.dots-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px
    ),
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 80px 80px;
  background-position: 0 0, 40px 40px;
  z-index: 0;
  animation: floatDots 60s linear infinite;
}

@keyframes floatDots {
  0% {
    background-position: 0 0, 40px 40px;
  }

  100% {
    background-position: 80px 80px, 120px 120px;
  }
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin: 0.5em 0;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
}

.hero p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 20px auto 40px;
  line-height: 1.6;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.8);
}

.grad {
  background: linear-gradient(90deg, #f037a5, #2dbfff, #f7b42c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #f037a5, #2dbfff, #f7b42c);
  border: none;
  padding: 15px 30px;
  color: white;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
  font-size: 1rem;
  text-decoration: none;
}

.cta-button:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Sección: Quiénes Somos
--------------------------------------------------------------*/
.titulo-seccion {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-default-dark);
}

.grad-text {
  background: linear-gradient(90deg, #f037a5, #2dbfff, #f7b42c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.titulo-underline {
  width: 80px;
  height: 4px;
  margin: 0 auto 2rem;
  background: linear-gradient(90deg, #f037a5, #2dbfff, #f7b42c);
  border-radius: 2px;
}

.card-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card-box:hover {
  transform: translateY(-5px);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #fcd2e7 0%, #e0e9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #dc2ba8;
}

/*--------------------------------------------------------------
# Servicios Section
--------------------------------------------------------------*/
.servicios {
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  color: #111;
  transition: 0.3s ease-in-out;
}

.icono-servicio {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.servicios h5 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.servicios li {
  font-size: 18px;
}

.btn-servicio {
  background: linear-gradient(90deg, #f037a5, #fc5185);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  transition: 0.3s ease-in-out;
}

.btn-servicio:hover {
  background: linear-gradient(90deg, #fc5185, #f037a5);
  color: #fff;
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Servicios Section
--------------------------------------------------------------*/

.icono-metodologia {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: #f037a5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  font-size: 12px;
  background-color: rgb(17 24 39);
}

#footer p {
  color: rgb(156 163 175);
}

#footer a{
  text-decoration: none;
  color: rgb(156 163 175);
  font-size: 17px;
}

#footer .footer-top {
  padding: 60px 0 0px 0;
  background: rgb(17 24 39);
}

#footer .footer-bottom {

  padding-bottom: 30px;
}

#footer .copyright {
  float: left;
  color: #fff;
}

#footer .credits {
  float: right;
  font-size: 13px;
  color: #fff;
}

/*--------------------------------------------------------------
# SOCIAL MEDIA MENU
--------------------------------------------------------------*/
.social-media-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.social-media-menu li {
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background-color: var(--color-light);
  display: flex;
  justify-content: center;
  align-items: center;
}
.social-media-menu li a {
  color: var(--color-default);
  opacity: 0.5;
  transition: 0.3s;
}
.social-media-menu li a:hover {
  color: var(--color-primary-dark) !important;
  opacity: 1;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .mision-vision-card{
    height: fit-content !important;
  }
  .cta{
    border-radius: 0px !important;
  }
  .servicio-card{
    height: 500px !important;
  }
}
