/* ====== FUENTE ====== */
/* Importar fuente desde Google Fonts (ejemplo Quicksand) */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Montserrat:300,400,500,700&display=swap');

/* Estilo para el texto Jidoka */
.navbar-brand .brand-text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.5rem;
  color: #fff; /* se adapta al navbar oscuro */
  letter-spacing: 1px;
}

/* Logo al lado derecho */
.navbar-brand .brand-logo {
  height: 32px; /* ajusta según necesidad */
  width: auto;
}

/* Asegurar alineación centrada */
.navbar-brand {
  display: flex;
  align-items: center;
}

/* Navbar transparente al inicio */
.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-transparent {
  background-color: transparent !important;
}

/* Navbar oscuro con transparencia después del scroll */
.navbar-scrolled {
  background-color: rgba(33, 37, 41, 0.85) !important; /* Gris oscuro con transparencia */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* ====== HERO CARRUSEL ====== */
/* Importante: NO forzamos display aquí para no romper el comportamiento de Bootstrap */
#heroCarousel .carousel-item {
  height: 100vh;
  min-height: 520px;
  position: relative;
  overflow: hidden; /* seguridad visual */
}

/* Capa de fondo de cada slide */
#heroCarousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* ¡Ojo! No usar background-attachment: fixed dentro del carrusel */
}

/* Sombra oscura sobre cada slide para legibilidad */
#heroCarousel .slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Contenido centrado */
#heroCarousel .hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* centra verticalmente dentro del slide */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Botón grande del hero */
#heroCarousel .btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1.25rem;
}

/* Secciones de contenido */
section {
  padding: 80px 20px;
}

/* Sección About Me con fondo */
.about-me-section {
  position: relative;
  height: 100vh;
  background-image: url('../img/Fondos/Fondo_About_Me.png'); /* tu imagen de fondo */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* efecto parallax sutil */
  color: white;
  padding: 50px 20px;
  overflow: hidden;
}

/* Overlay semitransparente */
.about-me-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* negro semi-transparente */
  z-index: 1;
}

/* Contenido encima del overlay */
.about-me-section .container {
  position: relative;
  z-index: 2;
}

/* Animaciones de scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

/* Imagen de Quienes Somos */
.about-me-section img {
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Flip Cards */
.flip-card {
  background-color: transparent;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 300px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 20px;
}

.flip-card-front {
  background-size: cover;
  background-position: center;
}

.flip-card-front h3 {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  border-radius: 8px;
}

.flip-card-back {
  background-color: rgba(44, 62, 80, 0.9);
  transform: rotateY(180deg);
  color: #f8f9fa;
  font-weight: normal;
  font-size: 20px;
  text-align: justify;
}

/* Sections Header
--------------------------------*/

.section-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-header h3::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-header h3::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #18d26e;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-header p {
  font-family: 'Nunito Sans', sans-serif;
  text-align: justify;
  font-size: 24px;
}

.section-header-2 h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-header-2 h3::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #525252;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-header-2 h3::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #18d26e;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-header-2 p {
  font-family: 'Nunito Sans', sans-serif;
  text-align: justify;
  font-size: 24px;
}

.section-header-3 h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-header-3 h1::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ffffff;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-header-3 h1::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #18d26e;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-header-3 p {
  font-family: 'Nunito Sans', sans-serif;
  text-align: center;
  font-size: 24px;
}

.section-header-4 h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-header-4 h1::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #000000;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-header-4 h1::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #18d26e;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-header-4 p {
  font-family: 'Nunito Sans', sans-serif;
  text-align: center;
  font-size: 24px;
  color: #000;
}

/* Section with background
--------------------------------*/

/* QUE ES SECTION */

.que-es-section{
    padding: 5rem 0;
}

#que-es #beneficios {
  background-color: #dfdfdf;
  padding-top: 10rem;
}

.step-card {
  position: relative;
}

.step-card .step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  color: var(--bs-secondary);
  background-color: #18d26e;
  font-size: 18px;
  color: #000000;
}

.arch-line {
  position: absolute;
  top: 15px;
  width: 150px;
  right: 0;
  left: calc(100% + 24px);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
@media (max-width: 991.98px) {
  .arch-line {
    display: none;
  }
}
.arch-line.reverse {
  top: 20px;
}

/* Sección de estadísticas con imagen fija */
.stats-section {
  position: relative;
  background: url('../img/Fondos/Estadisticas.jpg') center center / cover no-repeat fixed;
  min-height: 60vh;
}

.stats-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(95, 95, 95, 0.904); /* oscurece la imagen para resaltar texto */
}

.custom-subtitles {
  color: rgb(255, 255, 255) !important;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
}

.card-img-top {
  width: 100%;
  height: 250px; /* altura fija, puedes ajustar */
  object-fit: cover; /* recorta la imagen proporcionalmente */
}

.card .overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0;
  transition: 0.3s;
}

.card:hover .overlay2 {
  opacity: 1;
}

