:root {
  /* General theme-agnostic variables */
  --background-primary: var(--dark-theme-background-primary); /* Default to dark theme */
  --card-primary: var(--dark-theme-card-primary);
  --text-primary: var(--dark-theme-text-primary);
  --text-secondary: var(--dark-theme-text-secondary);
  --accent-color: var(--accent-primary);

  /* Dark theme specific variables */
  --dark-theme-background-primary: #1e2124;
  --dark-theme-card-primary: #272b2f;
  --dark-theme-text-primary: #b0b4b9;
  --dark-theme-text-secondary: #ffffff;
  --accent-primary: #00ffbb;

  /* Light theme specific variables */
  --light-theme-background-primary: #ffffff;
  --light-theme-card-primary: #f0f0f0;
  --light-theme-text-primary: #333333;
  --light-theme-text-secondary: #555555;
}

.dark-theme {
  --background-primary: var(--dark-theme-background-primary);
  --card-primary: var(--dark-theme-card-primary);
  --text-primary: var(--dark-theme-text-primary);
  --text-secondary: var(--dark-theme-text-secondary);
}

.light-theme {
  --background-primary: var(--light-theme-background-primary);
  --card-primary: var(--light-theme-card-primary);
  --text-primary: var(--light-theme-text-primary);
  --text-secondary: var(--light-theme-text-secondary);
}

/* Heading Styles */
h1, h2, h3, .h1, .h2, .h3 {
  font-weight: 700;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

h1, .h1 {
  font-size: 2.5rem;
}

h2, .h2, .signup-container h2 {
  font-size: 2rem;
}

h3, .h3 {
  font-size: 1.75rem;
}

/* Paragraph Styles */
p, .p1 {
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}

.p2 {
  font-size: 0.875rem;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-primary); /* Semi-transparent var(--text-primary) background */
  padding: 0 20px;
  position: fixed;
  top: 0;
  height: 50px;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px); /* Blurs the background */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border to enhance the effect */
}

.small-profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  position: fixed;
  top: 10px;
  right: 70px;
}

.small-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hamburger-menu-btn {
  visibility: hidden;
}


.user-profile-header {
  position: relative; /* Required for absolute positioning of child elements */
  display: inline-block; /* Align with other header elements */
}

.dropdown-profile-pic {
  width: 40px; /* Adjust size as needed */
  height: 40px; /* Adjust size as needed */
  border-radius: 50%; /* Circular profile picture */
  cursor: pointer; /* Indicates clickable item */
  margin-right: 2rem;
  padding-top: 5px;
}

.dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute; /* Position relative to user-profile-header */
  top: 100%; /* Positioned just below the profile picture */
  right: 50px; /* Aligns to the right edge of the user-profile-header */
  background-color: var(--card-primary); /* Background color */
  border: 1px solid var(--background-primary); /* Border for the dropdown */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Shadow for a bit of depth */
  z-index: 1000; /* Ensure it's above other content */
}

.dropdown-menu a {
  display: block; /* Stack links vertically */
  padding: 10px 15px; /* Padding for each link */
  color: var(--text-primary); /* Text color */
  text-decoration: none; /* No underlines on links */
  font-size: 14px; /* Adjust font size as needed */
}

.dropdown-menu a:hover {
  color: var(--accent-primary); /* Hover background color */
}


/* Sidebar Styles */


.sidebar {
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  left: 0;
  top: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  color: var(--text-secondary);  
  margin-top: 70px;
  margin-bottom: 10px;
  background-color: var(--card-primary);
}

.user-profile {
  display: flex;
  align-items: center; /* Vertically centers the children */
}


.sidebar-profile-pic {
  width: 50px; /* Width of the container */
  height: 50px; /* Height of the container, should be equal to width for a perfect circle */
  border-radius: 50%; /* This creates the round shape */
  overflow: hidden; /* Ensures nothing extends outside the circular container */
  margin-left: 20px; /* Adjust as needed */
}

.sidebar-profile-pic img {
  width: 100%; /* Set width to 100% of the container */
  height: 100%; /* Set height to 100% of the container */
  object-fit: cover; /* Ensures the image covers the area without distorting */
  object-position: center; /* Centers the image within the container */
}


  .user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px; /* Adjust as needed */
    flex: 1; /* Allows the user info to fill the available space */
  }
  
  .user-firstname,
  .user-username {
    white-space: nowrap; /* Keep names on a single line */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Show ellipsis for overflowed text */
    max-width: 70%; /* Ensure names do not exceed container width */
  }
  
  .user-firstname {
    color: var(--text-primary);
    font-weight: bold;
    font-size: 16px;
  }
  
  .user-username {
    color: var(--text-secondary);
    font-size: 14px;
  }
  



.feature-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  margin-left: 15px;
  font-size: 14px
}

.sidebar-icon {
  font-size: 24px; /* Adjust size as needed */
  vertical-align: middle;
  margin-right: 8px; /* Adjust margin as needed */
  color: var(--text-secondary);
}

.feature-link.active {
  color: var(--accent-primary);
}

.feature-link.active .sidebar-icon {
  color: var(--accent-primary);
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 50px;
  padding: 5px; /* Padding around the icon */
}

.coming-soon-overlay img {
  width: 100px; /* Adjust the size of the icon */
  opacity: 70%;
}



.sidebar-divider {
  border: 0;
  border-top: 1px solid var(--text-secondary);
  width: 9rem;
  margin: 10px 10px;
}

.sidebar-subtitle {
  font-size: 16px;
  padding: 10px;
  margin-left: 15px;
  font-size: 16px;
  margin-top: 0; /* Adjust this value to reduce space above the subtitle */
  margin-bottom: 0; /* Adjust this value to reduce space below the subtitle */
}

.sidebar-link {
  display: flex;         /* Changed from block to flex */
  align-items: center;   /* Vertically align the circle and text */
  padding: 5px;
  text-decoration: none;
  color: var(--text-secondary);
  margin-left: 15px;
  font-size: 14px;
  gap: 10px;             /* Space between the circle and text */
}

.category-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.sidebar-link:hover {
  background-color: transparent;
}

.no-categories {
  padding: 5px;
  color: var(--text-secondary);
  font-style: italic;
}

.logout-section {
  position: fixed; /* Fixed positioning relative to the viewport */
  left: 15px; /* Align left edge with the sidebar content padding */
  right: 15px; /* Align right edge with the sidebar content padding */
  bottom: 20px; /* Set 20px above the bottom of the viewport */
  width: calc(100% - 30px); /* Adjust the width as needed */
  /* Ensure the width of .logout-section does not exceed the width of .sidebar */
  max-width: 250px; /* This should match the width of your sidebar */
}

.logout-link {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align text to the start */
  padding: 10px 0;
  text-decoration: none;
  color: var(--text-secondary); /* Text color */
  width: 100%; /* Ensure the link uses the full width available */
  font-size: 14px; /* Font size */
}

.logout-link .sidebar-icon {
  font-size: 24px; /* Icon size */
  margin-right: 8px; /* Space between icon and text */
}

.logout-link:hover {
  background-color: transparent; /* Hover background color */
}

.blurred-overlay {
  filter: blur(5px); /* Apply blur effect */
  pointer-events: none; /* Disable interactions with the elements in the sidebar */
  position: relative; /* Establish a new positioning context */
  height: 90vh;
  width: 20vw;
}

.signin-section {
  position: absolute;
  top: 40%;
  left: 4%;
  z-index: 1;
  /* Add any additional styling for the button here */
}

