@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body {
background-color: #f8f9fa;
color: #333;
overflow-x: hidden;
}

/* Título principal */
.main-title {
font-family: 'Rubik', sans-serif;
font-weight: 600;
font-size: 6.5rem;
margin-bottom: 1rem;
text-align: center;
opacity: 0;
transform: translateY(-20px);
animation: fadeInDown 1s ease forwards;
}

/* Subtítulo con animación de escritura */
.typing-subtitle {
font-family: 'Lora', serif;
font-weight: 400;
font-size: 1.5rem;
margin-bottom: 2rem;
text-align: center;
opacity: 1;
display: inline-block;
margin: 0 auto 2rem auto;
position: relative;
}

.typing-subtitle::after {
content: '|';
color: #0077cc;
animation: blink-caret 0.75s step-end infinite;
position: absolute;
}

@keyframes blink-caret {

from,
to {
    opacity: 1;
}

50% {
    opacity: 0;
}
}

/* Navigation */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 5%;
background-color: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
transition: all 0.3s ease;
}

.logo {
height: 50px;
opacity: 0;
transform: translateY(-20px);
animation: fadeInDown 1s ease forwards;
}

.nav-links {
display: flex;
gap: 2rem;
}

.nav-links a {
text-decoration: none;
color: #333;
font-weight: 500;
position: relative;
transition: all 0.3s ease;
opacity: 0;
transform: translateY(-10px);
}

.nav-links a:nth-child(1) {
animation: fadeInDown 0.5s ease forwards 0.3s;
}

.nav-links a:nth-child(2) {
animation: fadeInDown 0.5s ease forwards 0.4s;
}

.nav-links a:nth-child(3) {
animation: fadeInDown 0.5s ease forwards 0.5s;
}

.nav-links a:nth-child(4) {
animation: fadeInDown 0.5s ease forwards 0.6s;
}

.nav-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: #0077cc;
transition: width 0.3s ease;
}

.nav-links a:hover::after {
width: 100%;
}

.nav-links a:hover {
color: #0077cc;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: rgba(0, 119, 204, 0.1);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background-color: #0077cc;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: #0077cc;
}

/* Sections */
section {
padding: 80px 5%;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
}

.section-title {
font-size: 2.5rem;
margin-bottom: 2rem;
position: relative;
display: inline-block;
opacity: 0;
transform: translateY(20px);
}

.section-title::after {
content: '';
position: absolute;
width: 70px;
height: 3px;
background-color: #0077cc;
bottom: -10px;
left: 0;
}

/* Home Section */
#home {
background-color: #f8f9fa;
padding-top: 120px;
}

.hero-container {
position: relative;
width: 100%;
height: 60vh;
overflow: hidden;
margin-bottom: 2rem;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-image {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
animation: fadeIn 1.2s ease forwards 0.3s;
}

.description {
padding: 1rem 0;
max-width: 800px;
margin: 0 auto;
text-align: center;
line-height: 1.8;
font-size: 1.1rem;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 1s ease forwards 0.5s;
}

/* About Section */
#about {
background-color: #fff;
}

.about-content {
display: flex;
gap: 2rem;
align-items: center;
opacity: 0;
transform: translateY(20px);
}

.about-text {
flex: 1;
line-height: 1.8;
}

.about-image {
flex: 1;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
width: 100%;
height: auto;
transition: transform 0.5s ease;
}

.about-image:hover img {
transform: scale(1.05);
}

/* Services Section */
#services {
background-color: #f8f9fa;
}

.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
opacity: 1;
/* Cambiar de 0 a 1 */
transform: translateY(0);
/* Remover la animación inicial */
}

.service-card {
background-color: #fff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
height: 100%;
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
width: 100%;
height: 180px;
overflow: hidden;
}

.service-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
transform: scale(1.1);
}

.service-content {
padding: 1.5rem;
flex-grow: 1;
display: flex;
flex-direction: column;
}

.service-title {
font-size: 1.2rem;
margin-bottom: 1rem;
color: #0077cc;
}

.service-description {
margin-bottom: 1rem;
line-height: 1.6;
color: #666;
flex-grow: 1;
}

.service-link {
align-self: flex-start;
text-decoration: none;
color: #fff;
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
background-color: #0077cc;
border-radius: 50px;
padding: 0.5rem 1.5rem;
transition: all 0.3s ease;
}

.service-link:hover {
background-color: #005fa3;
transform: translateY(-3px);
}

/* Service Detail */
.service-detail {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
z-index: 2000;
overflow-y: auto;
padding: 80px 20px 40px;
}

.service-detail.active {
display: block;
}

.detail-container {
max-width: 1200px;
margin: 0 auto;
background-color: #fff;
border-radius: 10px;
overflow: hidden;
position: relative;
animation: fadeIn 0.3s ease forwards;
}

