/* Reinicio básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #000;
  padding: 20px 80px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 60px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  position: relative;
}

.nav-menu a:hover {
  color: #007bff;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 80px;
  background: linear-gradient(to right, #091f36, #1d3557);
  color: #fff;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #dcdcdc;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons button {
  padding: 15px 25px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}

.hero-buttons button:first-child {
  background-color: #007bff;
  color: #fff;
}

.hero-buttons button:first-child:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.hero-buttons button:last-child {
  background-color: transparent;
  color: #fff;
  border: 2px solid #007bff;
}

.hero-buttons button:last-child:hover {
  background-color: #007bff;
  color: #fff;
  transform: scale(1.1);
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Services Section */
.services {
  padding: 100px 80px;
  background-color: #f5f5f5;
  text-align: center;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #000;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.card p {
  font-size: 16px;
  color: #666;
}

/* About Section */
/* Sección About */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 100px;
  background-color: #fff;
  gap: 50px;
}

.about-content {
  display: flex;
  flex: 1;
  gap: 30px;
}

.about-text {
  max-width: 50%;
}

.about-text h2 {
  font-size: 36px;
  color: #000;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 80%;
  height: auto;
  border-radius: 50%;
  /* Estilo circular */
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Why Section */
/* Sección Why */
.why {
  padding: 100px 80px;
  background-color: #1a1a1a;
  color: #fff;
}

.why-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.why-text {
  flex: 1;
}

.why-text h2 {
  font-size: 36px;
  margin-bottom: 40px;
  line-height: 1.4;
}

.why-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 50px;
}

.why-item {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.why-item h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 16px;
  color: #ccc;
}

.why-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-image img {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Sección Experiencia */
.experience {
  padding: 100px 80px;
  background-color: #f5f5f5;
}

.experience-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.experience-image {
  flex: 1;
}

.experience-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.experience-text {
  flex: 1;
  max-width: 50%;
}

.experience-text h2 {
  font-size: 36px;
  color: #000;
  margin-bottom: 20px;
}

.experience-text p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

.experience-icons {
  display: flex;
  gap: 30px;
}

.icon-item {
  flex: 1;
  text-align: center;
}

.icon-item img {
  max-width: 60px;
  margin-bottom: 15px;
}

.icon-item h3 {
  font-size: 18px;
  color: #000;
  margin-bottom: 10px;
}

.icon-item p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}


/* Footer */


.footer {
  background-color: #000;
  color: #fff;
  padding: 50px 80px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-columns ul {
  list-style: none;
}

.footer-columns ul li {
  margin-bottom: 10px;
}

.footer-columns ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-columns ul li a:hover {
  text-decoration: underline;
}

.footer p {
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
}

.footer-copyright {
  text-align: center;
}

.contact-details p,
.contact-details a {
  line-height: 1.4;
  /* Reduce el espaciado entre líneas */
  margin-bottom: 16px;
  /* Espaciado inferior uniforme */
  margin-top: 0;
  /* Asegúrate de eliminar márgenes superiores */
}

.whatsapp-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
}

.whatsapp-bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-bubble img:hover {
  transform: scale(1.1);
}

/* Estilo responsivo para pantallas pequeñas */
@media (max-width: 768px) {

  /* Ajustar el header */
  header {
    padding: 10px 20px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image img {
    max-width: 90%;
    margin-top: 20px;
  }

  /* Services Section */
  .services-cards {
    grid-template-columns: 1fr;
    /* Una sola columna */
  }

  /* About Section */
  .about {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 40px 20px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 14px;
    line-height: 1.4;
  }

  .about-image img {
    max-width: 80%;
  }

  /* Why Section */
  .why-container {
    flex-direction: column;
    text-align: center;
  }

  .why-details {
    grid-template-columns: 1fr;
    /* Una sola columna */
  }

  .why-image img {
    max-width: 80%;
    margin-top: 20px;
  }

  /* Experiencia Section */
  .experience {
    padding: 40px 20px;
  }

  .experience-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .experience-text h2 {
    font-size: 28px;
  }

  .experience-text p {
    font-size: 14px;
    line-height: 1.4;
  }

  .experience-image img {
    max-width: 80%;
  }

  .experience-icons {
    flex-direction: column;
    gap: 20px;
  }

  .icon-item h3 {
    font-size: 16px;
  }

  .icon-item p {
    font-size: 14px;
  }

  /* Footer */
  .footer-columns {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-columns div {
    margin-bottom: 20px;
  }

  .contact-details p,
  .contact-details a {
    text-align: center;
    /* Centrar texto en móviles */
  }

  /* WhatsApp Bubble */
  .whatsapp-bubble {
    width: 50px;
    height: 50px;
  }
}