.signin-button {
  font-family: 'montserrat';
  display: inline-block;
  background-color: var(--card-primary); /* No fill */
  color: var(--text-primary);
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  font-size: .7rem;
  line-height: 1;
  margin-top: 0;
  margin-left: 0px;
  margin-right: 2rem;
  border: 2px solid var(--accent-primary); /* var(--text-primary) border */
  border-radius: 10px;
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Optional: Add styles for hover effect */
.signin-button:hover {
  background-color: var(--accent-primary); /* Fill var(--text-primary) on hover */
  color: var(--background-primary);
}


/* Container for the theme toggle */
.theme-toggle-container {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-top: 20px;
  left: 15px;
}

/* Hide the checkbox */
.theme-toggle-switch input {
  display: none;
}

/* The slider */
.theme-toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--text-secondary);
  transition: .4s;
  border-radius: 24px;
}

.theme-toggle-switch .slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: var(--card-primary);
  transition: .4s;
  border-radius: 50%;
  z-index: 1; /* Lowered z-index for the circle */
}

/* Style the icons */
.theme-toggle-switch .sun-icon,
.theme-toggle-switch .moon-icon {
  color: var(--icon-color); /* Add your color variable or value */
  font-size: 16px; /* Adjust size to fit within the circle */
  transition: .4s;
  z-index: 2; /* Higher z-index for icons to be on top */
}

/* Position the moon icon on the right, hidden by default */
.theme-toggle-switch .moon-icon {
  position: absolute;
  right: 4px; /* Adjust this to fit your design */
  top:4px;
  display: none;
}

/* Position the sun icon on the left */
.theme-toggle-switch .sun-icon {
  position: absolute;
  left: 4px; /* Adjust this to fit your design */
  top: 4px;
}

/* Move the icon within the circle on toggle */
.theme-toggle-switch input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.theme-toggle-switch input:checked + .slider .sun-icon {
  display: none;
}

.theme-toggle-switch input:checked + .slider .moon-icon {
  display: block;
}

.theme-toggle-switch input:checked + .slider {
  background-color: var(--text-primary);
}




body {
  margin: 0;
  padding: 0;
  background-color: var(--card-primary);  
  color: var(--text-primary); /* var(--text-primary) text */
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden; /* Lock horizontal scrolling */
}

/* Main Content Styles */
.main-content {
  padding-top: 70px;
}




.logo-container {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

.logo-container img {
  height: 2rem;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
  padding-right: 20px;
}

nav ul li a {
  line-height: 1;
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  text-decoration: none;
}


.hero {
  background-color: var(--background-primary);
  background-size: auto;
  height: 100%; /* Adjusted height value */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 6rem;
  padding-top: 3rem;
  padding-bottom: 0rem;
}


/* CSS */
.hero-content-wrapper {
  display: flex;
  justify-content: space-between; /* This creates some space between the columns */
  align-items: flex-start; /* This aligns the contents of the columns to the top */
}

.hero-content {
  margin-top: 10rem;
  flex: 1; /* This makes the column take up the remaining space */
  margin-right: 2rem; /* Add some space between the content and the image */
}


.hero-image {
  margin-top: 10rem;
  flex: 1; /* This makes the column take up the remaining space */
  text-align: center; /* This centers the image */
}

.hero-image img {
  max-width: 100%;
  height: auto;
  height: 400px;
}





hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  width: 2px;
  height: auto;
  margin-bottom: 1em;
}

.hero-title {
  font-family: 'montserrat', sans-serif;
  color: var(--text-primary);
  margin-bottom: 1em;
}

.hero-sub-title {
  font-family: 'Open Sans', sans-serif;
  font-size:large;
  color: var(--text-primary);
  margin-bottom: 1em;
}

.hero-text {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);
  margin-bottom: 2em;
  letter-spacing: 1px; /* Increase or decrease as needed */
  line-height: 1.6; /* Increase or decrease as needed */
}


.sub-heading-and-paragraph {
  padding-left: 2em;
  position: relative;
  margin-left: 0px;
}

.sub-heading-and-paragraph::before {
  content: '';
  position: absolute;
  left:0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--text-primary);
}

/* Button Styles */
.hero-button {
  font-family: 'montserrat';
  display: inline-block;
  background-color: transparent; /* No fill */
  color: var(--text-primary);
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  font-size: .7rem;
  line-height: 1;
  margin-top: 0;
  margin-left: 0px;
  margin-right: 2rem;
  border: 2px solid var(--accent-primary); /* var(--text-primary) border */
  border-radius: 10px;
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Button Styles */
.hero-button2 {
  font-family: 'montserrat';
  display: inline-block;
  background-color: transparent; /* No fill */
  color: var(--text-primary);
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  font-size: .7rem;
  line-height: 1;
  margin-top: 0;
  margin-left: 0px;
  margin-right: 2rem;
  border: 2px solid var(--accent-primary); /* var(--text-primary) border */
  border-radius: 10px;
  transition: all 0.3s ease; /* Smooth transition for hover effect */
  margin-bottom: 20px;
}

.hero-button:hover {
  background-color: var(--accent-primary); /* Fill var(--text-primary) on hover */
  color: var(--background-primary);
}

.hero-button2:hover {
  background-color: var(--accent-primary); /* Fill var(--text-primary) on hover */
  color: var(--background-primary);
}

/* Anchor menu */

.anchor-menu {
  position: fixed;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  align-items: center;
  text-align: center;
}

.anchor-menu ul {
  list-style-type: none;
  padding: 0;
  text-align: center; /* Center align the list */
}

.anchor-menu ul li {
  margin-bottom: 15px;
  display: flex; /* Use flexbox to center align the dots */
  justify-content: center; /* Center align horizontally */
}

.anchor-menu .anchor-dot {
  display: block;
  width: 5px;
  height: 5px;
  background-color: #00000077;
  border-radius: 50%;
  text-decoration: none;
  border: 5px solid transparent; /* Set the initial border */
  padding: 5px; /* Set the initial padding */
  margin: 0 auto; /* Center align the dots */
  transition: all 0.3s ease; /* Smooth transition */
}

.anchor-dot.active {
  box-sizing: border-box;
  border-color: var(--accent-primary); /* Change the border color */
}





.feature {
  background-color: var(--background-primary);
  padding: 0rem 6rem;
}

.feature:last-of-type {
  padding-bottom: 10rem; /* Added 2rem padding to the bottom of the last feature section */
}

.feature-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: fit-content;
}

.feature-content {
  flex: 1;
  margin-right: 2rem;
  color: var(--text-primary);
}

.feature-image {
  flex: 1;
  text-align: center;
  margin-top: 10rem;
  width: 40%;
}

/* Additional styles for the animated image in the feature section */
#animation-container3,#animation-container4,#animation-container5,#animation-container6 {
  flex: 1;
  text-align: center;
  margin-top: 10rem;
  margin-right: 10px;
}

/* This targets the images only when the dark-theme class is applied to the body */
body.light-theme #animated-image, 
body.light-theme #animated-image3,
body.light-theme #animated-image4,
body.light-theme #animated-image5,
body.light-theme #animated-image6 {
  filter: invert(1); /* Inverts the colors */
  max-width: 100%;
  height: auto;
}

/* This ensures the images have the correct size in any theme */
#animated-image, 
#animated-image3,
#animated-image4,
#animated-image5,
#animated-image6 {
  max-width: 100%;
  height: auto;
}


.feature-image img {
  max-width: 100%;
  height: auto;
  height: 400px;
}

.feature-title {
  font-family: 'montserrat', sans-serif;
  color: var(--text-primary);
  margin-bottom: 1em;
}

