@import url("https://fonts.googleapis.com/css2?family=Inria+Sans:wght@400;700&display=swap");

body {
  font-family: "Inria Sans", sans-serif;
  margin: 0;
  padding: 0;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  font-family: "Itim", cursive;
  font-size: 2em;
  color: black;
  font-weight: 700;
}

.sign-up-text {
  text-align: center;
  width: 70%;
  margin: auto;
  font-size: large;
}

@keyframes colorShift {

  0%,
  100% {
    background-size: 400% 400%;
    background-position: 100% 0;
  }

  25% {
    background-position: 75% 0;
  }

  50% {
    background-position: 50% 0;
  }

  75% {
    background-position: 25% 0;
  }
}

.style-button {
  padding: 10px 20px;
  border: none;
  color: white;
  /* Assuming you want the text color to be white */
  cursor: pointer;
  background-image: linear-gradient(to left, rgb(255, 123, 0), rgb(19, 109, 234), rgb(1, 199, 1), rgb(225, 4, 229));
  background-size: 400% 400%;
  animation: colorShift 4s ease infinite;
  border-radius: 4px;
  /* Add rounded corners to the button */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  transition: box-shadow 1s ease;
  /* Smooth transition for the glow effect */
}

.style-button:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}



.ticker-wrapper {
  width: 80%;
  /* Set the ticker width to 80% of the viewport */
  margin: 0 auto;
  /* Center the ticker */
  background-color: #f7f7f7;
  /* Shaded background color */
  border-radius: 25px;
  /* Rounded corners */
  overflow: hidden;
  /* Hide text that overflows the ticker area */
  position: relative;
  /* Needed to position the ticker absolutely inside */
}

.ticker {
  display: flex;
  animation: ticker 30s linear infinite;
}

.ticker p {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 50px;
  font-size: 18px;
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.hero-section {
  text-align: center;
  padding: 20px 0;
}

.hero-section h1 {
  font-size: 4em;
  margin-bottom: 20px;
  text-align: left;
  margin-left: 5%;
}

.highlight {
  color: green;
  text-decoration: underline;
}

input[type="search"] {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid black;
  font-size: 18px;
}

.button-group button {
  padding: 20px 30px;
  padding-right: 10em;
  margin: 0 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  width: 28%;
  font-size: larger;
}

.button-group a {
  padding: 20px 30px;
  padding-right: 10em;
  margin: 0 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  width: 28%;
  font-size: larger;
  color: black;
}

.button-group {
  margin: 20px;
}

.button-group button:hover {
  background-color: #e0e0e0;
}

.button-group a:hover {
  background-color: #e0e0e0;
}

.vertical-line-container {
  text-align: center;
  display: inline-block;
  /* Only as wide as its content */
}

.circle {
  background-color: black;
  width: 10px;
  /* Size of the circle */
  height: 10px;
  /* Size of the circle */
  border-radius: 50%;
  /* Make it round */
}

.line {
  background-color: black;
  width: 2px;
  /* Width of the line */
  height: 50px;
  /* Height of the line */
  margin: 0 auto;
  /* Center horizontally in the container */
}

.transition-text {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  /* Spacing below the dotted line */
}

.transition-container {
  text-align: center;
}

.info-section {
  display: flex;
  padding: 0px 50px 50px 50px;
}

.info-image {
  flex: 1;
  background: url(shop_image.webp) no-repeat center center;
  background-size: cover;
  height: 600px;
  max-height: 24em;
  border-radius: 30px;
  margin: 20px;
}

.info-image.treatment-4 {
  background: url(community_pic.webp) no-repeat center center;
  background-size: cover;
}

.info-image.treatment-2 {
  background: url(info-pic-treatment-2.png) no-repeat center center;
  background-size: cover;
}

.info-image.treatment-3 {
  background: url(info-pic-treatment-3.png) no-repeat center center;
  background-size: cover;
}

.info-content {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

.info-text {
  width: 80%;
  max-width: 600px;
  padding: 20px;
}

/* .rounded-search {
  width: 95%;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid black;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: larger;
} */

.rounded-search {
  width: calc(94% - 100px); /* Adjust width to leave space for the button */
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid black;
  border-radius: 10px 0 0 10px; /* Rounded corners on the left side */
  box-sizing: border-box;
  font-size: larger;
  outline: none; /* Optional: Removes the default focus outline */
}

#search-form {
  width: 100%;
  text-align: left;
}

.raised-button {
  padding: 15px 20px;
  /* Increased padding for top and bottom */
  margin: 10px;
  border: none;
  background-color: #e1e1e1;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  /* Positioning context for the arrow */
  text-align: left;
  /* Text aligned to the left */
}

.arrow {
  position: absolute;
  /* Absolute position for the arrow */
  right: 20px;
  /* Position the arrow to the right */
  transition: all 0.3s ease;
}

.raised-button:hover .arrow {
  right: 15px;
  /* Move arrow on hover for a small interactive effect */
}

.raised-button:hover {
  background-color: #d1d1d1;
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.shop-easy {
  font-family: "Inria Sans", sans-serif;
  align-self: flex-start;
  /* Aligns the text with the leftmost side of the container */
  margin-bottom: 8px;
  /* Adjust as needed */
  font-size: 1rem;
  /* Adjust as needed */
  color: gray;
}

.search-bar-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 5%;
}



.search-button {
  padding: 20px 30px; /* Match the height of the input */
  margin-bottom: 20px;
  border: 2px solid black;
  border-left: none; /* Remove the left border where it meets the input */
  border-radius: 0 10px 10px 0; /* Rounded corners on the right side */
  background-color: #4CAF50; /* Example color */
  color: white;
  font-size: larger;
  cursor: pointer;
  margin-left: -10px;
}

.button-group-text-1 {
  color: green;
}

.button-group-text-2 {
  color: blue;
}

.button-group-text-3 {
  color: brown;
}

.join-section {
  text-align: center;
}

.join-button {
  padding: 20px 30px;
  border: none;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  background-color: white;
  cursor: pointer;
  width: 28%;
  margin: 20px;
  font-weight: bold;
  display: inline-block;
  /* To allow width and padding */
  text-decoration: none;
  /* Remove default anchor underline */
  color: white;
  /* Set text color */
  font-size: larger;
  background-image: linear-gradient(to left, rgb(255, 123, 0), rgb(19, 109, 234), rgb(1, 199, 1), rgb(225, 4, 229));
  background-size: 400% 400%;
  animation: colorShift 4s ease infinite;
  border-radius: 4px;
  /* Add rounded corners to the button */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  transition: box-shadow 1s ease;
}

.transition-text-italic {
  font-style: italic;
}

#ticker-element-1 {
  color: #A05C5B;
}

