html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui;
  font-weight: 500;
  font-style: normal;
}

/* video and main code */
body {
  overflow-x: hidden;
}

/* hero section code  */

.hero-section {
  display: flex;
  justify-content: center;
  width: 100vw;
}

.hero {
  width: 95vw;
  margin-left: 10px;
  height: 110vh;
  background-color: #f7f7f7;
  margin-top: 70px;
  border: 1px solid #efefef;
  border-radius: 20px;
}
.heading {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 20px;
  align-items: center;
}
.hero .heading h1 {
  position: relative;
  margin-top: 1vh;
  color: #292d32;
  text-align: center;
  font-size: 50px;
  font-weight: 700;
}
.name {
  height: 100px;
  width: 100px;
  border: 1px solid #dad8d8;
  top: 1%;
  position: absolute;
  border-radius: 10px;
  right: 4%;
  margin-top: 10px;
}
#pos-name {
  top: 5%;
  position: absolute;
  right: 18%;
  margin-top: 10px;
}
.hero p {
  color: #767c84;
  font-size: 17px;
  margin-top: 24px;
  text-align: center;

}

.hero img {
  max-height: 80vh;
}
.hero-section {
  position: relative;
  padding: 20px; /* Optional: Add some padding */
}

.hero {
  position: relative;
  text-align: center;
}

.heading {
  margin-bottom: 20px;
  z-index: 2; /* Ensure heading is above images */
  position: relative;
}

.image-container {
  position: relative;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 20%;
  width: 70%; 
  
  opacity: 0;
}
.img1 {
  animation: slideInFromTopLeft 1.4s forwards; /* Animation duration is 2 seconds */
}

.img2 {
  animation: slideInFromTopRight 2s forwards; /* Animation duration is 2 seconds */
}
.img1 {
  z-index: 1; /* Bottom image */
}

.img2 {
  z-index: 2; /* Top image */
  left: 30px; /* Adjust to control the overlap */
  top: 30px; /* Adjust to control the overlap */
}
@keyframes slideInFromTopLeft {
  0% {
    transform: translate(-100%, -100%); /* Start from top left */
    opacity: 0;
  }
  100% {
    transform: translate(0, 0); /* End at original position */
    opacity: 1;
  }
}

@keyframes slideInFromTopRight {
  0% {
    transform: translate(100%, -100%); /* Start from top right */
    opacity: 0;
  }
  100% {
    transform: translate(0, 0); /* End at original position */
    opacity: 1;
  }
}
/* 2nd block code here  */

/* 2nd block code here  */
.second-block-parent {
  background-color: #f3f3f4;
  width: 100vw;
  display: flex;
  border-radius: 20px;
  margin-right: 20px;
  justify-content: center;
  align-items: center;
}
.second-block-container {
  display: flex;
  justify-content: center;
  width: calc(100%-50px);
  margin: 50px; /* Center the container */
}
.second-block-container img:hover {
  scale: 1.05;
}
.second-block-tall {
  height: 90vh;
  width: 30%; /* Adjust width as needed */
  position: relative;
  border-radius: 10px;
  background: #e8e8e8; /* Placeholder background */
  margin-right: 20px; /* Margin between the tall block and the right blocks */
  padding: 10px; /* Inner padding to avoid content touching the edges */
}
.second-block-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire block */
  transition: all 0.6s ease-in;
}
.second-block-title {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 16px;
  color: #535d6d;
}

.second-block-right {
  display: flex;

  justify-content: space-between;
  width: 60%; /* Adjust width as needed */
  gap: 20px; /* Horizontal space between the two columns */
}

.second-block-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 48%; /* Each column takes 48% of the available width, leaving space for the gap */
}

.second-block-block {
  height: 44vh;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px; /* Inner padding to avoid content touching the edges */
  background: #e8e8e8; /* Optional background color */
}

.second-block-block img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire block */
  transition: all 0.6s ease-in;
}

