* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", serif;
}

/* #navbar {
    background-color: #0b0b14;
} */
nav {
  background-color: transparent;
}

.scrolled {
  background-color: #0b0b14;
}

.scrolled .nav-link {
  color: #ffffff;
}

.scrolled .nav-link:hover {
  color: #ffffff;
}

.hero {
  background-image: url("images/carousel-img1.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  height: 90vh;
}

.offcanvas-header {
  background: #0b0b14;
}

.dropdown-menu a {
  color: #272424;
  letter-spacing: 1px;
}

.dropdown-menu a:hover {
  background-color: #6565652f;
  letter-spacing: 1px;
}

.active {
  background-image: linear-gradient(#ffffff, #ffffff);
  background-size: 100% 2px;
  background-position: 50% 100%;
  background-repeat: no-repeat;
  padding-bottom: 0px;
  font-weight: bolder;
}

.nav-link {
  letter-spacing: 1px;
  color: #ffffff;
}

.nav-link:hover {
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0px 0px 20px #2ff29e;
}

#nav-menu:hover {
  text-shadow: 0px 0px 20px #2ff29e;
}

.dropdown-item {
  color: #272424;
  letter-spacing: 1px;
}

.dropdown-item:hover {
  background-color: rgb(48, 86, 86, 0.09);
}

.offcanvas-body {
  padding-top: 1rem;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

#btnGetStarted {
  background-color: #2ff29e;
  border: 2px solid #2ff29e;
  color: black;
}

#btnGetStarted:hover {
  color: white;
}

#demo-video {
  border: 2px solid white;
  color: white;
}

#demo-video:hover {
  background-color: #ffffff;
  color: #14d581;
}

.title {
  font-size: 70px;
  font-weight: 800;
}

.title2 {
  color: #2ff29e;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 0px 0px 45px rgba(9, 220, 181, 0.9);
  animation: textShadowFade 3s infinite ease-in-out;
  /* Add animation */
}

@keyframes textShadowFade {
  0% {
    text-shadow: 0px 0px 10px rgba(9, 220, 181, 0);
    /* Faded out */
  }

  50% {
    text-shadow: 0px 0px 45px rgba(9, 220, 181, 0.9);
    /* Full glow */
  }

  100% {
    text-shadow: 0px 0px 5px rgba(9, 220, 181, 0);
    /* Faded out again */
  }
}

#btnLogin {
  background-color: #2ff29e;
  color: #272424;
  cursor: pointer;
}

#btnLogin:hover {
  color: white;
}

.section1,
.section2,
.section3 {
  background: #0b0b14;
}

.section3 #section3-header {
  color: #2ff29e;
}

.section-bg-green {
  background: #2ff29e;
}

.section-bg-white {
  background: #fbfbfb;
}

.text-green {
  color: #2ff29e;
}

.typewriter {
  overflow: hidden;
  /* Ensures the content is not revealed until the animation */
  white-space: nowrap;
  /* Keeps the content on a single line */
  margin: 0 auto;
  /* Gives that scrolling effect as the typing happens */
  width: 100%;
  /* Start with no visible text */
  animation: typing 3.5s steps(30, end) forwards;
}

/* The typing effect */
@keyframes typing {
  0% {
    width: 0;
    /* Start typing from 0 */
  }

  100% {
    width: 100%;
    /* Reset width to 0 for the loop */
  }
}

#title-feature {
  margin-top: 100px;
  margin-bottom: 100px;
  letter-spacing: 8px;
  color: #eeeeee;
}

/* .sub-feature {
    margin-bottom: 150px;
} */

.subfeature-heading {
  color: #2ff29e;
  font-weight: 800;
  text-decoration: none;
}

/* .subfeature-heading a:hover {
    font-weight: 800;
    text-decoration: none;
    text-shadow: 0px 0px 45px #2ff29ee6;
} */

#howItWorksV {
  display: none;
}

.accordion-button {
  background-color: #ffffff;
  color: #000000;
}

.accordion-button:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.accordion-button:active {
  background: #000;
  color: #2ff29e;
}

.accordion-button:not(.collapsed) {
  background-color: #0a0a0a;
  color: #ffffff;
}

#chart1,
#chart2 {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
}

footer {
  background-color: #0b0b14;
}

.card {
  border: none;
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
  border-radius: 20px;
  min-height: 370px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);

  @media (max-width: 768px) {
    min-height: 350px;
  }

  @media (max-width: 420px) {
    min-height: 300px;
  }

  &.card-has-bg {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center center;

    &:before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: inherit;
      -webkit-filter: grayscale(1);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
      filter: grayscale(100%);
    }

    &:hover {
      transform: scale(0.98);
      box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
      background-size: 130%;
      transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    }
  }

  .card-footer {
    background: none;
    border-top: none;
  }

  .card-title {
    font-weight: 800;
  }

  .card-meta {
    color: rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
  }

  .card-body {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  }

  &:hover {
    .card-body {
      margin-top: 30px;
      transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    }

    cursor: pointer;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
  }
}

