/* Fuente principal para texto general: Roboto (sans-serif) */
body {
    font-family: 'Roboto', sans-serif;
}

/* Fuente secundaria para títulos o secciones específicas: IBM Plex Serif */
.serif-title,
h1, h2, h3, span {
    font-family: 'IBM Plex Serif', serif;
}

/* Si deseas aplicarla a ciertos bloques de texto */
.text-serif {
    font-family: 'IBM Plex Serif', serif;
}

.hero {
    margin: 0;
    padding-top: 100px;
    min-height: 100vh; /* Mejora: permite que crezca con el contenido */
    background-image: 
      linear-gradient(45deg, rgb(37, 6, 46) 0%, rgb(37, 6, 46) 28%, rgb(66, 27, 59) 28%, rgb(66, 27, 59) 31%, rgb(96, 48, 72) 31%, rgb(96, 48, 72) 59%, rgb(125, 69, 85) 59%, rgb(125, 69, 85) 66%, rgb(154, 90, 97) 66%, rgb(154, 90, 97) 68%, rgb(184, 111, 110) 68%, rgb(184, 111, 110) 94%, rgb(213, 132, 123) 94%, rgb(213, 132, 123) 100%),
      linear-gradient(112.5deg, rgb(37, 6, 46) 0%, rgb(37, 6, 46) 28%, rgb(66, 27, 59) 28%, rgb(66, 27, 59) 31%, rgb(96, 48, 72) 31%, rgb(96, 48, 72) 59%, rgb(125, 69, 85) 59%, rgb(125, 69, 85) 66%, rgb(154, 90, 97) 66%, rgb(154, 90, 97) 68%, rgb(184, 111, 110) 68%, rgb(184, 111, 110) 94%, rgb(213, 132, 123) 94%, rgb(213, 132, 123) 100%),
      linear-gradient(90deg, rgb(37, 6, 46) 0%, rgb(37, 6, 46) 28%, rgb(66, 27, 59) 28%, rgb(66, 27, 59) 31%, rgb(96, 48, 72) 31%, rgb(96, 48, 72) 59%, rgb(125, 69, 85) 59%, rgb(125, 69, 85) 66%, rgb(154, 90, 97) 66%, rgb(154, 90, 97) 68%, rgb(184, 111, 110) 68%, rgb(184, 111, 110) 94%, rgb(213, 132, 123) 94%, rgb(213, 132, 123) 100%),
      linear-gradient(135deg, rgb(37, 6, 46) 0%, rgb(37, 6, 46) 28%, rgb(66, 27, 59) 28%, rgb(66, 27, 59) 31%, rgb(96, 48, 72) 31%, rgb(96, 48, 72) 59%, rgb(125, 69, 85) 59%, rgb(125, 69, 85) 66%, rgb(154, 90, 97) 66%, rgb(154, 90, 97) 68%, rgb(184, 111, 110) 68%, rgb(184, 111, 110) 94%, rgb(213, 132, 123) 94%, rgb(213, 132, 123) 100%),
      linear-gradient(90deg, rgb(100, 205, 26), rgb(46, 36, 113));
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-size: cover;
    }

/* Si se prefiere sección intermedia con degradado inverso */
.hero-transition {
  width: 100%;
  height: 80px;
  /* Degradado desde el púrpura de fondo de .hero hacia blanco */
  background: linear-gradient(to bottom, #2f060c, #ffffff);
}

.marketing{
    background-image: url('/img/MARKETING_DIGITAL1.png');
    background-size: 380px 370px;
    background-position: center;
    background-repeat: no-repeat;
}
  
.servicios {
    margin: 0;
    padding-top: 110px;
    background: #ffffff;
    padding: 80px 0;
    width: 100%;
    }

.servicios h1 {
    font-weight: bold;
    color: #e30713;
}

.nosotros {
  margin: 0;
  padding-top: 110px;
  background: #ffffff;
  padding: 80px 0;
  width: 100%;
  }

.nosotros h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.mision {
  margin: 0;
  padding-top: 80px;
  background: #ffffff;
  padding: 65px 0;
  width: 100%;
  }

.mision h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.vision {
  margin: 0;
  padding-top: 80px;
  background: #ffffff;
  padding: 30px 0;
  width: 100%;
  }

.vision h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.valores-eticos {
  margin: 0;
  padding-top: 80px;
  background: #ffffff;
  padding: 70px 0;
  width: 100%;
  }

.valores-eticos h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.valor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f5f5f5;
}

.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.199);
    cursor: pointer;
}

.testimonios {
  margin: 0;
  padding-top: 110px;
  background: #ffffff;
  padding: 80px 0;
  width: 100%;
  }

.testimonios h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.footer {
  margin: 0;
  padding-top: 110px;
  background: #1d1d1d;
  color: #ffffff;
  padding: 80px 0;
  width: 100%;
  }

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.footer p {
  color: #ffffff;
  font-size: 0.9rem;
}

.carousel-card-testimonio{
  padding: 20px;
  margin: 10px;
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid #e63946;
  border-radius: 20px;
  font-size: 0.9rem;
}

.contacto {
  margin: 0;
  padding-top: 110px;
  background: #ffffff;
  padding: 80px 0;
  width: 100%;
  }

.contacto h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.circle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e30713; /* Color de fondo */
  border-radius: 50%;         /* Hace el fondo circular */
  width: 60px;                /* Tamaño del círculo */
  height: 60px;
}
.circle-icon i {
  color: #ffffff;             /* Color del icono */
  font-size: 2rem;            /* Tamaño del icono */
}

.circle-icon-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1877F2; /* Color de fondo */
  border-radius: 50%;         /* Hace el fondo circular */
  width: 60px;                /* Tamaño del círculo */
  height: 60px;
}