.second-block-block-title {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 16px;

  color: grey;
  /* background: rgba(255, 255, 255, 0.7); Optional background for readability */
  padding: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .second-block-container {
    flex-direction: column;
  }
  .why-more-icon{
    display: none;
  }

  .second-block-tall {
    width: 100%;
    height: 60vh; /* Adjust height as needed for smaller screens */
    margin-right: 0;
    margin-bottom: 20px; /* Space between the tall block and the right blocks when stacked */
  }

  .second-block-right {
    width: 100%;
    flex-direction: column;
    gap: 20px; /* Maintain space between columns */
  }

  .second-block-column {
    width: 100%;
    gap: 20px; /* Maintain spacing between blocks */
  }

  .second-block-block {
    height: 30vh; /* Adjust height for smaller screens */
  }
}

/* pos know more code here  */

.pos-container {
  background-color: white;
  width: 100vw;
  padding: 20px;
  padding: 10vh;
  padding-left: 20px;
  height: 60vh;
  padding: 20px;
  margin-top: 100px;
}

/* Title styling */
.pos-title {
  margin-bottom: 50px;
  font-size: 3em;
  font-weight: bold;
  color: #000;
  text-align: center;
}

/* Horizontal scrollable area */

.pos-scrollable {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 20px;
  height: auto;
  scrollbar-width: none; /* For Firefox */
}

.pos-block {
  scroll-snap-align: start;
  flex: 0 0 calc((100vw - 100px) / 4.2);
  height: 270px;
  background-color: #fff;
  border-radius: 15px;
  border: 1px solid #efefef;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.pos-block img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 1; /* Place behind any additional content */
  transition: transform 0.3s ease;
}

.pos-block:hover img {
  transform: scale(1.1); /* Scale up on hover */
}

/* Text content inside block */
.pos-block .pos-content {
  position: relative;
  z-index: 2; /* Place above image */
  padding: 20px;
  color: #000;
  text-align: center;
}

.pos-block .pos-content .pos-small-text {
  font-size: 0.9em;
  margin-bottom: 5px;
}

.pos-block .pos-content .pos-heading {
  font-size: 1.5em;
  font-weight: bold;
}

/* pos desing exclusive design code here  */
.pos-design-parent {
  width: 100%;
  padding-top: 10vh;
}
.pos-design-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #e8e8e8;
  margin: 50px 20px;
  width: 98%;
  border-radius: 10px;
}

.pos-design-text-content {
  width: 40%;
}

.pos-design-text-content h2 {
  font-size: 30px;
  font-weight: 700;
  margin-left: 10%;
  margin-top: 10%;
  color: #333;
}

.pos-design-text-content p {
  font-size: 16px;
  color: #666;
  margin-left: 9%;
  line-height: 1.5;
  margin-top: 20px;
}

.pos-design-play-button {
  margin-top: 50px;
  padding: 10px 20px;
  font-size: 16px;
  margin-left: 10%;
  color: #333;
  background-color: #fff;
  border: 1px solid #333;
  cursor: pointer;
  border-radius: 50px;
}

.pos-design-play-button:hover {
  background-color: #333;
  color: #fff;
}

.pos-design-video-content {
  max-width: 100%;
  height: 680px;
}

video {
  border-radius: 10px;
}

/* designed difference code  */

