/*FoundationsIntro*/


  .planet {
    position: relative;
    bottom: -50px; 
    left: 52%;
    transform: translateX(-50%);
    width: 700px; 
    height: auto;
  }
  
  /*Foundation intro Ends*/

  /* Background styling for space map */
  .space-map-background {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /*background: url('Images/Foudations background.png') no-repeat center center fixed;*/
  background-size: cover;
  perspective: 1000px; /* Adds depth to the scene */
  }

  .space-map-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d; /* Enables 3D transformations */
  }
 
  /* General styling for planet text */
  .planet-text {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-align: center;  
  }

  /* Common styling for planet images */
  .planet-img {
  border-radius: 50%;
  display: block;
  }

  /* Unique classes for each planet container with specific sizes, scattered positions, and depth */
  .planet-investing {
  position: absolute;
  top: 35%;
  left: 40%;
  transform: translate(-50%, -50%) translateZ(-100px); /* Moves the planet deeper into the scene */
  
  }

  .planet-investing .planet-img {
  width: 200px;
  height: 200px;
  }

  .planet-economics {
  position: absolute;
  top: 20%;
  left: 70%;
  transform: translate(-50%, -50%) translateZ(-300px);
  }

  .planet-economics .planet-img {
  width: 100px;
  height: 100px;
  }

  .planet-personal-finance {
  position: absolute;
  bottom: 20%;
  right: 80%;
  transform: translate(500%, -80%) translateZ(-250px);
  }

  .planet-personal-finance .planet-img {
  width: 120px;
  height: 120px;
  }

  .planet-financial-institutions {
  position: absolute;
  top: 10%;
  left: 20%;
  transform: translate(-500%, 100%) translateZ(-500px);
  }

  .planet-financial-institutions .planet-img {
  width: 80px;
  height: 80px;
  } 

  .planet-financial-services {
  position: absolute;
  bottom: 30%;
  left: 25%;
  transform: translate(-650%, 70%) translateZ(-600px);
  }

  .planet-financial-services .planet-img {
  width: 70px;
  height: 70px;
  }

  .planet-trading-analysis {
  position: absolute;
  top: 70%;
  right: 25%;
  transform: translate(600%, -500%) translateZ(-800px);
  }

  .planet-trading-analysis .planet-img {
  width: 50px;
  height: 50px;
  }  
  /* Spacemap ends*/

  /* Background styling for Investing page */
  .investing-background {
  height: 100vh;
  display: flex;
  align-items: center;
  background: url('Images/Foudations background.png') no-repeat center center fixed;
  background-size: cover;
  padding: 20px;
}

/* Left Panel with Planet and Vertical Title */
.left-panel {
  position: relative;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.planet-and-title {
  display: flex;
  align-items: center;
  gap: 20px; /* Space between the planet and the title */
  padding-left: 20px;
}

.planet-left {
  width: 100%;
  height: auto;
  left: 30%;
  transform: translateX(-45%);
  position: relative;
  bottom: 20px;
}

.vertical-title {
  font-size: 3.3rem;
  color: #FFFFFF;
  position: relative;
  writing-mode: vertical-lr;
  /* text-orientation: upright; */
  transform: rotate(180deg);
  /* font-family: 'Poppins', sans-serif; */
  letter-spacing: 2rem;
  left: -15%;
  padding-top: 40%;
}

.foundation-search-grid {
  inline-size: 90%;
  max-inline-size: 24em;
}


.foundation-search-field {
  position: relative;
  z-index: 100; 
}

.foundation-search-label {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAQAAAC1QeVaAAAAxElEQVR4AXXPIUuDcRDA4Zv4AUSwTLEKVoNlySyCYLO98CCsahGrX0AW/QhmBRHEJghLS4JFBBXDgrJi2In78w8v4v3S8XDh4nd0DTxLEzd2RC2EnrH07trQVDrXqbhs7FvfnBDWDKWTigOpL2oWvZpYKPjio1zVHEt7BdOtaLUtHRX8MmqjRjooeCVttPBOWi+4JT1aLaDjVLpU/5ytn840Dj1IaWSpYmi8yVlTF54qh9K8nn27usJK5fC3yvfhPx7a/AE9dYwDEfKrlAAAAABJRU5ErkJggg==);
  background-position-y: 50%;
  background-repeat: no-repeat;
  color: #b2b2b2;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  transition: left 0.4s, transform 0.4s;
  padding-left: 1.25em;
}

