nav{
  margin-top: 25px;
}
.nav-container{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: 0; /* Ensure no padding interferes with our positioning */
}

.content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.top-content {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
  padding-bottom: 5%;
  width: 100%;
  height: 50vH;
  z-index: 2;
}

.background {
  position: absolute;
  right: 110px;
  bottom: -100px;
  max-width: 925px;
  min-width: 450px;
  width: 95vW;
  object-fit: contain;
  z-index: 0;
}

.bot-content {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 40px;
  width: 100%;
  min-height: 50vH;
  height: auto;
  z-index: 2;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50vh;
  background: #7156c32f;
  z-index: -1; /* always in background */
  pointer-events: none; /* prevent interaction */
}

.menu:hover{
  cursor: pointer;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  z-index: 1;
}

.welcome-text {
  position: relative;
  font-size: 10.5px;
  font-weight: bold;
  margin-top: 4px;
  max-height: 100%;
}

.logo-text{
  color: #6E59C9;
  font-size: 35px;
  font-weight: bold;
  align-items: flex-end;
  justify-content: end;
  margin-left: 10px;
  width: fit-content;
  text-align: end;
  height: 34px;
}

.company-header {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  margin-left: 10%;
  margin-right: 10%;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Karla", sans-serif;
  width: 100vW;
  height: 100vH;
  overflow-x: hidden; /* Prevents scrolling */
}
.password-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.password-container {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 350px;
  border: 1px solid #e0e0e0;
}

.password-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 15px;
}

.password-logo-text {
  color: #6E59C9;
  font-size: 28px;
  font-weight: bold;
}

.password-container h2 {
  color: #333;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 500;
}

.password-input-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

#password-input {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Karla", sans-serif;
  outline: none;
  transition: border-color 0.3s;
}

#password-input:focus {
  border-color: #6E59C9;
}

#password-submit {
  padding: 12px 20px;
  background-color: #6E59C9;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "Karla", sans-serif;
}

#password-submit:hover {
  background-color: #5a47a8;
}

.password-error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 10px;
  min-height: 20px;
}

.content.password-hidden {
  display: none;
}
html * {
  box-sizing: border-box;
}

.city {
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 5.7%;
  font-size: 26px;
  color: #848484f3;
  font-weight: bold;
  z-index: 1;
}

.slogan{
  margin-top: 1%;
  margin-bottom: 6%;
  font-size: 50px;
  font-weight: bold;
  margin-left: 10%;
  margin-right: 10%;
  z-index: 1;
}
.sub-slogan{
  font-weight: normal;
}
.help-container{
  margin-top: auto;
  margin-bottom: 50px;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  Border: 1px solid #7F7F7F;
  min-width: 400px;
  width: 90%;
  max-width: 700px;
  background-color: white;
  box-shadow: 0 0 6px rgba(0, 0, 0, .15);
  border-radius: 7px;
  border-width: 0.8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  max-height: 50px;
  height: 50px;
  color: #6C6C6C;
  font-style: italic;
   > img{
    padding-left: 10px;
}

}
.help-container:hover{
  cursor: pointer;
  background-color: #f0f0f0;
}
.help-container > h4{
margin: 5px;
  font-weight: lighter;
}
.containers{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 20px;
  max-width: 1290px;
  max-height: 100%;
  justify-content: center;
  z-index: 2;
}

.container-header { 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
  width: 100%;
  height: 90px;
  background-color: #6E59C9;
  font-size: 24px;
  text-align: center;
  color: white;
  overflow-wrap: break-word;
  hyphens: manual;
}
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-style: solid;
  border-width: 0.8px;
  border-radius: 8px;
  border-color: #7F7F7F;
  background-color: white;
  min-width: 210px;
  width: 240px;
  overflow: hidden;
  padding-bottom: 20px;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, .25);
}

.placeholder {
  display: flex;
  justify-content: flex-start;
  background-color: white;
  padding: 10px;
  margin-bottom: 15px;
  height: 110px;
  width: 100%;
  border-width: 0.8px;
  border-color: #7F7F7F;
  border-style: solid;
  border-top: 0.8px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 0px;
  font-size: 14px;
  font-weight: normal;
  color: black;
  box-sizing: border-box;

}
.container > img{
width: 100%;
}

.container > select{
  border-color: #7F7F7F;
  border-style: solid;
  border-width: 0.8px;
  border-radius: 5px;
  padding: 5px;
  width: 80%;
  height: 35px;
  text-align: center;
  font-weight: bold;
  color: #6E59C9;
  background-color: #EFEFEF;

  &:hover{
    cursor: pointer;
  }
}
.button {
  border-color: #7F7F7F;
  border-style: solid;
  border-width: 0.8px;
  border-radius: 5px;
  padding: 5px;
  width: 80%;
  height: 35px;
  color: #6E59C9;
  background-color: #EFEFEF;
  font-weight: bold;
}
.button:hover{
  cursor: pointer;
  color: #6E59C9
}
.chat-iframe {
  opacity: 0;
  transform: translate(-50%, -60%) scale(0.9);
  pointer-events: none; /* Prevents clicking when hidden */
  transition: all 0.15s ease;
  
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 750px;
  width: 90vw;
  height: 90vh;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  background-color: white;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
}

.chat-iframe.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.iframe-content {
  overflow-y: auto;
  height: 100%;
  width: 100%;
}

/* Overlay */
.blur-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.blur-overlay.open {
  display: block;
  opacity: 1;
}

@media screen and (max-width: 800px) {
  .containers{
    margin-top: auto;
    width: 100;
    gap: 20px;
  }

  .slogan{
    margin-bottom: 20px;
    font-size: 32px;
    text-align: center;
  }

  .background {
    position: absolute;
    right: 0px;
    bottom: -100px;
    max-width: 925px;
    min-width: 450px;
    width: 95vW;
  }
}

@media screen and (min-width: 2000px) {
  .slogan{
    font-size: 62px;
  }

  .background {
    position: absolute;
    right: 0px;
    bottom: -100px;
    max-width: 1250px;
    min-width: 450px;
    width: 95vW;
  }
}