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

/* Body Styling */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}


/* Header Styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15%;
  background-color: rgb(242, 244, 247) !important;
  transition: background-color 0.1s;
  z-index: 1000;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0 20px;
  overflow: visible;
}

@font-face {
  font-family: 'blackchancery';
  src: url('./blackchancery/BLKCHCRY.TTF') format('truetype');
  font-weight: bold;
  font-style: bold;
}

.logo-text {
  font-family: 'blackchancery', sans-serif;
  font-size: 3rem;
  color: #087252 !important;
  margin-left: 20px;
  cursor: pointer;
  user-select: none;
}

@media only screen and (max-width: 768px) {
  .logo-text {
    font-size: 2rem;
    margin-right: 40px;
  }
}

@media only screen and (max-width: 480px) {
  .logo-text {
    font-size: 1.5rem;
    margin-right: 60px;
    white-space: normal;
    word-wrap: break-word;
  }
  .logo-ai, .logo-trade {
    display: block;
    text-align: center;
  }
}

.logo-ai {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-style: bold;
}

.logo-trade {
  font-family: 'blackchancery', sans-serif;
  white-space: nowrap;
  overflow: visible;
  display: inline-block;
  background: linear-gradient(90deg, #d5e72c, #8ce5d7); /* gold to blue gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-ai-image {
  height:130px; /* Adjusted to match the logo font size */
  width:140px;
  vertical-align: middle;
  margin-right:6.3rem;
}

.scrolled {
  background-color:#1A223A !important;
}

/* Navigation Styling */
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Fix navbar on login, signup, and account pages */
#navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  background-color: #eef5f7 !important;
}

nav ul {
  list-style: none;
  padding: 15px;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-left: auto;
  transition: transform 0.3s ease; /* Make the transition smooth */
  padding-left: 40px; /* Added space between logo and menu */
}

/* Navigation Styling */
nav ul {
  list-style: none;
  padding: 15px;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  /*gap: 10px;*/
  transition: transform 0.3s ease; /* Make the transition smooth */
}


nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: #8458B3;
  font-weight: bold;
  padding: 10px 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}

@media only screen and (max-width: 768px) {
  nav ul li a {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 480px) {
  nav ul li a {
    font-size: 0.9rem;
  }
}

nav ul li a:hover {
  background-color: #E5EDF1;
  color: #96C2DB;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #8458B3;
  transition: 0.3s;
}

/* Responsive Navigation Bar */
@media (max-width: 768px) {
  /* Hide the nav links by default */
  nav ul {
      flex-direction: column;
      align-items: center;
      background-color:#1A223A !important;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      justify-content: center;
      transform: translateY(100%);
      transition: transform 0.3s ease;
  }

  nav ul.active {
      transform: translateY(0);
  }

  nav ul li {
      width: 100%;
      text-align: center;
  }

  nav ul li a {
      padding: 15px;
      font-size: 1.2rem;
  }

  /* Show the hamburger icon on smaller screens */
  .hamburger {
      display: flex;
  }

  .hamburger.active div {
      background-color: #96C2DB;
      transform: rotate(45deg);
  }

  .hamburger.active div:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
      transform: rotate(-45deg);
  }
}

/* Carousel Styling */
.container {
  width: 100%;
  height: 100vh;
  padding: 0;
  margin: 0;
  position: relative;
}

#proparallax {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: left;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  font-family:'Poppins', sans-serif; 
  z-index: 10;
  padding: 20px;
  padding-left: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

@media only screen and (max-width: 768px) {
  .carousel-text {
    font-size: 1.5rem;
    padding: 10px;
    padding-left: 20px;
  }
}

@media only screen and (max-width: 480px) {
  .carousel-text {
    font-size: 1.0rem;
    padding: 8px;
    padding-left: 15px;
  }
}

#proparallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Updated animation for each image container with different delays */
#proparallax .image-container.one {
  animation: showImage 24s infinite;
}

#proparallax .image-container.two {
  animation: showImage 24s infinite 6s;
}

#proparallax .image-container.three {
  animation: showImage 24s infinite 12s;
}

#proparallax .image-container.four {
    background-color: red; /* Temporary background color for debugging */
    animation: showImage 24s infinite 18s;
}

/* Keyframes for showing and hiding images */
@keyframes showImage {
  0%, 100% {
      opacity: 0;
  }
  33%, 66% {
      opacity: 1;
  }
}

/* Keyframes for fading in the text */
@keyframes showText {
  0% {
      opacity: 0;
  }
  30%, 60% {
      opacity: 1;
  }
  100% {
      opacity: 1;
  }
}