.feature-text {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);
  margin-bottom: 2em;
  letter-spacing: 1px;
  line-height: 1.6;
}

/* For even-numbered sections, swap text and image */
.feature:nth-child(even) .feature-content-wrapper {
  flex-direction: row-reverse;
}


/* Set initial opacity of the text content to 0 */
section .hero-content-wrapper,
section .feature-content-wrapper .feature-content {
  opacity: 0;
}

/* Keyframe animation for image push-up effect */
@keyframes imagePushUp {
  0% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Keyframe animation for text push-up effect */
@keyframes textPushUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Define the animations as classes */
.animate-image {
  animation-name: imagePushUp;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.animate-text {
  opacity: 0; /* Initially hidden */
  animation-name: textPushUp;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}


/* Different delays for a staggered effect */
#section1 .hero-image { animation-delay: 0.2s; }
#section1 .hero-content-wrapper { animation-delay: 0.4s; }
#section2 .hero-image, #section2 .feature-content-wrapper .hero-image { animation-delay: 0.6s; }
#section2 .feature-content-wrapper .feature-content { animation-delay: 0.8s; }
#section3 .hero-image, #section3 .feature-content-wrapper .hero-image { animation-delay: 0.6s; }
#section3 .feature-content-wrapper .feature-content { animation-delay: 0.8s; }
#section4 .hero-image, #section4 .feature-content-wrapper .hero-image { animation-delay: 0.6s; }
#section4 .feature-content-wrapper .feature-content { animation-delay: 0.8s; }
#section5 .hero-image, #section5 .feature-content-wrapper .hero-image { animation-delay: 0.6s; }
#section5 .feature-content-wrapper .feature-content { animation-delay: 0.8s; }


.animation-container {
  height: 50vh; /* Assuming you want it to take up the whole viewport */
  overflow: show;
}

.animated-image {
  width: 100%; /* Adjust as needed */
  height: auto; /* Adjust as needed */
  position: relative; /* Stack the images */
}




.lightbox {
  display: none; 
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.lightbox-content {
  display: none; 
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
}

.waitlist-container {
  background-color: #00000057;
  backdrop-filter: blur(10px); /* Blurring the background content for the glassmorphic effect */
  -webkit-backdrop-filter: blur(10px);
  border-radius: 5px;
  box-shadow: 0 4px 6px 0 rgba(0,0,0,0.4);
  margin: 15% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  box-sizing: border-box;
  color: var(--text-primary);
}

.close-lightbox {
  color: var(--text-primary);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
}

.waitlist-container input[type=text],
.waitlist-container input[type=email],
.waitlist-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin-right: 20px;
  padding-right: 20px;
  margin: 5px 0 22px 0;
  border: none;
  border-radius: 10px;
  background: rgba(9, 9, 9, 0.585);
}

.waitlist-container input[type=text]:focus,
.waitlist-container input[type=email]:focus,
.waitlist-container input[type=password]:focus {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

.waitlist-container button {
  background-color: var(--text-primary);
  color: #000;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.waitlist-container button:hover {
  opacity: 1;
}



/* Sign Up Container Styles */
.signup-container {
  max-width: 400px;
  padding: 20px 30px;
  background-color: var(--background-primary);
  margin: 100px auto 0;
  border: 2px solid var(--card-primary);
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);  /* Text color */
  margin-bottom: 10rem;
}

.signup-container h2 {
  font-family: 'montserrat', sans-serif;
  margin-bottom: 1.5rem;
  color: var(--text-primary);  /* Title color based on other sections of your site */
}

.signup-container form input[type="text"],
.signup-container form input[type="email"],
.signup-container form input[type="password"] {
  display: block;
  width: 96%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid var(--card-primary);
  background-color: var(--card-primary);
  color: var(--text-primary);
}

.signup-container form button.hero-button {
  font-family: 'montserrat';
  display: block;
  background-color: transparent;
  color: var(--text-primary);
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  font-size: .7rem;
  line-height: 1;
  margin-top: 0;
  margin-left: 0px;
  margin-right: 2rem;
  border: 2px solid var(--accent-primary);
  border-radius: 10px;
  transition: all 0.3s ease;
  width: 100%;
}

.signup-container form button.hero-button:hover {
  background-color: var(--accent-primary);
  color: var(--background-primary);
}

.signup-container p, .signup-container a {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);  /* Text color */
}

.signup-container a:hover {
  color: var(--accent-primary);  /* Highlighted color when hovering over links */
}

.agreements, #submit-button {
  display: none;
}

.agreement-item {
  margin-bottom: 10px; /* Add space between each checkbox item */
}

.agreement-item label {
  display: block; /* Make the label take the full width for better clickability */
  margin-left: 25px; /* Indent the label to align it with the text of the above label */
  position: relative;
  top: -20px; /* Move the label up to align it with the checkbox */
}

