/* Global Styles */
html, body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
  color: #333;
  width: 100%;
  overflow-x: hidden;
}

.section-title {
  font-size: 2.5rem; 
  text-align: center; 
  margin-top: 20px; 
  margin-bottom: 20px; 
  color: #333; 
}

.main-content {
  flex: 1;
}

.luke-container {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
  margin-right: 20px;
  width: 100%;
  gap: 20px;
  padding: 20px; 
}

.luke-container img {
  display: block;
  margin: 0 auto;
  width: 100%; 
  max-width: 300px; 
  height: auto; 
  border-radius: 10px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

/* Video Divider Section */
.video-divider {
  position: relative;
  height: 50px; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0px;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; 
  transform: translate(-50%, -50%);
  pointer-events: none;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #333;
}

/* Contact Section */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  border: 1px solid #ccc;
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
  text-align: left;
}

/* Chat Box */
.chat-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  min-height: 200px;
  margin-bottom: 100px;
}

/* Chat Box */
.chat-box {
  display: flex;
  flex-direction: column;
  gap: 15px; 
  background-color: #f9f9f9; 
  
  border-radius: 12px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05); 
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-height: 295px;
}

/* Message Bubbles */
.message {
  padding: 10px 20px;
  max-width: 75%;
  border-radius: 20px;
  word-wrap: break-word;
  font-size: 1rem;
  line-height: 1.4;
  display: inline-block;
  text-align: left;
  margin-bottom: 10px; 
  opacity: 0; 
}

/* User Messages (right-aligned bubble) */
.message.user {
  align-self: flex-start;
  background-color: #0077cc; 
  color: white; 
  border-bottom-left-radius: 0; 
}

/* Bot Messages (left-aligned bubble) */
.message.bot {
  align-self: flex-start; 
  background-color: #f1f1f1; 
  color: #333; 
  border-bottom-left-radius: 0; 
}

/* Add a smooth reveal effect */
.message.show {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.chat-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.typing-indicator {
  font-style: italic;
  color: #888;
  padding: 10px;
  text-align: center;
  display: block;
  position: absolute; 
  bottom: 0; 
  left: 0;
  right: 0;
}

@media (max-width: 768px) {
  .luke-container {
    flex-direction: column; 
    gap: 15px; 
  }

  .luke-container img {
    width: 80%; 
    max-width: 250px; 
  }
}

/* Media Query for smartphones (less than 480px width) */
@media (max-width: 480px) {
  .luke-container {
      margin-right: 20px;
  }
  
  .luke-container img {
    width: 90%; 
    max-width: 200px; 
  }
}