body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: url("../assets/bg2.png");
  background-size: cover; /* This will cover the screen */
  background-position: center; /* Center the image */
  background-attachment: fixed; /* Keeps the image fixed while scrolling */
  background-repeat: no-repeat; /* Prevent image repetition */
  color: white;
  scroll-behavior: smooth;
}

/*-------------------------------------------------------*/

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}

header:hover {
  background: rgba(0, 0, 0, 0.9);
}

.logo {
  width: 200px;
  height: auto;
}

nav {
  display: flex;
  text-align: center;
  position: relative;
}
nav div {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  background: rgba(0, 0, 0, 0);
  position: relative;
  padding-top: 15px;
}
nav div a:hover::after {
  width: 0%;
}
nav div .goog-te-gadget-simple {
  background: rgba(0, 0, 0, 0);
}

nav div span {
  color: white;
}

nav a {
  text-decoration: none;
  color: white;
  margin: 0px 15px;
  padding-top: 15px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.login-btn {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  border: 2px solid white;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: white;
  color: black;
}
/* Responsive Design */
@media (max-width: 988px) {
  nav {
    display: none; /* Initially hidden on small screens */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    gap: 10px;
  }

  nav.active {
    display: flex; /* Show navigation when active */
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 24px;
  }
  .explore {
    margin-top: 20%;
  }
}
@media (min-width: 989px) {
  .menu-toggle {
    display: none;
  }
}

.content {
  text-align: center;
  padding: 0 20px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content h1 {
  margin: 0;
}

.search-bar {
  margin: 20px auto;
  width: 60%;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta {
  margin-top: 20px;
}

.cta button {
  background: black;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.cta button:hover {
  background: rgb(141, 143, 206);
}

.explore {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}

.explore span {
  display: block;
  font-size: 32px;
  margin-top: 10px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.buttons-section {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.8);
  gap: 20px;

  /*=Slider=*/
  overflow-x: auto;
}

.buttons-section button {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 20px;

}

.buttons-section button:hover {
  background-color: white;
  color: black;
}

/* container */
.container {
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.4); /* Darker transparent background */
  color: white;
  border-radius: 10px;
  margin: 20px;
  backdrop-filter: blur(10px); /* Apply blur for frosted effect */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Optional shadow for depth */
  display: none;
}

.roadmap {
  background-color: rgba(0, 0, 0, 0.4); /* Darker transparent background */
  color: white;
  border-radius: 10px;
  margin: 20px;
  backdrop-filter: blur(10px); /* Apply blur for frosted effect */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Optional shadow for depth */
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  height: 100px;
}

#typeSelection {
  justify-content: center;
  text-align: center;
  align-items: center;
  margin: 10px;
  display: none;
}

#typeSelection button {
  margin: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  border-radius: 8px;
}

#typeSelection button:hover {
  background-color: white;
  color: black;
}

.step {
  background: rgba(0, 0, 0, 0.4); /* Slightly darker transparent background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
  backdrop-filter: blur(8px); /* Apply blur to each step for consistency */
}

/* Optional: To ensure text readability on transparent background */
.step .title,
.step .description,
.step .timeline {
  color: white;
}

/* Media Queries for Responsiveness */

@media (max-width: 768px) {
  .content h1 {
    font-size: 40px;
  }

  .search-bar {
    width: 80%;
  }

  .cta button {
    padding: 10px 20px;
    font-size: 16px;
  }

  nav a {
    font-size: 16px;
    margin: 0 10px;
  }

  .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step {
    padding: 15px;
  }

  .step .title {
    font-size: 1.3em;
  }

  .step .description {
    font-size: 1em;
  }

  h1 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .content h1 {
    font-size: 30px;
  }

  .search-bar {
    width: 90%;
  }

  .cta button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .buttons-section button {
    padding: 12px 20px;
  }

  nav {
    flex-direction: column; /* Stack navbar items vertically */
    align-items: center;
    padding: 10px;
  }

  nav a {
    margin: 5px 0; /* Reduced margin between links */
    font-size: 14px;
  }

  #roadmap .careerInfoTable td {
    padding: 25px;
    display: flex;
    flex-direction: column;
    border-right: none;
  }
  #roadmap .left {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 14px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
}

.cta {
  text-align: center; /* Centers the download button */
  margin-top: 20px;
  padding-bottom: 70px;
  padding-top: 70px;
}