/* Style the checkbox when it's checked */
input[type="checkbox"]:checked {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* Style the checkbox itself */
input[type="checkbox"] {
  appearance: none; /* Remove default styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  background-color: var(--text-primary); /* var(--text-primary) background */
  border: 2px solid var(--accent-primary); /* Green border */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer;
  position: relative;
  top: 5px; /* Adjust the vertical alignment */
}

/* Add a checkmark when the checkbox is checked */
input[type="checkbox"]:checked::before {
  content: '\2713'; /* Unicode checkmark */
  position: absolute;
  top: -5px; 
  left: 3px;
  color: var(--accent-primary); /* Green checkmark */
  font-size: 18px;
  font-weight: bold;
}


.forgot-password {
  margin-top: 15px;
  text-align: center;
}

.forgot-password a {
  color: rgb(136, 136, 136); /* Example color - adjust as needed */
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}


.signup-link {
    text-align: center; /* Center align the text */
    margin-top: 10px; /* Space above the text */
}

/* Additional styles for links if needed */
.signup-link a {
    color: var(--accent-primary); /* Example link color */
    text-decoration: none; /* Optional: No underline */
}



/* Main Content Styles */
.success-content {
  padding-top: 200px;
}




 /* User Profile Page Styles */
 .cover-image {
  width: 100%;
  height: 200px; /* Adjust the height as desired */
  overflow: hidden;
  object-position: top;
}

.cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-container {
  text-align: center;
  margin-top: -75px;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-container h2 {
  margin-top: 20px;
  font-size: 2.5rem;
  color: var(--text-primary);
}

.profile-container p {
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-position: center center;
  background-size: cover;
  position: absolute;
  top: 10px;
  right: 10px;
}


/*Forum*/


.forum-container {
  position: absolute;
  display: flex;
  right: 22%;            /* Push the container left by the width of the ad sidebar */
  top: 30px;
  width: 63%; /* Subtract the width of the ad sidebar */
  height: calc(100vh - 90px);
  border: none;
  padding-top: 60px;       /* Add padding-top equal to the height of the header */
}


.main-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  background-color: var(--background-primary);
  padding-top: 5px;
  padding-bottom: 5px;
  position: fixed;
  right: 22%;            /* Push the header to the left by the width of the ad sidebar */
  width: 63%; /* Subtract the width of the ad sidebar */
  top: 51px;
  z-index: 100;
  height: 40px;
}


.main-feed-title {
  font-size: 18px;
  padding-left: 10px;
}

.new-post-btn {
  background-color: transparent; /* No background color initially */
  color: var(--text-primary);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  border: 1px solid var(--text-primary); /* var(--text-primary) border */
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-right: 35px;
}

.new-post-btn .material-icons {
  margin-right: 5px;
}

.new-post-btn:hover {
  background-color: var(--text-primary); /* var(--text-primary) background on hover */
  color: var(--background-primary); /* You may need to change the text color on hover for better visibility */
}

.main-feed {
  position: relative; /* Retained for nested absolute positioning */
  color: var(--text-primary);
  background-color: var(--background-primary);
  padding: 20px; /* Padding around the content */
  overflow-y: auto; /* Scrollable content if necessary */
  width: 100%;
}

.feedpost-container {
  position: relative;
  background-color: var(--card-primary);
  padding: 15px;
  margin-bottom: 30px; /* Increased separation between post containers */
  border-radius: 15px; /* More rounded corners */
}


.post-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.like-btn, .comment-btn {
  background-color: transparent;  /* Remove the background color */
  border: none;  /* Remove the border */
  padding: 5px;  /* Adjust padding for the icon */
  cursor: pointer;
  text-decoration: none;
}

.like-btn i, .comment-btn i {
  font-size: 20px;
  color: var(--text-primary);  /* Default color of the icon */
  vertical-align: middle;
  transition: color 0.3s ease; /* Smooth color transition for hover or other effects */
}

.like-count {
  margin-left: 2px;            /* Space between the icon and the number */
  color: var(--text-secondary);              /* Default color of the like count */
  vertical-align: middle;      /* Align it with the icon */
  transition: color 0.3s ease; /* Smooth color transition for hover or other effects */
  text-decoration: none;
  font-size: .8rem;
}

/* When the post is liked by the user */
.like-btn.liked i,
.like-btn.liked .like-count {
    color: var(--accent-primary);  /* Color when the post is liked */
    text-decoration: none;
}

/* Hover effect for the like button */
.like-btn:hover i,
.like-btn:hover .like-count {
  color: var(--accent-primary);  /* Color on hover */
  text-decoration: none;
}

.comment-count {
  margin-left: 2px;            /* Space between the icon and the number */
  color: var(--text-secondary);              /* Default color of the like count */
  vertical-align: middle;      /* Align it with the icon */
  transition: color 0.3s ease; /* Smooth color transition for hover or other effects */
  text-decoration: none;
  font-size: .8rem;
}

.comment-btn:hover i,
.comment-btn:hover .comment-count {
  color: var(--accent-primary);  /* Color on hover */
  text-decoration: none;
}

.bookmark-btn {
  background-color: transparent;  /* Remove the background color */
  border: none;  /* Remove the border */
  padding: 5px;  /* Adjust padding for the icon */
  cursor: pointer;
}

.bookmark-btn i {
  font-size: 20px;
  color: var(--text-primary);  /* Default color of the icon */
  vertical-align: middle;
  transition: color 0.3s ease; /* Smooth color transition for hover or other effects */
}

/* Hover effect for the bookmark button */
.bookmark-btn:hover i {
  color: var(--accent-primary);  /* Color on hover */
}

/* When the post is bookmarked by the user */
.bookmark-btn.bookmarked i {
  color: var(--accent-primary); /* Your brand green color for bookmarked posts */
}


.bookmark-btn .material-icons.bookmarked {
  color: var(--accent-primary); /* Replace with your brand's green color */
}





.post-item {
  margin-bottom: 30px;
}

.post-header {
  display: flex;
  align-items: flex-start;  /* Ensures the top of the image aligns with the top of the title */
  gap: 10px;                /* Spacing between the profile image and the title + user info */
}

.profile-pic-forum-post {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-top: 1%;
}

.post-title-container {
  display: flex;
  flex-direction: column;   /* Stacks its children vertically */
  align-items: flex-start;  /* Aligns items to the left */
  gap: 5px;               /* Spacing between the title and user info */
}

.post-user-info {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}


.post-username {
  font-family: 'Avenir';
  color: var(--accent-primary);
  font-size: 14px;             /* Set the font size to 14px to match post-date */
}

.post-date {
  font-family: 'Avenir';
  font-size: 14px;             /* Adjust the font size to be the same as the username */
  color: var(--text-secondary);
}

.post-title {
  font-family: 'Avenir';
  font-size: 16px;             
  margin-bottom: 0px;       
  color: var(--text-primary);             
  font-weight: bold;          
  margin-top: 5px;            /* Additional margin to create separation from the user info */
}


.post-category {
  font-family: 'Avenir';
  font-size: 14px;             /* Adjust the font size to be the same as the username */
  color: var(--text-secondary);
  display: flex;        /* Use flex to display the circle and text side by side */
  align-items: center;  /* Vertically center the circle with the text */
  gap: 5px;             /* Spacing between circle and text */
}

.category-color-indicator {
  width: 10px;          /* Circle width */
  height: 10px;         /* Circle height */
  border-radius: 50%;   /* Make it a circle */
  display: inline-block;
}



.post-divider {
  border: 0;
  border-top: 1px solid var(--text-secondary);
  margin: 10px 0;
  width: 98%;
  margin-left: 0px;
}

.post-content {
  font-family: 'Avenir';
  font-size: 14px;       /* Content font size */
  color: var(--text-secondary);        /* Slightly lighter gray for content, adjust as needed */
  letter-spacing: 0.5px; /* Added letter-spacing for improved readability */
}

img.post-image {
  width: 80%;
  object-fit: cover;
}

/* Three-dot menu button */
.post-menu {
  position: absolute;
  top: 10px;   /* Adjust based on your design */
  right: 10px; /* Adjust based on your design */
  z-index: 10; /* To make sure it's above other elements */
}

.menu-btn {
  background: none;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  color: var(--text-primary); /* or any color that suits your design */
}

.menu-btn i {
  font-size: 24px; /* Adjust based on your design */
}

/* Dropdown menu */
.menu-dropdown {
  display: none; /* Initially hidden */
  position: absolute;
  right: 0;      /* Align to the right of the button */
  top: 30px;     /* Position it below the button */
  background-color: var(--text-primary);
  border-radius: 4px;     /* Rounded corners */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  z-index: 1;  /* Above the button */
}

.menu-option {
  padding: 8px 12px;
  display: block;
  background-color: var(--background-primary);
  color: var(--text-primary); 
  text-decoration: none;
  font-size: 14px;
}

.menu-option:hover {
  background-color: var(--background-primary);
  color: var(--text-primary); 
}


.no-posts {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Discussion & Comments */
.discussion-container {
  position: relative;
  background-color: var(--card-primary);
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 15px;
  height: 80vh; /* Set height to viewport height */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevent overflow */
}

.discussion-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 80px; /* Adjust this value based on the height of your comment form */
}

.discussion-post-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.profile-pic-forum-post {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.discussion-post-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.discussion-post-user-info {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.discussion-post-username {
  font-family: 'Avenir';
  color: var(--accent-primary);
  font-size: 14px;
}

.discussion-post-date {
  font-family: 'Avenir';
  font-size: 14px;
  color: var(--text-secondary);
}

.discussion-post-title {
  font-family: 'Avenir';
  font-size: 16px;
  color: var(--text-primary);
  font-weight: bold;
  margin-top: 5px;
}

.discussion-post-content {
  font-family: 'Avenir';
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-top: 10px;
}

.discussion-post-image {
  width: 80%;
  object-fit: cover;
  margin-top: 10px;
}

.discussion-comments {
  margin-top: 20px;
}

.comment {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 15px;
}

.profile-pic-comment {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.comment-username {
  font-family: 'Avenir';
  color: var(--accent-primary);
  font-size: 14px;
}

.comment-date {
  font-family: 'Avenir';
  font-size: 12px;
  color: var(--text-secondary);
}

.comment-content {
  font-family: 'Avenir';
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-top: 5px;
  margin-right: 40px; /* Adjust to create space for the button */
  flex: 1; /* Allows the text to wrap and occupy available space */
}

/* Three-dot menu button */
.comment-actions {
  position: absolute;
  top: 10px;
  right: 10px;
}

.comment-menu-btn {
  background: rgba(210, 105, 30, 0);
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  color: var(--text-primary);
}

.comment-menu-btn i {
  font-size: 24px;
}

/* Dropdown menu */
.comment-menu-dropdown {
  display: none; 
  position: absolute;
  right: 0;      
  top: 30px;     
  background-color: var(--text-primary);
  border-radius: 4px;     
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
  z-index: 1;  
}

.comment-menu-option {
  padding: 8px 12px;
  display: block;
  background-color: var(--background-primary);
  color: var(--text-primary); 
  text-decoration: none;
  font-size: 14px;
}

.comment-menu-option:hover {
  background-color: var(--background-primary);
  color: var(--text-primary); 
}




.comment-submission {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex; /* Make the children inline */
  align-items: center; /* Align children vertically in the center */
  gap: 10px; /* Spacing between the textarea and button */
}

.comment-submission textarea {
  flex: 1; /* Take available width space */
  height: 24px; /* Match the height with the button */
  padding: 8px;
  border-radius: 5px;
  font-family: 'Avenir';
  font-size: 14px;
  color: var(--text-secondary);
  background-color: var(--background-primary);
  border: 1px solid var(--card-primary);
  resize: none; /* Disallow resizing to maintain uniformity */
}

.comment-submission button {
  padding: 8px 12px;
  background-color: var(--accent-primary);
  color: var(--card-primary);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 36px; /* Define height for the button */
}



.comment-submission button:hover {
  background-color: var(--accent-primary);
}


/* Create Post Form */

#create-post-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.765);  /* Slightly darker background */
}

#modal-content-box {
  background-color: var(--card-primary); /* Dark gray background */
  margin: auto; /* Vertically center */
  margin-top: 100px;
  padding: 20px;
  border-radius: 5px;  /* Rounded corners */
  width: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);  /* Soft shadow for depth */
  color: var(--text-secondary);  /* Light text color for contrast */
}

#modal-close-btn {
  color: var(--text-secondary);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;  /* Smooth color transition */
}

