* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
  
  
.header {
  background-color: #000000; /* Color de fondo agradable */
  color: #ffffff;
  width: 100%;
  min-height: 960px;
  padding: 2rem 1rem;
  text-align: center;
}
  
.header-content {
  max-width: 600px;
  margin: 0 auto;
}
  
.title {
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  border: 2px, solid, rgb(255, 255, 255);
  color: #ffd900; 
  animation: fadeInBounce 1s ease-out;
}
  
.description {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  animation: fadeInBounce 1s ease-out 0.5s;
}
  
.cta-button {
  background-color: #ffe347; 
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1.4rem;
  cursor: pointer;
  animation: fadeInBounce 1s ease-out 1s;
  transition: background-color 0.3s;
}
  
@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
    }
  100% {
    transform: translateY(0);
  }
}
  
  /* Ajustes para pantallas grandes */
  @media (min-width: 768px) {
    .title {
      font-size: 2.9rem;
    }
  
    .description {
      font-size: 1.5rem;
    }
  
    .cta-button {
      font-size: 1.4rem;
    }
  }

/* styles.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
}

.image-section {
  position: relative;
  width: 100%;
  min-height: 620px; /* Altura mínima en mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('contratar_programador.jpg'); /* Reemplaza con tu imagen */
  background-size: cover;
  background-position: center;
}

.text-container {
  color: #fff;
  padding: 1em;
  background: rgba(42, 42, 44, 0.4); /* Fondo semi-transparente para legibilidad */
  max-width: 100%;
  border-radius: 8px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
  transition: background 0.3s ease;
}

.text-container:hover {
  background: rgba(0, 0, 0, 0.8); /* Efecto hover */
}

.section-title {
  font-size: 1.7em;
  margin-bottom: 0.5em;
}

.section-description {
  font-size: 1.3em;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .image-section {
      min-height: 500px;
  }
  .section-title {
      font-size: 2em;
  }
  .section-description {
      font-size: 1.3em;
  }
}

/* Animación de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* styles.css */
/* Estilos exclusivos para la sección de formulario */
.independent-form-section {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  margin: 20px auto; /* Centrado automático en pantallas más anchas */
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: slideIn 1s ease-out;
  font-family: Arial, sans-serif; /* Especificamos la fuente sin tocar el body */
}

.independent-form-section .form-title {
  font-size: 1.8em;
  margin-bottom: 1em;
  text-align: center;
  color: #333;
}

.independent-form-section .contact-form label {
  display: block;
  margin-bottom: 0.5em;
  color: #555;
  font-weight: bold;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.independent-form-section .contact-form input,
.independent-form-section .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1.2em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit; /* Heredamos la fuente solo dentro del formulario */
}

.independent-form-section .contact-form input:focus,
.independent-form-section .contact-form textarea:focus {
  border-color: #0077cc;
  box-shadow: 0 0 5px rgba(0, 119, 204, 0.5);
  outline: none;
}

.independent-form-section .contact-form button {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  color: #fff;
  background-color: #0077cc;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.independent-form-section .contact-form button:hover {
  background-color: #005fa3;
}

@media (min-width: 768px) {
  .independent-form-section {
      padding: 30px;
  }
  .independent-form-section .form-title {
      font-size: 2em;
  }
  .independent-form-section .contact-form button {
      font-size: 1.1em;
  }
}

/* Animación de entrada */
@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.accessible-carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  overflow: hidden;
  font-family: Arial, sans-serif;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.carousel-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-track a {
  min-width: 100%;
  transition: opacity 0.5s ease;
  display: block;
}

.carousel-track img {
  width: 100%;
  min-height: 330px;
  border-radius: 8px;
}

/* Botones de navegación */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .accessible-carousel {
      max-width: 800px;
  }
}

* {
  box-sizing: border-box;
}

.color-boxes {
  display: flex;
  flex-direction: column; /* Mobile-first: columna por defecto */
  gap: 16px;
  padding: 16px;
}

.box {
  background-color: #4CAF50; /* Color del primer cuadro */
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s;
}

.box:nth-child(2) {
  background-color: #0f71c2; /* Color del segundo cuadro */
}

.box:nth-child(3) {
  background-color: red; /* Color del segundo cuadro */
}

.box-title {
  font-size: 1.7em;
}


.box-text {
  opacity: 0; /* Comienza invisible */
  font-size: 1.4em;
  animation: fadeIn 1s forwards; /* Animación de aparición */
}

@keyframes fadeIn {
  to {
    opacity: 1; /* Al final, completamente visible */
  }
}

/* Media query para pantallas más grandes */
@media (min-width: 600px) {
  .color-boxes {
    flex-direction: row; /* Cambia a fila en pantallas más grandes */
  }

  .box {
    flex: 1; /* Los cuadros ocuparán espacio igual */
  }
}


.seccion-animada {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  background-color: #f4f4f4;
  border-radius: 10px;
  width: 90%;
  box-sizing: border-box;
}

.seccion-animada h1 {
  font-size: 2rem;
  color: #333;
  margin: 0;
  animation: tituloAnimado 2s ease-in-out infinite alternate;
}