/* Apply the fade-in text animation to each text block */
#proparallax .image-container .carousel-text {
  animation: showText 18s infinite;
}

/* Adjust font size for different screen sizes */
@media only screen and (max-width: 768px) {
  .carousel-text {
      font-size: 2.0rem;
  }
}

@media only screen and (max-width: 600px) {
  .carousel-text {
      font-size: 2.0rem;
  }
}

/* Section Styling */

/* Basic Styling */
.section-title {
    margin:  0; /* Reduced margin further to bring the title closer to the cards */
    text-align: center;
}

/* What We Offer Multi Carousel Styles */
.multi-carousel-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.single-carousel {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    margin-bottom: 10px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black background */
    color: white;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    border-radius: 8px;
    text-align: left;
    font-size: 1.5rem;
}

  
.section-title h1 {
    font-size: 1.5rem;
    color: #191970;
    font-weight: bold;
    animation: fadeInOut 5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Card Container */
.card-container {
    display: grid;
    grid-template-columns: 1fr; /* One column */
    gap: 10px; /* Reduced gap between cards */
    padding: 1px; /* Reduced padding between container's edges and cards */
    width: 100%; /* Full width of the container */
    margin-top: 5px; /* No space above the card container */
}

/* Individual Card */
.card {
    width:270px;/* Ensure it takes up the full space in the grid cell */
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s ease-out;
    margin: 50px; /* Add space between cards and edges of the container */
}

/* Card Image */
.card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 60%; /* Corrected the height property */
    object-fit: contain;  /* Ensures the full image fits within the card without distortion */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Show the first image initially */
.card-image img:first-child {
    opacity: 1;
}

/* Card Content */
.card-content {
    position: absolute;
    bottom: 0px;
    top: 270px;
    left: 1px;
    z-index: 1;
    font-size: 2.5rem;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    font-size: 18px;
    text-align: left;
    padding: 6px;
    border-radius: 3px;
    width: 100%;
}

/* Highlight class for individual h2 tags */
.card-content h2 {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for multiple properties */
    font-family: 'Poppins', sans-serif;
}

/* Highlight class for individual h2 tags */
.card-content h2.highlight {
    background-color: #1e2a47; /* Subtle dark blue background */
    color: #e4e7eb; /* Light grayish-white text for a clean contrast */
    font-weight: 400; /* Medium weight to keep it professional */
    font-family: 'Poppins', sans-serif;
    padding: 6px 12px; /* Padding to make the highlight more refined */
    border-radius: 3px; /* Soft rounded corners for a more elegant look */
    box-shadow: 0 4px 10px rgba(30, 42, 71, 0.3); /* Subtle shadow effect for depth */
    transform: translateY(-3px); /* Slight lift for a professional 3D effect */
    letter-spacing: 0.5px; /* Slight letter spacing for readability */
}

/* Hover effect on h2 for additional interactivity */
.card-content h2:hover {
    background-color: #4d5a7f; /* Slightly lighter blue when hovered */
    color: #fff; /* White text when hovered */
    transform: translateY(-3px) scale(1.05); /* Slightly enlarge text and keep lift effect */
    letter-spacing: 0.5px; /* Slightly increase letter spacing on hover */
    box-shadow: 0 6px 15px rgba(77, 90, 127, 0.5); /* Stronger shadow on hover for more depth */
    transition: all 0.3s ease-in-out; /* Smooth transition for all properties */
}

/* Visible Card Class (triggered on scroll) */
.card.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Media Queries for Responsive Design */
@media only screen and (max-width: 600px) {
    .card {
        width: 350px;
        height: 400px;
    }

    .card-content {
        font-size: 2.5px;
    }
}

@media only screen and (max-width: 768px) {
    .card {
        width: 350px;
        height: 400;
    }

    .card-content {
        font-size: 10px;
        padding: 10px;
    }
}

@media only screen and (min-width: 1024px) {
    .card {
        width: 500px;
        height: 500px;
    }

    .card-content {
        font-size: 11px;
        padding: 12px;
    }
}


/* Styling for the 'How It Works' section */
.how-it-works {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 50px;
  background-color: white;
  background-image: url('img/works.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(20px) rotateX(30deg);
  transition: opacity 1s ease, transform 1s ease-in-out;
  perspective: 1000px;
}

.how-it-works.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* Add semi-transparent background overlay for content readability */
.how-it-works .content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Left Side: Points Container */
.how-it-works .left-side {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 2;
}

.how-it-works .points-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  color:white;
}

.how-it-works .points-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Individual Points */
.point {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  line-height: 1.7;
  color: black;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 1s ease, transform 1s ease, color 1s ease;
  position: relative;
  overflow: hidden;
  word-wrap: break-word;
  word-break: break-word;
}

.point.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Section Title (H2) */
.how-it-works .right-side {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  margin-left: 20px;
}

.how-it-works .section-title h2 {
  font-size: 3rem;
  font-weight: bold;
  color: navy;
  text-align: center;
  opacity: 0;
  transform: translateY(-20px) rotateY(90deg);
  transition: opacity 1s ease, transform 1s ease;
}

.how-it-works .section-title h2.visible {
  opacity: 1;
  transform: translateY(0) rotateY(0deg);
}


/* Add Text Spacing and Hover Effects */
.point span {
  word-spacing: 3px;
  letter-spacing: 0.5px;

}

.point:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.point:hover span {
  color: #1e7f43;
}

/* Media Queries for Responsive Design */
@media only screen and (max-width: 600px) {
  .how-it-works .section-title h2 {
      font-size: 2rem;
  }

  .point {
      font-size: 1.2rem;
  }
}

@media only screen and (min-width: 1024px) {
  .how-it-works .section-title h2 {
      font-size: 3.5rem;
  }

  .point {
      font-size: 1.6rem;
  }
}

/* Money Market Section */
.money-market {
  display: flex;
  background-color: #f5f5f5;
  flex-direction: column;
  padding-top: 0px;
}

.money-market .section-title h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #1e7f43;
  text-align: center;
  margin-bottom: 0px;
}