#modal-close-btn:hover, #modal-close-btn:focus {
  color: var(--text-primary);  /* Bright var(--text-primary) on hover/focus */
  text-decoration: none;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

#modal-header {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  padding-bottom: 10px;
}

#create-post-form {
  display: grid;
  gap: 15px;
}


#title-group {
  display: flex;
  flex-direction: column;
}

#title-input {
  width: 97%;
  padding: 10px;
  border: 1px solid var(--text-secondary);
  border-radius: 4px;
  background-color: var(--card-primary);
  color: var(--text-secondary);
  transition: background-color 0.3s ease;
}

#title-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: var(--card-primary);
}


#content-group {
  display: flex;
  flex-direction: column;
}

#content-textarea {
  width: 97%;
  height: 50px;
  padding: 10px;
  border: 1px solid var(--text-secondary);
  border-radius: 4px;
  background-color: var(--card-primary);
  color: var(--text-secondary);
  transition: background-color 0.3s ease;
  resize: vertical;
}

#content-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: var(--card-primary);
}


#image-group {
  display: flex;
  flex-direction: column;
}

#post-image-input {
  width: 97%;
  padding: 10px;
  border: 1px solid var(--text-secondary);
  border-radius: 4px;
  background-color: var(--card-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#post-image-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: var(--card-primary);
}

#category-group {
  display: flex;
  flex-direction: column;
}

#category-select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--text-secondary);
  border-radius: 4px;
  background-color: var(--card-primary);
  color: var(--text-secondary);
  transition: background-color 0.3s ease;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path fill="%23eaeaea" d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
}

#category-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: var(--card-primary);
}


input[type="submit"] {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: var(--accent-primary);  /* Primary color for the button */
  color: rgb(0, 0, 0);  /* var(--text-primary) text */
  transition: background-color 0.3s ease;  /* Smooth transition for hover effects */
}

input[type="submit"]:hover {
  background-color: var(--accent-primary);  /* Darker shade for hover */
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--text-secondary);  /* Slightly brighter text for labels */
}

#postImage {
  cursor: pointer;
}

.error-message {
  color: rgb(255, 255, 255);
  font-style: bold;
  /* Other styles for the error message */
}



/* Categories Sidebar */
.category-menu {
  width: 25%;
  float: left;
  padding: 20px;
  box-sizing: border-box;
  background-color: var(--card-primary);
}

.categories-title {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.categories-list {
  list-style-type: none;
  padding: 0;
}

.category-item {
  padding: 10px;
  border-bottom: 1px solid var(--card-primary);
  font-size: 1.1em;
}


/*ADS*/

.sidebar-ads-container {
  position: fixed;       /* Fixes the container to the viewport */
  top: 51px;
  right: 0;              /* Locks the container to the right side */
  height: 100vh;         /* Makes the container span the full height of the viewport */
  width: 20%;          /* Set a width including padding */
  padding: 1%;
  background-color: rgb(0, 0, 0); /* Optional: Set a background color if desired */
  overflow-y: auto;      /* Adds a scrollbar if the content overflows */
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow for depth */
  color: var(--text-primary);
}

/* Styles for the rectangle ad placeholder */
.sidebar-ad-rectangle {
  height: auto;            /* Height set to auto to contain the ad and title */
  width: calc(100% - 20px); /* Width reduced by padding on left and right */
  padding: 0 10px;         /* Padding on left and right sides of the ad */
  margin: 10px auto;       /* Margin for top and bottom, auto for horizontal centering */
  display: flex;
  flex-direction: column;  /* Stack elements vertically */
  align-items: center;     /* Center-align the children (title and ad) */
}

.sidebar-ad-rectangle h2 {
  color: var(--text-secondary);         /* Light grey color for the title for better readability */
  font-size: 14px;        /* Adjust font size as needed */
  margin-bottom: 10px;    /* Space between the title and the ad */
  text-align: center;     /* Center the title text */
  font-weight: normal !important;
}

/* Hide the banner ad on desktop */
.banner-ad {
  display: none;
}


/* General styling for the notification container */
.notification-container {
  background-color: var(--card-primary); /* Matching the dark background of posts */
  padding: 10px; /* Padding for some inner space */
  border-radius: 5px; /* Rounded corners */
  color: var(--text-secondary); /* Light text color for contrast */
}

/* Styling for the title of the post in the notification */
.notification-post-title {
  font-family: 'Avenir';
  font-size: 16px; /* Slightly larger font size */
  color: var(--text-primary); /* var(--text-primary) color for the title */
  font-weight: bold; /* Bold font weight */
  margin-bottom: 5px; /* Space between title and content */
  margin-top: 5px; /* Space above the title */
}

/* Styling for the notification content */
.notification-content {
  font-family: 'Avenir';
  font-size: 14px; /* Standard font size for content */
  color: var(--text-secondary); /* Light grey color for content text */
  letter-spacing: 0.5px; /* Letter-spacing for readability */
}

.notification-date {
  font-size: 12px; /* Smaller font size for the date */
  color: var(--text-secondary); /* Lighter color for the date */
  margin-top: 5px; /* Space above the date */
}

.notification-link {
  text-decoration: none; /* Remove underline from links */
  color: inherit; /* Keep the text color consistent */
  display: block; /* Make the entire container clickable */
}

.notification-link:hover .notification-container {
  background-color: var(--card-primary); /* Slightly change background on hover for visual feedback */
}

.notification-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary) ;
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
}