/*Responsive*/
@media (min-width: 640px) {
  .subfeature-heading {
    font-size: 50px;
  }
}

@media (max-width: 767px) {
  .title {
    font-size: 50px;
    font-weight: 850;
  }

  .title2 {
    font-size: 55px;
    font-weight: 850;
    letter-spacing: 5px;
    text-shadow: 0px 0px 45px rgba(9, 220, 181, 0.9);
    text-align: center;
  }

  .hero-title {
    font-size: 30px;
    font-weight: 1000;
  }
}

@media (min-width: 992px) {
  .subfeature-heading {
    margin-top: 7rem;
  }
}

@media (max-width: 991.98px) {
  .offcanvas-body {
    background: #0b0b14;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid #0b0b1459;
  }

  .dropdown-menu {
    background: transparent;
    border: none;
  }

  .offcanvas {
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
  }

  .nav-item {
    margin-bottom: 6px;
    text-align: start;
  }

  .navbar-nav {
    padding: 20px;
    border-radius: 15px;
  }

  .dropdown-menu a {
    color: #ffffff;
    letter-spacing: 1px;
  }

  .nav-link {
    letter-spacing: 1px;
    color: #ffffff;
  }

  .nav-link:hover {
    letter-spacing: 1px;
    color: #ffffff;
  }

  #howItWorksH {
    display: none;
  }

  #howItWorksV {
    display: block;
  }
}

#footeritem {
  color: white;
  font-size: 14px;
}

#footerhover {
  color: white;
  font-size: 14px;
}

#footerhover:hover {
  color: #09dcb5;
}

/*LOGIN*/

#welcome {
  color: #2ff29e;
}

.input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#leftside {
  background: linear-gradient(to bottom, #2ff29e, #181818);
}

.custom-border-img {
  border-top: 2px solid #000;
  border-right: none;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000e;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.btnmodal {
  width: 80%;
  padding: 10px;
  background-color: #2ff29e;
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  cursor: pointer;
}

.btnmodal:hover {
  background-color: #49f8ac;
  cursor: pointer;
  border: none;
}

#forgotpass,
#showpass {
  color: #2ff29e;
}

#forgotpass:hover,
#showpass:hover {
  color: #49f8ac;
}

#email,
#password {
  outline: none;
  font-size: 12px;
  box-shadow: none;
}

#email,
#password:focus {
  outline: none;
  box-shadow: none;
}

.section1 {
  padding-top: 150px;
  padding-bottom: 50px;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  background-position: center;
  position: relative;
}

#hero-description {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 40px;
  font-weight: 1000;
  color: #ffffff;
}

#typewriter::after {
  content: "|";
  /* Cursor effect */
  animation: blink 0.7s infinite;
}

.section4 {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  z-index: 0;
}

/* .section4-cards:hover {
    transform: translateY(-10px);
} */

.card-img {
  width: 120px;
  margin-top: -55px;
}

.section4 h2 {
  color: #2ff29e;
}

.section4 h1 {
  color: #2ff29e;
}

.section4 p {
  font-size: 24px;
}

.section1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    hsla(240, 38%, 6%, 0.85),
    hsla(0, 22%, 10%, 0.85)
  );
  /* Increased opacity */
  z-index: 1;
}

.section4::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    hsla(240, 38%, 6%, 0.85),
    hsla(0, 22%, 10%, 0.85)
  );
  /* Darkened overlay */
  z-index: 1;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.section4-cards {
  position: relative;
  width: 300px;
  max-height: 500px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.025);
  text-align: center;
  transition: transform 0.3s ease-in-out;
  z-index: 2;
}

.section4-cards:hover {
  transform: translateY(-10px);
  background: #0b0b14;
  /* Fully black on hover */
}

.section4 > div {
  position: relative;
  z-index: 2;
  /* Ensures content (cards, text) appears above the overlay */
}

@media only screen and (max-width: 600px) {
  #leftside {
    display: none;
  }

  .typewriter {
    font-size: 36px;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 1.2rem;
  }

  .section1 {
    padding-top: 120px;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .section1 {
    padding-top: 100px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1rem;
  }

  .section1 {
    padding-top: 80px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 0.95rem;
  }

  .section1 {
    padding-top: 60px;
  }
}

@media (max-width: 992px) {
  .section4 {
    background-attachment: scroll;
  }

  .section4-cards {
    padding: 15px;
  }

  .card-img {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .card-img {
    width: 80px;
  }

  .fs-4 {
    font-size: 1.2rem !important;
  }

  .fs-6 {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 576px) {
  .section4 {
    padding-top: 40px;
  }

  .fs-4 {
    font-size: 1rem !important;
  }

  .fs-6 {
    font-size: 0.85rem !important;
  }

  .card-img {
    width: 70px;
  }
}

/* UPLOAD FILE */

.drop-area {
  border: 2px dashed white;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.3s ease;
}

.drop-area:hover, .drop-area.drag-over {
  background: rgba(255, 255, 255, 0.2);
}

#fileName {
  max-width: 100%; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  display: block;
}

