@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat/static/Montserrat-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Ubuntu Sans";
  src: url("./fonts/Ubuntu_Sans/static/UbuntuSans-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Questrial";
  src: url("./fonts/Questrial-Regular.ttf") format("truetype");
}

:root {
  --background-color: black;
  --font-family-1: "Questrial", sans-serif;
  --font-family-2: "Montserrat", sans-serif;
  --font-family-3: "Ubuntu Sans", sans-serif;

  --hero-heading-font: 6rem;
  --hero-line-height: 90px;
  --hero-letter-spacing: -7px;

  --heading-color: rgb(129, 129, 129);
  --heading-font-size: 4.5rem;
  --heading-font-weight: 100;
  --heading-letter-spacing: -3px;
  --heading-line-height: 70px;

  --para-font-color: #7c7c7c;
  --para-font-size: 1.2rem;
  --para-letter-spacing: 0.3px;
  --para-line-height: 20px;

  --joke-para-color: #414040;
}
section {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-family-3);
}

/* ============================== styling starts below ============================= */
.a-links a {
  color: #1f1f1f;
}

.a-links .inside-a-link::before {
  background-color: #ffffff;
}

.a-links .inside-a-link.scrolled::before {
  background-color: #f88c18; /* New color for ::before */
}

.roll-btn {
  color: #1f1f1f;
}

.logo a img {
  filter: invert(90%);
}

.but-container {
  border: 2px solid #1f1f1f;
}

.nav-buttons .but-container .no-back {
  border: 2px solid #1f1f1f;
}

/* Styles when scrolled past 100vh */
.scrolled .a-links a {
  color: #8d8d8d;
}

.scrolled .inside-a-link::before {
  background-color: #f88c18;
}

.scrolled .no-back,
.scrolled .lang-btn {
  color: #8d8d8d;
}
.scrolled .primary-btn {
  color: rgb(19, 19, 19);
}

.scrolled .logo a img {
  filter: invert(0%) brightness(50%);
  transition: all 0.9s ease;
}

.scrolled .logo a img:hover {
  filter: brightness(100%);
}

.scrolled .but-container,
.scrolled .nav-buttons .but-container .no-back {
  border: 2px solid #515151;
}

.menu-btn-icon {
  filter: contrast(4%);
}

/* ========================= SECTION 1 STYLE ============================= */
.refer-sec-1 {
  position: relative;
}

.refer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  background: radial-gradient(circle,rgb(240, 240, 240) 0%, rgba(255, 255, 255, 1) 52%);
}

.image-blend-text {
  font-size: 13px;
  line-height: 0.9;
  background: url(https://media.giphy.com/media/41x8G9RQjdKSKbO7it/giphy.webp) no-repeat;
  background-size: cover;
  background-position: center;
  background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  font-weight: 500;
  mix-blend-mode: darken;
  opacity: 0.2;
}


.sec-1-body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  z-index: 5;
  /* align-items: center; */
}

.sec-1-body-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.sec-1-heading {
  width: 80%;
}

.sec-1-heading h1 {
  margin-top: 200px;
  color: #5c5c5c;
  font-family: var(--font-family-3);
  font-weight: 400;
  font-size: var(--hero-heading-font);
  line-height: var(--hero-line-height);
  letter-spacing: var(--hero-letter-spacing);
}

.sec-1-heading p {
  margin-top: 40px;
  font-family: var(--font-family-3);
  font-size: 1.3rem;
  font-weight: 400;
  color: #575757;
  line-height: 1;
  width: 60%;
}

.sec-1-gif {
  position: absolute;
  right: 15%;
  z-index: 0;
  top: 30%;
  display: none;
}

.sec-1-gif {
  mix-blend-mode: luminosity;
  z-index: -5;
}

.sec-1-gif img {
  width: 100%;
  border-radius: 100%;
  filter: grayscale(100%);
  opacity: 0.4;
}

.sec-1-btn-link {
  /* border: 1px solid yellow; */
  width: 100%;
  height: 100px;
  margin-top: 60px;
}

.sec-1-btn-link a {
  text-decoration: none;
  font-family: var(--font-family-3);
  font-size: 1rem;
  color: var(--heading-color);
  border-radius: 100px;
  padding: 10px 30px;
  border: 2px solid var(--para-font-color);
  transition: border 0.2s ease, color 0.2s ease;
}

.sec-1-btn-link a:hover {
  border: 2px solid #747373;
  color: #969595;
}

/* ========================================= SECTION 2 STYLING ========================== */
.refer-sec-2 {
    margin-top: 5rem;
}

