/* ======= RESET ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ======= GENERAL ======= */
body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ======= HEADER ======= */
.header {
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ff99;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #00ff99;
}

/* ======= HERO ======= */
.hero {
  text-align: center;
  padding: 6rem 1rem;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-btn {
  display: inline-block;
  background: #2a6336;
  color: #dcdcdc;
  padding: 0.8em 1.5em;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.4s;
}

.hero-btn:hover {
  transform: scale(1.05);
  background: #409853;
  color: #ffffff;

}

/* ======= SECCIONES ======= */
.section {
  padding: 4rem 1rem;
  text-align: center;
}
.section-title {
  font-size: 2em;
  color: #dfdfdf;
  margin-top: 30px ;
  margin-bottom: 30px;
  text-align: center;
}
/* ======= SERVICIOS ======= */
.services {
  margin: 50px;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: scale(1.05);
}

/* ======= PORTAFOLIO ======= */
.portfolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project img {
  width: 300px;
  border-radius: 12px;
}

.project h4 {
  margin-top: 0.5rem;
}

/* ======= CONTACTO ======= */
.contact form {
  max-width: 400px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  outline: none;
}

/* ======= BOTÓN WHATSAPP ======= */
.launch-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  padding: 0.8em 1.3em;
  color: white;
  background: green;
  border: none;
  border-radius: 16px;
  transition: transform 0.2s ease;
}

.launch-button:hover {
  transform: scale(1.05);
  background: #25d366;
}

.launch-button svg {
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.launch-button:hover svg {
  transform: translateX(5px);
}

/* ======= FOOTER ======= */
.footer {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
}
/* Animaciones de aparición */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.h2{ text-align: center;}