* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Nokio, sans-serif;
  color: #071524;
  background-color: #fff;
}

/* ====== HEADER ====== */
header {
  background-color: #071524;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  max-width: 1200px;
  margin: auto;
}

.logo img {
  height: 70px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-family: 'Hiruko Pro', sans-serif;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #00D4FF;
  transform: scale(1.05);
}

/* ====== HERO ====== */
.hero {
  height: 100vh;
  background: url('img/theme.png') center/cover no-repeat fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
  from {
    background-size: 100%;
  }
  to {
    background-size: 110%;
  }
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 33, 45, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 20px;
}

#hero-title {
  font-family: 'Hiruko Pro', sans-serif;
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 20px #00D4FF;
  animation: glowPulse 2.5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 10px #00D4FF;
  }
  100% {
    text-shadow: 0 0 30px #00D4FF;
  }
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  background-color: #B4D330; border-radius: 25px;
  padding: 12px 30px;
  margin-top: 20px;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'Montserrat', Nokio, sans-serif;
  font-size: 15px; 
  font-weight: 700; 
  color: #071524; 
  margin: 0; 
  text-align: center; 
  letter-spacing: 1px;
}

.btn:hover {
  background: linear-gradient(90deg, #5f710c, #B4D330);
  transform: scale(1.05);
}

/* ====== SECTIONS ====== */
.section {
  padding: 100px 20px;
}

.section.light {
  background-color: #fff;
}

.section.dark {
  background-color: #071524;
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  font-weight: 800; 
  color: #FFFFFF; 
  margin: 0; 
  line-height: 1.08;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.2rem;
}


.section p,
.objectives li {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.products {
 width: 390px; 
 height: 220px; 
 background-color: #112A46; 
 border-radius: 8px; 
 border-left: 4px solid #00D4FF; 
 z-index: 1;
}

/* ====== FEATURES ====== */

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background-color: rgba(17, 87, 113, 0.15);
  border: 1px solid #00D4FF;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  transition: 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(49, 175, 180, 0.4);
}

/* ====== CONTACT ====== */
  .contact-section {
    background: #f8f9fa;
    padding: 80px 10%;
    text-align: center;
  }

  .contact-title {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
  }

  .contact-subtitle {
    color: #555;
    margin-bottom: 50px;
    font-size: 1.1rem;
  }

  .contact-form {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #00D4FF;
    box-shadow: 0 0 8px rgba(49, 175, 180, 0.3);
    outline: none;
  }

  .full-width {
    grid-column: 1 / -1;
    margin-top: 20px;
  }

  .btn-enviar {
    margin-top: 30px;
    background: #00D4FF;
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-enviar:hover {
    background: #27949a;
    transform: translateY(-2px);
  }

  @media (max-width: 768px) {
    .contact-form {
      padding: 30px;
    }

    .form-grid {
      grid-template-columns: 1fr;
    }
  }
/* ====== FOOTER ====== */
footer {
  background-color: #071524;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ====== DEMO MODAL ====== */
.demo-container {
  text-align: center;
  margin-top: 40px;
}

.demo-container .btn {
  cursor: pointer; /* Manita al pasar sobre el botón */
}

.modal {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20,33,45,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);

  /* Animación */
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.modal.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(49,175,180,0.4);
  text-align: center;
  position: relative;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-content h3 {
  color: #115771;
  font-family: 'Hiruko Pro', sans-serif;
  margin-bottom: 20px;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  color: #14212d;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #00D4FF;
  cursor: pointer;
}

/* Grid del formulario */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

#demoForm input, 
#demoForm textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

#demoForm textarea {
  margin-top: 10px;
  height: 100px;
}

#demoForm .btn {
  margin-top: 20px;
  cursor: pointer; /* Manita al pasar sobre el botón */
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.objective-card {
  background-color: #14212d; /* fondo oscuro */
  border-radius: 10px;
  padding: 20px 20px;
  text-align: justify;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px; /* más delgada que antes */
}

.objective-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Icono alineado a la izquierda superior */
.objective-icon {
  font-size: 2rem;
  color: #fff;
  align-self: flex-start; /* alineado a la izquierda */
}

.objective-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e0e0e0;
  margin: 0;
  text-align: justify;
}