.sec-2-body {
  width: 95%;
  height: 95vh;
  display: flex;
  border-radius: 50px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(45deg, #343538, #1a1b1d);
}

.second-body-wrapper {
  width: 98%;
  height: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-left: 50px;
  border: 1px solid #1a1919;
  border-radius: 30px;
}

.sec-2-heading h2 {
  font-size: var(--heading-font-size);
  color: var(--heading-color);
  letter-spacing: var(--heading-letter-spacing);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
  margin-bottom: 50px;
  text-align: center;
}

.slider-container {
  border: 1px solid #71717165;
  padding: 0 50px 30px 50px;
  border-radius: 70px;
  width: 90%;
  max-width: 1000px;
  height: 400px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.slider-label p {
  font-size: 1.5rem;
  text-align: left;
  padding-left: 50px;
  color: var(--para-font-color);
}
.slider-track {
  width: 100%;
  height: 13px;
  background: #343434;
  border-radius: 50px;
  position: relative;
  margin-top: 25px;
  margin-bottom: 15px;
}
.slider-thumb {
  width: 30px;
  height: 30px;
  border: 2px solid #717171;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  cursor: grab;
  box-sizing: border-box;
  transition: left 0.1s ease-out;
}


.slider-ticks {
  display: flex;
  justify-content: space-between;
  /* margin: 0 25px 0; */
}
.slider-ticks span {
  font-size: 1.2rem;
  color: var(--para-font-color);
  position: relative;
}

.refer-row-3 {
  display: flex;
  width: 65%;
  justify-content: space-between;
  align-items: center;
}

.percentage,
.container-but {
  margin-top: 50px;
}

.container-but {
  margin-left: 20px;
}

.percentage p {
  width: 250px;
  color: #5e5e5e;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: -2px;
  line-height: 22px;
}

.result {
  margin-top: 20px;
  font-size: 4rem;
  font-weight: bold;
  color: #858585;
  letter-spacing: -5px;
  text-align: center;
}

.circular-button-black {
  font-family: var(--font-family-1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  border: 2px solid #5e5e5e;
  overflow: hidden;
  font-weight: bold;
  transition: transform 0.2s ease-out, color 0.3s ease-out;
}

.circular-button-black .black-btn {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.black-btn .button-text {
  position: absolute;
  transition: transform 0.1s ease-out, color 0.3s ease-out;
  text-align: center;
  font-weight: 100;
  font-size: 12px;
  color: #717171;
  z-index: 2;
}

/* Hover effect - sliding white background */
.circular-button-black::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: rgb(226, 225, 225); */
  top: -100%;
  left: 0;
  transition: top 0.3s ease-out;
  z-index: 1;
  border-radius: 50%;
}

.circular-button-black:hover::before {
  top: 0;
}

.circular-button-black:hover .black-btn .button-text {
  color: #dadada; /* Text turns black on hover */
}


/* ------------------------------------ RESPONSIVENESS ------------------ */
/* Medium Desktops (up to 1400px) */
@media (min-width: 1367px) and (max-width: 1440px) {
  .sec-1-heading h1 {
    margin-top: 15%;
    font-size: 4.5rem;
    letter-spacing: -3px;
    line-height: 0.8;
  }

  .sec-1-heading p {
    width: 90%;
    font-weight: 0.9rem;
    line-height: 0.9;
  }

  .image-blend-text {
    font-size: 0.7rem;
    line-height: 0.75;
  }
  .sec-2-heading h2{
    font-size: 3rem;
    margin-top: 5%;
    line-height: 1;
  }

  .refer-sec-2 {
    height: 120vh;
  }

  .sec-2-body {
    height: 105vh;
  }

  .container-but {
    margin-top: 10px;
  }

  .percentage {
    position: relative;
    bottom: 30px;
  }

  .percentage p {
    font-size: 1rem;
    letter-spacing: normal;
  }

  .result {
    font-size: 3rem;
  }

  .second-body-wrapper {
    padding-left: 0;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Standard Laptops (up to 1366px) */
@media screen and (max-width: 1366px) {
  .sec-1-heading h1 {
    margin-top: 10%;
    font-size: 4rem;
    letter-spacing: -3px;
    line-height: 0.8;
  }

  .sec-1-heading p {
    width: 90%;
    font-weight: 0.9rem;
    line-height: 0.9;
  }

  .image-blend-text {
    font-size: 0.7rem;
    line-height: 0.6;
  }

  .sec-2-heading h2{
    font-size: 3rem;
    margin-top: 5%;
    line-height: 1;
  }

  .refer-sec-2 {
    height: 120vh;
  }

  .sec-2-body {
    height: 110vh;
  }

  .container-but {
    margin-top: 10px;
  }

  .percentage {
    position: relative;
    bottom: 30px;
  }

  .percentage p {
    font-size: 1rem;
    letter-spacing: normal;
  }

  .result {
    font-size: 3rem;
  }

  .second-body-wrapper {
    padding-left: 0;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Small Laptops & Large Tablets (up to 1000px) */
@media (max-width: 1024px) {
  .sec-1-heading h1 {
    margin-top: 20%;
    font-size: 3rem;
    letter-spacing: -3px;
    line-height: 0.8;
  }

  .sec-2-heading h2{
    font-size: 2.2rem;
    margin-top: 5%;
    line-height: 1;
  }

  .sec-1-heading p {
    width: 90%;
    font-size: 1rem;
    font-weight: 0.3rem ;
    line-height: 0.9;
  }

  .image-blend-text {
    font-size: 0.65rem;
    line-height: 0.5;
  }

  .circular-button-black {
    width: 100px;
    height: 100px;
  }

  .black-btn .button-text {
    font-size: 0.6rem;
  }

  .slider-label p {
    font-size: 1.08rem;
  }

  .slider-ticks span {
    font-size: 0.9rem;
  }

  .second-row {
    width: 100%;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Tablets (up to 786px) */
@media (max-width: 786px) {
    .sec-1-heading h1 {
    margin-top: 20%;
    font-size: 3rem;
    letter-spacing: -3px;
    line-height: 0.8;
  }
  .sec-2-heading h2{
    font-size: 2rem;
    margin-top: 5%;
    line-height: 1;
    letter-spacing: -2px;
  }

  .image-blend-text {
    font-size: 0.57rem;
    line-height: 0.5;
  }
  
  .image-blend-text {
    font-size: 0.52rem;
    line-height: 0.5;
  }
}



@media screen and (max-width: 760px) {

}