@keyframes tituloAnimado {
  0% {
    opacity: 0.5;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.seccion-animada p {
  font-size: 1.4rem;
  color: #555;
  animation: textoAnimado 3s ease-in-out infinite alternate;
}

@keyframes textoAnimado {
  0% {
    opacity: 0.7;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 600px) {
.seccion-animada h1 {
  font-size: 1.5rem;
}

.seccion-animada p {
  font-size: 1.3rem;
}

@media (min-width: 601px) {
.seccion-animada h1 {
  font-size: 2.5rem;
  }

.seccion-animada p {
  font-size: 1.5rem;
  }
 }
}

/* Estilos para la sección */
.seccion-web {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  margin: 20px 0;
}

.titulo-web {
  font-size: 2rem;
  color: #333;
  animation: fadeIn 3s ease-out;
  margin-bottom: 20px;
}

/* Animación del título */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Contenedor de la imagen */
.imagen-contenedor {
  width: 100%;
  max-width: 600px;
  height: auto;
  position: relative;
  animation: fadeInOut 5s infinite ease-in-out;
}

/* Animación de la imagen */
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.imagen-web {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Mobile-first: Adaptabilidad */
@media (min-width: 600px) {
  .titulo-web {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .titulo-web {
    font-size: 3rem;
  }
}

p {
  font-size: 1.4rem;
}


/* Estilo del banner */
.banner {
  position: relative;
  padding: 20px;
  background-color: #09a70e;
  color: white;
  font-size: 2rem;
  text-align: center;
  border-radius: 10px;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
}

/* Animación de deslizamiento del texto */
.banner-text {
  display: inline-block;
  white-space: nowrap;
  animation: slide 10s linear infinite;
}

/* Efecto de deslizamiento */
@keyframes slide {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(-100%);
  }
}

/* Asegurando que el texto sea legible */
.banner span {
  font-weight: bold;
}

/* Estilo para asegurar la accesibilidad en el texto */
.banner span {
  background-color: rgba(0, 0, 0, 0.3); /* Fondo oscuro para contraste */
  padding: 0 10px;
  border-radius: 5px;
}

/* Estilo del texto accesible para alto contraste */
.banner {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
}


/* Estilos generales para la sección */
.seccion-posicionamiento-comprobado {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f4;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo para el título con animación */
.titulo {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

/* Animación de desvanecimiento para el título */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Estilo para el texto descriptivo */
.descripcion {
  font-size: 1.2rem;
  text-align: center;
  max-width: 600px;
  margin-top: 15px;
  color: #555;
}

/* Estilo para el contenedor de la imagen */
.imagen-contenedor {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Animación de rebote para la imagen */
.imagen-bote {
  width: 150px;
  height: auto;
  animation: rebote 1s infinite;
}

/* Animación de rebote */
@keyframes rebote {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Diseño adaptable a pantallas más grandes */
@media (min-width: 768px) {
  .seccion-posicionamiento-comprobado {
    flex-direction: row;
    justify-content: space-around;
  }

  .imagen-bote {
    width: 200px;
  }

  .titulo {
    font-size: 2.5rem;
  }

  .descripcion {
    font-size: 1.5rem;
    max-width: 800px;
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  flex-direction: column; /* Permite que otros elementos sigan su flujo */
}

.button-containere {
  left: 50%; /* Centra horizontalmente */
}

/* Estilos para el botón */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #1423d2c9;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Efecto hover para el botón */
.btn:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

/* Efecto de foco para accesibilidad */
.btn:focus {
  outline: 3px solid #ffcc00;
}


.footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  animation: fadeInFooter 2s ease-out forwards;
}

/* Título del footer */
.footer-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffb600;
  animation: fadeInTitle 2s ease-out forwards;
}

/* Descripción del footer */
.footer-description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInText 2s 0.5s ease-out forwards;
}

/* Animaciones */
@keyframes fadeInFooter {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes fadeInTitle {
  from {
      transform: translateY(-20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes fadeInText {
  from {
      transform: translateY(20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Media Queries para adaptabilidad móvil */
@media (max-width: 600px) {
  .footer-title {
      font-size: 1.2rem;
  }

  .footer-description {
      font-size: 0.9rem;
  }
}



.informacion-seccion {
  padding: 20px;
  margin: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.titulo-seccion {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.descripcion-seccion {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.enlace-seccion {
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
}

.enlace-seccion:hover {
  text-decoration: underline;
}

/* Mobile-first (por defecto es para pantallas pequeñas) */
@media (min-width: 600px) {
  .informacion-seccion {
    max-width: 80%;
    margin: 20px auto;
  }
  
  .titulo-seccion {
    font-size: 1.75rem;
  }

  .descripcion-seccion {
    font-size: 1..3rem;
  }
}

/* Para pantallas grandes */
@media (min-width: 1024px) {
  .informacion-seccion {
    max-width: 70%;
  }

  .titulo-seccion {
    font-size: 2rem;
  }

  .descripcion-seccion {
    font-size: 1.4rem;
  }
}