/*CALCULATOR*/
#calculator-form {
  background: var(--background-primary);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 30px;
  max-width: 500px;
  width: 80%;
  color: var(--text-primary);
  /* Centering adjustments */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto; /* Enable scrolling within the form if the content is too long */
  max-height: calc(100vh - 200px); /* Adjust the form height to fit within the viewport, considering the header */
}

#calculator-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

#calculator-form form {
  display: flex;
  flex-direction: column;
}

#calculator-form label {
  margin-bottom: 5px;
}

#calculator-form input,
#calculator-form select {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ddd;
  background: var(--background-primary);
  color: var(--text-primary);
}

#calculator-form input[type="submit"] {
  background-color: var(--accent-color);
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

#calculator-form input[type="submit"]:hover {
  filter: brightness(85%);
}

/* Results Dashboard */

.trade-cards-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.trade-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  margin: 10px;
  width: 95%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.trade-card h3 {
  color: #333;
}

.trade-card ul {
  list-style: none;
  padding: 0;
}

.trade-card li {
  margin-bottom: 10px;
  text-align: left;
}








/* Footer Styles */
.footer {
  background-color: #000000;
  color: var(--text-primary);
  padding: 3rem 6rem;
  font-family: 'montserrat', sans-serif;
  border-top: 3px solid var(--accent-primary); /* Accent line */
}

.footer-container {
  display: flex;
  justify-content: space-between; /* Align sections horizontally */
}

.footer-section {
  flex: 1;
  padding: 1rem;
  min-width: 200px; /* Adjust as needed */
}

/* Left-aligned text for the "about" section */
.footer-section.about {
  text-align: left;
}

/* Center-aligned text for the "contact" section */
.footer-section.contact {
  text-align: center;
}

/* Right-aligned text for the "follow-us" section */
.footer-section.follow-us {
  text-align: right;
}

.footer-section h3 {
  font-weight: bold;
  margin-bottom: 1em;
  text-transform: uppercase; /* Uppercase titles */
}

.footer-section p,
.footer-copyright {
  color: var(--text-primary);
  margin-bottom: 0.5em;
}

.footer-section .social-icons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end; /* Right-align icons */
}

.footer-section .social-icons a {
  font-size: 1.5rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.footer-section .social-icons a:hover {
  color: var(--accent-primary); /* Accent color on hover */
}

.footer-copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.8rem; /* Smaller font size for the copyright text */
}

.strategy-title {
  font-family: 'montserrat', sans-serif;
  color: var(--text-primary);
  margin-bottom: 1em;
  font-size: 2rem;
  text-align: center;
  padding-top: 5rem;
}

.strategy-content {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);
  margin-bottom: 2em;
  letter-spacing: 1px;
  line-height: 1.6;
  padding: 2rem 10%;
}

.strategy-list {
  list-style-type:upper-roman;
  padding-left: 2rem;
}

.strategy-list li {
  margin-bottom: 1.5rem;
}

.strategy-image img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}



.back-button {
  display: inline-block;
  margin-bottom: 20px; /* Space below the button */
  padding: 5px 10px;
  background-color: var(--accent-primary); /* Example button color */
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px; /* Adjust as needed */
}

.back-button:hover {
  background-color: var(--accent-primary); /* Darken button on hover */
}


/* Base styles for the settings container */
.settings-container {
  padding: 20px;
  margin: auto;
  max-width: 50%;
  box-sizing: border-box;
  background-color: var(--card-primary); /* Example background color */
  padding-top: 80px;
}

/* Style the form elements */
.settings-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.settings-container label {
  font-size: 16px; /* Adjust as needed */
}

.settings-container input[type="file"],
.settings-container input[type="text"],
.settings-container input[type="email"],
.settings-container input[type="password"] {
  padding: 10px;
  border: 1px solid var(--text-secondary);
  border-radius: 4px;
}