.designed-difference-parent {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.designed-diff {
  background-color: #efefef;
  width: 90vw;
  height: 80vh;
  margin: 50px;
  background-color: #f7f7f7;
  margin-top: 70px;
  border: 1px solid #efefef;
  border-radius: 20px;
}

.designed-tagline-div {
  height: 30%;
  display: flex;
  position: relative;
  justify-content: start;
}
.designed-tagline-div h1 {
  position: absolute;
  bottom: 0;
  text-align: center;
  left: 7%;
}

.bottom-design {
  height: 70%;
  padding-top: 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.bottom-design .child-div-design {
  width: 250px;
  position: absolute;
  background-image: url("images/cpu2.png");
  height: 350px;
  border-radius: 20px;
  background-size: cover;
  background-color: white;
  bottom: 0;
  margin: 20px;
  margin-bottom: 30px;

  left: 30%;
  border: 1px solid #efefef;
}

.bottom-design .child-div-design-two {
  width: 250px;
  position: absolute;

  height: 350px;
  border-radius: 20px;
  background-color: white;
  background-image: url("images/SCREEN.webp");
  background-size: cover;
  bottom: 0;
  margin: 20px;
  left: 50%;
  margin-bottom: 30px;
  border: 1px solid #efefef;
}
.bottom-design .child-div-design-three {
  width: 250px;
  position: absolute;
  height: 350px;
  border-radius: 20px;
  
  background-color: white;
  background-image: url("images/HD.webp");
  background-size: cover;
  bottom: 0;
  margin: 20px;
  left: 70%;
  margin-bottom: 30px;

  border: 1px solid #efefef;
}
.bottom-design p {
  text-align: center;
  position: absolute;
  bottom: 0;
  font-size: 12px;
  margin: 10px;
}

/* pay-w-parent code  */
.pay-w-parent {
  width: 100vw;
  margin-top: 100px;
  height: auto;
  padding-top: 100px;
  background-color: #efefef;
}

.pay-w-parent .connection {
  width: 100%;
}

.pay-w-parent .connection h1 {
  text-align: center;
  font-size: 3rem;
  width: 100%;
  font-weight: 600;
  font-family: poppins, sans-serif;
}

.pay-w-parent .connection p {
  text-align: center;
  font-size: 20px;
  margin: 30px;
  color: #6e6e73;
}

.pay-w-parent img {
  max-height: 800px;
}

.holder-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
}
.holder-1 video {
  max-width: 100%;
}

#typing-text {
  display: inline-block;
  border-right: 2px solid #000; /* Simulate a cursor */
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  width: 0; /* Initially hide the text */
  animation: typing 4s steps(60, end) forwards,
    blink-cursor 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%; /* Reveal the text over time */
  }
}

@keyframes blink-cursor {
  50% {
    border-color: transparent;
  }
}

/* tap-pay code here  */

.tap {
  width: 100%;
  height: auto;
  padding-top: 20px;
  /* padding-bottom: 40px; */
  background-color: #efefef;
  margin-top: 40px;
}

.tap-pay-parent {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-content: center;
}

.tap-pay-title {
  margin-top: 100px;
  width: 80%;
}
.tap-pay-title h1 {
  font-size: 3rem;
}

.tap-pay-title p {
  margin-top: 40px;
  color: rgba(0, 0, 0, 0.65);
  padding-left: 10px;
  font-size: 1.5rem;
}

.tap-pay-extra {
  display: flex;
  justify-content: space-around;
  align-items: center;
 }

.tap-pay-extra-content {
  margin-top: 50px;
  padding-bottom: 30px;
}

.tap-pay-extra-content h1 {
  font-size: 3rem;
  color: #2a439c;
  margin-top: 30px;
}

.tap-pay-extra-content p {
  color: rgba(0, 0, 0, 0.65);
  font-size: 1.5rem;
}

.tap-pay-img img {
  max-width: 480px;
  
}

