@import url("https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Jost:ital,wght@0,100..900;1,100..900&family=Kodchasan:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Lexend:wght@100..900&family=Manrope:wght@200..800&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

* {
  font-family: "Instrument Sans", sans-serif;
  box-sizing: border-box;
}

input[type="checkbox"] {
  accent-color: orange; /* Chrome, Edge, Firefox me kaam karta hai */
}

.custom-checkbox {
  position: relative;
  display: block;
  padding-left: 24px;
  cursor: pointer;
  user-select: none;
}

/* Hide default checkbox */
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom checkbox background */
.custom-checkbox span {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: #ffe1ed; 
  border-radius: 4px;
}

/* Checked state background */
.custom-checkbox input:checked ~ span {
  background-color: #ff71a8; 
}

/* Checkmark */
.custom-checkbox span:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ span:after {
  display: block;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Range input style */
input[type="range"] {
  -webkit-appearance: none; /* Chrome/Safari */
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(
    to right,
    #ff69b4 0%,
    #ff69b4 33%,
    #eee 33%,
    #eee 100%
  ); /* initial fill 33% */
  outline: none;
  transition: background 0.3s;
}

/* Chrome/Safari */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: white;
  border: 2px solid #ff69b4;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -1.2px; /* center thumb on track */
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid #ff69b4;
  border-radius: 50%;
  cursor: pointer;
}

/* Labels */
.labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-family: sans-serif;
}

.activeImage {
  position: relative;
}

.activeImage::before {
  background-color: #ff69b4;
  height: 5px;
  border-radius: 12px;
  width: 70%;
  content: "";
  bottom: -15px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.activeColor {
  position: relative;
}

.activeColor::before {
  background-color: #ff69b4;
  height: 3px;
  border-radius: 12px;
  width: 65%;
  content: "";
  bottom: -10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f8eff3;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: #fbfbfb;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #ffddea;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ffddea;
}

input:checked + .slider::before {
  background-color: #ff71a8;
}

input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.nextStep {
  position: relative;
}

.nextStep::after {
  content: "";
  position: absolute;
  top: 38%;
  right: -50%;
  height: 1px;
  z-index: -99;
  width: 100%;
  border: 1px dashed #ff71a8;
}

@keyframes smoothSlideDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slideDown {
  animation: smoothSlideDown 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  /* ↑ custom easing for smooth flow */
}

.activeLink {
  position: relative;
  color: #ff69b4;
  font-weight: 600;
}

.activeLink::before {
  height: 2px;
  width: 100%;
  background-color: #ff69b4;
  position: absolute;
  position: absolute;
  bottom: -6px;
  left: 0;
  content: "";
}


/* footer  */

.footer-link {
    color: #4b5563;
    /* Gray-600 */
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
  }

  .footer-link:hover {
    color: #FF71A8;
    transform: translateX(5px);
    /* Chota sa push effect */
  }

  /* Optional: Halka sa dot aage lane ke liye hover par */
  .footer-link::before {
    content: '•';
    position: absolute;
    left: -12px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #FF71A8;
  }

  .footer-link:hover::before {
    opacity: 1;
  }