@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: #000;
}

body {
  font-family: "Roboto", "Open Sans", sans-serif !important;
}

.container {
  height: 100%;
  overflow-y: scroll;
  /* We'll disable this in JavaScript */
  scroll-snap-type: y mandatory;
  /* Remove these as we'll handle scrolling with JS */
  /*scroll-behavior: smooth;
    transition: scroll 0.5s ease-in-out;*/
}

.container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.container::-webkit-scrollbar {
  display: none;
}

section {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: start;
  padding: 2rem;
  position: relative;
  overflow: hidden; /* Add this line to hide overflowing content */
}

h1 {
  color: #ff6400 !important;
  font-size: 4.375rem;
  font-weight: bold !important;
  background: #ffb300;
  background: -webkit-linear-gradient(
    90deg,
    rgba(255, 179, 0, 1) 30%,
    rgba(255, 100, 0, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.download-sub {
  color: #dad7d7;
  font-size: 3.125rem;
  font-weight: 600 !important;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0.8;
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
  font-family: sans-serif;
  font-weight: 500;
}

img {
  width: 100%;
  height: auto;
}

.section1,
.section2,
.section3 {
  background-color: #000;
  background-size: 100% !important;
}

.section1 {
  background: url("../en/assets/bg1.jpg");
  background-repeat: no-repeat;
}
.section2 {
  background: url("../en/assets/bg2.jpg");
  background-repeat: no-repeat;
}
.section3 {
  background: url("../en/assets/bg3.jpg");
  background-repeat: no-repeat;
}

.section-inner {
  display: flex;
  width: 100%;
  max-width: 75rem;
  justify-content: end;
  text-align: left;
}
.section-inner2 {
  display: flex;
  width: 100%;
  max-width: 75rem;
  justify-content: start;
  text-align: left;
}
.section-inner3 {
  display: flex;
  width: 100%;
  max-width: 75rem;
  justify-content: end;
  text-align: left;
}
.section-inner2 > div,
.section-inner3 > div {
  width: 60%;
}
.section1-img {
  position: absolute;
  width: 90%;
  bottom: 0;
  left: 0;
}

.download-title {
  margin: 2rem 0;
  color: #e7e4e4;
}

.download-title h2 {
  font-size: 1.65rem;
  font-weight: normal;
  text-align: left;
  padding-top: 10px !important;
}

.download-title h1 {
  font-size: 4.375rem;
  font-weight: normal;
  padding: 0 0 0.125rem 0;
  color: #ffffff;
  text-transform: capitalize !important;
}

.download-info {
  width: 50%;
}

.download-info > p:nth-of-type(2) {
  margin-top: 0.9375rem;
}

.download-info > p {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: lighter;
  letter-spacing: 0.0625rem;
  line-height: 1.875rem;
  text-align: left;
}

.download-info > p:nth-of-type(3) {
  margin: 0.3rem 0;
}

.help-btn {
  font-size: 1rem;
  font-weight: 400;
  line-height: 20px;
  font-family: "Helvetica", sans-serif;
  letter-spacing: normal;
  cursor: pointer;
}

.download-container {
  display: inline-flex;
  margin: 0.625rem 0;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 4.375rem;
}

.download-btn {
  display: block;
  width: 17.25rem;
  height: 4.8125rem;
  margin-right: 1.25rem;
  margin-top: 1.25rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: #000000;
  font-size: 1.6875rem;
  font-weight: normal;
  line-height: 4.375rem;
  text-align: start;
  text-transform: uppercase;
  cursor: pointer;
}

/*Section 2 styling */
.section2 {
  overflow: hidden;
}

.section2-title {
  margin: 2.5rem 0;
  text-align: start;
}

.section2-title h3 {
  color: #fce35a;
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 15px;
  padding: 0.5rem 0;
  letter-spacing: 0.3rem;
}

.section2-title h4 {
  color: #e7e4e4;
  font-size: 1.95rem;
  font-weight: lighter;
  line-height: 1.2em;
  padding: 0.2rem 0;
  position: relative;
  letter-spacing: 0.0625rem;
}

.section-games {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  width: 100%;
}

.image-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.title {
  position: absolute;
  top: 26%;
  left: 5%;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  z-index: 2;
  /* width: 80%; */
  text-align: left;
}

.title p {
  color: #fce35a;
  font-size: 2.375rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.title span {
  color: #e7e4e4;
  font-size: 1.5rem;
  font-weight: lighter;
  line-height: 2rem;
  display: block;
  width: 100%;
}

.show-m {
  display: none;
}
.icon-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-transform: uppercase;
  gap: 10px 0;
}
.icon-box > li {
  width: 33%;
  color: white;
  font-size: 1.125rem;
  line-height: 1.2;
  list-style: none;
  text-align: center;
}
.icon-box > li > img {
  width: 85%;
}
.txt-box li {
  list-style-type: none;
  padding-bottom: 15px;
}
.txt-box > li:nth-child(1) > p:before {
  content: "चरण १:";
  color: #ff6400;
  font-weight: bold;
  padding-right: 0.5125rem;
}
.txt-box > li:nth-child(2) > p:before {
  content: "चरण २:";
  color: #ff6400;
  font-weight: bold;
  padding-right: 0.5125rem;
}
.txt-box > li:nth-child(3) > p:before {
  content: "चरण ३:";
  color: #ff6400;
  font-weight: bold;
  padding-right: 0.5125rem;
}
.mobile-banner {
  display: none;
}
@media screen and (min-width: 550px) {
  section:nth-of-type(2) {
    padding: 0;
  }
}
@media screen and (max-width: 768px) {
  .mobile-banner {
    display: block;
  }
}
@media screen and (min-width: 768px) {
  .image-item:nth-of-type(1),
  .image-item:nth-of-type(3) {
    left: 2rem;
  }

  .image-item:nth-of-type(3),
  .image-item:nth-of-type(4) {
    top: -2rem;
  }
}

@media screen and (min-width: 1000px) {
  .image-item:nth-of-type(1),
  .image-item:nth-of-type(3) {
    left: 2.7rem;
  }

  .image-item:nth-of-type(3),
  .image-item:nth-of-type(4) {
    top: -3rem;
  }
}

@media screen and (max-width: 1000px) {
  .title p {
    font-size: 1.75rem;
    margin-bottom: 15px;
  }

  .title span {
    font-size: 1.2rem;
    line-height: normal;
  }
}

/* Responsive styling */
@media (max-width: 768px) {
  .section1,
  .section2,
  .section3 {
    background-image: none;
    padding: 0;
  }
  .section-inner,
  .section-inner2,
  .section-inner3 {
    justify-content: center;
    align-items: center;
    display: block;
  }
  .section-inner2 > Div,
  .section-inner3 > Div {
    width: 100% !important;
  }
  .image-grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
  }

  .title p {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .download-sub {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 500 !important;
  }

  .title span {
    font-size: 1rem;
  }

  .image-item:nth-of-type(1),
  .image-item:nth-of-type(3) {
    left: 1.5rem;
  }

  .image-item:nth-of-type(3),
  .image-item:nth-of-type(4) {
    top: -1.7rem;
  }

  .section-games {
    padding: 0;
  }

  .section2-title h3 {
    line-height: normal;
    padding: 0;
  }

  .section2-title h3:nth-of-type(1) {
    font-size: 2rem;
  }

  .section2-title h4 {
    font-size: 1.8rem;
  }
}

@media (max-width: 550px) {
  .section2-title h3:nth-of-type(1) {
    font-size: 1.4rem;
    line-height: 15px;
  }

  .section2-title h3:nth-of-type(2) {
    font-size: 2rem;
    font-weight: 800;
  }

  .section-games {
    padding: 0;
  }

  .section2-title h4 {
    font-size: 1.1rem;
    line-height: 0.6rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
    /* max-width: 90%; */
    margin: 0 auto;
  }

  .image-item:nth-child(1) {
    order: 1; /* Image 1 */
  }

  .image-item:nth-child(3) {
    order: 2; /* Image 3 */
  }

  .image-item:nth-child(2) {
    order: 3; /* Image 2 */
  }

  .image-item:nth-child(4) {
    order: 4; /* Image 4 */
  }

  .image-item:nth-of-type(1),
  .image-item:nth-of-type(2),
  .image-item:nth-of-type(3),
  .image-item:nth-of-type(4) {
    left: 1rem;
  }

  .image-item:nth-of-type(2) {
    top: -4rem;
  }

  .image-item:nth-of-type(3) {
    top: -2rem;
  }

  .image-item:nth-of-type(4) {
    top: -6rem;
  }

  .image-item {
    margin-bottom: 10px;
    height: auto;
    /* Handle potential transparent areas in images */
    background-color: transparent;
  }

  .image-item img {
    /* Ensure the image is centered and potential transparent areas don't affect alignment */
    display: block;
    margin: 0 auto;
  }

  .title p {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .title span {
    font-size: 0.75rem;
  }

  .show-m {
    display: block;
  }

  .show-d {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  .title {
    top: 25%;
  }

  .title p {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .title span {
    font-size: 0.7rem;
  }
}

/*Section 3 styling */

.section3-title {
  margin: 3.75rem 0 0;
}

.section3-title h4 {
  color: #e7e4e4;
  font-size: 1.8rem;
  font-weight: lighter;
  line-height: 5px;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 1.25rem;
}

.section3-title h3 {
  display: inline-flex;
  color: #fce35a;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  align-items: flex-end;
  flex-wrap: wrap;
  line-height: 45px;
  padding: 0.5rem 0;
}

.section3-title h5 {
  color: #e7e4e4;
  font-size: 2.1875rem;
  line-height: 5px;
  padding: 0.5rem 0;
  position: relative;
  font-weight: 500;
}

/* General styles for section-features-container */
.section-features-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  max-width: 75rem;
  padding-top: 40px;
}

.icon-feat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.payment-feature {
  padding-top: 25px;
}

.friendly-feature {
  margin-top: -18px;
}

/* Center and equalize width for section-image and section-features */
.section-image,
.section-features {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media (max-width: 768px) {
  .section-image,
  .section-features {
    max-width: 100%;
  }
}

/* Style for section-features in a 3x3 grid */
.section-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Style for each feature */
.section-features div img {
  width: 75%;
  margin: 1rem 0;
  background: #129c6e;
  border-radius: 0.625rem;
  border: 0.125rem solid #fff;
  padding: 1rem 2rem;
  display: block;
}

.section-features div span {
  display: block;
  width: 100%;
  font-size: 1.1875rem;
  font-weight: 300;
  line-height: 1.4375rem;
  color: #e7e4e4;
}

.section-features div:nth-of-type(1) span {
  width: 65%;
}

@media screen and (min-width: 1200px) {
  .section-image,
  .section-features {
    max-width: 50%;
  }
}

@media screen and (max-width: 1200px) {
  .section-features div img {
    width: 90%;
  }
}

@media screen and (max-width: 1161px) {
  .section-features div:nth-of-type(1) span {
    width: 100%;
  }

  .section-features div span {
    font-size: 1rem;
  }
}

@media screen and (max-width: 900px) {
  .section-features div img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section-features-container {
    flex-direction: column;
  }

  .section-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-features div {
    position: relative;
  }

  .section-features div img {
    position: relative;
    width: 80%;
    padding: 1.5rem 1.8rem 6rem 1.8rem;
  }

  .section-features div span {
    position: absolute;
    width: 80%;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    text-align: start;
    font-size: 14px;
  }

  .section-features div:nth-of-type(1) span {
    width: 60%;
  }

  .payment-feature {
    padding-top: 0;
  }

  .friendly-feature {
    margin-top: 0;
  }
}

@media screen and (max-width: 500px) {
  .section3-title {
    margin: 0;
  }

  .section-features div:nth-of-type(1) span {
    width: 80%;
  }

  .section-features div span {
    line-height: normal;
  }

  .section-features div img {
    position: relative;
    width: 100%;
    padding: 1.5rem 1.5rem 5rem 1.5rem;
  }

  .section-features div span {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    text-align: start;
    font-size: 12px;
    width: 80%;
  }

  .section3-title h4 {
    font-size: 1.2rem;
    padding: 0.3rem 0;
    letter-spacing: 1rem;
  }

  .section3-title h3 {
    font-size: 1.6rem;
    padding: 0;
  }

  .section3-title h5 {
    font-size: 1.4rem;
    padding: 0.3rem 0;
  }
}

@media screen and (max-width: 400px) {
  .section-features div img {
    position: relative;
    width: 100%;
    padding: 1rem 1rem 4rem 1rem;
  }

  .section-features div span {
    font-size: 10px;
    width: 90%;
  }

  .section3-title h4 {
    font-size: 1rem;
    padding: 0.1rem 0;
  }

  .section3-title h3 {
    font-size: 1.4rem;
    padding: 0;
  }

  .section3-title h5 {
    font-size: 1.2rem;
    padding: 0.1rem 0;
  }
}

@media screen and (max-width: 350px) {
  .section3-title h4 {
    font-size: 0.8rem;
    padding: 0;
  }

  .section3-title h3 {
    font-size: 1.2rem;
  }

  .section3-title h5 {
    font-size: 1rem;
    padding: 0;
  }
}

/* Styling of main page on smaller screens */
@media screen and (max-width: 768px) {
  section {
    height: auto !important;
    scroll-snap-align: none; /* Disable snap points */
  }

  .section1-inner,
  .section2-inner,
  .section3-inner {
    flex-direction: column;
  }

  .section1-img {
    width: 100%;
    justify-content: center;
  }

  .section1-img img {
    width: 70%;
  }

  .download-info {
    width: 100%;
  }

  .download-title h2,
  .download-title h1 {
    text-align: start;
    line-height: 0.8;
    font-size: 2.5rem;
  }
  .col-5,
  .download-info {
    margin-top: -60px !important;
    position: relative;
    padding: 20px;
  }
  .download-title > h1 {
    font-weight: 500;
    font-size: 2.2rem;
  }

  .download-title > h2 {
    font-weight: lighter;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0;
  }

  .download-info > p {
    text-align: start;
    font-size: 0.65rem;
    line-height: 15px;
  }

  .download-info > p:nth-of-type(3) {
    margin: 20px 0 0 0;
  }

  .help-btn {
    font-size: 0.75rem;
    font-weight: 600;
  }

  .download-btn img {
    width: 90%;
  }

  .download-container {
    width: 100%;
  }

  .download-btn {
    margin: auto;
  }

  .download-title {
    margin: 0 0 10px 0;
  }
}

@media screen and (max-width: 500px) {
  .section1-img img {
    width: 100%;
  }
}

/* nav dots button indicator styles*/
.nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.nav a {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 15px 0;
  transition: all 0.3s ease;
}

.nav a.active {
  background-color: white;
  transform: scale(1.2);
}