.tap-pay-c-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  margin: 50px auto;
  width: 100vw;
  height: 90vh; /* Increased height */
  border-radius: 10px;
  background-color: #000000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.tap-pay-c-content {
  flex: 1;
  padding: 20px;
  padding-left: 100px;
}
.tap-pay-c-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 100px;
  color: #fff;
}
.tap-pay-c-payment-methods {
  margin-top: 20px;
  padding-left: 20px;
  position: relative;
  border-left: 2px solid #f4eeee;
}
.tap-pay-c-payment-method {
  padding: 8px 0;
  font-size: 1.5rem;
  color: #e5e4e4;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.tap-pay-c-payment-method:hover {
  color: #2a439c;
  transform: scale(1.1); /* Scale the text up slightly on hover */
  transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for color and transform */
  display: inline-block; /* Ensure the text scales properly */
}
.tap-pay-c-highlight {
  position: absolute;
  left: -2px;
  width: 4px;
  height: 24px;
  background-color: #2a439c;
  transition: top 0.3s ease, height 0.3s ease;
  border-radius: 2px;
}
.tap-pay-c-right-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
}
.tap-pay-c-right-image img {
  width: 300px;
  border-radius: 10px;
  transition: opacity 0.3s;
}
.tap-pay-c-image {
  display: none;
}
#tap-pay-c-image-emv_chip {
  display: block;
}
.tap-pay-c-container img {
  width: 730px; /* Set the desired width */
  margin-right: 90px;
  height: 100%; /* Maintain aspect ratio */
}
/* connection code here  */
.connection-parent {
  width: 100vw;
  display: flex;
  margin-top: 100px;
  display: none;
  justify-content: center;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

.connection-parent .connection {
  width: 100%;
  max-width: 100%; /* Prevents overflow */
  position: relative;
  overflow: hidden; /* Hides any overflow from child elements */
  padding: 0 10px; /* Adds some padding to prevent text touching the edges */
}

.connection-parent .connection h1 {
  font-size: 80px;
  font-weight: 600;
  font-family: poppins, sans-serif;
  word-wrap: break-word; /* Ensures the text breaks correctly */
  margin-bottom: 20px;
}

.connection-parent .connection p {
  font-size: 25px;
  color: #6e6e73;
  word-wrap: break-word; /* Ensures the text breaks correctly */
}

.connection-parent .highlight {
  color: #1d1d1f;
  font-weight: 700;
}

.connection img {
  position: absolute;
  right: 30%;
  height: 50vh;
  top: -120%;
}

.connection-second {
  width: 100vw;
  display: flex;
  margin-top: 100px;
  justify-content: center;
  height: auto;
  gap: 100px;
  margin-top: 200px;
}

.first-connection,
.second-connection {
  width: 300px;
  height: 300px;
  border-top: 1px solid black;
  padding-top: 50px;
  margin-top: 50px;
  margin-right: 70px;
  margin-left: 50px;
}

.first-connection h1 {
  font-weight: 700;
}

.second-connection p {
  font-size: 20px;
  color: #6e6e73;
}

/* connection code here  */
.connection-parent {
  width: 100vw;
  display: flex;
  margin-top: 100px;
  display: none;
  justify-content: center;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

.connection-parent .connection {
  width: 100%;
  max-width: 100%; /* Prevents overflow */
  position: relative;
  overflow: hidden; /* Hides any overflow from child elements */
  padding: 0 10px; /* Adds some padding to prevent text touching the edges */
}

.connection-parent .connection h1 {
  font-size: 80px;
  font-weight: 700;
  font-family: poppins, sans-serif;
  word-wrap: break-word; /* Ensures the text breaks correctly */
  margin-bottom: 20px;
}

.connection-parent .connection p {
  font-size: 25px;
  color: #6e6e73;
  word-wrap: break-word; /* Ensures the text breaks correctly */
}

.connection-parent .highlight {
  color: #1d1d1f;
  font-weight: 700;
}

.connection img {
  position: absolute;
  right: 30%;
  height: 50vh;
  top: -120%;
}
/* Parent container styling */
.pos-connection-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f9f9f9; /* Optional background for better visibility */
}

/* Connection section */
.pos-connection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 20px; /* Optional spacing between content and image */
}

/* Text content styling */
.pos-connection-content {
  flex: 1; /* Adjusts content width */
  text-align: left;
  padding-right: 20px;
}

.pos-connection-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.pos-connection-content p {
  font-size: 1rem;
  color: #6e6e73;
  line-height: 1.6;
}

.pos-highlight {
  color: #2c439d; /* Highlight color */
}

/* Image styling */
.pos-connection-image {
  flex: 1; /* Adjusts image width */
  display: flex;
  justify-content: flex-end;
}

.pos-connection-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* Optional rounded corners */
}
.connection-second {
  width: 100vw;
  display: flex;
  margin-top: 50px;
  justify-content: center;
  height: auto;
  gap: 100px;
  /* margin-top: 200px; */
}

.first-connection,
.second-connection {
  width: 300px;
  height: 300px;
  border-top: 1px solid black;
  padding-top: 50px;
  margin-top: 50px;
  margin-right: 70px;
  margin-left: 50px;
}

.first-connection h1 {
  font-weight: 700;
}

.second-connection p {
  font-size: 20px;
  color: #6e6e73;
}