.foundation-search-input {
  border: 1px solid #dfdfdf;
  border-radius: 0.25em;
  box-shadow: 0 1px 0 #bfbebf;
  display: block;
  padding: 0.5em 1.75em;
  width: 100%;
}

.foundation-search-input:focus + .foundation-search-label,
.foundation-search-input:valid + .foundation-search-label {
  left: 0.5em;
  transform: translate(0, -50%);
}

.foundation-search-input:valid + .foundation-search-label {
  text-indent: -9999px;
}


/* Back Button Styling - Top Right 
.back-button-container {
  position: absolute;
  top: 50px;
  right: 100px;
}

.back-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.back-icon {
  width: 30px;
  height: 30px;
}
*?
/* Button Grid Styling */
.button-grid {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-20%);
  bottom: -20px;
  left: -50px;
  height: 100%;
  margin-left: 100px; /* Offset for the left panel */
}

.foundation-category-container {
  display: flex;
  flex-wrap: wrap; /* Wrap buttons to the next row */
  justify-content: flex-start; /* Align buttons to the left */
  gap: 15px; /* Add consistent spacing between buttons */
}

.foundation-category-btn {
  flex: 0 0 calc(33.33% - 15px); /* 3 buttons per row with spacing */
  padding: 10px 20px;
  
  border: 1px solid #00202c;
  background-color: #00202c;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  color: #FFFFFF;
  text-align: left;
  border-left: 5px solid #FFFFFF;
  text-decoration: none;
  font-size: 18px;
  margin-bottom: 2%;
  max-width: 75%;
  margin-right: 2%;
}

.foundation-category-btn:hover {
  background-color: #FFFFFF;
  color: #000000;
}


/* Background styling for video page */
.video-page-background {
  height: 100vh;
  display: flex;
  align-items: center;
  background: url('Images/Foudations background.png') no-repeat center center fixed;
  background-size: cover;
  padding: 20px;
}

/* Left Panel with Planet and Vertical Title */
.video-page-left-panel {
  position: absolute;
  display: flex;
  align-items: center;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.video-planet-left {
  width: 300px;
  height: 300px;
  left: -50px;
  transform: translateX(-50%);
  position: relative;
  bottom: -20px;
}

.video-vertical-title {
  font-size: 2rem;
  color: #FFFFFF;
  transform: translateX(-50%);
  margin-left: -150px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: relative;
  bottom: -20px;
}

/* Back Button Styling - Top Right */
.back-button-container {
  position: absolute;
  top: 5%;
  right: 16%;
}

.home-button-container {
  position: absolute;
  top: 5%;
  right: 20%;
}

.back-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.back-icon {
  width: 30px;
  height: 30px;
}

/* Video Section */
.video-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 100px;
}

.video-title {
  font-size: 1.2rem;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
  border-left: 2px solid #FFFFFF;
  padding-left: 10px;
}

.video-container {
  position: relative;
  width: 600px;
  height: 400px;
  border: 1px solid #FFFFFF;
}

.video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.foundation-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  border: 1px solid white;
  background-color: transparent;
  color: #FFFFFF;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  margin-top: 30px;
  letter-spacing: 7px;
}

.foundation-btn:hover {
  background-color: #FFFFFF;
  color: black;
}

.foundation-head{
  letter-spacing: 20px;
}

.foundation-bg-img{
  margin: 0;
  padding: 0;
  background: url('../../assets/images/foundation/bg.png') no-repeat center center fixed;
  background-size: cover;
  height: 100vh; /* Ensures the body occupies the full viewport height */
  width: 100%; /* Ensures the body stretches to the full viewport width */
  overflow: hidden; /* Optional: Prevents scrollbars if content overflows */
}

.foundation-back-arrow{
  top: 10%;
  left: 10%;
}




/* Planets.css */
/* Universe Background */
/*.universe-container {*/
/*  min-height: 100vh;*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*  padding-top: 50vh; !* Reduced padding-top to make use of more space *!*/
/*}*/

/*!* Stars background *!*/
/*.stars {*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  z-index: -1;*/
/*}*/

