/**
* Template Name: iPortfolio
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  color: #272829; background: white;
}
:root { --font-base: 'Paris Forbel', serif; }
  html, body { font-family: var(--font-base); } 

 #form-confirmacion {
    max-width: 500px;
    margin: auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

/* === Lista de invitados estilo "tarjeta" igual ancho === */
.lista-invitados {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  padding: 10px 0;
}

/* Cada tarjeta de invitado */
.lista-invitados .form-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 12px 18px;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Ocultamos el checkbox real */
.lista-invitados .form-check-input {
  display: none;
}

/* Texto del invitado */
.lista-invitados .form-check-label {
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  text-transform: capitalize;
}

/* Corazón al lado derecho */
.lista-invitados .form-check-label::after {
  content: "🤍";
  font-size: 20px;
  transition: all 0.25s ease;
  margin-left: 8px;
  transform: scale(1);
}

/* Al pasar el mouse */
.lista-invitados .form-check:hover {
  background-color: #f9f9f9;
  border-color: #ff80ab;
}

/* Estilo cuando está seleccionado */
.lista-invitados .form-check-input:checked + .form-check-label {
  color: #fff;
  font-weight: 600;
}

/* Cambiar el corazón */
.lista-invitados .form-check-input:checked + .form-check-label::after {
  content: "❤️";
  transform: scale(1.15);
}

/* Cambiar el fondo completo de la tarjeta al marcar */
.lista-invitados .form-check-input:checked ~ .form-check {
  background-color: #ff4081 !important;
  border-color: #ff4081;
}

/* Efecto visual global */
.lista-invitados .form-check-input:checked + .form-check-label,
.lista-invitados .form-check-input:checked + .form-check-label::after {
  animation: pulse 0.3s ease-in-out;
}

/* Animación del corazón */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}


#hero .hero-button {
  position: relative;
  z-index: 999999999;            /* delante de overlays */
  pointer-events: auto;   /* asegura que reciba el click */
}

  #form-confirmacion label {
    font-weight: bold;
    font-size: 16px;
    color: #555;
  }

  /* Custom Radio Buttons */
  .custom-radio {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
  }

  .custom-radio input {
    display: none;
  }

  .custom-radio label {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 60px;
    background-color: #e0e0e0; /* Color de fondo gris claro */
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 100px;
  }

  /* Styles when checked */
  .custom-radio input:checked + label {
    color: white;
    border: none;
  }

  /* Green background for "Sí asistiré" */
  #asistencia-si:checked + label {
    background-color: #28a745;
      color: white;
  }

  /* Orange background for "No asistiré" */
  #asistencia-no:checked + label {
    background-color: #ff7f50;
      color: white;
  }

  /* WhatsApp Input Styles */
  #whatsapp {
    font-size: 18px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc !important; /* Borde gris claro */
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Submit Button */
  #btn-confirmar {
    font-size: 18px;
    padding: 12px 0;
    border-radius: 8px;
    width: 100%;
  }

a {
  color: #149ddd;
  text-decoration: none;
}

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
      font-family: 'Paris Forbel', serif;
}

 .position-relative {
    position: relative;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
background: linear-gradient(0deg, rgba(0,0,0,1) 35%, rgba(0,0,0,0.3426558123249299) 70%, rgba(0,0,0,0) 100%);
     pointer-events: none; /* Asegura que la capa no interfiera con la interacción del usuario */
    z-index: 1;
  }

  .col-md-12 img {
    position: relative;
    z-index: 0;
  }

  #countdown {
    max-width: 500px; /* Limita el ancho en pantallas grandes */
    width: 100%; /* Ajusta al ancho del contenedor */
    margin: 0 auto; /* Centra el temporizador */
  }

  .timer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .number {
    font-size: 18px; /* Tamaño grande para los números */
    font-weight: bold;
  }

  .label {
    font-size: 12px; /* Tamaño pequeño para las etiquetas */
    margin-top: 5px; /* Espaciado entre el número y la etiqueta */
  }

.logoeo {
    z-index: 9999 !important;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1000; /* Asegúrate de que el z-index sea menor que 9999 */
    background: rgb(0,0,0);
    opacity: .9; 
} 
.loaderr {
  border: 16px solid #f3f3f3; /* Light gray */
  border-top: 16px solid #83bc79; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: 300px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.flip-box {
  background-color: transparent;
  width: 100%;
  height: ;
  border: 1px solid #f1f1f1;
  perspective: 1000px;
  
}
.cursor {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 111;
    border: 1px solid #000;
    transition: all 0.2s ease-out;
    animation: moveCursor1 .5s infinite alternate;
}

.expand {
    background: transparent;
    animation: moveCursor2 .5s forwards;
    border: 1px solid #000;
}