/* Large screens (1280px and above) */
@media (min-width: 1280px) {
  .pos-connection-content h1 {
      font-size: 2.5rem;
  }
  .pos-connection-content p {
      font-size: 1.2rem;
  }
}

/* Medium screens (768px to 1279px) */
@media (max-width: 1279px) and (min-width: 768px) {
  .pos-connection {
      flex-direction: row;
  }
  .pos-connection-content h1 {
      font-size: 2rem;
  }
  .pos-connection-content p {
      font-size: 1rem;
  }
}

/* Small screens (480px to 767px) */
@media (max-width: 767px) and (min-width: 480px) {
  .pos-connection {
      flex-direction: column;
      align-items: center;
  }
  .why-more-icon{
    display: none;
  }
  .pos-connection-content {
      padding-right: 0;
      text-align: center;
  }
  .pos-connection-image {
      justify-content: center;
      margin-top: 20px;
  }
}

/* Extra small screens (below 480px) */
@media (max-width: 479px) {
  .pos-connection {
      flex-direction: column;
      align-items: center;
  }
  .pos-connection-content {
      padding-right: 0;
      text-align: center;
  }
  .pos-connection-content h1 {
      font-size: 1.5rem;
  }
  .pos-connection-content p {
      font-size: 0.9rem;
  }
  .pos-connection-image {
      justify-content: center;
      margin-top: 15px;
  }
}





/* why us code  */