/*!* Back Button *!*/
/*.back-button {*/
/*  top: 20px;*/
/*  left: 20px;*/
/*  font-size: 1.2rem;*/
/*  color: white;*/
/*}*/

/*!* Planets Layout *!*/
/*.planets-wrapper {*/
/*  display: flex;*/
/*  justify-content: space-evenly; !* Spread the planets evenly across the screen *!*/
/*  flex-wrap: wrap;*/
/*  gap: 3rem; !* Increase gap between planets *!*/
/*  padding: 2rem;*/
/*}*/

/*!* Space Map Container *!*/
/*.space-map-container {*/
/*  display: flex;*/
/*  flex-wrap: wrap;*/
/*  justify-content: space-evenly; !* Space planets across the width *!*/
/*  gap: 2rem;*/
/*  width: 100%;*/
/*}*/

/*!* Planet Link *!*/
/*.planet-link {*/
/*  text-decoration: none;*/
/*  color: white;*/
/*  text-align: center;*/
/*  display: flex;*/
/*  flex-direction: column; !* Ensure the text is below the image *!*/
/*  align-items: center;*/
/*  gap: 1rem; !* Add space between the image and the text *!*/
/*  transition: transform 0.3s ease, filter 0.3s ease;*/
/*}*/

/*!* Planet Container *!*/
/*.planet-container {*/
/*  position: relative;*/
/*  width: 180px; !* Larger planet size *!*/
/*  height: 180px;*/
/*  animation: moveUpDown 3s infinite ease-in-out; !* Animation for up and down movement *!*/
/*}*/

/*!* Planet Image *!*/
/*.planet-img {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  object-fit: cover;*/
/*  border-radius: 50%;*/
/*  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));*/
/*}*/

/*!* Planet Text *!*/
/*.planet-text {*/
/*  font-size: 16px;*/
/*  font-weight: bold;*/
/*  color: white;*/
/*  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);*/
/*  margin-top: 10px; !* Adjust text position under the image *!*/
/*}*/

/*!* Hover Effects *!*/
/*.planet-link:hover .planet-container {*/
/*  transform: scale(1.1);*/
/*}*/

/*.planet-link:hover .planet-img {*/
/*  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));*/
/*}*/

/*.planet-img {*/
/*  transition: transform 0.3s ease-in-out; !* Smooth zoom effect *!*/
/*}*/

/*.planet-img:hover {*/
/*  transform: scale(1.2); !* Zoom in effect on hover *!*/
/*}*/

/*.planet-link:hover .planet-text {*/
/*  transform: scale(1.05);*/
/*}*/

/*!* Up and Down Animation for Planet Image *!*/
/*@keyframes moveUpDown {*/
/*  0%, 100% {*/
/*    transform: translateY(0); !* Start and end at normal position *!*/
/*  }*/
/*  50% {*/
/*    transform: translateY(-10px); !* Move up slightly in the middle of the animation *!*/
/*  }*/
/*}*/

/*!* Responsive Design *!*/
/*@media (max-width: 992px) {*/
/*  .planet-container {*/
/*    width: 150px;*/
/*    height: 150px;*/
/*  }*/

/*  .planet-text {*/
/*    font-size: 1rem;*/
/*  }*/
/*}*/

/*@media (max-width: 768px) {*/
/*  .planet-container {*/
/*    width: 120px;*/
/*    height: 120px;*/
/*  }*/

/*  .planet-text {*/
/*    font-size: 0.9rem;*/
/*  }*/
/*}*/

/*@media (max-width: 576px) {*/
/*  .planet-container {*/
/*    width: 100px;*/
/*    height: 100px;*/
/*  }*/

/*  .planet-text {*/
/*    font-size: 0.8rem;*/
/*  }*/
/*}*/


/* Background styling for space map */
.space-map-background {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('Images/Foudations background.png') no-repeat center center fixed;
  background-size: cover;
  perspective: 1000px; /* Adds depth to the scene */
}

.space-map-container {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; /* Enables 3D transformations */
  z-index: 1; /* Ensure it is above the background */
}

.investing-text{
  font-size: 43px!important;
  top: 88% !important;
  font-weight: 200!important;
}
/* General styling for planet text */
.planet-text {
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #FFFFFF;
  font-weight: 500;
  text-align: center;
}

