/* GLOBAL STYLES

-------------------------------------------------- */
/* Padding below the footer and lighter body text */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
section {
  margin: 0;
  padding: 0;
}
body {
  padding: 0;
  color: #5a5a5a;
  font-family: sans-serif;
      margin: 0;
}
section + section {
  margin-bottom: 0;
}
    .navbar {
      padding: 1.5rem 2rem;
      background-color: white !important;
    }
    .nav-item{
      font-size: 15px !important;
    }
    .navbar-brand img {
      height: 30px;
    }
    .navbar-nav .nav-link {
      color: #333 !important;
      margin-left: 15px;
    }
    .access-dashboard-btn {
      background-color: blue;
      color: white;
      border: none;
      padding: 8px 15px;
      border-radius: 5px;
      text-decoration: none;
      font-size: 0.9rem;
    }
    .hero {
      background-image: url('https://via.placeholder.com/1920x1080/cccccc/eeeeee?Text=Trading+Chart+BG');
      background-size: cover;
      background-position: center top;
      color: #fff;
      padding-top: 150px;
      padding-bottom: 80px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      margin: 0 auto;
    }
    .hero h1 {
      font-size: 3rem;
      margin-bottom: 20px;
      font-weight: bold;
    }
    .hero p {
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 30px;
    }
    .cta-buttons .btn {
      padding: 12px 25px;
      border-radius: 5px;
      font-weight: bold;
      font-size: 0.9rem;
    }
    .btn-primary {
      background-color:blue;
      border-color: blue;
    }
    .btn-outline-light {
      border-color: white;
      color: white;
    }
    .notification-icon {
      position: absolute;
      bottom: 20px;
      right: 20px;
    }
    .notification-icon span {
      background-color: blue;
      color: white;
      border-radius: 50%;
      padding: 8px 12px;
      font-size: 0.9rem;
    }

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
  /* Default nav-link style */
   .navbar .nav-link {
     color: #333; /* Default text color */
     transition: color 0.3s ease, background-color 0.3s ease;
   }

   /* Hover effect */
   .navbar .nav-link:hover {
     color: blue;  }

   /* Active effect: stays blue when active */
   .navbar .nav-link.active,
   .navbar .nav-link:focus,
   .navbar .nav-link:visited.active {
     color: blue;
     font-weight: bold;
     border-bottom: 2px solid blue;
   }

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white; /* Ensure text is white or a light color */
  z-index: 10; /* Ensure text is above the overlay */
  width: 80%; /* Adjust width as needed */

}
.carousel-caption.text-start {
        left: 15%;
        transform: translateY(-50%);
        text-align: left;
    }

    .carousel-caption.text-end {
        left: auto;
        right: 15%;
        transform: translateY(-50%);
        text-align: right;
    }
.navbar-brand img {
    height: 70px;
    max-height: 100%;        /* Ensures it doesn't overflow */
    object-fit: contain;       /* Maintains image aspect ratio */
    display: block;
    margin: 0 auto;          /* Center horizontally */
  }
 .image-overlay {
        position: relative;
    }

    .image-overlay::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Adjust the alpha value for the darkness of the overlay */
    }
  /* Optional: Ensure navbar remains at default height */
  .navbar {
    min-height: 70px;          /* Maintain default navbar height */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;}
/* Declare heights because of positioning of img element */
.carousel-item {
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.carousel-item img {
        display: block;
        width: 100%;
        height: auto; /* Maintain aspect ratio */
    }
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;

  object-fit: cover;
    height: 100%;
    width: 100%;
}
 .carousel-item .image-overlay img {
        /* Ensure the image stays behind the overlay */
        position: relative;
        z-index: -1;
    }

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