@keyframes moveCursor1 {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(.8);
    }
}

@keyframes moveCursor2 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(2);
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}
/* Pastillas tipo botón para radios 100% clicables */
.rsvp-pill {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

/* Ocultamos visualmente el radio pero sigue recibiendo foco/lectores */
.rsvp-pill input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
}

/* El “botón” visible */
.rsvp-pill span {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 9999px;
  background: #e9ecef;
  color: #333;
  border: 2px solid #d1d5db;
  font-weight: 600;
  transition: all .2s ease;
  line-height: 1;
}

/* Hover */
.rsvp-pill:hover span {
  background: #f3f4f6;
  border-color: #cbd5e1;
}

/* Activo (checked) */
.rsvp-pill input[type="radio"]:checked + span {
  background: #198754;    /* verde Bootstrap */
  color: #fff;
  border-color: #198754;
  box-shadow: 0 0 0 2px rgba(25,135,84,.2);
  transform: translateY(-1px);
}

/* Accesibilidad: estado focus con teclado */
.rsvp-pill input[type="radio"]:focus + span {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(25,135,84,.35);
}


/* Ocultar contenido para celulares por defecto */
.mobile-content {
  display: none !important;
}



/* Mostrar contenido para celulares en pantallas pequeñas */
@media (max-width: 767px) {
    
    .desktop-content {
  display: none !important;
}
  .mobile-content {
    display: block !important;
  }
}

/* Mostrar contenido para computadoras, tablets y laptops en pantallas grandes */
@media (min-width: 768px) {
  .desktop-content {
    display: block;
    position: relative;
    width: 100%;
    height: 100vh; /* Asegura que el contenedor abarque toda la altura de la ventana */
    background: url('https://intecmedia.com.mx/ryd/ryd2.png') no-repeat center center;
    background-size: cover; /* Asegura que la foto cubra toda el área */
  }
  
  .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Cover oscuro */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .text-content {
    text-align: center;
    color: white;
  }

  .text-content img {
    max-width: 100%;
    height: auto;
  }
}








.cont:after {
    
    
    content: "+" !important;
    display: inline !important; 
} 

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  background-color: #bbb;
  color: black;
}

.flip-box-back {
  background-color: dodgerblue;
  color: white;
  transform: rotateY(180deg);
}



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

.back-to-top i {
  font-size: 30px;
  color: #149ddd;
  line-height: 0;
    
}

.back-to-top:hover {
  background: #fff;
  color: #fff;
        box-shadow: 0px 0 20px rgba(0, 0, 0, 0.09);
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #040b14;
  overflow-y: auto;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid #2c2f3f;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

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

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #149ddd;
  color: #fff;
  text-decoration: none;
}


