body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  position: relative; /* Added to support full-screen overlay */
}

#outer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 10px;
}


#header-image {
  width: 100%;
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 10px 10px 0 0;
  position: relative; /* Add this to make the menu position relative to this container */
}

#main-content {
  display: flex;
  margin-top: 10px;
}

#left-decor, #right-decor {
  width: 150px;
  background-color: #f4f4f9;
  color: #354f7d;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.language-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 0px;
}

#chat-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  height: 80vh;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0 20px;
}

#chat-header {
  background: #3b5998;
  color: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

#chat-header h1 {
  margin: 0;
  font-size: 24px;
}

#chat-header p {
  margin: 5px 0 0;
  font-size: 14px;
}

#conversation {
  flex-grow: 1;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  background-color: #f9f9f9;
  margin-bottom: 10px; /* Added margin to avoid overlap with input */
}

/* Styles for content inside the chat window */
#conversation .message.assistant, #conversation .message.user {
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

#conversation .message.assistant h1,
#conversation .message.assistant h2 {
  font-size: 18px;
  color: #333;
}

#conversation .message.assistant p {
  margin: 0.5em 0; /* Reduced paragraph spacing */
}

#conversation .message.assistant ul {
  margin-left: 20px;
  list-style: disc;
}

#conversation .message.assistant ul li {
  margin: 0.4em 0;
}

#user-input {
  width: calc(100% - 90px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 10px;
  resize: none;
  overflow: hidden;
}

#send-button {
  width: 70px;
  padding: 10px;
  background: #3b5998;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#send-button:hover {
  background: #354f7d;
}

.message {
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  max-width: 100%;
}

.message.user {
  background-color: #e1ffc7;
  align-self: flex-end;
}

.message.assistant {
  background-color: #c7dfff;
  align-self: flex-start;
}

.thinking {
  color: #888;
  font-style: italic;
}

@media (max-width: 768px) {
  #outer-container {
    flex-direction: column;
    padding: 10px;
  }

  #main-content {
    flex-direction: column;
  }

  #chat-container {
    width: 100%;
    height: 70vh;
    margin: 10px 0;
  }

  #left-decor, #right-decor {
    display: none; /* Hide the sections on mobile */
  }
}

/* Updated for cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffcc00; /* Bright yellow background */
  color: #333;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 500px;
}

.cookie-popup p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.cookie-popup a {
  color: #003399;
  text-decoration: none;
}

.cookie-popup a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.cookie-buttons button#accept-cookies {
  background-color: #28a745;
  color: white;
}

.cookie-buttons button#accept-cookies:hover {
  background-color: #218838;
}

.cookie-buttons button#decline-cookies {
  background-color: #dc3545;
  color: white;
}

.cookie-buttons button#decline-cookies:hover {
  background-color: #c82333;
}

.hidden {
  display: none;
}

/* Full screen overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

/* Specific styles for chat content */
#conversation .message {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

#conversation .message a {
  color: #007bff;
  text-decoration: underline;
}

#conversation .message a:hover {
  text-decoration: none;
}

/* Specific styles for page content */
#main-content p {
  font-size: 16px;
  line-height: 1.8;
}

#main-content a {
  color: #003399;
  text-decoration: none;
}

#main-content a:hover {
  text-decoration: underline;
}

#lang-switcher {
  margin-top: 10px;
  text-align: center;
}

#lang-switcher a {
  color: #3b5998;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #3b5998;
  border-radius: 5px;
  padding: 5px 10px;
}

#lang-switcher a:hover {
  background-color: #3b5998;
  color: white;
}


/* Hamburger Menu Styles */
.menu-container {
  top: 180px; /* Adjust this value as needed to position it correctly under the banner */
  left: 10px;
  z-index: 1000;
}

.hamburger-menu {
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
  display: none;
  top: 50px;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #f4f4f9;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 60px;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#contact-form {
  display: flex;
  flex-direction: column;
}

#contact-form label {
  margin: 10px 0 5px;
}

#contact-form input,
#contact-form textarea {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#send-message-button {
  padding: 10px 20px;
  background-color: #3b5998;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#send-message-button:hover {
  background-color: #354f7d;
}

.hidden {
  display: none;
}

/* Sample Questions Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 60px;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#sample-questions-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sample-question {
  background-color: #f4f4f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sample-question:hover {
  background-color: #ddd;
}

/* Other styles... */

.dropdown-country {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  position: relative;
  cursor: pointer; /* Add cursor pointer for better UX */
}

.toggle-arrow {
  float: right;
  transition: transform 0.3s; /* Smooth transition for rotation */
}

.rotated {
  transform: rotate(180deg); /* Rotate arrow */
}

.city-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: none; /* Hide city list by default */
}

.city-list li {
  padding: 5px 0;
}

.city-list li a {
  text-decoration: none;
  color: #333;
}

.dropdown-country:hover .city-list {
  display: block; /* Show city list on hover */
}

/* To handle hidden class */
.hidden {
  display: none;
}
