html {
  scroll-behavior: smooth;
}

.main-container {
  display: flex;
  overflow: hidden;
  position: relative;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
}

.input {
  display: inline-block;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border-width: 2px;
  border-color: #f3f4f6;
  max-width: 65ch;
  color: #374151;
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-duration: 300ms;
  transition-duration: 100ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background: #ffffff;

  @media (min-width: 768px) {
    min-width: 55ch;
  }
  @media (min-width: 1280px) {
    padding: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    width: 65ch;
  }
}

.header-wrapper {
  display: flex;
  z-index: 20;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #ffffff;

  @media (min-width: 768px) {
    padding-left: 6rem;
    padding-right: 6rem;
  }
  @media (min-width: 1024px) {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  @media (min-width: 1280px) {
    padding-left: 10rem;
    padding-right: 10rem;
    padding-left: 14rem;
    padding-right: 14rem;
  }
}

.header-logo {
  width: auto;
  height: 2rem;

  @media (min-width: 1280px) {
    height: 2.5rem;
  }
}

.header-icon-wrapper {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;

  @media (min-width: 1024px) {
    display: none;
  }
}

.header-icon {
  width: 100%;
  height: 100%;
  fill: #9ca3af;
}

.header-items {
  display: none;
  gap: 4rem;
  align-items: center;

  @media (min-width: 1024px) {
    display: flex;
  }
}

.header-item {
  cursor: pointer;

  :hover {
    background-color: #f6f6f6;
  }
}

.header-text {
  padding: 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #9ca3af;
}

.text-wrapper {
  display: flex;
  z-index: 10;
  padding: 2.5rem;
  flex-direction: column;
  gap: 2rem;

  @media (min-width: 768px) {
    padding-left: 4rem;
    padding-right: 4rem;
    gap: 3rem;
    width: 50%;
  }

  @media (min-width: 1280px) {
    padding: 6rem;
    padding-left: 5rem;
    padding-right: 8rem;
    gap: 4rem;
  }
}

.second-text-wrapper {
  display: flex;
  z-index: 10;
  padding: 2.5rem;
  flex-direction: column;
  gap: 2rem;

  @media (min-width: 768px) {
    padding-left: 4rem;
    padding-right: 4rem;
    gap: 3rem;
    width: 50%;
  }

  @media (min-width: 1024px) {
    padding-left: 6rem;
  }

  @media (min-width: 1280px) {
    padding: 6rem;
    padding-left: 5rem;
    padding-right: 8rem;
    gap: 4rem;
  }
}

.title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  color: #12566c;

  @media (min-width: 768px) {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  @media (min-width: 1024px) {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  @media (min-width: 1280px) {
    font-size: 3rem;
    line-height: 1;
  }
}

.subtitle {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: #374151;

  @media (min-width: 768px) {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  @media (min-width: 1280px) {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.dark-button {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #1a7d9c;
  align-self: center;

  @media (min-width: 1024px) {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.light-button {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #06aed5;
  align-self: center;
  white-space: nowrap;

  @media (min-width: 1024px) {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.yellow-button {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #f5ab00;
  align-self: center;

  @media (min-width: 1024px) {
     font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.button-wrapper {
  display: flex;
}

.first-section-wrapper {
  display: flex;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 50rem;

  @media (min-width: 768px) {
    align-items: center;
    height: 36rem;
  }
  @media (min-width: 1024px) {
    height: 42rem;
  }
  @media (min-width: 1280px) {
    height: 55rem;
  }
  @media (min-width: 1536px) {
  }
}

.first-section-image {
  aspect-ratio: auto;
  position: absolute;
  right: -9rem;
  z-index: 30;
  transform: scale(1.5);
  top: 26rem;

  @media (min-width: 768px) {
    top: -7rem;
    right: -20rem;
    transform: scale(1);
  }

  @media (min-width: 1280px) {
    top: -20rem;
    right: -32rem;
  }

  @media (min-width: 1536px) {
    top: -24rem;
  }
}

.second-section-wrapper {
  display: flex;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 50rem;

  @media (min-width: 768px) {
    flex-direction: row-reverse;
    align-items: center;
    height: 40rem;
  }
  @media (min-width: 1024px) {
    height: 50rem;
  }

  @media (min-width: 1536px) {
    height: 57rem;
  }
}

.second-section-image {
  position: absolute;
  left: -9rem;
  z-index: 0;
  transform: scale(1.5);
  top: 25rem;

  @media (min-width: 768px) {
    top: 1.25rem;
    left: -24rem;
    transform: scale(1);
  }

  @media (min-width: 1280px) {
    top: -10rem;
    transform: scale(0.75);
  }
}

.second-section-figure {
  position: absolute;
  top: 0;
  right: -13rem;
  z-index: 0;
  transform: scale(0.75);

  @media (min-width: 768px) {
    top: 24rem;
  }
  @media (min-width: 1024px) {
    right: -12rem;
    top: 24rem;
  }
}

.stats-container-wrapper {
  display: grid;
  z-index: 10;
  padding-left: 6rem;
  padding-right: 6rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;

  @media (min-width: 768px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  @media (min-width: 1024px) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stats-wrapper {
  display: flex;
  padding: 1rem;
  justify-content: center;
  align-items: center;

  @media (min-width: 768px) {
    padding: 2.5rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-title {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 700;
  color: #06aed5;

  @media (min-width: 1280px) {
    font-size: 6rem;
    line-height: 1;
  }
}

.stat-subtitle {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #374151;

  @media (min-width: 1280px) {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.stat-description {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #9ca3af;

  @media (min-width: 1280px) {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.third-section-wrapper {
  display: flex;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 42rem;

  @media (min-width: 768px) {
    align-items: center;
    height: 35rem;
  }
  @media (min-width: 1024px) {
    height: 40rem;
  }
  @media (min-width: 1280px) {
    height: 55rem;
  }
  @media (min-width: 1536px) {
    height: 70rem;
  }
}

.third-section-image {
  position: absolute;
  right: -3rem;
  z-index: 0;
  transform: scale(1.5);
  top: 22rem;

  @media (min-width: 768px) {
    top: 0;
    right: -18rem;
    transform: scale(1);
  }
  @media (min-width: 1024px) {
    top: -2.5rem;
    right: -24rem;
  }
}

.third-section-figure {
  position: absolute;
  top: -5rem;
  left: -7rem;
  z-index: 0;
  transform: scale(0.5);

  @media (min-width: 768px) {
    top: 0;
    left: -7rem;
  }
  @media (min-width: 1024px) {
    top: -1.5rem;
    left: -8rem;
    transform: scale(1);
  }
  @media (min-width: 1280px) {
    top: -1rem;
    left: -4rem;
  }
  @media (min-width: 1536px) {
    left: -5rem;
  }
}

.demo_wrapper {
  display: flex;
  z-index: 10;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 4rem;
  padding-right: 4rem;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: space-between;
  width: 100%;
  background-color: #00425c;

  @media (min-width: 768px) {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 6rem;
    padding-right: 6rem;
    align-items: center;
  }
}

.demo_title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #ffffff;
  width: 100%;

  @media (min-width: 768px) {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  @media (min-width: 1024px) {
    width: 70%;
  }
}

.fourth-section-wrapper {
  display: flex;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 42rem;

  @media (min-width: 768px) {
    align-items: center;
    height: 35rem;
  }
  @media (min-width: 1024px) {
    height: 50rem;
  }
  @media (min-width: 1280px) {
    height: 65rem;
  }
  @media (min-width: 1536px) {
    height: 80rem;
  }
}

.fourth-section-image {
  position: absolute;
  right: -2.5rem;
  top: 22rem;
  z-index: 0;
  transform: scale(1.5);

  @media (min-width: 768px) {
    top: 1rem;
    right: -18rem;
    transform: scale(1);
  }
  @media (min-width: 1024px) {
    top: 2.5rem;
    right: -24rem;
  }
}

.fourth-section-figure {
  position: absolute;
  top: -5rem;
  left: -13rem;
  z-index: 0;
  transform: scale(0.5);

  @media (min-width: 768px) {
    top: -2.5rem;
    left: -11rem;
  }
  @media (min-width: 1024px) {
    top: -2rem;
    left: -14rem;
    transform: scale(1);
  }
  @media (min-width: 1280px) {
    top: 2.5rem;
  }
}

.fifth-section-wrapper {
  display: flex;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 50rem;

  @media (min-width: 768px) {
    flex-direction: row-reverse;
    align-items: center;
    height: 42rem;
  }

  @media (min-width: 1280px) {
    height: 55rem;
  }
  @media (min-width: 1536px) {
    height: 58rem;
  }
}

.fifth-section-image {
  position: absolute;
  left: -9rem;
  z-index: 0;
  transform: scale(1.5);
  top: 22rem;

  @media (min-width: 768px) {
    top: -1.25rem;
    left: -28rem;
    transform: scale(1);
  }
  @media (min-width: 1024px) {
    top: -14rem;
    transform: scale(0.75);
  }
  @media (min-width: 1280px) {
    left: -40rem;
  }
  @media (min-width: 1536px) {
    left: -22rem;
  }
}

.questions-wrapper {
  display: flex;
  z-index: 10;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 4rem;
  padding-right: 4rem;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: space-between;
  width: 100%;
  background-color: #00425c;

  @media (min-width: 768px) {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 6rem;
    padding-right: 6rem;
    align-items: center;
  }
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    
    @media (min-width: 768px) {
        justify-content: center; 
    }
    @media (min-width: 1024px) {
        flex-direction: row;
        justify-content: space-between; 
        width: 70%;
    }
}

.questions-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;

  @media (min-width: 1024px) {
    width: 70%;
    gap: 2rem;
  }
}

.questions-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #ffffff;

  @media (min-width: 768px) {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  @media (min-width: 1024px) {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.questions-subtitle {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #ffffff;

  @media (min-width: 768px) {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  @media (min-width: 1024px) {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  @media (min-width: 1280px) {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ebebeb;
}

.footer-logo-wrapper {
  width: 10rem;
  height: auto;

  @media (min-width: 768px) {
    width: 14rem;
  }
}

.footer-logo {
  aspect-ratio: auto;
  width: 100%;
}

.footer-text-wrapper {
  display: flex;
  padding: 2.5rem;
  flex-direction: column;
  gap: 2.5rem;
  height: 50rem;

  @media (min-width: 768px) {
    height: 30rem;
  }
  @media (min-width: 1024px) {
    flex-direction: row;
    justify-content: space-between;
  }
  @media (min-width: 1280px) {
    gap: 7rem;
    justify-content: flex-start;
    height: 20rem;
  }
  @media (min-width: 1536px) {
    gap: 11rem;
  }
}

.footer-text-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;

  @media (min-width: 768px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-text-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-text-title {
  font-weight: 600;
  color: #00425c;

  @media (min-width: 1024px) {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.footer-text-item {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #6b7280;

  @media (min-width: 1024px) {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
.footer-bar {
  display: flex;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
  background-color: #f59e0b;

  @media (min-width: 768px) {
    justify-content: center;
  }
  @media (min-width: 1024px) {
    padding-left: 10rem;
    padding-right: 10rem;
    justify-content: flex-end;
  }
}

.footer-image {
  position: absolute;
  right: 0;
  bottom: 1.75rem;
  height: 12rem;

  @media (min-width: 768px) {
    height: 14rem;
  }
}

.footer-bar-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

#chatbot
.chatbot {
    display: flex;
}

.floating-btn-wrapper {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  
    @media (min-width: 768px) { 
        right: 30px;
        bottom: 30px;
        width: 65px;
        height: 65px;
    }
    @media (min-width: 1024px) { 
        right: 40px;
        bottom: 40px;
        width: 80px;
        height: 80px;
    }
  
  .fab {
    background: #086788;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 40;
    border-radius: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fab-animation-reverse 0.4s ease-out forwards;
    
    /*&::before,*/
    /*&::after {*/
    /*  content: "";*/
    /*  display: block;*/
    /*  position: absolute;*/
    /*  border-radius: 4px;*/
    /*  background: #fff;*/
    /*}*/
    
    /*&::before {*/
    /*  width: 4px;*/
    /*  height: 18px;*/
    /*}*/
    
    /*&::after {*/
    /*  width: 18px;*/
    /*  height: 4px;*/
    /*}*/
  }
  
  .fac {
    width: 350px;
    height: 40px;
    border-radius: 0.5rem; 
    position: absolute;
    background: #fff;
    z-index: 30;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    opacity: 0;
    right: 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: opacity 0.2s ease-in, top 0.2s ease-in, width 0.1s ease-in;
    overflow: hidden;
  }
  
    .fac-questions-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem; 
        width: 100%;
        height: 100%;
        font-weight: 500; 
        
        .chatbox {
            padding: 8px;
            list-style: none;
            overflow-y: auto;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .chat {
          display: flex;
          gap: 16px;
          width: 100%;
        }
        
        .message-outgoing {
              flex-direction: row-reverse;
          }
        
        .chat-sam {
            width: 40px; 
            height: 40px; 
            display: none;
            
            @media (min-width: 768px) { 
            display: inline-flex;
            }
        }
        
        .chat-outgoing {
          align-items: flex-end; 
          border-width: 1px; 
          border-color: #c2c2c2; 
          background-color: #f5f5f5;
          display: flex;
          flex-direction: column;
          margin-bottom: 10px;
          border-radius: 10px;
          word-wrap: break-word;
          padding: 10px;
          gap: 10px;
          color: #717171;
          width: 100%;
        }
        
        .chat-incoming {
          border-width: 1px; 
          border-color: #dbf2f9; 
          background-color: #ECF8FC;
          /*background-color: #eaeaea;*/
          display: flex;
          flex-direction: column;
          margin-bottom: 10px;
          border-radius: 10px;
          word-wrap: break-word;
          padding: 10px;
          gap: 10px;
          color: #12566c;
          width: 100%;
          
            .chat-list {
                display: flex;
                flex-direction: column;
                gap: 4px;
                list-style: none;
                /*list-style-position: inside;*/
                
                li {
                    /*text-indent: 16px;*/
                    font-size: 0.875rem;
                    line-height: 1.25rem; 
                    cursor: pointer;
                    border-radius: 0.375rem; 
                    border-width: 1px; 
                    border-color: #DBEAFE; 
                    padding: 4px 14px 4px 14px;
                    background-color: transparent;
                }
                
                li:hover {
                    background-color: #b8e5f3; 
                }
            }
        }
    }
  
  input {
    height: 100%;
    width: 100%;
    border-radius: 100%;
    cursor: pointer;
    position: absolute;
    z-index: 50;
    opacity: 0;
    
    &:checked {
      ~ .fab {
        animation: fab-animation 0.4s ease-out forwards;
      }
      
      ~ .fac {
        width: 200px;
        height: 400px;
        animation: fac-animation 0.4s ease-out forwards 0.1s;
        top: -350px;
        right: 70px;
        opacity: 1;
        
        @media (min-width: 768px) { 
            width: 350px;
            right: 90px;
        }
        @media (min-width: 1024px) { 
            right: 100px;
        }
      }
    }
  }
}

@keyframes fab-animation {
  0% {
    transform: rotate(0) scale(1);
  }
  20% {
    transform: rotate(60deg) scale(0.93);
  }
  55% {
    transform: rotate(35deg) scale(0.97);
  }
  80% {
    transform: rotate(48deg) scale(0.94);
  }
  100% {
    transform: rotate(45deg) scale(0.95);
  }
}

@keyframes fab-animation-reverse {
  0% {
    transform: rotate(45deg) scale(0.95);
  }
  20% {
    transform: rotate(-15deg);
  }
  55% {
    transform: rotate(10deg);
  }
  80% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(0) scale(1);
  }
}

@keyframes fac-animation {
  0% {
    transform: scale(1, 1);
  }
  33% {
    transform: scale(0.98, 1.02);
  }
  66% {
    transform: scale(1.02, 0.98);
  }
  100% {
    transform: scale(1, 1);
  }
}