@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;  
    box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover, a:focus, a:active {
  text-decoration: none;
  color: inherit;
}
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-color-primary);
  /* background: linear-gradient(to bottom, #0d0d2b, #000000); */
  /* color: white; */
  scroll-behavior: smooth;
}

/* colors */
:root {
    --primary-color: #6c63ff;
    --primary-color-hover: #584ff8;
    --bg-color-primary: #eeeeee5e; 
    --bg-color-sec: #fff;
}


/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgb(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color-hover);
}

/* Reveal-on-scroll */
.animate {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.4s ease;
  transition-delay: 0.3s;
}

.animate.reveal {
  opacity: 1;
  transform: translateY(0) scale(1); /* Bring back to original position and scale */
}

.animate-top {
  transform: translateY(-40px);
}

.animate-bottom {
  transform: translateY(40px);
}

.animate-scale {
  transform: scale(0.8); /* Initially smaller scale */
}


.pricing-container .plan-container {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(40px); /* Initially move down */
}

.pricing-container .plan-container:nth-child(1) {
  transition-delay: 0.3s; /* Delay for the first plan */
}

.pricing-container .plan-container:nth-child(2) {
  transition-delay: 0.5s; /* Delay for the second plan */
}

.pricing-container .plan-container:nth-child(3) {
  transition-delay: 0.7s; /* Delay for the third plan */
}

.pricing-container .plan-container.reveal {
  opacity: 1;
  transform: translateY(0); /* Move back to original position */
}

/* oscillation animation */
.oscillate{
  transform: translateY(0);
  animation: oscillation 2s infinite alternate;    
}
@keyframes oscillation{
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* go-up-button */
#gotop{
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  /* border: 2px solid red; */
  background-color: rgba(0, 0, 0, 0.1);
  color: white;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 0;
  height: 0;
  font-size: 0; /* TODO font size<12px causes seo issues */
  transition: all 0.3s ease;
}
#gotop.active{
  width: 50px;
  height: 50px;
  font-size: 100%;
}
#gotop:hover{
  background-color: var(--primary-color-hover);
}
#gotop:hover::after {
  content: 'Go to Top';
  position: absolute;
  bottom: 60px;
  right: 50%;
  transform: translateX(50%);
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  animation: tooltipFadeOut 3s forwards;
}
@keyframes tooltipFadeOut {
  0% {
    opacity: 0;
  }
  10%{
    opacity: 1;
    visibility: visible;
  }
  90%{
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* navbar */

.navbar {
  position: fixed;
  top: 40px; /* Added more margin-top */
  left: 20px;
  right: 20px;
  padding: 10px 20px;
  margin: 0 60px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  align-items: center;
  transition: background 0.3s, color 0.1s, top 0.3s, left 0.3s, right 0.3s, padding 0.3s, margin 0.3s, box-shadow 0.3s;
  z-index: 1000;

  /* border: 2px solid red; */
}
.navbar a:hover{
  color: var(--primary-color-hover);
}
.navbar.sticky a:hover{
  color: black;
}
.navbar.sticky {
  background: white;
  /* backdrop-filter: blur(20px); */
  color: var(--primary-color);
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* White shadow */
}

.navbar a {
  color: inherit; /* Use inherit to ensure color change on scroll */
  text-decoration: none;
  font-weight: 600;
  margin: 0 15px;
  transition: color 0.3s;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}


/* heading */
.heading{
  font-size: 2.5rem;
  font-weight: 600;
  display: inline-block;
  position: relative;
}
.underline {
  position: relative;
  display: inline-block;
}
.underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 10px;
  background-color: var(--primary-color);
  transform: scaleX(1);
  transform-origin: bottom;
  transition: all 0.3s ease;
  z-index: -1;
}

.underline:hover::after {
  height: 100%;
  bottom: 0px;
  background-color: var(--primary-color-hover);
}
/* home */

#home{
    width: 100vw;
    height: 100vh;
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    /* border: 5px solid green; */
    padding-top: 50px;
}

.home-svg-container{
  height: 100%;
  width: 50%;
  /* border: 2px solid red; */
  display: flex;
  align-items: center;
  justify-content: right;
}
.home-svg{
    /* height: 100%; */
    max-height: 70vh;
    max-width: 100%;
    /* border: 2px solid blue; */
    /* margin: 0 50px 0 50px; */
}

