:root {
    --color-background: #52a3b6;
    --color-foreground: rgb(230, 225, 215);
    --color-accent: rgb(200, 180, 160);
    --font-primary: "Inter", sans-serif;
    --font-secondary: "IBM Plex Mono", monospace;
    --margin: 32px;
    --gutter: 16px;
  }

/* Intro Loading */ 

  
  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-background);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
  }
  
  .progress-container {
    width: 300px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
  }
  
  .progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--color-foreground);
  }
  
  .percentage {
    position: fixed;
    bottom: var(--margin);
    right: var(--margin);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 25rem;
    line-height: 0.8;
    color: var(--color-foreground);
    opacity: 0.1;
  }
  
  .text-container {
    height: 3em;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    width: 200px;
  }
  
  .loading-text {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--color-foreground);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: absolute;
    width: 100%;
    text-align: center;
  }
  
  .loading-text.initial {
    transform: translateY(0);
  }
  
  .loading-text.complete {
    transform: translateY(100%);
  }
  
  .loading-text .char {
    display: inline-block;
  }
  
  .content {
    padding: var(--margin);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-foreground);
    background: var(--color-background);
    visibility: hidden;
    z-index: 1;
  }
  
  .content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  
  .content p {
    font-size: 1.2rem;
    overflow: hidden;
  }
  
  .content .char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
  }
  
  /* Add these classes for the stagger animation */
  .preloader-item {
    opacity: 1;
    transform: translateY(0);
  }


  /* WhatsApp */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

  .chat-header,
.chat-content,
.message-input {
  position: absolute;
  display: flex;
  right: 20px;
  width: 300px;
  background-color: #e5ddd5;
  z-index: 10002;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.chat-header {
  top: calc(100% - 420px);
  height: 60px;
  background-color: #075e54;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  border-radius: 12px 12px 0 0;
}
.avatar-container {
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.chat-header img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #25d366;
  border-radius: 50%;
  border: 2px solid #075e54;
}
.chat-header-info {
  flex-grow: 1;
}
.chat-header h1 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0px;
}
.online-status {
  font-size: 12px;
}
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.chat-content {
  top: calc(100% - 360px);
  height: 300px;
  padding: 20px;
  overflow-y: auto;
}
.message {
  max-width: 80%;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 7.5px;
  position: relative;
  word-wrap: break-word;
  color: black;
}
.message.received {
  background-color: #ffffff;
  align-self: flex-start;
}
.message.sent {
  background-color: #dcf8c6;
  align-self: flex-end;
  margin-left: auto;
}
.message-input {
  bottom: 20px;
  height: 60px;
  display: flex;
  padding: 10px;
  background-color: #f0f0f0;
  border-radius: 0 0 12px 12px;
}
.whatsapp-btn {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 12px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-btn:hover {
  background-color: #128c7e;
}
.typing-indicator {
  background-color: #e5ddd5;
  padding: 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}
.typing-indicator span {
  height: 10px;
  width: 10px;
  float: left;
  margin: 0 1px;
  background-color: #9e9ea1;
  display: block;
  border-radius: 50%;
  opacity: 0.4;
}
.typing-indicator span:nth-of-type(1) {
  animation: 1s blink infinite 0.3333s;
}
.typing-indicator span:nth-of-type(2) {
  animation: 1s blink infinite 0.6666s;
}
.typing-indicator span:nth-of-type(3) {
  animation: 1s blink infinite 0.9999s;
}
@keyframes blink {
  50% {
    opacity: 1;
  }
}
.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  animation: wave 2s infinite;
}
.chat-icon img {
  width: 35px;
  height: 35px;
}
@keyframes wave {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