.market-cards-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.market-cards-container.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Card Bounce and Scale Animation */
.market-card {
  width: 300px;
  height: 380px;
  background-color: white;
  border-radius: 20%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateX(50px) scale(0.8);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: bounce 1s ease-out;
}

/* Bounce and Grow animation */
@keyframes bounce {
  0% {
      transform: translateY(-100px) scale(0.8);
  }
  40% {
      transform: translateY(30px) scale(1.1);
  }
  60% {
      transform: translateY(-10px) scale(1.05);
  }
  80% {
      transform: translateY(5px) scale(1.03);
  }
  100% {
      transform: translateY(0) scale(1);
  }
}

.market-card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure the image fits without cropping */
}

.market-card-content {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.7);
}

.market-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.market-card p {
  font-size: 1.0rem;
  color: #555;
}

.market-card.visible {
  transform: translateX(0) scale(1);
  opacity: 1;
}

/* For 'How It Works' Section */
@media only screen and (max-width: 600px) {
  .how-it-works {
    flex-direction: column;  /* Stack the content vertically */
    padding: 20px; /* Adjust padding */
  }

  .how-it-works .left-side,
  .how-it-works .right-side {
    flex: unset;  /* Let the sections take full width */
    margin: 10px 0;  /* Add some spacing between left and right sections */
  }

  .how-it-works .points-container {
    gap: 20px;  /* Reduce the gap between points */
  }

  .how-it-works .section-title h2 {
    font-size: 2rem;  /* Adjust font size */
  }

  .point {
    font-size: 1.2rem;  /* Adjust font size */
    padding: 20px;  /* Adjust padding */
  }
}

/* For 'Money Market' Section */
@media only screen and (max-width: 600px) {
  .market-cards-container {
    flex-direction: column;  /* Stack the market cards vertically */
    gap: 20px;  /* Add some space between cards */
  }

  .market-card {
    width: 100%;  /* Let each card take full width */
    height: auto;  /* Adjust height */
  }

  .market-card img {
    height: auto;  /* Make images responsive */
  }

  .money-market .section-title h2 {
    font-size: 2.5rem;  /* Adjust the section title size */
  }
}

#graph {
margin-bottom: 40px;
}

This 


/* Footer */

#footer {
    background-color: #96C2DB; /* Changed to #96C2DB */
    color: #fff;
    padding: 30px 20px;
    font-family: 'Poppins', sans-serif;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack the left and right sections */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    text-align: center; /* Center content */
}

.footer-left, .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align content */
}

.footer-left p, .footer-right p {
    margin: 10px 0;
    font-size: 16px;
}

.footer-left a {
    color: #FFD700;
    text-decoration: none;
}

.footer-left a:hover {
    text-decoration: underline;
}

.footer-right {
    text-align: center; /* Center-align text */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align content */
}

.social-icons {
    display: flex;
    justify-content: center; /* Center-align social icons */
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s, color 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #FFD700; /* gold color on hover */
}

.social-icon i {
    font-size: 28px;
}