.settings-container button[type="submit"] {
  padding: 10px 15px;
  background-color: var(--accent-primary); /* Example button color */
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.settings-container button[type="submit"]:hover {
  background-color: var(--accent-primary); /* Darken button on hover */
}

/* Success message styling */
.success-msg {
  color: green;
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  padding: 10px;
  margin-top: 15px;
  border-radius: 4px;
}








/* TABLET */



@media (max-width: 1100px) { /* or another breakpoint that suits your design */


  .hero .hero-content-wrapper {
      flex-direction: column-reverse;
  }
  .hero, .feature .feature-content-wrapper {
      padding-left: 70px;
      padding-right: 15px;
  }
  .animation-container {
      height: 30vh;
      max-width: 100%;
  }

  /* Header */
  header {
    padding: 0 5px;
    height: 50px;
    z-index: 3000;
  }
  .logo-container {
    margin-left: 1rem;
  }
  .logo-container img {
      height: 1.4rem;
  }

  nav ul li {
      margin-right: 0px;
      padding-right: 5px;
  }

  .anchor-menu {
    display: none;
  }

  .hero-image {
    margin-top: 0rem;
  }

  .hero-content {
    margin-top: 12rem;
  }

  /* Feature Section */
  .feature {
      padding: 0.5rem;
  }
  .feature-content {
      margin-right: 0;
  }
  .feature-image img {
      height: auto;
      max-width: 100%;
  }
  
  /* Adjustments for odd-numbered .feature sections */
  .feature:nth-child(odd) .feature-content-wrapper {
      flex-direction: column-reverse;
  }
  .feature:nth-child(odd) .feature-content, 
  .feature:nth-child(odd) .feature-image,
  .feature:nth-child(odd) .animation-container {
      margin-top: 0;
      margin-right: 0;
      width: 100%;
  }
  .feature:nth-child(odd) .feature-content {
      margin-right: 0;
  }
  .feature:nth-child(odd) .feature-image img {
      height: auto;
      max-width: 100%;
  }

  /* Adjustments for even-numbered .feature sections */
  .feature:nth-child(even) .feature-content-wrapper {
      flex-direction: column-reverse;
  }
  .feature:nth-child(even) .feature-content, 
  .feature:nth-child(even) .feature-image,
  .feature:nth-child(even) .animation-container {
      margin-top: 0;
      margin-right: 0;
      width: 100%; 
  }

  /* Adjustments for animation containers */
  #animation-container3, #animation-container4, #animation-container5, #animation-container6 {
      margin-top: 3rem;
      margin-right: 3px;
  }

  .forum-container {
    padding-top: 70px;
    right: 0;
    width: 100%;
    height: auto;
    overflow: visible;
    padding-bottom: 80px;
  }

  .main-feed-header {
    position: fixed; /* Fixed positioning to keep the header at the top */
    top: 51px;
    left: 0;
    width: 100%; /* Ensure the header is full width */
    z-index: 1000; /* Ensure the header is above other content */
  }

  .new-post-btn {
    margin-right: 15px;
  }

  .feedpost-container {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .post-header {
    flex-direction: column;
    gap: 5px;
  }

  .profile-pic-forum-post {
    width: 28px;
    height: 28px;
    margin-top: 0;
  }

  .post-username {
    font-size: 12px;
  }

  .post-date {
    font-size: 12px;
  }

  .post-title {
    font-size: 14px;
    margin-top: 5px;
  }

  .post-category {
    font-size: 12px;
    gap: 3px;
  }

  .category-color-indicator {
    width: 8px;
    height: 8px;
  }

  img.post-image {
    width: 100%;
  }

  .post-menu {
    top: 5px;
    right: 5px;
  }

  .menu-btn i {
    font-size: 20px;
  }

  .menu-option {
    padding: 5px 8px;
    font-size: 12px;
  }

  .discussion-container {
    margin-bottom: 20px;
    height: auto;
    padding-bottom: 80px;
  }

  .discussion-content {
    padding-bottom: 60px;
  }

  .discussion-post-title {
    font-size: 14px;
  }

  .comment {
    margin-top: 10px;
    gap: 5px;
  }

  .profile-pic-comment {
    width: 24px;
    height: 24px;
  }

  .comment-username {
    font-size: 12px;
  }

  .comment-date {
    font-size: 10px;
  }

  .comment-content {
    font-size: 12px;
  }

  .comment-submission textarea {
    height: 36px;
  }

  .comment-submission button {
    padding: 6px 10px;
    height: 28px;
    margin-right: 10px;
  }



  .sidebar {
    position: fixed;
    top: -19px;
    right: 0; /* Align to the right side */
    width: 60%; /* You can adjust the width for mobile as needed */
    height: 100%;
    overflow-y: auto; /* Enable vertical scroll on mobile */
    padding-top: 20px; /* Adjust padding for mobile view */
    z-index: 15000; /* Ensure sidebar is on top of other content */
    transform: translateX(180%); /* Start off-screen to the right */
    transition: transform 0.3s ease; /* Animate the sidebar coming in */
  }

  .sidebar.active {
    transform: translateX(110%); /* Bring sidebar into view when active */
  }

  .user-profile {
    padding-left: 0px; /* Adjust padding as needed */
    padding-right: 0px; /* Adjust padding as needed */
  }

  .sidebar-profile-pic {
    width: 50px; /* Adjust size for mobile */
    height: 50px; /* Adjust size for mobile */
    /* Other styles remain the same */
  }

  .user-firstname,
  .user-username {
    font-size: 14px; /* Adjust font size for mobile */
  }

  .feature-link,
  .sidebar-subtitle,
  .sidebar-link {
    padding-left: 15px; /* Consistent padding for mobile */
    font-size: 14px; /* Smaller font size for mobile */
  }

  .sidebar-icon {
    font-size: 20px; /* Smaller icon size for mobile */
  }

  .sidebar-divider {
    border: 0;
    border-top: 1px solid var(--text-secondary);
    width: 80%;
    margin: 10px auto;
    right: 0;
  }
  .no-categories {
    padding: 5px;
    color: var(--text-secondary);
    font-style: italic;
  }

  /* You may also want to adjust hover styles for mobile taps or remove them altogether */
  .sidebar-link:hover {
    background-color: transparent; /* Remove hover effect on mobile or keep it based on preference */
  }

  .signin-button {
    display: none; /* Hidden by default */
  }

  .overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.38); /* Semi-transparent black background */
    z-index: 1400; /* Below the sidebar but above other content */
    /* Fallback for browsers that don't support backdrop-filter */
    background: rgb(0, 0, 0, 0.38);
    /* Apply blur filter */
    -webkit-backdrop-filter: blur(5px); /* For Safari and Chrome */
    backdrop-filter: blur(5px);
  }
  
  /* Optional: for browsers that don't support backdrop-filter at all */
  @supports not (backdrop-filter: blur(5px)) {
    .overlay {
      background: rgba(0, 0, 0, 0.38); /* Slightly darker background as a fallback */
    }
  }

  .hamburger-menu-btn {
    visibility: visible;
  background: transparent; /* Make the background transparent */
  border: none; /* Remove any borders */
  margin-right: 10px;
  cursor: pointer; /* Change mouse cursor to pointer when hovering over the button */
  padding: 10px; /* Add some padding around the icon for easier clicking */
  z-index: 1501; /* Ensure the button is above other content, like the sidebar */
}

.hamburger-menu-btn:focus {
  outline: none; /* Remove the outline that appears when the button is focused */
}

.hamburger-menu-btn .material-icons {
  font-size: 24px; /* Size of the hamburger icon */
  color: var(--text-primary); /* Color of the hamburger icon, change as needed */
}


  /* Hide any elements that should not be visible on mobile */
  .sidebar-ads-container,
  .sidebar-ad-rectangle {
    display: none;
  }

  .no-scroll {
    overflow: hidden; /* Prevent scrolling on the body */
    height: 100%; /* Fix the height to the viewport height */
    width: 100%; /* Fix the width to the viewport width */
    position: fixed; /* Prevent the body from moving when sidebar is active */
  }

  .logout-section {
    position: absolute; /* Change to absolute to position relative to the bottom of the sidebar */
    width: calc(100% - 30px); /* Adjust the width as needed */
    bottom: 15%; /* Set 20px above the bottom */
    left: 15px; /* Align with the left padding */
    right: 15px; /* Align with the right padding */
  }
  
  .logout-link {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align text to the start */
    padding: 10px 0;
    text-decoration: none;
    color: var(--text-secondary); /* Text color */
    width: 100%; /* Ensure the link uses the full width available */
    font-size: 14px; /* Font size */
  }
  
  .logout-link .sidebar-icon {
    font-size: 24px; /* Icon size */
    margin-right: 8px; /* Space between icon and text */
  }
  
  .logout-link:hover {
    background-color: var(--background-primary); /* Hover background color */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
  }

  .settings-container {
    padding: 20px;
    margin: auto;
    max-width: 70%;
    box-sizing: border-box;
    background-color: var(--card-primary); /* Example background color */
    padding-top: 80px;
  }

  .banner-ad {
    display: flex; /* Use flexbox */
    justify-content: center; /* Horizontally center children */
    align-items: center; /* Vertically center children */
    position: fixed;
    bottom: 0; /* Position at the bottom */
    width: 100%; /* Span the full width */
    height: auto; /* Auto-adjust height */
    background-color: rgb(0, 0, 0); /* Example background color */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
    padding: 10px; /* Padding around the ad */
    z-index: 10000; /* Ensure it's above other content */
  }

  #modal-content-box {
    width: 70%;
    padding-bottom: 100px;
  }

}
