.oscar {
position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.tecs {
position: absolute;
  bottom: 2%;
    z-index: 999;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.tec-slider img {
    
    opacity: 0.1;
}

.container,
.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

.txt-load {
    
    margin-top: -250px;
}

.tit {
    
    font-size: 40px;
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 35px;
    line-height: 36px;
  }
.tit {
    
    font-size: 40px;
}
  #hero h2 {
            text-align: center;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  .tecs {
position: absolute;
  bottom: 8%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
  
 
.tec-slider img {
    
    opacity: 0.2;
}

    /* por si algún margen del primer hijo colapsa con el section */
#hero { 
  margin-top: 0;
  padding-top: 0;
  position: relative;
}

/* evita “hueco” por imágenes inline */
#hero img.hero-img {
  display: block;
  margin: 0;
}
    
    /* pegado al tope del navegador */
html,body{margin:0;padding:0}

/* Hero */
.hero{ position:relative; width:100% }
.hero-img{ display:block; width:100%; height:auto }

/* Arco café que se monta sobre la foto */
.hero-arch{
  --arch-bg:#7a4a2f;                 /* ajusta al tono de tu diseño */
  background:var(--arch-bg);
  width:min(92vw, 720px);
  margin: clamp(-12vw, -12vw, -12vw) auto 0; /* se superpone a la foto */
  padding: clamp(26px,5.5vw,40px) clamp(22px,5vw,34px) clamp(78px,9vw,96px);
  border-radius: 9999px 9999px 24px 24px;     /* arco arriba */
  outline: clamp(10px,2.5vw,14px) solid #fff;/* borde blanco */
  position:relative;
  color:#fff;
  text-align:center;
}


    
    
    html, body {
  margin: 0;
  padding: 0;
}



.hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-section {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: center;      /* centra verticalmente si hay altura */
  padding: 20px;
  background: none;
}

/* Botón */
.hero-button {
  width: 70%;         /* tamaño reducido al 70% */
  max-width: 400px;   /* límite opcional para pantallas grandes */
  height: auto;       /* mantiene proporción */
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Animación suave al pasar el mouse */
.hero-button:hover {
  transform: scale(1.05);
}
.timeline-section {
  margin-top: 40px;
padding: 0 10px;           /* 👈 el padding que quieres */
  box-sizing: border-box;   /* evita que el padding rompa el ancho */
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

 /* Base segura: no tocar otros heroes */
.hero--confirmacion { position: relative; }
.hero--confirmacion .hero-img { display:block; width:100%; height:auto; }

/* Overlay centrado encima de la imagen */
.hero--confirmacion .hero-overlay{
  position: absolute;
  inset: 0;                /* cubre toda la imagen */
  display: grid;
  place-items: center;     /* centra perfecto */
  padding: 20px;           /* pendiente de 20px desde los bordes */
  z-index: 9;
}

/* Tarjeta del formulario (transparente y centrada) */
.hero--confirmacion .form-card{
  width: min(540px, 72vw);
  text-align: center;
  color: #fff;
  /* si quieres que el fondo sea semitransparente, descomenta: */
  /* background: rgba(0,0,0,.25); backdrop-filter: blur(2px); border-radius: 16px; padding: 16px; */
}

.hero--confirmacion .form-title{
  font-size: clamp(16px, 3.8vw, 18px);
  font-weight: 600;
}

/* Input y botón */
.hero--confirmacion .form-input {
  display: block;        /* convierte en elemento de bloque */
  margin: 10px auto 0;   /* lo centra horizontalmente */
  width: 80%;            /* tu ancho personalizado */
  background: #fff !important;
  border-radius: 60px;
  padding: 10px 16px;
  text-align: center;
  font-weight: 600;
}


.hero--confirmacion .form-btn{
  background: #CAA747 !important;
  border: none;
  border-radius: 60px;
  padding: 8px 18px;
  font-weight: 700;
  color: #fff;
  margin-top: 5px;
  cursor: pointer;
}

.hero--confirmacion .form-btn:hover { filter: brightness(1.05); }
   
}

/* === Ajustes finos del hero de confirmación === */
.hero--confirmacion .hero-overlay{
  /* sigue centrado, pero un poco más ARRIBA */
  transform: translateY(-6vw);     /* súbelo. Prueba -6vw a -10vw */
  padding: 20px;                   /* pendiente de 20px */
}

.hero--confirmacion .form-card{
  width: min(480px, 82vw);         /* más pequeño para que no se salga */
}

/* Título */
.hero--confirmacion .form-title{
  font-size: clamp(14px, 3vw, 18px); /* reduce ligeramente */
}

/* Input */
.hero--confirmacion .form-input{
  padding: 8px 14px;               /* menos alto */
  font-size: clamp(14px, 3.6vw, 16px);
}

/* Botón */
.hero--confirmacion .form-btn{
  padding: 6px 16px;               /* más compacto */
  font-size: clamp(14px, 3.6vw, 16px);
}

/* En pantallas grandes, subimos un poco menos */
@media (min-width: 768px){
  .hero--confirmacion .hero-overlay{
    transform: translateY(-48px);
  }
}

.paper-bg{
  position: relative;
  isolation: isolate;         /* stacking context local */
  overflow: hidden;           /* 👈 recorta el pseudo-fondo */
  --fade-top: 80px;
  --fade-bottom: 80px;
  --relief-img: url('bg-white.png');

  /* crea espacio para el fade SIN salirte del bloque */
  padding-top: var(--fade-top);
  padding-bottom: var(--fade-bottom);
}

/* Fondo detrás, contenido contenido dentro del bloque */
.paper-bg::before{
  content:"";
  position:absolute;
  inset: 0;                   /* 👈 nada de inset negativos */
  z-index: 0;
  background: var(--relief-img) center/cover repeat-y;

  /* desvanecido arriba y abajo */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 var(--fade-top),
    #000 calc(100% - var(--fade-bottom)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 var(--fade-top),
    #000 calc(100% - var(--fade-bottom)),
    transparent 100%
  );

  pointer-events: none;       /* no intercepta clics */
}

/* Todo lo de adentro, por encima del fondo */
.paper-bg > *{
  position: relative;
  z-index: 1;
}

/* Ajustes responsivos del fade si quieres */
@media (min-width: 768px){
  .paper-bg{
    --fade-top: 120px;
    --fade-bottom: 120px;
  }
}
.hero-section img.hero-button{
  position: relative;
  z-index: 1;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}


#main {
    width: 100%;
    max-width: 400px; /* Ajusta el ancho según tus necesidades */
    border-radius: 8px; /* Bordes redondeados */
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    body {
        justify-content: center; /* Centra el contenido en dispositivos móviles */
    }

    #main {
        width: 100%; /* Ancho completo en dispositivos móviles */
        max-width: none; /* Sin límite máximo en dispositivos móviles */
        margin: 0 10px; /* Márgenes laterales */
    }
} 