.eye-icon {
  text-decoration: none;
}

/* PORTAFOLIO SECTION */

.portafolio-section{
    padding: 5rem 0;
}

.portafolio-title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.portafolio-text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 22px;
}

.portafolio-img {
  width: auto;
  height: 55px;
  margin-right: 1rem;
}

/* Indicadores debajo, visibles */
.carousel-indicators-below button {
  opacity: 1 !important;
  background-color: #6c757d;
  color: white;
  border: none;
  margin: 0 5px;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-indicators-below button.active {
  background-color: #28a745;
  font-weight: bold;
}

.carousel-indicators-below button:hover {
  background-color: #218838;
}

/*--------------------------------------------------------------
# COTIZADOR Section
--------------------------------------------------------------*/
.cotizador-section{
    padding: 5rem 0;
}

.cotizador-label{
    color: #fff;
     font-family: 'Nunito Sans', sans-serif;
     font-size: 22px;
}

.modal-title{
    font-family: 'Nunito Sans', sans-serif;
     font-size: 34px;
}

.resultado-p{
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
    text-align: left;
}

.resultado{
    font-family: 'Nunito Sans', sans-serif;
    font-size: 34px;
    margin: 0;
    padding: 0;
    text-align: center;
    color: rgb(0, 102, 255);
}



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
  position: relative;
  background: url('../img/Fondos/Contacto.jpg') center center / cover no-repeat fixed;
  min-height: 60vh;
}

.contact-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.37); /* oscurece la imagen para resaltar texto */
}

.contact-section .container {
  background-color: rgba(255, 255, 255, 0);
  max-width: 90%;
}

.contact-section .info-wrap {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.589);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact-section .info-wrap {
    padding: 20px;
  }
}

.contact-section .info-item {
  margin-bottom: 40px;
}

.contact-section .info-item i {
  font-size: 30px;
  color: #000;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact-section .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
  text-align: justify;
}

.contact-section .info-item p {
  font-family: 'Nunito Sans', sans-serif;
  padding: 0;
  margin-bottom: 0;
  font-size: 15px;
  color: #000;
  text-align: justify;
}

.contact-section .info-item:hover i {
  background: #14ec79;
  color: #000;
}

@media (max-width: 575px) {
  .contact-section .php-email-form {
    padding: 20px;
  }
}

.contact-section .php-email-form input[type='text'],
.contact-section .php-email-form input[type='email'],
.contact-section .php-email-form textarea {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: #000;
  background-color: #dfdfdf6c;
  border-color: color-mix(in srgb, #000000, transparent 80%);
}

.contact-section .php-email-form input[type='text']:focus,
.contact-section .php-email-form input[type='email']:focus,
.contact-section .php-email-form textarea:focus {
  border-color: #13a456;
}

.contact-section .php-email-form input[type='text']::placeholder,
.contact-section .php-email-form input[type='email']::placeholder,
.contact-section .php-email-form textarea::placeholder {
  color: color-mix(in srgb, #13a456, transparent 70%);
}

.contact-section .php-email-form button[type='submit'] {
  font-family: 'Nunito Sans', sans-serif;
  color: #000000;
  background: #00ff55;
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact-section .php-email-form button[type='submit']:hover {
  background: color-mix(in srgb, #00a537, transparent 5%);
}

.etiquetas {
  font-family: 'Nunito Sans', sans-serif;
  color: #000;
  font-size: 20px;
}

/* Estilo del botón flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;   /* distancia desde abajo */
  right: 20px;    /* distancia desde derecha */
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.4);
  text-decoration: none;
  color: white;
}

/* Responsive: más pequeño en pantallas chicas */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  background: #000;
  color: #eee;
  font-size: 14px;
}

#footer .footer-top {
  background: #111;
  padding-top: 30px;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 34px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 10px;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  border-left: 4px solid #18d26e;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: 'Montserrat', sans-serif;
  color: #eee;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #eee;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #18d26e;
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::before,
#footer .footer-top h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
}

#footer .footer-top h4::before {
  right: 0;
  background: #555;
}

#footer .footer-top h4::after {
  background: #18d26e;
  width: 60px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 8px;
  color: #ddd;
}

#footer .footer-top .footer-links ul li {
  border-bottom: 1px solid #333;
  padding: 10px 0;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #eee;
}

#footer .footer-top .footer-links ul a:hover {
  color: #18d26e;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .footer-top .footer-newsletter {
  margin-bottom: 30px;
}

#footer .footer-top .footer-newsletter input[type='email'] {
  border: 0;
  padding: 6px 8px;
  width: 65%;
}

#footer .footer-top .footer-newsletter input[type='submit'] {
  background: #18d26e;
  border: 0;
  width: 35%;
  padding: 6px 0;
  text-align: center;
  color: #fff;
  transition: 0.3s;
  cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type='submit']:hover {
  background: #13a456;
}

#footer .copyright {
  text-align: center;
  padding: 10px 0;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #ddd;
}