#ticker-element-2 {
  color: #B998BA;
}

#ticker-element-3 {
  color: #4974C9;
}

#ticker-element-4 {
  color: #6FB3DA;
}

#ticker-element-5 {
  color: #139C69;
}

.video-placeholder {
  text-align: center;
  width: 70%;
  height: 600px;
  margin: auto;
}

.contact-form-container {
  text-align: center;
  background-color: whitesmoke;
  width: 70%;
  margin: auto;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.join-button.sign-up {
  width: 60%;
}

.input-row {
  margin-bottom: 20px;
}

#user-email {
  margin-right: 10px;
  /* Space between email input and checkbox */
}

textarea {
  width: 70%;
  /* Make textarea full width of its container */
  box-sizing: border-box;
  /* Include padding and border in the element's total width and height */
}

/* input[type="text"], textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
} */

label {
  display: inline-flex;
  align-items: center;
}

a {
  text-decoration: none;
  font-family: "Inria Sans", sans-serif;
}

.slider-container {
  position: relative;
  overflow: hidden; /* Hide the part of the cards that overflow the container */
  margin: 20px; /* Add margin for spacing around the slider */
}

.slider-wrapper {
  display: flex;
  gap: 10px; /* Spacing between cards */
  width: calc(250px * 5.5); /* Adjust width based on number of cards you want to show (4.5 cards here plus a little extra for the gap) */
  transition: transform 0.3s ease; /* Smooth transition for sliding effect */
}

.brand-slider-container {
  position: relative;
  overflow: hidden; /* Hide the part of the cards that overflow the container */
  margin: 20px; /* Add margin for spacing around the slider */
}

.brand-slider-wrapper {
  display: flex;
  gap: 10px; /* Spacing between cards */
  width: calc(250px * 5.5); /* Adjust width based on number of cards you want to show (4.5 cards here plus a little extra for the gap) */
  transition: transform 0.3s ease; /* Smooth transition for sliding effect */
}