.home-content{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 50%;
    /* max-width: 500px; */
    /* margin: 0 15vw 0 0; */
    /* width: 40vw; */
    /* margin-bottom: 100px; */
}

.home-heading{
    /* border: 2px solid red; */
    margin: 0 0 20px 0;
}
.home-heading-1{
    font-size: 2.2rem;
    font-weight: 600;
}
.home-heading-2{
    font-size: 3rem;
    font-weight: 600;
}

.home-text{
    /* border: 2px solid green; */
    width: 100%;
    font-size: 1.8rem;
    /* font-weight: 450; */
    color: rgb(119, 119, 119, 0.8);
}

.btn.home-btn{
  padding: 15px 20px;
  margin-top: 20px;
  width: 150px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn{
  letter-spacing: 2px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

/* about */

#about{
    /* border: 2px solid red; */
    padding: 100px 20px 0 20px;
    width: 100%;
    max-width: 1100px;
    /* padding: 0 20px; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 80vh; */
}

.about-content{
    width: 100%;
    /* border: 2px solid green; */
}
.about-heading{
    /* border: 2px solid cyan; */
}
.about-text{
    padding: 50px 0 0 0;
    font-size: 1.1rem;
}
.about-text p{
  text-indent: 20px;
  margin-top: 5px;
  text-align: justify;
}
.about-text p:first-child{
  /* text-indent: 0; */
  margin-top: 0;
}

.about-svg{
  width: 40%;
    /* border: 2px solid blue; */
    margin: 0 0 0 60px; 
}


/* workflow */

#workflow{
    padding: 150px 0 0 0;
    width: 100vw;
    /* border: 2px solid red; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-heading{
    width: 70vw !important;
    /* border: 2px solid green; */
}
.heading-right{
  width: 100%;
  display: flex;
  justify-content: right;
}

/* timeline */
.workflow-timeline{
  padding: 5em 0 0 0;
  /* border: 2px solid red; */
  width: 85vw;
}
.tl-mob{
  display: none;
}
.main-timeline-section{
  position: relative; 
  width: 100%;  
  margin:auto; 
  height:300px;
}
.main-timeline-section .timeline-start,
.main-timeline-section .timeline-end{
  position: absolute;
  background: var(--primary-color);
  border: 3px solid #FFF;
  border-radius:100px;
  top:50%;
  transform: translateY(-50%);
  width:30px;
  height:30px;
  z-index: 10;
}
.main-timeline-section .timeline-end{
  right:0px;
}
.main-timeline-section .conference-center-line{
  position: absolute;
  width:100%;
  height:5px;
  top:50%;
  transform: translateY(-50%);
  background: var(--primary-color);
}
.timeline-article{
    width: 20%;
    position: relative;
    min-height: 300px;
    float:right;
}
.timeline-article .content-date {
    position: absolute;
    top: 35%;
    left: -30px; 
    font-size:18px;
}
.timeline-article .meta-date {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%); 
    width:20px;
    height:20px;
    border-radius: 100%;
    background: var(--primary-color);
    border:3px solid #FFF;
}
.timeline-article .content-box {
  box-shadow: 2px 2px 4px 0px #888;
  border: 3px solid var(--primary-color);
  border-radius: 5px;
  background-color: #FFF;
  width: 180px;
  position: absolute;
  top: 60%;
  left: -80px; 
  padding:10px;
  color: #1F1F1F;
  text-align: center;
}
.content-box{
  transition: all 0.3s ease-in-out;
}
.content-box:hover{
  box-shadow: 3px 3px 5px 0px #555;
}
.timeline-article-bottom.do-hover .content-box:hover{
  transform: translateY(-10px);
}
.timeline-article-top.do-hover .content-box:hover{
  transform: translateY(10px);
}
/* .no-hover .timeline-article-bottom .content-box:hover{
  transform: none;
}
.no-hover .timeline-article-top .content-box:hover{
  transform: none;
} */
.timeline-article-top .content-box:before {
  content: " ";
  position:absolute; 
  left:50%;
  transform: translateX(-50%);
  top:-20px;
  border:10px solid transparent;
  border-bottom-color: var(--primary-color);
}
.timeline-article-bottom .content-date {
  top: 59%;
}
.timeline-article-bottom .content-box {
  top: 25%;
}
.timeline-article-bottom .content-box:before {
  content: " ";
  position:absolute; 
  left:50%;
  transform: translateX(-50%);
  bottom:-20px;
  border:10px solid transparent;
  border-top-color: var(--primary-color);
}
.timeline-start, .timeline-end, .meta-date{
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

/* pricing */

#pricing{
  /* margin: 100px 0 0 0; */
  width: 100%;
  padding: 5em 20px 0 20px;
  /* border: 2px solid red; */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pricing-heading{
  width: 70vw;
  /* border: 2px solid red; */
}
.pricing-container{
  margin-top: 50px;
  display: flex;
  gap: 30px;
  justify-content: center ;
  /* align-items: center; */
}
.plan-container{
  width: 100%;
  background-color: var(--bg-color-sec);
  max-width: 300px;
  /* width: fit-content; */
  /* margin: 35px; */
  border: 2px solid var(--primary-color);
  /* padding: 50px; */
  border-radius: 20px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}
.plan-container.reveal.plan-hover{
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  transition-delay: 0 !important;
}
.plan-container.reveal.plan-hover:hover{
  transition-delay: 0 !important;
  transform: translateY(-15px);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
}
.plan-container:hover .plan-name{
  color: var(--primary-color-hover);
  font-size: 1.8rem;
}
.plan-container:hover .plan-price{
  font-size: 1.8rem;
}
.plan-name{
  /* border: 2px solid blue; */
  font-size: 1.5rem;
  font-weight: 550;
  padding: 10px 20px 10px 20px;
  margin-top: 10px;
  color: var(--primary-color);
  transition: all 0.3s ease-in-out;
}

.plan-price{
  font-size: 1.6rem;
  font-weight: 500;
  /* border: 2px solid black; */
  padding: 0 20px 0 20px;
  transition: all 0.3s ease-in-out;

}
.plan-delivery{
  padding: 0 20px 0 20px;
  /* border: 2px solid red; */
  margin-top: 4px;
}

.plan-features{
  margin-top: 30px;
  margin-bottom: 50px;
  font-weight: 450;
  /* border: 2px solid cyan; */
  padding: 0 30px 0 50px;
}
.plan-features li{
  margin: 10px 0 15px 0;
}
.plan-features li::marker {
  content: "✔   "; /* Add custom marker content */
  color: green; /* Change color of marker */
}


/* contact */

#contact{
  width: 100%;
  padding: 150px 20px 0 20px;
  /* border: 2px solid red; */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 0 20px; */
}

