@font-face {
  font-family: lato-regular;
  src: url("/Lato-Regular.ttf");
}
/*
@font-face {
  font-family: "Good Times"; 
  src: url('/Good-Times-Rg.otf');
}
*/
.menu-currency-wrap {
  margin-bottom: 20px;
}
.menu-language-wrap {
  margin-bottom: 20px;
}
.list-inline-item {
  margin-bottom: 20px;
}

a {
  color: black !important;
}
.gm-text {
  color: black !important;
}
.gm-target {
  color: black !important;
}
body {
  font-family: "lato-regular";
  font-weight: 100;
  font-size: 18px;
  color: #000;
  margin: 0;
  padding: 0;
}

#header {
  background: #e2d3b4 !important;
}
.gm-menu-installed .gm-menu.gm-menu-111690 .gm-item.gm-level-0 > .gm-target {
  background: #e2d3b4 !important;
}

.header-wrapper {
  padding: 40px;
}

.navbar {
  padding: 0;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 10px;
}

.nav-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #f8f9fa;
}

.logo img {
  max-width: 310px;
}

.user-actions {
  display: flex;
  align-items: center;
}

.user-icon,
.cart-icon {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

.cart-icon .cart-count {
  background-color: red;
  border-radius: 50%;
  padding: 2px 6px;
  margin-left: 5px;
  color: white;
}

.main-content {
  text-align: center;
  padding: 24px 24px;
}

.main-content h2 {
  font-size: 3.4rem;
  color: #5f3268;
  margin-bottom: 20px;
}

.main-content p {
  font-size: 1.8rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto 40px;
}

form {
  max-width: 720px;
  overflow-y: auto;
  margin: 0 auto;
  text-align: left;
}

form label {
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: left;
  font-size: 25px;
}

form label .checkbox {
  margin: 20px;
}

label input {
  margin: 10px;
}

form input,
form select,
form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input:focus,
textarea:focus,
select:focus {
  scroll-margin-top: 50%; /* Adjust this value to center it vertically */
  outline: none; /* Optional, to remove the default focus outline */
}

form button {
  background-color: #5f3268;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  border: none;
}

.footer {
  background-color: #f4f4f4;
  padding: 20px;
}

.footer .quick-links,
.footer .product,
.footer .support,
.footer .user-policy,
.footer .contact {
  display: inline-block;
  width: 20%;
  vertical-align: top;
  padding: 0 10px;
  box-sizing: border-box;
}

.footer h3 {
  color: #5f3268;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer p,
.footer a {
  color: #333;
  font-size: 1rem;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  color: #5f3268;
  margin: 0 10px;
  font-size: 1.5rem;
}
.product-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

a.product:hover {
  text-decoration: none;
}

.product {
  display: flex;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.product-image {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.product-image img {
  max-width: 100%;
  border-radius: 10px;
}

.product-info {
  flex: 2;
  padding: 20px 40px;
  font-size: 24px;
}

.product-info h2 {
  font-size: 2.4rem;
  color: #5f3268;
  margin: 0 0 10px;
}

.product-info h3 {
  font-size: 1.2rem;
  color: #8f7096;
  margin: 0 0 20px;
}

.product-info p {
  font-size: 1.8rem;
  color: #555;
  margin: 0 0 20px;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #5f3268;
}

.product-price button {
  background: linear-gradient(45deg, #ad48bb, #f5a8bd);
  border: none;
  border-radius: 20px;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.product-price button:hover {
  background: linear-gradient(45deg, #f5a8bd, #ad48bb);
}

.coming-soon {
  background: linear-gradient(45deg, #d9a6b5, #f8e3e7);
  color: #5f3268;
}

/* General Styles */
.recommendation-container {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.recommendation-container h3 {
  font-size: 2.4rem;
  color: #5f3268;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 2px solid #ad48bb;
  padding-bottom: 10px;
}

.weather-info,
.skin-info,
.product-recommendations,
.avoid-info,
.supplements-info {
  margin-bottom: 30px;
}

.weather-info p,
.skin-info p,
.product-item p,
.avoid-info p,
.supplements-info p {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 10px;
}

.weather-info span.high,
.skin-info span.normal,
.product-recommendations span.cleanser,
.product-recommendations span.moisturiser,
.product-recommendations span.sunscreen,
.product-recommendations span.night-treatment,
.avoid-info span.avoid,
.supplements-info span.supplements {
  font-weight: bold;
  color: #5f3268;
}

.weather-info span.low,
.skin-info span.redness,
.skin-info span.acne {
  font-weight: bold;
  color: #ad48bb;
}

.weather-info span.low,
.skin-info span.redness,
.skin-info span.acne {
  color: #ad48bb;
}

.recommendation-container h3 {
  font-size: 1.6rem;
  color: #ad48bb;
  margin-bottom: 10px;
}

.skin-info p span.normal {
  color: #32cd32;
}

.avoid-info span.avoid {
  font-weight: bold;
}

.supplements-info span.supplements {
  font-weight: bold;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #333;
}

.step {
  display: inline-block;
  margin: 0 10px;
  padding: 5px 10px;
  border-radius: 50%;
  background-color: #fff;
  color: #6a1b9a;
  font-weight: bold;
  transition: background-color 0.3s;
}

.line {
  width: 40px;
  height: 2px;
  background-color: #e0e0e0;
  margin: 0 10px;
}

.step.active {
  background-color: #6a1b9a;
  color: #fff;
}

/* Checkbox Container */
.checkbox-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

/* Checkbox Label */
.checkbox-container label {
  display: flex;
  align-items: center;
  padding: 10px 35px;
  margin: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

/* Checkbox Input */
.checkbox-container input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #6a1b9a;
  border-radius: 3px;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
}

/* Checkbox Checked State */
.checkbox-container input[type="checkbox"]:checked {
  background-color: #6a1b9a;
  border-color: #6a1b9a;
}

.checkbox-container input[type="checkbox"]:checked::after {
  content: "✔";
  color: white;
  position: absolute;
  top: 0;
  left: 4px;
  font-size: 14px;
}

/* Hover Effect */
.checkbox-container label:hover {
  background-color: #f0f0f0;
  border-color: #6a1b9a;
}

#focus-up,
#focus-down {
  position: fixed;
  bottom: -200px;
  background-color: #5a2d82;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  width: 40px;
}

#focus-up {
  right: 70px;
}

#focus-down {
  right: 20px;
}

/* Recommendations Page Styles */
.recommendations-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.recommendations-header {
  text-align: center;
  margin-bottom: 40px;
}

.recommendations-header h2 {
  font-size: 3.4rem;
  color: #5f3268;
}

.recommendations-header p {
  font-size: 1.8rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto 20px;
}

.journey-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.journey-preview p {
  margin: 0 10px;
  font-weight: bold;
}

.product-recommendations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.main-content {
  margin-top: 15rem;
}

/* Add this media query for mobile view */
@media (max-width: 768px) {
  .main-content {
    margin-top: 5rem;
  }

  .product-recommendations {
    grid-template-columns: 1fr; /* Change to one column for mobile */
  }
}

.product-item {
  background-size: 115% 115%;
  background-position: center;
  background-color: transparent;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  text-align: center;
  color: #333; /* Adjust text color for readability */
  height: 550px;

  @media (max-width: 768px) {
    height: 440px;
  }
}

.product-item h4 {
  margin-bottom: 10px;
  font-size: 1.5em;
  font-weight: bold;
  color: #333; /* Ensure text is readable */
}

.product-item p {
  margin-bottom: 20px;
  font-size: 1em;
  color: #555; /* Ensure text is readable */
}

.product-item span {
  display: block;
  font-weight: bold;
  color: #333; /* Ensure text is readable */
}

/*
.product-item:nth-child(1) {
  background-image: url('/cleanser-s.jpg');
}

.product-item:nth-child(3) {
  background-image: url('/sunscreen-s.jpg');
}

.product-item:nth-child(2) {
  background-image: url('/moist-s.jpg');
}

.product-item:nth-child(4) {
  background-image: url('/night-s.jpg');  
}
*/

.night-treatment-bg {
  background-image: url("/night-s.jpg"); /* Placeholder */
}

.sunscreen-bg {
  background-image: url("/sunscreen-s.jpg"); /* Placeholder */
}

.moisturiser-bg {
  background-image: url("/moist-s.jpg"); /* Placeholder */
}

.cleanser-bg {
  background-image: url("/cleanser-s.jpg"); /* Placeholder */
}

.avoid-info,
.supplements-info {
  margin-top: 40px;
  text-align: left;
}

.avoid-info p,
.supplements-info p {
  font-weight: bold;
  margin-bottom: 10px;
}

.avoid-info span,
.supplements-info span {
  display: block;
}

.recommendation-row {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.recommendation-row h3,
.recommendation-row .supplements-info {
  flex: 1;
  margin-right: 20px;
}

.recommendation-row h3:last-child,
.recommendation-row .supplements-info:last-child {
  margin-right: 0;
}

.avoid-info,
.supplements-info {
  flex: 1;
  margin: 0 10px;
  background-size: 115% 135%;
  background-position: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333;
  align-content: center;
  height: 180px;
}

.avoid-info {
  background-image: url("/ingd.png"); /* Update with the correct path */
}

.supplements-info {
  background-image: url("/suppliments.png"); /* Update with the correct path */
}

.avoid-info span,
.supplements-info span {
  font-weight: bold;
  color: #333;
}

.additional {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for mobile view */
  justify-content: space-between; /* Space between the cards */
}

.card {
  flex: 1; /* Allow cards to grow equally */
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .additional {
    flex-direction: column; /* Stack cards vertically */
  }

  .card {
    margin: 10px 0; /* Adjust margin for vertical stacking */
  }
}

/* Loader Styles */
.loader-container {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: center;
  align-items: center;
  height: 100vh; /* Center vertically */
}

.loader-bar {
  width: 80%;
  height: 10px;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px; /* Space between bar and text */
}

.loader-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: #5f3268;
  animation: loading-bar 5s linear infinite;
}

.loader-text {
  font-size: 16px;
  color: #5f3268;
  text-align: center;
}

@keyframes loading-bar {
  0% {
    width: 0;
  }
  50% {
    width: 50%;
  }
  100% {
    width: 100%;
  }
}

/* Hide loader and show content */
.hidden {
  display: none;
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .cont {
    flex-direction: column;
    align-items: flex-start;
  }

  video,
  #captured-image {
    margin-left: 0;
    margin-bottom: 20px;
  }
}

/* Add this media query for mobile view */
@media (max-width: 768px) {
  .col-lg-4.text-right {
    display: none;
  }

  /* Adjust form and content for mobile view */
  .main-content {
    padding: 12px; /* Reduce padding for mobile */
  }

  .main-content h2 {
    font-size: 2.4rem; /* Reduce font size for mobile */
  }

  .main-content p {
    font-size: 1.2rem; /* Reduce font size for mobile */
  }

  form {
    max-width: 100%; /* Use full width for mobile */
    overflow-y: auto;
    margin: 0 auto;
    text-align: center; /* Center text for mobile */
  }

  form label {
    margin-top: 20px; /* Adjust margin for mobile */
    margin-bottom: 20px; /* Adjust margin for mobile */
    font-size: 18px; /* Reduce font size for mobile */
  }

  form input,
  form select,
  form button {
    width: 90%; /* Reduce width for mobile */
    padding: 8px; /* Adjust padding for mobile */
    margin-bottom: 20px; /* Adjust margin for mobile */
  }

  .step-indicator {
    font-size: 1.5rem; /* Reduce font size for mobile */
    margin-bottom: 10px; /* Adjust margin for mobile */
  }

  .step {
    padding: 3px 6px; /* Adjust padding for mobile */
  }
}

/* Add this media query for mobile view */
@media (max-width: 768px) {
  .form-step {
    display: none; /* Hide all steps by default */
    text-align: center;
    padding: 20px;
    height: 100vh; /* Full height to center content */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .form-step.active {
    display: flex; /* Show only the active step */
  }

  .form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
}

button#download-pdf {
  background: linear-gradient(45deg, #ad48bb, #f5a8bd);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

button#download-pdf:hover {
  background: linear-gradient(45deg, #f5a8bd, #ad48bb);
}

button#buy-now {
  background: linear-gradient(45deg, #ad48bb, #f5a8bd);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile menu styles */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .close-mobile-menu {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: #5f3268;
  color: white;
  cursor: pointer;
  margin-left: -20px;
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
}
