/* style.css */
body {
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
}

/* === NAVBAR === */
.navbar-brand strong {
  color: #ffffff;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: #cccccc;
  font-weight: 500;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #00aaff;
}

#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* === HERO SECTION === */
.hero-section {
  height: 70vh;
  display: flex;
  align-items: center;
  background-image: url('../img/1.png');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  background-color: #fff;
  padding-left: 50%;
  padding-right: 5%;
  position: relative;
}

.hero-content {
  width: 100%;
  text-align: left;
  color: #000;
  margin-left: 15%;
  transform: translateY(-60%);
}

.btn-ajustada {
  margin-left: 140px;
  color: rgb(20, 20, 20);
  border-color: rgb(17, 16, 16);
  transition: all 0.3s ease;
}

.btn-ajustada:hover {
  color: red;
  border-color: red;
}

/* === CHATBOT === */
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  font-family: Arial, sans-serif;
  z-index: 9999;
}

#chat-header {
  background-color: hsl(109, 92%, 35%);
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  text-align: center;
}

#chat-body {
  background-color: white;
  border: 1px solid #ccc;
  height: 350px;
  border-radius: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 10px;
  font-size: 14px;
}

#chat-input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Móviles: mover el chatbot más arriba para no tapar el footer */
@media (max-width: 768px) {
  #chatbot {
    bottom: 100px !important;
    right: 10px !important;
    width: 90%;
    max-width: 320px;
  }

  #chat-header {
    font-size: 16px;
  }

  #chat-body {
    font-size: 14px;
  }
}


/* === CARDS === */
.card-img-top {
  height: 400px;
  object-fit: contain;
  background-color: #fff;
  padding: 10px;
}