.contact-heading{
  /* border: 2px solid green; */
}


/* form */
form{
  /* max-width: 1200px; */
  width: 100%;
  max-width: 600px;
  margin-top: 80px;
  /* border: 2px solid green; */
}
.inputBox {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.inputBox input {
  width: calc(50% - 10px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);

}

.inputBox input:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s;
  margin-bottom: 20px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.btn-container{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  width: auto;
  padding: 15px 40px 15px 40px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--primary-color-hover);
}


/* footer */

footer{
  background-color: var(--bg-color-sec);
  /* border: 2px solid red; */
  width: 100vw;
  padding: 20px 0;
  margin-top: 100px;
  color: #fff;
  background-color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}


/* footer {
  margin-top: auto;
} */

.footer-container {
  width: 100%;
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-heading{
  margin-bottom: 10px !important;
  /* border: 2px solid green; */
}
.footer-section {
  /* border: 2px solid red; */
  /* flex: 1; */
  min-width: 200px;
  margin: 10px 0;
}

.footer-section p {
  margin: 5px 0;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  transition: color 0.3s;
}

.footer-section a:hover{
  color: var(--primary-color);
}
.contact-info p span:hover {
  transition: color 0.3s; 
}
.contact-info p span:hover {
  color: var(--primary-color);

}
.contact-info p a{
  margin-left: 5px;
}
.footer-section p, .footer-section a {
  font-size: 14px;
}

.contact-section .contact-info {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.contact-info p {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-section i {
  margin-right: 10px;
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons i {
  color: white;
  font-size: 30px;
  transition:  transform 0.3s, color 0.2s;
}

.social-icons a:hover i {
  transform: scale(1.1);
  color: var(--primary-color);
}

.copyright-text{
  /* margin-top: 40px; */
  color: grey;
}



@media only screen and (max-width: 450px) {
  /* home` */
  .home-heading{
    margin: 0 0 10px 0;
  }
  .home-heading-1{
    font-size: 1.5rem;
  }
  .home-heading-2{
    font-size: 2.2rem;
  }
  .home-text{
    font-size: 1.5rem;
  }

  /* contact */
  .inputBox{
    flex-direction: column;
  }
  .inputBox input{
    width: 100%;
  }
}

@media only screen and (max-width: 600px){

    /* about */
    .about-svg{
      display: none;
    }
}


/* hamburger */

@media (max-width: 650px) {
  #navbar{
    height: 70px;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    width: fit-content;
    /* height: fit-content; */
    position: absolute;
    top: 80px;
    right: 10px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 0;
    transition: all 0.3s linear;
    /* opacity: 0; */
    /* visibility: hidden; */
    /* transition: transform 0.3s, opacity 0.3s ease-out, visibility 0.3s ease-out; */
  }
  .nav-links.active{
    max-height: 100vh;
    /* max-width: 100vw; */
    /* opacity: 1; */
    /* visibility: visible; */
  }

  .nav-links a{
    padding: 10px 40px;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgb(128, 128, 128, 0.2);
  }
  .nav-links a:last-child{
    border: none;
  }

  .hamburger {
    display: block;
    /* border: 2px solid red; */
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #444;
    background-color: #eee;
    border-radius: .5rem;
    font-weight: 600;
    transition: background-color 0.1s ease-out, color 0.1s ease-out;
  }

  .hamburger.active{
    background-color: var(--primary-color);
    color: white;
  }

  .navbar {
    padding: 10px;
    margin: 0 20px;
  }
}

@media only screen and (max-width: 800px) {

  /* home */

  #home{
    gap: 0;
    flex-direction: column;
    padding: 0;
  }
  .home-svg-container{
    width: 100%;
    justify-content: center;
    height: 60vh;
  }
  .home-svg{
    height: 100%;
    width: 100%;
  }
  .home-content{
    width: 100%;
    padding: 0 10px 50px 20px;
  }

  /* pricing */
  .pricing-container{
    flex-direction: column;
    align-items: center;
  }
   
  /* footer */
  .footer-container{
    flex-direction: column;
  }
  
  /* go to top */
  #gotop{
    bottom: 20px;
    right: 20px;
  }
  #gotop::after{
    display: none;
  }
  #gotop:hover{
    background-color: rgba(0, 0, 0, 0.1);
  }
}

