/* Ajuste general del body para que el contenido no quede debajo de la navbar fija */
body {
  padding-top: 80px; /* ajustá según la altura real de tu navbar */
}
/* Fuente global */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400; /* regular por defecto */
  color: #333;
  margin: 0;
  padding: 0;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* bold para destacar */
  color: #0a3d62;   /* azul corporativo */
}

/* Párrafos y textos secundarios */
p, span, li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300; /* más liviano para lectura */
}


/* Navbar */
.navbar {
  background-color: #0a3d62 !important;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  transition: all 0.3s ease;
}
.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #fff !important;
}
.navbar-nav .nav-link {
  color: #fff !important;
}
.navbar-nav .nav-link:hover {
  color: #38ada9 !important;
}

section {
  scroll-margin-top: 80px; /* ajustá según la altura real de tu navbar */
}


/* Logo */
.logo {
  height: 70px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

/* Texto de marca */
.brand-text {
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

/* Estilo especial para "Software" */
.brand-text .highlight {
  color: #5dade2;             /* celeste claro */
  font-style: italic;         /* cursiva */
  transform: skewX(-10deg);   /* inclinación */
  display: inline-block;
  transition: all 0.3s ease;
  animation: pulseGlow 3s infinite; /* animación continua */
}

/* Hover animado en "Software" */
.brand-text .highlight:hover {
  color: #ffffff;             /* cambia a blanco */
  transform: skewX(0deg) scale(1.1); /* se endereza y se agranda */
  text-shadow: 0 0 6px rgba(93,173,226,0.7); /* glow celeste suave */
}

/* Animación continua tipo pulse */
@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 4px rgba(93,173,226,0.4);
  }
  50% {
    text-shadow: 0 0 12px rgba(93,173,226,0.8);
  }
  100% {
    text-shadow: 0 0 4px rgba(93,173,226,0.4);
  }
}

/* Efecto al scrollear */
.navbar.scrolled .logo {
  height: 50px;
}
.navbar.scrolled .brand-text {
  font-size: 1.2rem;
}

/* Hero Carousel */
.carousel-item img {
  height: 500px;        /* altura fija */
  object-fit: cover;    /* recorta manteniendo proporción */
}

/* Opcional: versión responsive */
@media (min-width: 768px) {
  .carousel-item img {
    height: 500px;      /* un poco más alto en pantallas grandes */
  }
}
@media (min-width: 1200px) {
  .carousel-item img {
    height: 600px;      /* aún más alto en desktop amplio */
  }
}
/* Indicadores como puntos */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #555;
  transition: all 0.3s ease;
}

/* Punto activo con animación */
.carousel-indicators .active {
  background-color: #fff;
  transform: scale(1.4);
}

/* Carousel con tipografía Montserrat */
.carousel-caption h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;   /* bold para títulos */
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.carousel-caption p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;   /* regular para subtítulos */
  font-size: 1.2rem;
  color: #e0f7f7;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.footer {
  background: #0a3d62;   /* azul corporativo */
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}

.footer p {
  margin: 5px 0;
}

#servicios h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  /* color: #0a3d62; */
  color: #f9f9f9;
  margin-bottom: 30px;
}

#servicios .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#servicios .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}


/* Fondo compartido */
   #servicios, #contacto {
  background: linear-gradient(135deg, #0a3d62, #3c6382, #82ccdd);
  background-size: 600% 600%;
  animation: gradientBG 15s ease infinite;
  padding: 80px 20px;
}

/* Animación del gradiente */
@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* BIEN: solo títulos */
#servicios h2, #contacto h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff; /* letras claras */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  margin-bottom: 30px;
}

/* BIEN: solo párrafos generales (no los de las tarjetas) */
#servicios > p, #contacto p {
  color: #f9f9f9;
  font-weight: 300;
  font-size: 1.1rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Texto dentro de las tarjetas: siempre oscuro para contraste */
#servicios .card-title,
#servicios .card-text {
  color: #0a3d62;
}

/* Sección Nosotros: fondo claro y texto azul fijo */
#nosotros {
  background: #fff;
  padding: 80px 20px;
}

#nosotros h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 30px;
}

#nosotros p {
  color: #0a3d62;
  font-weight: 300;
  font-size: 1.1rem;
}
/* Imágenes fijas en pantallas grandes */
#nosotros img, #servicios img {
  width: 100%;
  max-width: 450px;   /* ancho máximo */
  height: 300px;      /* altura fija */
  object-fit: cover;  /* recorta sin deformar */
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Ajuste en pantallas pequeñas */
@media (max-width: 768px) {
  #nosotros img, #servicios img {
    max-width: 100%;   /* ocupa todo el ancho */
    height: auto;      /* altura automática */
  }
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

.animate-down {
  animation: slideDown 1s ease forwards;
}

.animate-left {
  animation: slideLeft 1s ease forwards;
}

/* Fade-in pronunciado */
@keyframes fadeInStrong {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(40px); /* más pequeño y desplazado */
  }
  60% {
    opacity: 0.5;
    transform: scale(1.05) translateY(-10px); /* rebote ligero */
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fade-strong {
  animation: fadeInStrong 1.2s ease forwards;
}





