@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
  --tranleft : translateX(-90dvw); 
}
body{
  font-family: 'Poppins', sans-sarif;
  overflow-x: hidden;
}
nav{
  position: fixed;
  top : 0;
  right: 0;
  left: 0;
  z-index: 30;
  background: white;
}
.nav-list > li{
  cursor: pointer;
}
.nav-list>li:hover{
  color: #7371fc;
}
main{
  padding-top : 15dvh;
}
.hero-section{
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../pictures/startup-593341_1920.jpg');
  height: 85dvh;
  background-repeat: no-repeat;
  background-size: cover;
  margin-inline: 10px;
  padding-block: 10em;
  border-radius: 12px;
}
.hero-section-contact{
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://cdn.pixabay.com/photo/2015/01/08/18/26/man-593333_1280.jpg');
  height: 85dvh;
  background-repeat: no-repeat;
  background-size: cover;
  margin-inline: 10px;
  padding-block: 5em 10em;
  border-radius: 12px;
}
.text-impression{
  background: rgba(0, 0, 0, 0.233);
  padding-left: 20px;
  border-radius: 50pt;
  backdrop-filter: blur(8px);
}
.services-btn{
  background: #7371fc;
  
}
.learn-more-btn{
  background: linear-gradient(to right, #7371fc, #7371fcc0);
  padding-inline : 30pt;
  color: white;
  box-shadow: 0px 31px 62px -13px #7371fc;
}
.demo-btn{
  border: 2px solid #7371fc;
  color: #7371fc;
  backdrop-filter: blur(8px);
  
}
.about-page{
  height: 50dvh;
  object-fit: cover;
}
.about-us-heading{
  font-size: 30px;
}
.about-description{
  margin-top: 5rem;
  
}
.services-learn-more{
  padding-inline: 60px;
}
.services-card{
  box-shadow: 0px 26px 73px -3px rgba(0,0,0,0.1);
}
.services-icons{
  background: linear-gradient(to right, #7371fc, #7371fcab);
  box-shadow: 0px 10px 75px -18px #7371fc;
}
.contact-btn{
  background: linear-gradient(to right, #7371fc, #7371fcc0);
  color: white;
  padding-inline: 35pt;
  padding-block: 8pt;
  margin-left: 10px;
  box-shadow: 0px 31px 62px -13px #7371fc;
}
.logo-text{
  font-family: "Edu AU VIC WA NT Hand", cursive;
  white-space: nowrap;
  overflow: hidden; /* Ensures text is hidden until typed */
  border-right: 2px solid #7371fc; /* Cursor */
  width: 0; /* Initially hidden */
  animation: typing 4s steps(40, end) 1 normal both, blink-caret 0.75s step-end 1 normal both;
  padding-right: 3px;
}
.offer-description{
  padding-top :10dvh;
}
footer{
  background: #242526;
}
.nav-logo{
  height: 50px;
  object-fit: cover;
}
.logo-footer{
  height: 20dvh;
  object-fit: cover;
}
.contact-us-img{
  height: 85dvh;
  object-fit: cover;
}
.submit-btn{
  background: linear-gradient(to right, #7371fc, #7371fcab);
  color: white;
  padding-inline: 8rem;
}
.mobile-nav{
  display: none;
}
.contact-details{
  margin-left: 12dvw;
  padding-top: 5dvw;
}

.contact-container{
  padding-top: 10dvh;
}
.about-us-img{
  height: 30rem;
  object-fit: cover;
}
.about-us-img-two{
  height: 20rem;
  object-fit: cover;
}
.about-us-desc{
  margin-top: 7rem;
}
/* .contact-details{
  height: auto;
  background: url('../pictures/wave-haikei.svg');
} */
/* Typing animation */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%; /* Adjust based on the length of the text */
  }
}

/* Blinking cursor animation */
@keyframes blink-caret {
  0%, 100% {
    border-color: transparent;
  }
  50% {
    border-color: #7371fc; /* Matches the text color */
  }
}
/* 7371fc */
.submit-btn-contact{
  background: linear-gradient(to right, #7371fc, #7371fcab);
  color: white;
  padding-inline: 8rem;
}

@media only screen and (max-width : 767px) {
  .hero-section{
    height: 90dvh;
    margin-inline: 6px;
    padding-block: 8em;

  }
  .services-img{
    height: 30dvh;
  }
  .mobile-nav{
    transform: translateX(-500dvw);
    display: block;
    transition: transform 1s ease-in-out;
  }
  .show-mobile-nav{
    transform: translateX(0dvw);
    transition: transform .1s ease-in-out;

  }
  .contact-us-img{
    height: 10dvh;
    object-fit: cover;
  }
  .text-impression{
    padding-left: 40px;
  }
  .contact-details{
    margin-left: 12dvw;
    padding-top: 0dvw;
    text-align: center;
  }
  
  .hero-section-contact{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://cdn.pixabay.com/photo/2015/01/08/18/26/man-593333_1280.jpg');
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    margin-inline: 10px;
    padding-block: 5em 10em;
    border-radius: 12px;
  }
  .submit-btn-contact{
    background: linear-gradient(to right, #7371fc, #7371fcab);
    color: white;
    padding-inline: 7rem;
  }
  .contact-page-details{
    margin-top: 0rem;
  }
}
@media screen and (max-width : 1024px){
  .text-impression {
    padding-left: 40px;
  }
  main{
    padding-top: 2dvh;
  }
  .submit-btn-contact{
    background: linear-gradient(to right, #7371fc, #7371fcab);
    color: white;
    padding-inline: 11rem;
    
  }
  .mobile-nav{
    transform: translateX(-500dvw);
    display: block;
    transition: transform 1s ease-in-out;
  }
  .show-mobile-nav{
    transform: translateX(0dvw);
    transition: transform .1s ease-in-out;

  }
  
}
@media only screen and (max-width : 2560px) {
  main{
    padding-top : 12dvh;
  }
  .contact-us-img{
    height: 70dvh;
    object-fit: cover;
  }
  .about-description{
    margin-top: 5rem;
    /* transform: var(--tranleft);  */
  }
  .email-form{
    margin-left: 15dvw;
  }
  .contact-page-details{
    margin-top: 5rem;
  }
  
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.chat-header {
  padding: 16px;
  background: #7371fc;
  border-radius: 10px 10px 0 0;
  color: white;
  display: flex;
  align-items: center;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.chat-title h4 {
  margin: 0;
  font-size: 16px;
}

.chat-title .status {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.message {
  margin-bottom: 10px;
  max-width: 80%;
}

.message p {
  margin: 0;
  padding: 8px 12px;
  border-radius: 15px;
}

.message.bot p {
  background: #f0f0f0;
  border-top-left-radius: 5px;
}

.message.user {
  margin-left: auto;
}

.message.user p {
  background: #7371fc;
  color: white;
  border-top-right-radius: 5px;
}

.chat-input {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.chat-input input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

/* ... existing code ... */

.chat-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #7371fc;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;  /* Increased z-index to ensure it stays above chat widget */
  transition: transform 0.3s ease;
}

.chat-toggle-btn.active {
  transform: rotate(180deg);
}

/* ... rest of the code ... */

.chat-toggle-btn svg {
  fill: white;
  width: 24px;
  height: 24px;
}

.chat-close-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}

.chat-close-btn svg {
  fill: white;
  width: 24px;
  height: 24px;
}

.send-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.send-btn svg {
  fill: #7371fc;
  width: 24px;
  height: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .chat-widget {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .chat-header {
    border-radius: 0;
  }
}