@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main,.uno {
    margin-left: 0;
  }

  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 0;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: #149ddd;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

:root { --nav-h: 64px; }            /* ajusta a tu navbar */
.navbar { position: fixed; top:0; left:0; right:0; }
body { padding-top: var(--nav-h); }  /* empuja el contenido */

/* quita el espacio superior del navegador */
html, body { 
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Hero: la imagen manda el alto */
.hero{
  position: relative;
  width: 100%;
  /* nada de height fijo */
  background: none;
}

.hero-img{
  display: block;      /* quita espacios “fantasma” del inline */
  width: 100%;         /* ajusta al ancho del contenedor */
  height: auto;        /* mantiene proporción y define el alto del #hero */
  object-fit: cover;   /* opcional si la imagen es muy ancha/alta */
}

/* Overlay que flota encima, sin afectar el alto */
.hero-overlay{
  position: absolute;
  inset: 0;            /* top/right/bottom/left: 0 */
  padding-bottom: 1.5rem; /* espacio para separar del borde inferior */
  pointer-events: none;   /* opcional: deja pasar clics a enlaces detrás */
}

/* Si dentro del overlay necesitas clics, permite eventos solo ahí */
.hero-overlay .container,
.hero-overlay .row {
  pointer-events: auto;
}


.portfolio-info h4 {
    position: absolute;
    z-index:999;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: 900;
    color: white;
    bottom: 25px;
    right: 5px;
}

.portfolio-info a {

padding: 5px; background: white; color: black; border-radius: 30px; 

} 

.imgcap1 {
    position: absolute;
    left: 500px;
    box-shadow: 0px 25px 40px rgba(0, 0, 0, 0.1);
        border-radius: 10px;

    
}

 
.portfolio-wrapp img {
    border-radius: 10px;
      -webkit-filter: brightness(66%) saturate(92%);
  filter: brightness(50%) saturate(92%);

}


.portfolio-wrapp {
    
        transition: all 0.5s;
     transform: scale(1);
}

.portfolio-wrapp:hover {
    
        transition: all 0.5s;
     transform: scale(1.1);
}

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



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

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #149ddd;
  line-height: 0;
}

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

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}

.facts .count-box {
  padding: 30px;
  width: 100%;
}

.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #149ddd;
  float: left;
  line-height: 0;
}

.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}

.facts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #122f57;
}

.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #122f57;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.facts .count-box a:hover {
  color: #1f5297;
}

/*--------------------------------------------------------------
# Akills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #050d18;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #dce8f8;
     border-radius: 30px;
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
    border-radius: 30px;
  height: 10px;
  transition: 0.9s;
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #050d18;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #050d18;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #e4edf9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #1f5297;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #149ddd;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(20, 157, 221, 0.75);
  transition: 0.3s;
  width: 50%;
}


.portfolio .portfolio-wrap .portfolio-links a+a {
  border-left: 1px solid #37b3ed;
}


/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(5, 13, 24, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
}

.services .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
}

.services .icon i {
  color: #fff;
  font-size: 24px;
  line-height: 0;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #149ddd;
}

.services .title {
  margin-left: 30px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #343a40;
}

.services .title a:hover {
  color: #149ddd;
}

.services .description {
  margin-left: 30px;
  line-height: 24px;
  font-size: 14px;
    margin-top: -10px !important;
    line-height: 14px;
}
.timeline-container {
    position: relative;
}

.timeline-icon {
    position: relative;
}

.timeline-icon .line {
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 1px;
    top:60px;
    height: 40px;
    background: repeating-linear-gradient(
        to bottom,
        #ccc,
        #ccc 5px,
        transparent 5px,
        transparent 10px
    );
    transform: translateX(-50%);
}

       .photo-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 10px; /* Espacio entre las fotos */
            height: 100vh; /* Altura completa de la vista */
        }

        .photo {
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

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

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

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #c3e8fa;
  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 15px 15px 15px;
  padding: 20px;
  background: #fff;
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 130px;
}

.contact .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .info i {
  font-size: 20px;
  color: #149ddd;
  float: left;
  width: 44px;
  height: 44px;
  background: #dff3fc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #050d18;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #173b6c;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #149ddd;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #149ddd;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

input,textarea {
    border-top:none !important;
    border-right: none !important;
    border-left: none !important;
    background: inherit !important;
    border-bottom: solid 3px #e3ecf7 !important;
} 
 
.form-control {
    background: none !important;
}



.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 .form-group {
  margin-bottom: 15px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
}

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

.contact .php-email-form input {
  height: 44px;
}

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

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

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

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

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f9f9f9;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #040b14;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}