.close-detail {
position: absolute;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 10;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-detail i {
font-size: 20px;
color: #333;
}

.detail-header {
background-color: #0077cc;
color: #fff;
padding: 2rem;
text-align: center;
}

.detail-header h3 {
font-size: 2rem;
margin-bottom: 1rem;
}

.detail-content {
padding: 2rem;
}

.detail-features {
display: flex;
gap: 2rem;
margin-bottom: 2rem;
}

.feature-text {
flex: 1;
}

.feature-text ul {
list-style-type: none;
margin-bottom: 1.5rem;
}

.feature-text ul li {
padding: 0.5rem 0;
position: relative;
padding-left: 1.5rem;
}

.feature-text ul li::before {
content: '•';
color: #0077cc;
font-size: 1.5em;
position: absolute;
left: 0;
top: 0.2rem;
}

.feature-images {
flex: 1;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}

.feature-images img {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.packages-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}

.package-card {
border: 1px solid #ddd;
border-radius: 10px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
/* Añade esto */
flex-direction: column;
/* Añade esto */
height: 100%;
/* Asegura altura completa */
}

.package-features {
padding: 1.5rem;
flex-grow: 1;
/* Añade esto para que ocupe el espacio disponible */
display: flex;
/* Añade esto */
flex-direction: column;
/* Añade esto */
}

.package-price {
background-color: #f8f9fa;
padding: 1.5rem;
text-align: center;
font-weight: 600;
margin-top: auto;
/* Opcional: para empujar el precio hasta abajo */
}

.package-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.package-header {
background-color: #0077cc;
color: #fff;
padding: 1.5rem;
text-align: center;
}

.package-header h4 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}

.package-image {
width: 100%;
height: 200px;
}

.package-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.package-features {
padding: 1.5rem;
}

.package-features h5 {
margin-bottom: 1rem;
color: #555;
}

.package-features ul {
list-style-type: none;
margin-bottom: 1.5rem;
}

.package-features ul li {
padding: 0.5rem 0;
position: relative;
padding-left: 1.5rem;
font-size: 0.9rem;
}

.price-label {
font-size: 0.9rem;
color: #666;
margin-bottom: 0.5rem;
}

.price-amount {
font-size: 1.8rem;
color: #0077cc;
}

/* Contact Section */
#contact {
background-color: #fff;
}

.contact-container {
display: flex;
gap: 2rem;
opacity: 0;
transform: translateY(20px);
}

.contact-info {
flex: 1;
}

.contact-form {
flex: 2;
}

/* Social Icons */
.social-container {
display: flex;
gap: 1rem;
padding: 2rem 0;
}

.social-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
color: white;
text-decoration: none;
transition: transform 0.3s ease, background-color 0.3s ease;
opacity: 0;
transform: scale(0.8);
}

.social-icon:nth-child(1) {
animation: scaleIn 0.5s ease forwards 0.8s;
background-color: #25D366;
}

.social-icon:nth-child(2) {
animation: scaleIn 0.5s ease forwards 1s;
background-color: #3b5998;
}

.social-icon:hover {
transform: scale(1.1);
}

/* Footer */
footer {
background-color: #333;
color: #fff;
padding: 2rem 5%;
text-align: center;
}

/* Animations */
@keyframes fadeInDown {
from {
    opacity: 0;
    transform: translateY(-20px);
}

to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes fadeIn {
from {
    opacity: 0;
}

to {
    opacity: 1;
}
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(20px);
}

to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes scaleIn {
from {
    opacity: 0;
    transform: scale(0.8);
}

to {
    opacity: 1;
    transform: scale(1);
}
}

/* Responsive */
/* Responsive improvements */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .main-title {
    font-size: 4rem;
  }
  
  .typing-subtitle {
    font-size: 1.3rem;
  }
  
  .packages-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 3%;
  }
  
  .main-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
  
  .typing-subtitle {
    font-size: 1.1rem;
  }
  
  section {
    padding: 60px 3%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    margin-bottom: 1rem;
  }
  
  .packages-container {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 1rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 0.5rem 0;
    width: 80%;
    text-align: center;
    transform: translateX(50px);
    opacity: 0;
  }

  .nav-links.active a {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
  .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
  .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }

  .nav-links a:hover {
    background-color: rgba(0, 119, 204, 0.1);
    transform: scale(1.05);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    width: 100%;
  }
  
  .detail-features {
    flex-direction: column;
  }
  
  .feature-images {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 2%;
  }
  
  .main-title {
    font-size: 2.5rem;
  }
  
  .typing-subtitle {
    font-size: 1rem;
  }
  
  section {
    padding: 40px 2%;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .service-content {
    padding: 1rem;
  }
  
  .detail-container {
    margin: 10px;
    width: calc(100% - 20px);
  }
  
  .detail-content {
    padding: 1rem;
  }
  
  .feature-images {
    grid-template-columns: 1fr;
  }
}

/* Contact Form Styles */
.contact-form {
background-color: #fff;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 0.75rem;
border: 2px solid #e1e5e9;
border-radius: 5px;
font-size: 1rem;
transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #0077cc;
}

.form-group textarea {
resize: vertical;
min-height: 120px;
}

.form-row {
display: flex;
gap: 1rem;
}