.product-card {
  width: 250px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 16px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  background-color: white;
  flex: 0 0 auto;
}

.brand-card {
  width: 250px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 16px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  background-color: white;
  flex: 0 0 auto;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: #ff3b30;
  color: white;
  border-radius: 50%;
  padding: 8px;
  font-size: 16px;
  font-weight: bold;
}

.heart {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: url('heart-24.png') no-repeat center center;
  background-size: contain;
  cursor: pointer;
}

.product-image {
  max-width: 100%;
  height: 10em;
  margin-top: 16px;
}

.product-info {
  margin-top: 16px;
}

.product-brand {
  color: #333;
  font-size: 18px;
  font-weight: bold;
}

.product-name {
  color: #555;
  font-size: 16px;
  margin: 8px 0;
}

.brand-image {
  max-width: 100%;
  height: 10em;
  margin-top: 16px;
}

.brand-info {
  margin-top: 16px;
}

.product-brand {
  color: #333;
  font-size: 18px;
  font-weight: bold;
}

.brand-name {
  color: #555;
  font-size: 16px;
  margin: 8px 0;
}

.product-pricing {
  margin-top: 8px;
}

.original-price {
  color: #999;
  font-size: 14px;
  text-decoration: line-through;
  margin-right: 8px;
}

.sale-price {
  color: #ff3b30;
  font-size: 18px;
  font-weight: bold;
}

.slider-arrow {
  position: absolute;
  top: 50%; /* Center vertically */
  right: 10px; /* Spacing from the right edge */
  transform: translateY(-50%); /* Center the arrow with respect to its height */
  background: #ffffff; /* Background color */
  border: none; /* Remove border */
  border-radius: 50%; /* Make it round */
  width: 30px; /* Width of the arrow button */
  height: 30px; /* Height of the arrow button */
  cursor: pointer; /* Change cursor to pointer */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Shadow for the button */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px; /* Size of the arrow text */
  color: #333; /* Arrow color */
  z-index: 10; /* Ensure it's above the product cards */
}

/* Example hover effect for arrow button */
.slider-arrow:hover {
  background-color: #e1e1e1;
}

/* Ensure the slider wrapper is large enough to contain the product cards */
.slider-wrapper {
  width: 100%;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
}
.brand-slider-arrow {
  position: absolute;
  top: 50%; /* Center vertically */
  right: 10px; /* Spacing from the right edge */
  transform: translateY(-50%); /* Center the arrow with respect to its height */
  background: #ffffff; /* Background color */
  border: none; /* Remove border */
  border-radius: 50%; /* Make it round */
  width: 30px; /* Width of the arrow button */
  height: 30px; /* Height of the arrow button */
  cursor: pointer; /* Change cursor to pointer */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Shadow for the button */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px; /* Size of the arrow text */
  color: #333; /* Arrow color */
  z-index: 10; /* Ensure it's above the product cards */
}

/* Example hover effect for arrow button */
.brand-slider-arrow:hover {
  background-color: #e1e1e1;
}

/* Ensure the slider wrapper is large enough to contain the product cards */
.brand-slider-wrapper {
  width: 100%;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
}
/* Scroll snapping for each product card */
.product-card {
  scroll-snap-align: start;
}

/* Hide the scrollbar */
.slider-container::-webkit-scrollbar {
  display: none;
}

.slider-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide the scrollbar */
.brand-slider-container::-webkit-scrollbar {
  display: none;
}

.brand-slider-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.slider-text {
  margin: 20px;
}