/* workflow */
@media only screen and (max-width: 950px) {
  .content-date{
    display: none;
  }
}
@media only screen and (max-width: 650px) {
  .about-heading, .workflow-heading, .pricing-heading{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .workflow-timeline{
    max-width: 350px;
  }
  .tl-mob{
    display: block;
  }
  .tl-desk{
    display: none;
  }
  .main-timeline-section {
    height: auto; /* Allow auto height for mobile */
    /* flex-direction: column-reverse !important; */
  }

  .main-timeline-section .timeline-start,
  .main-timeline-section .timeline-end{
    left: 50%;
    top: auto;
    /* bottom: -15px; */
    transform: translateX(-50%);
  }
  .timeline-start{
    bottom: -20px;
  }
  .timeline-end{
    position: absolute;
    top: -20px !important;
    bottom: auto;
  }
  .main-timeline-section .conference-center-line {
    width: 5px;
    height: auto;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
  }

  .timeline-article {
    float: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 90px;
    margin-bottom: 2em;
    
  }

  .timeline-article .content-date {
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 1em;
  }

  .timeline-article .meta-date {
    left: 50%;
    top: auto;
    transform: translateX(-50%) translateY(-50%);
    margin-bottom: 1em;
  }

  .timeline-article .content-box {
    left: 50%;
    top: auto;
    transform: translateX(-50%);
    width: 90%;
    margin-bottom: 1em;
    text-align: center;
  }

  .timeline-article-top .content-box:before,
  .timeline-article-bottom .content-box:before {
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -10px;
    border: 10px solid transparent;
    border-top-color: var(--primary-color);
  }

  .timeline-article-bottom .content-box:before {
    bottom: -10px;
    border: 10px solid transparent;
    border-top-color: var(--primary-color);
  }
  .meta-date{
    display: none;
  }
  .content-box::before{
    display: none;
  }
  .conference-center-line{
    height: auto;
  }
  .timeline-start{
    /* display: block !important; */
  }
  .timeline-article.timeline-article-top, .timeline-article.timeline-article-bottom{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
  }
  .content-box{
    margin: 0 !important;
  }
}