.form-col {
flex: 1;
}

.submit-btn {
background-color: #0077cc;
color: white;
padding: 0.75rem 2rem;
border: none;
border-radius: 5px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}

.submit-btn:hover {
background-color: #005fa3;
transform: translateY(-2px);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #888;
}

.submit-btn:disabled:hover {
  transform: none;
  background: #888;
}

@media (max-width: 768px) {
  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.loading-spinner {
width: 20px;
height: 20px;
border: 2px solid #ffffff;
border-top: 2px solid transparent;
border-radius: 50%;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.success-message {
background-color: #d4edda;
color: #155724;
padding: 1rem;
border-radius: 5px;
margin-bottom: 1rem;
border: 1px solid #c3e6cb;
}

.error-message {
background-color: #f8d7da;
color: #721c24;
padding: 1rem;
border-radius: 5px;
margin-bottom: 1rem;
border: 1px solid #f5c6cb;
}

/* Contact Info Styles */
.contact-item {
display: flex;
align-items: center;
margin-bottom: 1.5rem;
padding: 1rem;
background-color: #f8f9fa;
border-radius: 8px;
}

.contact-icon {
width: 50px;
height: 50px;
background-color: #0077cc;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 1rem;
color: white;
font-size: 1.2rem;
}

.contact-details h4 {
margin-bottom: 0.5rem;
color: #333;
}

.contact-details p {
color: #666;
margin: 0;
}

@media (max-width: 768px) {
.form-row {
flex-direction: column;
}
}

/* Chatbot Styles */
#chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

#chatbot-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

#chatbot-toggle:hover {
  transform: scale(1.1);
}

#chatbot-toggle i {
  color: white;
  font-size: 24px;
}

#chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.chatbot-hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}

.chatbot-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatbot-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

#chatbot-messages {
  height: 380px;
  overflow-y: auto;
  padding: 15px;
  background: #f8f9fa;
}

@media (max-width: 768px) {
  #chatbot-window {
    width: calc(100vw - 20px);
    height: 400px;
    right: 10px;
    bottom: 70px;
  }
  
  #chatbot-messages {
    height: 280px;
  }
  
  .message-content {
    max-width: 85%;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  #chatbot-container {
    bottom: 15px;
    right: 15px;
  }
  
  #chatbot-toggle {
    width: 50px;
    height: 50px;
  }
  
  #chatbot-toggle i {
    font-size: 18px;
  }
  
  #chatbot-window {
    position: fixed;
    bottom: 80px;
    right: 10px;
    left: 10px;
    width: auto;
    height: 70vh;
    max-height: 400px;
  }
  
  #chatbot-messages {
    height: calc(70vh - 140px);
    max-height: 260px;
    padding: 10px;
  }
  
  .chatbot-input-container {
    padding: 10px;
  }
  
  #chatbot-input {
    font-size: 16px;
  }
}

@media (max-width: 320px) {
  #chatbot-window {
    height: 60vh;
    max-height: 350px;
  }
  
  #chatbot-messages {
    height: calc(60vh - 130px);
    max-height: 220px;
  }
}

.message {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
}

.message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
}

.message.bot .message-content {
  background: white;
  border: 1px solid #e0e0e0;
}

.message.user .message-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.chatbot-input-container {
  display: flex;
  padding: 15px;
  background: white;
  border-top: 1px solid #e0e0e0;
}

#chatbot-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  padding: 10px 15px;
  outline: none;
  font-size: 14px;
}

#chatbot-send {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  background: white;
  border-radius: 18px;
  max-width: 80px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
}

/* Estilos para Markdown en el chatbot */
.message-content h1,
.message-content h2,
.message-content h3 {
    margin: 0.5em 0;
    font-weight: bold;
    line-height: 1.2;
}

.message-content h1 {
    font-size: 1.2em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.3em;
}

.message-content h2 {
    font-size: 1.1em;
}

.message-content h3 {
    font-size: 1.05em;
}

.message-content p {
    margin: 0.5em 0;
    line-height: 1.4;
}

.message-content code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.1em 0.3em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.message-content pre {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.8em;
    margin: 0.5em 0;
    overflow-x: auto;
    white-space: pre-wrap;
}

.message-content pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 0.85em;
}

.message-content blockquote {
    border-left: 3px solid #ddd;
    margin: 0.5em 0;
    padding: 0 0 0 1em;
    color: #666;
    font-style: italic;
}

.message-content ul,
.message-content ol {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

.message-content li {
    margin: 0.2em 0;
}

.message-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 1em 0;
}

.message-content a {
    color: #007bff;
    text-decoration: none;
}

.message-content a:hover {
    text-decoration: underline;
}

.message-content strong {
    font-weight: bold;
}

.message-content em {
    font-style: italic;
}

.message-content del {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Para mensajes del bot, dar más espacio */
.message.bot .message-content {
    line-height: 1.5;
}

/* Mejorar la legibilidad de código en mensajes del bot */
.message.bot .message-content code {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.message.bot .message-content pre {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}