.why-parent {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-container {
  width: 100vw;
  height: 70vh;
  margin: 0 auto;
  background-color: #efefef;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.why-main-title {
  text-align: left;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #1d1d1f;
}

.why-scroll-container {
  display: flex;
  overflow-x: auto;
  padding: 20px 0;
  gap: 20px;
}

.why-scroll-container::-webkit-scrollbar {
  height: 10px;
}

.why-scroll-container::-webkit-scrollbar-thumb {
  background: #b3b3b3;
  border-radius: 5px;
}

.why-scroll-item {
  min-width: 280px;
  max-width: 280px;
  background-color: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.why-scroll-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.why-icon {
  font-size: 2em;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.why-scroll-item h3 {
  font-size: 1.1em;
  color: #1d1d1f;
  margin: 0;
}

.why-scroll-item p {
  font-size: 0.9em;
  color: #6e6e73;
  margin: 0;
}

.why-more-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: #1d1d1f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2em;
}

/* video code here  */

section.vid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.vid {
  height: 1400px;
  display: block;
}

section.vid div.holder {
  position: sticky;
  top: 0;
}

/* know more code here  */
.know-more-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 20px;
  align-items: center;
}

.know-more-block {
  text-align: center;
  background-color: #fff;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  height: 300px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 22%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.know-more-icon img {
  width: 70px;
  margin-bottom: 10px;
}

.know-more-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.know-more-description {
  font-size: 14px;
  color: #555;
}
.know-more-block:hover {
  transform: scale(1.05); /* Zoom effect */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

@media (max-width: 480px) {
  .hero {
    height: auto;
  }
  body{
    overflow-x: hidden;
  }

  .hero {
    width: 100%;
  }
  .hero .heading h1 {
    position: relative;
    margin-top: 1vh;
    color: #292d32;
    margin-right: 20p;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
  }

  .name {
    display: none;
  }

  .image-container {
    position: relative;
  }
  .image-container {
    height: 80%;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .hero img {
    max-height: 80vh;
  }

  .image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
  }

  /* 2nd block code here  */
  .second-block-container {
    height: auto;
  }
  .second-block-parent{
    width: auto;
  }
  .second-block-block img{
    object-fit: contain;
  }
  /* 3rd block code here  */
  .designed-difference-parent {
    height: auto;
  }
  .designed-diff {
    height: auto;
  }
  .designed-tagline-div h1 {
    position: relative;
    font-size: large;
    margin-top: 20px;
  }
  .bottom-design {
    flex-direction: column;
    position: static;
    justify-content: center;
        align-items: center;
    
  }
  .bottom-design img {
    left: -10%;
    position: static;
    max-width: 300px;

  }
  .bottom-design .child-div-design {
    position: relative;
    left: 0;
  }
  .bottom-design p {
    position: relative;
  }

  .bottom-design .child-div-design-two {
    position: relative;
    left: 0;
  }
  .bottom-design .child-div-design-three {
    position: relative;
    left: 0;
  }

  section.vid {
    display: none;
  }

  /* tap and pay code  */
  .tap-pay-extra {
    flex-direction: column;
  }
  .tap-pay-title h1 {
    font-size: 30px;
  }
  .tap-pay-title p {
    font-size: 16px;
  }

  .tap-pay-extra-content h1 {
    font-size: 30px;
    margin-left: 30px;
  }
  .tap-pay-extra-content p {
    font-size: 16px;
    margin-left: 30px;
  }
  .tap-pay-c-container {
    height: auto;
    flex-direction: column;
  }
  .tap-pay-c-container img {
    max-width: 300px;
  }

  /* pos design code here  */
  .pos-design-parent {
    padding-top: 10px;
  }
  .pos-design-container {
    flex-direction: column;
    width: auto;
  }
  .pos-design-video-content {
    height: auto;
  }
  .pos-design-text-content {
    width: auto;
    margin-bottom: 40px;
  }

  /* pay with any card code  */
  .pay-w-parent .connection h1 {
    font-size: 30px;
  }
  .pay-w-parent .connection p {
    font-size: 16px;
  }

  /* connection code here  */
  .connection-parent {
    flex-direction: column;
  }
  .connection img {
    position: relative;
    height: 300px;
  }

  .connection-parent .connection h1 {
    font-size: 30px;
    position: static;
    margin-left: 20px;
  }
  .connection-parent .connection p {
    font-size: 16px;
    margin-top: 20px;
    margin-right: 0px;
    margin-left: 0px;
     text-align: center;
    position: static;
  }
  
  .connection img{
    position: static;
  }
  .connection-second {
    flex-direction: column;
    gap: 0px;
    margin-top: 0px;
  }
  .first-connection,
  .second-connection {
    width: 300px;
    height: auto;
    border-top: 1px solid black;
    padding-top: 20px;
  }
  .second-connection p {
    font-size: 16px;
  }
  .first-connection h1 {
    font-size: 30px;
  }

  /* why us code here */
  .why-parent {
    height: auto;
    margin-top: 40px;
  }
  .why-container {
    height: auto;
  }
  .why-scroll-container {
    flex-direction: column;
  }
  .why-main-title{
    font-size: 30px;
    margin: 20px;
  }
  .tap-pay-img img {
    max-width: 90%;
    
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .hero{
    height: auto;
  }
  .hero .heading h1{
    font-size: 40px;
  }
  .name{
    display: none;
  }
  .image-container img{
    width: 100%;
    max-height: 45%;
    left: 0%;
    position: relative;
  }
  .img1{
    left: 10%;
  }
  .img2{
    right: 10%;
  }
  
  /* second block code here  */

  .second-block-container{
    height: auto;
  }

  .second-block-block img{
    object-fit: contain;
  }
  /* 3rd block code here  */
  .designed-difference-parent {
    height: auto;
  }
  .designed-diff {
    height: auto;
  }
  .designed-tagline-div h1 {
    position: relative;
    font-size: large;
    margin-top: 20px;
  }
  .bottom-design {
    flex-direction: column;
    position: static;
    justify-content: center;
        align-items: center;
    
  }
  .bottom-design img {
    left: -10%;
    position: static;
    max-width: 300px;

  }
  .bottom-design .child-div-design {
    position: relative;
    left: 0;
  }
  .bottom-design p {
    position: relative;
  }

  .bottom-design .child-div-design-two {
    position: relative;
    left: 0;
  }
  .bottom-design .child-div-design-three {
    position: relative;
    left: 0;
  }

  section.vid {
    display: none;
  }
/* tap and pay code  */
.tap-pay-extra {
  flex-direction: column;
}
.tap-pay-title h1 {
  font-size: 30px;
}
.tap-pay-title p {
  font-size: 16px;
}

.tap-pay-extra-content h1 {
  font-size: 30px;
  margin-left: 30px;
}
.tap-pay-extra-content p {
  font-size: 16px;
  margin-left: 30px;
}
.tap-pay-c-container {
  height: auto;
  flex-direction: column;
}
.tap-pay-c-container img {
  max-width: 300px;
}

/* pos design code here  */
.pos-design-parent {
  padding-top: 10px;
}
.pos-design-container {
  flex-direction: column;
  width: auto;
}
.pos-design-video-content {
  height: auto;
}
.pos-design-text-content {
  width: auto;
  margin-bottom: 40px;
}

/* pay with any card code  */
.pay-w-parent .connection h1 {
  font-size: 30px;
}
.pay-w-parent .connection p {
  font-size: 16px;
}

/* connection code here  */
.connection-parent {
  flex-direction: column;
}
.connection img {
  position: relative;
  height: 300px;
}

.connection-parent .connection h1 {
  font-size: 30px;
  position: static;
  margin-left: 20px;
}
.connection-parent .connection p {
  font-size: 16px;
  margin-top: 20px;
  margin-right: 0px;
  margin-left: 0px;
   text-align: center;
  position: static;
}

.connection img{
  position: static;
}
.connection-second {
  flex-direction: column;
  gap: 0px;
  margin-top: 0px;
}
.first-connection,
.second-connection {
  width: 300px;
  height: auto;
  border-top: 1px solid black;
  padding-top: 20px;
}
.second-connection p {
  font-size: 16px;
}
.first-connection h1 {
  font-size: 30px;
}


.why-scroll-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-scroll-item {
  max-width: none;
}

.why-container {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 20px;
  padding: 20px;
  background-color: #efefef;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
}


@media (min-width: 769px) and (max-width: 1024px) {

  #pos-name {
    top: 2.5%;
    position: absolute;
    right: 14%;
    margin-top: 5px;
}
.name {
  height: 50px;
  width: 50px;
  border: 1px solid #dad8d8;
  top: 0.5%;
  position: absolute;
  border-radius: 10px;
  right: 2%;
  margin-top: 5px;
}
.hero .heading h1{
  font-size: 25px;
}
 
.image-container img {
  position: absolute;
  top: 0;
  left: 6%;
  width: 100%;
  opacity: 0;
}
.second-block-container{
  height: auto;
}

.second-block-tall{
  height: 60vh;
}
.second-block-block{
  height: auto;
}
.second-block-block img{
  object-fit: contain;
}
.bottom-design img {
  position: relative;
  left: -10%;
}
.bottom-design .child-div-design, .bottom-design .child-div-design-two, .bottom-design .child-div-design-three {
  position: static;
  height: 150px;
  width: 150px;

}
.bottom-design p{
  position: static;
  margin-top: 150px;
}
section.vid video{
  height: 100vw;
}
.tap-pay-extra{
  width: 100%;
}
.tap-pay-extra-content h1{
  margin-left: 30px;
}
.tap-pay-extra-content p{
  margin-left: 30px;
}
.tap-pay-c-container img{
  max-width: 350px;
}
.pos-design-video-content{
  height: 500px;
  max-width: 90%;
  margin-left: 20px;
}
.connection-parent{
  display: none;
}

.why-scroll-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-scroll-item {
  max-width: none;
}

.why-container {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 20px;
  padding: 20px;
  background-color: #efefef;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.connection h1 {
  font-size: 50px;
}

.connection p {
  font-size: 18px;
}

.connection img {
  width: 90%; /* Scale the image down */
  right: 0;
  top: -30%;
}

}

@media (min-width: 1025px) and (max-width: 1200px) {


  .why-scroll-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .why-scroll-item {
    max-width: none;
  }
  
  .why-container {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 20px;
    padding: 20px;
    background-color: #efefef;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .connection h1 {
    font-size: 70px;
    padding-left: 5%;
  }

  .connection p {
    font-size: 22px;
    padding-left: 5%;
  }

  .connection img {
    right: 10%;
    height: 45vh;
    top: 0;
    transform: translateY(-50%);
  }
  .tap-pay-c-container img{
    width: 500px;
  }
  .tap-pay-extra{
    margin-left: 40px;
  }
}