/* button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
} */
/* Mobile Styles */
@media (max-width: 768px) {

  /* Adjust the flex-direction for the info-section on mobile */
  .info-section {
    flex-direction: column;
  }

  /* Make the info-image full width on mobile */
  .info-image {
    width: 100%;
    height: 10em;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    display: block;
    flex: auto;
    margin-left: 0px;
  }


  /* Corrected the button margin for when they stack on smaller screens */
  .button-group button {
    margin: 10px 0;
    /* Add 10px space between buttons when stacked */
    width: auto;
    /* Allow the buttons to fit content width */
  }

  .button-group a {
    margin: 10px 0;
    /* Add 10px space between buttons when stacked */
    width: auto;
    /* Allow the buttons to fit content width */
    display: block;
  }

  .search-bar-container {
    margin-left: 0;
    /* Align search bar properly on mobile */
    width: 90%;
    /* Adjust width of search bar container to have some padding */
    margin: 0 auto;
    /* Center the search bar container */
  }

  .ticker-wrapper {
    max-width: 80%;
  }

  /* Adjust hero section text alignment and margin on mobile */
  .hero-section h1 {
    text-align: center;
    margin-left: 0;
  }

  /* Stack the logo and style button on top of each other */
  .top-bar {
    flex-direction: row;
    /* Ensure elements are side by side */
    justify-content: space-between;
    /* Logo on the left, button on the right */
    align-items: center;
    /* Vertically center the items in the bar */
  }

  .logo,
  .style-button {
    flex-basis: auto;
    /* Adjust the width automatically */
    margin: 0;
    /* Remove any specific margins if set */
  }

  /* Adjust the width of the join button to fit the screen */
  .join-button {
    width: auto;
  }

  /* Fix the ticker width to match the new container size */
  .ticker-wrapper {
    width: 100%;
    /* Set the ticker width to 100% of the viewport */
  }

  /* Adjust the video placeholder size */
  .video-placeholder {
    width: 100%;
    /* Full width on mobile */
    height: auto;
    /* Adjust height accordingly */
  }
  .slider-wrapper {
    /* Show 2.5 cards on mobile */
    width: calc(250px * 2.5 + 10px * 2); /* 250px is the assumed width of each card plus 10px gap */
}

.brand-slider-wrapper {
  /* Show 2.5 cards on mobile */
  width: calc(250px * 2.5 + 10px * 2); /* 250px is the assumed width of each card plus 10px gap */
}

/* Adjustments for the arrow button if needed */
  .slider-arrow {
      /* You can adjust the size, position, etc., of the arrow button here for mobile */
  }
  .brand-slider-arrow {
    /* You can adjust the size, position, etc., of the arrow button here for mobile */
}
}

.contact-form-container {
  max-width: 800px;
  /* Adjust based on your preference */
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  /* Flat design often uses simple colors */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  /* subtle shadow for flat design */
}

#sign-up-container {
    box-shadow: none;
}

/* Input Row Styles */
.input-row {
  margin-bottom: 15px;
  display: flex;
  /* flex-direction: column; Stack inputs vertically on mobile */
}

/* For Desktop, arrange Name and Email inputs in a row */
@media (min-width: 768px) {

  /* Adjust the breakpoint as needed */
  .input-row.desktop-inline {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .input-row.desktop-inline input[type="text"],
  .input-row.desktop-inline input[type="email"] {
    width: 48%;
    /* Use less than 50% to account for margins/gaps */
  }
  .modal-content {
    width: 90%; /* Adapt to mobile screens */
  }
}

/* Input Styles */
input[name="userEmail"],
input[name="userName"],
input[type="email"],
textarea {
  border: 1px solid #ccc;
  /* Flat border */
  padding: 10px;
  border-radius: 0;
  /* Flat design often has no border radius */
  font-size: 1rem;
  width: 100%;
  /* Full width on mobile */
}

/* Interview Checkbox Wrapper Styles */
.interview-checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Align checkbox to the left */
  margin-top: 15px;
  /* Space from the inputs above */
}

/* Checkbox Styles */
.interview-checkbox-wrapper input[type="checkbox"] {
  margin-right: 10px;
  /* Space between checkbox and its label */
}

/* Label Styles */
.interview-checkbox-wrapper label {
  margin: 0;
  /* Remove default margin */
}

/* Textarea Styles */
textarea {
  height: 120px;
  /* Set a fixed height */
  resize: vertical;
  /* Allow vertical resizing only */
}

#submit-btn {
  margin: auto;
}

.toast {
  visibility: hidden;
  /* Hidden by default */
  min-width: 250px;
  margin-left: -125px;
  /* Negative half of the width to center it */
  background-color: #4CAF50;
  color: #ffffff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  /* Center horizontally */
  bottom: -100px;
  /* Start off screen */
  font-size: 17px;
  transition: all 0.5s ease;
  /* Smooth transition for sliding in/out */
}

/* Toast message animation */
.toast.show {
  visibility: visible;
  bottom: 30px;
  /* Position where the toast will slide up to */
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 100px; /* Location of the box */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px; /* Maximum width of the modal */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  position: relative;
}

/* The Close Button */
.close-button {
  color: #aaa;
  float: left;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Submit Button Styles */