.circle-icon-social i {
  color: #ffffff;             /* Color del icono */
  font-size: 2rem;            /* Tamaño del icono */
  text-decoration: none;
}

.circle-icon-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-radius: 50%;         /* Hace el fondo circular */
  width: 60px;                /* Tamaño del círculo */
  height: 60px;
}

.circle-icon-instagram i {
  color: #ffffff;             /* Color del icono */
  font-size: 2rem;            /* Tamaño del icono */
  text-decoration: none;
}

.circle-icon-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0A66C2;
  border-radius: 50%;         /* Hace el fondo circular */
  width: 60px;                /* Tamaño del círculo */
  height: 60px;
}

.circle-icon-in i {
  color: #ffffff;             /* Color del icono */
  font-size: 2rem;            /* Tamaño del icono */
}

.circle-icon-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  border-radius: 50%;         /* Hace el fondo circular */
  width: 60px;                /* Tamaño del círculo */
  height: 60px;
}

.circle-icon-x i {
  color: #ffffff;             /* Color del icono */
  font-size: 2rem;            /* Tamaño del icono */
}

.info-contact{
  border: 1px solid #dbdbdb;
  border-radius: 20px;
  background-color: #f5f5f5;
}

.form-contact{
  border: 1px solid #dbdbdb;
  border-radius: 20px;
}

/* CSS personalizado para el carrusel */
#serviceCarousel .carousel-inner {
    overflow: hidden; /* Oculta cualquier desbordamiento horizontal */
  }
  #serviceCarousel .carousel-item {
    display: flex;              /* Dispone las tarjetas en fila */
    transition: transform .5s;  /* Transición suave al desplazar */
  }
  #serviceCarousel .carousel-item .card {
    flex: 0 0 33.333%;  /* En escritorio: 3 tarjetas por vista */
    max-width: 33.333%;
  }
  /* En tablet (≥768px y <992px): 2 tarjetas por vista */
  @media (max-width: 991.98px) {
    #serviceCarousel .carousel-item .card {
      flex: 0 0 50%;
      max-width: 50%;
    }
  }
  /* En móvil (<768px): 1 tarjeta por vista */
  @media (max-width: 767.98px) {
    #serviceCarousel .carousel-item .card {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Toggler personalizado (icono blanco) */
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }   

.navbar-brand span {
    color: #ffffff !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #e63946 !important;
    transform: scale(1.05);
}

.navbar.scrolled {
    background-color: white !important;
    transition: background-color 0.3s ease-in-out;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand span {
    color: #000000 !important;
}

.navbar.scrolled .custom-toggler .navbar-toggler-icon {
    /* Cambia icono a negro si es necesario */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Dropdown personalizado */
.dropdown-menu {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease-in-out;
    min-width: 220px;
    z-index: 1000;
}

.dropdown-item {
    color: #212529 !important;
    padding: 10px 20px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: #e63946;
    color: #fff !important;
}

.dropdown-divider {
    border-top: 1px solid #dee2e6;
    margin: 5px 0;
}

/* Mostrar dropdown al hacer hover */
.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Botón: Iniciar Sesión */
.custom-login-btn {
    background-color: #ffffff;
    color: #e30713;
    border-color: #e30713;
    transition: all 0.3s ease;
}

.custom-login-btn:hover {
    color: white;
    background-color: #e30713;
    border-color: #ffffff;
}

/* Botón: Registrate */
.custom-register-btn {
    background-color: #e30713;
    border-color: #ffffff;
    color: white;
    transition: all 0.3s ease;
}

.custom-register-btn:hover {
    background-color: #1d1d1d;
    border-color: #e30713;
    color: #fff;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  padding: 20px;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 10px;
}

/* Responsivo */
@media (min-width: 601px) {
  .carousel-card {
      flex: 0 0 50%;
  }
}

@media (min-width: 901px) {
  .carousel-card {
      flex: 0 0 33.3333%;
  }
}

.carousel-card .card {
  height: 100%;                 /* ✅ Asegurar altura completa */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-card img {
  width: 100%;
  max-width: 100%;              /* ✅ Asegura que no desborde */
  height: auto;
  object-fit: contain;          /* ✅ No deforma imágenes */
  border-radius: 12px;
}

/* Ajustes para textos internos */
.carousel-card .card-body {
  padding: 1rem;
  font-size: 0.95rem;
  overflow-wrap: break-word;    /* ✅ Prevenir texto largo sin romper */
}

.carousel-card:hover img {
  transform: scale(1.05);
  filter: brightness(90%);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #333;
}

.hidden{
visibility: hidden;
}

.custom-line {
  width: 10%;          /* Controla el largo de la línea */
  height: 5px;         /* Grosor de la línea */
  background-color: red; /* Color de la línea */
  border: none;        /* Elimina bordes predeterminados */
  margin: 0 auto;      /* Centra la línea */
}

.custom-line1 {
  width: 20%;          /* Controla el largo de la línea */
  height: 5px;         /* Grosor de la línea */
  background-color: red; /* Color de la línea */
  border: none;        /* Elimina bordes predeterminados */
  margin: 0;      /* Centra la línea */
}

.custom-line2 {
  width: 20%;          /* Controla el largo de la línea */
  height: 5px;         /* Grosor de la línea */
  background-color: red; /* Color de la línea */
  border: none;        /* Elimina bordes predeterminados */
  margin-left: auto;       /* Empuja hacia la derecha */
  margin-right: 0;         /* Por claridad */
}

.custom-line-white {
  width: 100%;          /* Controla el largo de la línea */
  height: 3px;         /* Grosor de la línea */
  background-color: rgb(255, 255, 255); /* Color de la línea */
  border: none;        /* Elimina bordes predeterminados */
  margin: 0 auto;      /* Centra la línea */
}