@media (max-width: 480px) {
  /* Typography */
  h1, .h1 {
      font-size: 1.5rem;
  }
  h2, .h2 {
      font-size: 1.25rem;
  }
  h3, .h3 {
      font-size: 1rem;
  }

  /* Header */
  header {
      padding: 0 5px;
      height: 50px;
      z-index: 3000;
  }
  .logo-container {
    margin-left: 1rem;
  }
  .logo-container img {
      height: 1.5rem;
  }
  

  nav ul li {
      margin-right: 0px;
      padding-right: 5px;
  }

  .anchor-menu {
    display: none;
  }

  .hero .hero-content-wrapper {
    flex-direction: column-reverse;
  }

  /* Hero and Features Section */
  .hero, .feature .feature-content-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  .animation-container {
    height: 30vh; /* Adjusted to match the feature animations */
  }

  .hero-content, .hero-image {
    margin-top: 2rem;
  }
 
  
  /* Feature Section */
  .feature {
      padding: 0.5rem;
  }
  .feature-content {
      margin-right: 0;
      margin-top: 2rem;
  }
  .feature-image img {
      height: auto;
      max-width: 100%;
  }
    /* Adjustments for odd-numbered .feature sections */
    .feature:nth-child(odd) .feature-content {
      margin-right: 0;
  }
  .feature:nth-child(odd) .feature-image img {
      height: auto;
      max-width: 100%;
    
  }

    /* Adjustments for even-numbered .feature sections */
    .feature:nth-child(even) .feature-content-wrapper {
      flex-direction: column-reverse;
  }
  .feature:nth-child(even) .feature-content, 
  .feature:nth-child(even) .feature-image,
  .feature:nth-child(even) .animation-container {
      margin-top: 0;
      margin-right: 0;
      width: 100%; 
  }

    /* Adjustments for animation containers on mobile */
    #animation-container,#animation-container3, #animation-container4, #animation-container5, #animation-container6 {
      margin-top: 3rem;
      margin-right: 3px;
  }


  .forum-container {
    padding-top: 70px;
    right: 0;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .main-feed-header {
    position: fixed; /* Fixed positioning to keep the header at the top */
    top: 51px;
    left: 0;
    width: 100%; /* Ensure the header is full width */
    z-index: 1000; /* Ensure the header is above other content */
  }

  .main-feed {
    position: relative; /* Retained for nested absolute positioning */
    color: var(--text-primary);
    background-color: var(--background-primary);
    padding: 20px; /* Padding around the content */
    overflow-y: auto; /* Scrollable content if necessary */
  }

  .new-post-btn {
    margin-right: 15px;
  }

  .feedpost-container {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .post-header {
    flex-direction: column;
    gap: 5px;
  }

  .profile-pic-forum-post {
    width: 28px;
    height: 28px;
    margin-top: 0;
  }

  .post-username {
    font-size: 12px;
  }

  .post-date {
    font-size: 12px;
  }

  .post-title {
    font-size: 14px;
    margin-top: 5px;
  }

  .post-category {
    font-size: 12px;
    gap: 3px;
  }

  .category-color-indicator {
    width: 8px;
    height: 8px;
  }

  img.post-image {
    width: 100%;
  }

  .post-menu {
    top: 5px;
    right: 5px;
  }

  .menu-btn i {
    font-size: 20px;
  }

  .menu-option {
    padding: 5px 8px;
    font-size: 12px;
  }

  .discussion-container {
    margin-bottom: 20px;
    height: auto;
  }

  .discussion-content {
    padding-bottom: 60px;
  }

  .discussion-post-title {
    font-size: 14px;
  }

  .comment {
    margin-top: 10px;
    gap: 5px;
  }

  .profile-pic-comment {
    width: 24px;
    height: 24px;
  }

  .comment-username {
    font-size: 12px;
  }

  .comment-date {
    font-size: 10px;
  }

  .comment-content {
    font-size: 12px;
  }

  .comment-submission textarea {
    height: 36px;
  }

  .comment-submission button {
    padding: 6px 10px;
    height: 28px;
  }


  .sidebar {
    position: fixed;
    top: -19px;
    right: 0; /* Align to the right side */
    width: 60%; /* You can adjust the width for mobile as needed */
    height: 100%;
    overflow-y: auto; /* Enable vertical scroll on mobile */
    padding-top: 20px; /* Adjust padding for mobile view */
    z-index: 15000; /* Ensure sidebar is on top of other content */
    transform: translateX(180%); /* Start off-screen to the right */
    transition: transform 0.3s ease; /* Animate the sidebar coming in */
  }

  .sidebar.active {
    transform: translateX(70%); /* Bring sidebar into view when active */
  }

  .user-profile {
    padding-left: 0px; /* Adjust padding as needed */
    padding-right: 0px; /* Adjust padding as needed */
  }

  .sidebar-profile-pic {
    width: 50px; /* Adjust size for mobile */
    height: 50px; /* Adjust size for mobile */
    /* Other styles remain the same */
  }

  .user-firstname,
  .user-username {
    font-size: 14px; /* Adjust font size for mobile */
  }

  .feature-link,
  .sidebar-subtitle,
  .sidebar-link {
    padding-left: 15px; /* Consistent padding for mobile */
    font-size: 14px; /* Smaller font size for mobile */
  }

  .sidebar-icon {
    font-size: 20px; /* Smaller icon size for mobile */
  }

  .sidebar-divider {
    border: 0;
    border-top: 1px solid var(--text-secondary);
    width: 80%;
    margin: 10px auto;
    right: 0;
  }
  .no-categories {
    padding: 5px;
    color: var(--text-secondary);
    font-style: italic;
  }

  /* You may also want to adjust hover styles for mobile taps or remove them altogether */
  .sidebar-link:hover {
    background-color: transparent; /* Remove hover effect on mobile or keep it based on preference */
  }

  .signin-button {
    display: none; /* Hidden by default */
  }

  .overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.38); /* Semi-transparent black background */
    z-index: 1400; /* Below the sidebar but above other content */
    /* Fallback for browsers that don't support backdrop-filter */
    background: rgb(0, 0, 0, 0.38);
    /* Apply blur filter */
    -webkit-backdrop-filter: blur(5px); /* For Safari and Chrome */
    backdrop-filter: blur(5px);
  }
  
  /* Optional: for browsers that don't support backdrop-filter at all */
  @supports not (backdrop-filter: blur(5px)) {
    .overlay {
      background: rgba(0, 0, 0, 0.38); /* Slightly darker background as a fallback */
    }
  }

  .hamburger-menu-btn {
    visibility: visible;
  background: transparent; /* Make the background transparent */
  border: none; /* Remove any borders */
  margin-right: 10px;
  cursor: pointer; /* Change mouse cursor to pointer when hovering over the button */
  padding: 10px; /* Add some padding around the icon for easier clicking */
  z-index: 1501; /* Ensure the button is above other content, like the sidebar */
}

.hamburger-menu-btn:focus {
  outline: none; /* Remove the outline that appears when the button is focused */
}

.hamburger-menu-btn .material-icons {
  font-size: 24px; /* Size of the hamburger icon */
  color: var(--text-primary); /* Color of the hamburger icon, change as needed */
}


  /* Hide any elements that should not be visible on mobile */
  .sidebar-ads-container,
  .sidebar-ad-rectangle {
    display: none;
  }

  .no-scroll {
    overflow: hidden; /* Prevent scrolling on the body */
    height: 100%; /* Fix the height to the viewport height */
    width: 100%; /* Fix the width to the viewport width */
    position: fixed; /* Prevent the body from moving when sidebar is active */
  }

  .logout-section {
    position: absolute; /* Change to absolute to position relative to the bottom of the sidebar */
    width: calc(100% - 30px); /* Adjust the width as needed */
    bottom: 15%; /* Set 20px above the bottom */
    left: 15px; /* Align with the left padding */
    right: 15px; /* Align with the right padding */
  }
  
  .logout-link {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align text to the start */
    padding: 10px 0;
    text-decoration: none;
    color: var(--text-secondary); /* Text color */
    width: 100%; /* Ensure the link uses the full width available */
    font-size: 14px; /* Font size */
  }
  
  .logout-link .sidebar-icon {
    font-size: 24px; /* Icon size */
    margin-right: 8px; /* Space between icon and text */
  }
  
  .logout-link:hover {
    background-color: var(--background-primary); /* Hover background color */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
  }




  .settings-container {
    padding: 20px;
    margin: auto;
    max-width: 90%;
    box-sizing: border-box;
    background-color: var(--card-primary); /* Example background color */
    padding-top: 80px;
  }
  

  

  .footer {
    padding: 1.5rem 1rem;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    padding: 0.5rem 0;
    text-align: center;
    min-width: auto; /* Reset the min-width */
  }
  .footer-section .social-icons {
    justify-content: center; /* Center-align icons */
  }
}