.cta button {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.cta button:hover {
  background-color: #45a049;
}
#downloadpdf {
  display: none; /* Initially hidden */
  margin: auto; /* Centers horizontally */
  width: fit-content; /* Adjust width to content */
}
/* Footer Styles */
footer {
  background: rgba(0, 0, 0, 0.8);
  color: #f8f9fa;
  backdrop-filter: blur(15px); /* Glassmorphic Effect */
  font-family: "Georgia", serif;
  text-align: center;
  text-decoration: none;
  padding: 2rem 1rem; /* Adjusted padding for smaller screens */
  border-top: 5px solid #ffc107;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 75px;
}

footer .row {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  gap: 2rem; /* Add spacing between items */
  justify-content: space-between; /* Align items with equal spacing */
}

footer .col-md-4 {
  flex: 1 1 100%; /* Default to full width on smaller screens */
  max-width: 100%; /* Ensure no overflow */
  text-align: center;
}

@media (min-width: 768px) {
  footer .col-md-4 {
    flex: 1 1 calc(33.333% - 2rem); /* Adjust to 3 columns on larger screens */
    max-width: calc(33.333% - 2rem);
    text-align: left;
  }
}

footer ul {
  padding: 0;
  list-style: none;
}

footer ul li {
  margin: 0.5rem 0; /* Add spacing between list items */
}

footer h5 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  font-size: 1rem;
  color: #e0e0e0;
  transition: color 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: #ffc107;
  text-decoration: underline;
}

footer .d-flex {
  justify-content: center;
  gap: 1rem; /* Adjust gap for spacing between icons */
}

footer .d-flex a {
  font-size: 1.5rem;
  color: #e0e0e0;
  transition: transform 0.3s ease, color 0.3s;
}

footer .d-flex a:hover {
  transform: scale(1.15);
  color: #ffc107;
}

footer small {
  color: #b0b0b0;
  display: block;
  margin-top: 1rem;
}

/* General table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  text-align: justify;

  /*background: rgba(0, 0, 0, 0.8); /* Semi-transparent glass effect */
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(15px); /* Glassmorphic Effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Table headers */
th {
  background: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 14px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-right: 1px solid rgba(0, 0, 0, 0.3); /* Column separator */
}

/* Last column should not have a right border */
th:last-child,
td:last-child {
  border-right: none;
}

/* Table cells */
td {
  padding: 14px;
  color: white; /* Dark gray for readability */
  font-size-adjust: auto;
  border-right: 1px solid rgba(0, 0, 0, 0.3); /* Column separator */
}

/* Alternate row styling 
tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.4);
}

tr:nth-child(odd) {
  background: rgba(0, 0, 0, 0.4);
}
*/

/* Hover effect 
tr:hover {
  background: rgba(0, 231, 252, 0.3);  Soft glassy blue 
  transition: 0.3s ease-in-out;
}
 Change font color to white on hover 
tr:hover td {
  color: white;
}
*/

/* Steps Table Styling */
.steps-table {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.8);
}

.steps-table th {
  background: rgba(0, 0, 0, 0.4);
}

/*
.steps-table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.4);
}
*/

/*
.steps-table tr:hover {
  background: rgba(0, 231, 252, 0.3);  Soft glassy blue 
}
 Change font color to white on hover 
.steps-table tr:hover td {
  color: white;
}
*/
/* Soft rounded edges */
table,
th,
td {
  border-radius: 6px;
}

/* Smooth transitions 
table, tr, td, th {
  transition: all 0.3s ease-in-out;
}
*/

/*----General and Personal button styles---*/
#buttonSection {
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
  display: none;
}
#buttonSection button {
  border: 1px solid black;

  background: darkslategray;
  color: white;
  margin: 5px;
}
#buttonSection button:hover {
  color: darkslategray;
  background: white;
}

/*--Personality form --*/
.personalityform {
  max-width: 700px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.intro {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #555;
}
.section-title {
  font-size: 1.2em;
  margin: 20px 0 10px;
  color: #007bff;
}
.question {
  margin-bottom: 15px;
}
.question label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.question input[type="range"],
.question input[type="text"] {
  width: 100%;
}
.submit {
  text-align: center;
  margin-top: 20px;
}
button {
  padding: 12px 25px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #0056b3;
}