/* Common styling for planet images */
.planet-img {
  border-radius: 50%;
  display: block;
}

/* Unique classes for each planet container with specific sizes, scattered positions, and depth */
.planet-investing {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-100px); /* Moves the planet deeper into the scene */

}

.planet-investing .planet-img {
  width: 570px;
  height: 570px;
}

.planet-economics {
  position: absolute;
  top: 42%;
  left: 46%;
  transform: translate(-50%, -50%) translateZ(-300px);
}

.planet-economics .planet-img {
  width: 250px;
  height: 250px;
}

.planet-personal-finance {
  position: absolute;
  bottom: -70%;
  right: 100%;
  transform: translate(500%, -80%) translateZ(-250px);
}

.planet-personal-finance .planet-img {
  width: 350px;
  height: 350px;
}

.planet-financial-institutions {
  position: absolute;
  top: 25%;
  left: 67%;
  transform: translate(-500%, 100%) translateZ(-500px);
}

.planet-financial-institutions .planet-img {
  width: 150px;
  height: 150px;
}

.planet-financial-services {
  position: absolute;
  bottom: -25%;
  left: 75%;
  transform: translate(-650%, 70%) translateZ(-600px);
}

.planet-financial-services .planet-img {
  width: 140px;
  height: 140px;
}

.planet-trading-analysis {
  position: absolute;
  top: 210%;
  right: 67%;
  transform: translate(600%, -500%) translateZ(-800px);
}

.planet-trading-analysis .planet-img {
  width: 120px;
  height: 120px;
}

.planet-empty-1 {
  position: absolute;
  top: 155%;
  right: 67%;
  transform: translate(600%, -500%) translateZ(-800px);
}

.planet-empty-1 .planet-img {
  width: 120px;
  height: 120px;
}

.planet-empty-2 {
  position: absolute;
  bottom: 8%;
  left: 70%;
  transform: translate(-650%, 70%) translateZ(-600px);
}

.planet-empty-2 .planet-img {
  width: 200px;
  height: 200px;
}

.planet-img {
  transition: transform 0.3s ease-in-out; /* Smooth zoom effect */
}

.planet-img:hover {
  transform: scale(1.2); /* Zoom in effect on hover */
}


/* General styling remains unchanged */

/* For large laptops (screen width between 1280px and 1440px) */
@media (max-width: 1440px) and (min-width: 1280px) {
  .planet-container {
    width: clamp(150px, 15vw, 350px);
    height: clamp(150px, 15vw, 350px);
  }

  .planet-text {
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
  }
}

/* For MacBook Air/Pro (screen width between 1024px and 1280px) */
@media (max-width: 1280px) and (min-width: 1024px) {
  .planet-container {
    width: clamp(120px, 12vw, 300px);
    height: clamp(120px, 12vw, 300px);
  }

  .planet-text {
    font-size: clamp(0.5rem, 1.2vw, 0.8rem);
  }
}

/* For tablets (screen width between 768px and 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .space-map-container {
    gap: 1rem;
  }

  .planet-container {
    width: clamp(100px, 10vw, 250px);
    height: clamp(100px, 10vw, 250px);
  }

  .planet-text {
    font-size: clamp(0.4rem, 1.2vw, 0.7rem);
  }
}

/* For mobile devices (screen width below 768px) */
@media (max-width: 768px) {
  .space-map-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .planet-container {
    width: clamp(80px, 20vw, 200px);
    height: clamp(80px, 20vw, 200px);
  }

  .planet-text {
    font-size: clamp(0.3rem, 1vw, 0.6rem);
  }
}

/* For small mobile devices (screen width below 480px) */
@media (max-width: 480px) {
  .planet-container {
    width: clamp(60px, 25vw, 150px);
    height: clamp(60px, 25vw, 150px);
  }

  .planet-text {
    font-size: clamp(0.3rem, 0.8vw, 0.5rem);
  }
}


/* Spacemap ends*/

.videos-title{
  text-align: right;
  padding-right: 16%;
  /*padding-bottom: 4%;*/
}

.videos-section{
  padding-left: 10%;
}


.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  z-index: 1000 !important;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 4px;
}

.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  z-index: 2000 !important;
  position: relative;
  pointer-events: auto !important;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}



