@media only screen and (min-width: 468px) {
  .mat-lb-chennai-h2-div {
    margin-bottom: 0px !important;
  }
}

.of-hiden {
  overflow: hidden;
}

.p-justify {
  text-align: justify;
}

.text-green {
  color: #1d937a !important;
}

.text-bg {
  background-color: rgba(255, 255, 0, 0.438);
}

.s1 {
  /* background-color: orangered; */
  margin-top: 180px;
  /* height: 10vh; */
  display: flex;
  align-items: center;
  /* justify-content: center; */
  /* height: 100%; */
  overflow: hidden;
  /* height: 22vh; */
}

.s1 #main_heading {
  background-color: orangered;
  padding: 10px 30px;
  margin-left: 10%;
  position: relative;
  display: flex;
  z-index: 3;
  rotate: 3deg;
  border-radius: 10px;
}

.s1 #main_heading::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 50%;
  top: -78px;
  left: 20%;
  border-left: 4px dashed rgb(255, 123, 62);
  border-right: 6px dashed rgb(255, 123, 62);
  transition: height 2s ease 3s;
}

.s1 #main_heading .icon {
  position: absolute;
  top: -10px;
  left: 0px;
  color: rgb(255, 166, 0);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.s1 h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: white;
  font-weight: 600;
  margin-bottom: 0px;
}

.metal-nail {
  position: absolute;
  height: 100%;
  width: 53.4%;
  top: -57px;
  left: 18%;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.metal-nail .span1 {
  position: relative;
  rotate: 30deg;
}

.metal-nail .span2 {
  position: relative;
  rotate: 30deg;
}

/* #main_heading {
    animation: yoyo 1s ease-in-out;
} */

#main_heading.animate {
  animation: yoyo 1s ease-in-out forwards;
}

@keyframes yoyo {
  0% {
    transform: translateY(-150px);
  }

  33% {
    transform: translateY(-10px);
  }

  66% {
    transform: translateY(-20px);
  }

  100% {
    transform: translate(0px);
  }
}

.s1-content div h2 {
  text-align: center;
}

@media only screen and (max-width:992px) {
  .s1 {
    margin-top: 80px;
  }

  .s1 h1 {
    text-align: center;
  }

  .s1 #main_heading::before {
    /* height: clamp(1.5rem, 4vw, 3rem); */
    height: clamp(2.5rem, 20vw, 5rem);
    /* clamp(1.5rem, 20vw, 5rem) */
  }

  .metal-nail {
    height: clamp(4.5rem, 4vw, 3rem);
  }

  .s1 #main_heading {
    margin-left: 0%;
  }

  .s1 {
    padding: 0px 10px;
  }
}

/* section 2 */

.s2 {
  overflow: hidden;
}

.s2-h-span1 {
  color: gray !important;
  position: relative;
}

.s2-h-span1 i {
  position: absolute;
  font-size: 40px;
  top: -18px;
  right: -5px;
  color: #FFF44F;
  animation: light-bulb 2s linear infinite;
  animation-play-state: paused;
}

@keyframes light-bulb {
  0% {
    transform: rotate(0deg) translateX(0px);
  }

  50% {
    transform: rotate(20deg) translateX(2px);
  }

  100% {
    transform: rotate(0deg) translateX(0px);
  }
}

.s2-h-span2 {
  position: relative;
  color: rgba(109, 204, 0, 0.616) !important;
}

.s2-h-span2 svg {
  width: fit-content;
  position: absolute;
  bottom: -20px;
  right: -13px;
}

.draw path {
  stroke: rgba(109, 204, 0, 0.616);
  stroke-width: 1.5;
  fill: none;

  stroke-dasharray: 100;
  /* Total length of dash pattern */
  stroke-dashoffset: 100;
  /* Start hidden */

  animation: drawPath 2s linear infinite;
  animation-play-state: paused;
}

@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
    /* Reveal stroke */
  }
}

.animate-on-view .s2-h-span1 i,
.animate-on-view .draw path {
  animation-play-state: running;
}

.s2-box {
  height: fit-content;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.s2-box div {
  display: flex;
  align-items: center;
}

.s2-box div .question-mark {
  /* color: white; */
  font-weight: 900;
  font-size: 150px;
  background-image: url(../image/s2-question-bg.jpg);
  background-position: center;
  background-size: cover;
  background-clip: text;
  color: transparent;
  background-repeat: repeat-x;
  animation: question-mark 5s linear infinite;
  height: fit-content;
  display: flex;
  flex-direction: column;
  position: relative;
}


.s2-box div .question-mark .shadow {
  width: 30px;
  height: 5px;
  box-shadow: 0px 7px 10px -1px black !important;
  position: absolute;
  bottom: 20%;
  right: 35%;
  background-color: transparent;
  z-index: -1;
}

@keyframes question-mark {
  to {
    background-position-x: 100%;
  }
}

.s2-box div .questions {
  display: flex;
  flex-direction: column;
  position: relative;
}

.s2-box div .questions .one {
  position: relative;
  rotate: -2deg;
  top: -10px;
  margin: 5px 0px;
  display: flex;
  align-items: end;
  width: 100%;
  transition: all 0.5s ease;
}

.s2-box div .questions .one:hover {
  transform: translate(3px);
}

.s2-box div .questions .one:hover svg {
  transform: translateX(-3px) rotate(-5deg);
}

.s2-box div .questions .one svg {
  width: fit-content;
  margin-right: 5px;
  transition: all 0.5s ease;
}

.s2-box div .questions .two {
  position: relative;
  rotate: -1deg;
  top: -10px;
  margin: 5px 0px;
  width: 100%;
  transition: all 0.5s ease;
}

.s2-box div .questions .two:hover {
  transform: translate(3px);
}

.s2-box div .questions .two:hover svg {
  transform: translateX(-3px) rotate(-5deg);
}

.s2-box div .questions .two svg {
  width: fit-content;
  margin-right: 5px;
  transition: all 0.5s ease;
}

.s2-box div .questions .three {
  position: relative;
  rotate: 4deg;
  top: -10px;
  margin: 10px 0px;
  width: 100%;
  transition: all 0.5s ease;
}

.s2-box div .questions .three:hover {
  transform: translate(3px);
}

.s2-box div .questions .three:hover svg {
  transform: translateX(-3px) rotate(-5deg);
}

.s2-box div .questions .three svg {
  width: fit-content;
  margin-right: 5px;
  transition: all 0.5s ease;
}

.s2-border-parent {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.s2-border-parent .border-div {
  width: 100px;
  height: 100%;
  border-bottom: 2px solid rgb(0, 174, 239);
  border-left: 2px solid rgb(0, 174, 239);
  margin: 0px 10px;
}

.s2-border-parent p {
  margin-bottom: 0px;
  position: relative;
  bottom: -10px;
}

.s2-content-box .div1 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 3rem;
}

.s2-content-box .div1 span {
  background-color: #000000;
  color: #FAEB92;
  position: relative;
  padding: 5px 10px;
  border-radius: 20px;
  width: 149px;
  text-align: center;
}

.s2-content-box .div1 span::after {
  content: '';
  position: absolute;
  right: -9px;
  /* color: black; */
  background-color: #CC66DA;
  height: 2px;
  width: 7px;
  top: 50%;
  bottom: 50%;
}

.s2-content-box .div1 ul::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 20px;
  border-left: 2px solid #CC66DA;
  border-top: 2px solid #CC66DA;
  border-bottom: 2px solid #CC66DA;
  left: 7px;
}

.s2-content-box .div1 ul {
  list-style-type: circle;
  list-style-position: inside;
  margin-bottom: 0px;
  padding-left: 3rem;
  position: relative;
  z-index: 2;
  width: 390px;
}

.s2-content-box .div1 ul li::marker {
  color: red;
  background-color: #FF0066;
  font-size: 1.2rem;
}

.s2-content-box .div1 ul li::first-letter {
  color: #9929EA;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: capitalize;
}

.s2-content-box .div1 ul li {
  margin: 7px 0px;
}


/* .s2-content-box {
    background-color: aliceblue;
} */

/* .s2-img-box {
    position: relative;
    height: 100%;
    width: 100%;
}

.s2-img-box img {
    position: absolute;
    height: 200px;
    width: 100%;
}

.s2-img-box .img1 {
    left: -20px;
    top: 50px;
    z-index: 4;
    transition: all 0.5s ease;
}

.s2-img-box .img2 {
    right: -50px;
    top: -10px;
    z-index: 2;
    transition: all 0.5s ease;
}

.s2-img-box .img3 {
    z-index: 3;
    top: 25px;
    left: 25px;
    transition: all 0.5s ease;
}

.s2-img-box:hover .img1 {
    left: 0px;
    top: 0px;
    border-radius: 10px;
}

.s2-img-box:hover .img2{
    right: 0px;
    top: 0px;
    border-radius: 10px;
}

.s2-img-box:hover .img3{
    top: 0px;
    left: 0px;
    border-radius: 10px;
} */
/* --------------------------------------- */
/* another style */

/* .s2-img-box1 {
    position: relative;
    height: 320px;
    width: 100%;
}

.s2-img-box1 img {
    position: absolute;
    height: 200px;
    width: 100%;
}

.s2-img-box1 .img1 {
    left: -20px;
    top: 50px;
    z-index: 4;
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 1;
    transform: scale(1.1);
}

.s2-img-box1 .img2 {
    right: -50px;
    top: -10px;
    z-index: 2;
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0.5;
}

.s2-img-box1 .img3 {
    z-index: 3;
    top: 25px;
    left: 25px;
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0.5;
}

.s2-content-box{
    width: fit-content;
}

.s2-content-box .span1{
    background-color: yellow;
} */

.s2-img-box1 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* .s2-img-box1::after{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgb(204, 255, 109);
    z-index: 1;
    bottom: -25px;
    right: -20px;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.s2-img-box1:hover::after{
    bottom: 0px;
    right: 0px;
    border-radius: 10px;
}

.s2-img-box1:hover img{
    box-shadow: 0px 0px 20px rgb(116, 179, 0);
    border-radius: 10px;
    transition: all 0.7s ease-in-out;
} */

.s2-img-box1::after {
  content: '';
  position: absolute;
  background-color: aquamarine;
  width: 20%;
  height: 30%;
  right: -20px;
  bottom: -20px;
  z-index: 1;
  border-radius: 50%;
  transition: all 0.5s ease;
  animation: s2-ball-move 5s infinite;
  animation-play-state: paused;
}

.s2-img-box1::before {
  content: '';
  position: absolute;
  background-color: aquamarine;
  width: 20%;
  height: 30%;
  left: -25px;
  top: -25px;
  z-index: 1;
  border-radius: 50%;
  transition: all 0.5s ease;
  animation: s2-ball-move 5s infinite;
  animation-play-state: paused;
}

/* Default state: paused */
.s2-img-box1::after,
.s2-img-box1::before {
  animation: s2-ball-move 5s infinite;
  animation-play-state: paused;
}

/* When in view: running */
.s2-img-box1.animate-on-view::after,
.s2-img-box1.animate-on-view::before {
  animation-play-state: running;
}

.s2-img-box1 img {
  height: 220px;
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 5px;
}

.s2-img-box1:hover {
  box-shadow: -5px -5px 10px -2px aquamarine;
  transition: all 1s ease;
  filter: drop-shadow(5px 5px 5px rgb(0, 180, 150));
  cursor: pointer;
}

.s2-img-box1:hover img {
  border-radius: 10px;
  transition: all 0.5s ease;
}

.s2-img-box1:hover::after {
  right: 0px;
  bottom: 0px;
  animation-play-state: paused;
}

.s2-img-box1:hover::before {
  left: 0px;
  top: 0px;
  animation-play-state: paused;
}

@keyframes s2-ball-move {
  0% {
    transform: translateY(0px);
  }

  33% {
    transform: translateX(-5px) translateY(-5px);
  }

  66% {
    transform: translateX(3px) translateY(3px);
  }

  100% {
    transform: translate(0px);
  }
}

.gradient-bg {
  /* background: radial-gradient(circle, #B6B09F, #F2F2F2, #EAE4D5); */
  /* background-image:
        radial-gradient(circle at 30% 30%, rgba(255, 182, 193, 0.6), white, black),
        radial-gradient(circle at 70% 70%, rgba(135, 206, 250, 0.6), white, black); */
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 182, 193, 0.6), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(135, 206, 250, 0.6), transparent 60%);
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}

@media only screen and (max-width: 560px) {
  .s2-content-box h5 {
    text-align: center;
  }

  .s2-content-box .div1 {
    flex-direction: column;
  }

  .s2-content-box .div1 span::after {
    top: auto;
    bottom: auto;
    height: 7px;
    width: 2px;
    bottom: -9px;
    left: 50%;
    right: 50%;
  }

  .s2-content-box .div1 ul {
    padding-left: 0px;
    padding-top: 1rem;
  }

  .s2-content-box .div1 ul::before {
    height: 20px;
    width: 80%;
    border-left: none;
    border-top: 2px solid #CC66DA;
    border-left: 2px solid #CC66DA;
    border-right: 2px solid #CC66DA;
    border-bottom: none;
    top: 7px;
    left: 10%;
  }

  .s2-content-box .div1 ul li {
    /* text-align: center; */
    padding-left: 6rem;
  }

  /* section 3 */

  .s3 .container p {
    text-align: justify;
  }

  /* section 5 */
  .s5-box ul {
    padding-left: 1rem;
  }

  /* section 6 */
  .border-div {
    height: 30px !important;
  }

  .border-div div {
    width: 50px !important;
    margin-left: 20%;
  }

  /* section 7 */

  .s7-box::before {
    height: 100% !important;
  }

  .s7-box::after {
    height: 100% !important;
  }

  .cpu-div svg path {
    transform: scaleY(2.4) !important;
  }
}

/* @media only screen and (max-width: 992px) {
    .s7-box{
        padding: 54px;
    }
} */

/* section 4 */

.s4 {
  background-color: rgb(255, 127, 17);
  position: relative;
  padding: 1rem;
}

/* ===================================== */

/* Perspective container */
.spring-wrapper {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

/* SVG container */
.s4 .spring {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 905 / 780;

  display: flex;
  justify-content: center;
  align-items: center;

  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0;
  transform: translateZ(-80px) scale(0.95);
}

/* Active animation state */
.s4.is-visible .spring {
  opacity: 1;
  transition: opacity 2s ease-in-out 2s;
  animation: spring3D 10s ease-in-out infinite;
}

/* SVG responsiveness */
.spring svg {
  width: 100%;
  height: auto;
  display: block;

  /* filter:
    drop-shadow(0 25px 35px rgba(0, 0, 0, 0.15))
    drop-shadow(0 10px 15px rgba(255, 140, 40, 0.25)); */
}

/* Extra 3D movement */
@keyframes spring3D {
  0% {
    transform: rotateX(0deg) rotateY(0deg) translateZ(0);
  }

  25% {
    transform: rotateX(14deg) rotateY(-12deg) translateZ(30px);
  }

  50% {
    transform: rotateX(-12deg) rotateY(14deg) translateZ(50px);
  }

  75% {
    transform: rotateX(8deg) rotateY(6deg) translateZ(25px);
  }

  100% {
    transform: rotateX(0deg) rotateY(0deg) translateZ(0);
  }
}

/* Mobile tuning */
@media (max-width: 768px) {
  .s4.is-visible .spring {
    animation-duration: 14s;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  .s4 .spring,
  .s4.is-visible .spring {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* ===================================== */

.s4 .border-circle {
  content: "";
  position: absolute;
  height: 400px;
  width: 400px;
  /* background-color: rgba(226, 232, 206, 50%); */
  border-radius: 50%;
  /* border: 50px solid rgba(255, 165, 87, 0.425); */
  border: 50px solid rgb(255, 165, 87);
  left: -100px;
  top: -150px;
  filter: blur(0px);
  animation: yoyo 2s ease-in-out;
  animation-play-state: paused;
}

.s4 .border-circle.animate {
  animation-play-state: running;
}

@keyframes yoyo {
  0% {
    transform: translateY(-300px);
  }

  25% {
    transform: translateY(100px);
  }

  50% {
    transform: translateY(0px);
  }

  70% {
    transform: translateY(50px);
  }

  100% {
    transform: translateY(0px);
  }
}

.s4::after {
  content: "";
  position: absolute;
  height: 100px;
  width: 100px;
  background-color: rgba(226, 232, 206, 50%);
  border-radius: 50%;
  right: 0px;
  bottom: 0px;
  transform: translate(-50%, -50%);
  filter: blur(10px);
  z-index: 1;
}

.s4 .container {
  background-color: rgba(255, 255, 255, 0);
  padding: 1.5rem;
  /* backdrop-filter: blur(40px); */
  box-shadow: inset 0px 0px 100px 5px rgba(255, 255, 255, 50%);
  border-radius: 15px 0px 15px 15px;
  z-index: 3;
  position: relative;
  clip-path: url(#myClip);
}

.s4 svg {
  position: absolute;
}

.s4 div h2 {
  text-align: center;
}

.s4 h2 {
  color: white;
  transition: color 0.3s ease;
}

.s4 h2 .Head {
  color: black !important;
  /* text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.795); */
  transition: color 0.3s ease;
}

.s4 h2 div .span {
  color: black;
  /* text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.795); */
  transition: color 0.3s ease;
}

.s4 div p {
  color: black;
  text-align: center;
  margin-bottom: 0px;
}

/* section 5 */

.s5 .container p {
  text-align: justify;
}

.s5-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
}

.s5-box img {
  transition: all 0.5s ease;
}

.s5-box:hover img {
  transform: scale(1.1);
}

.s5-box ul {
  list-style-type: none;
}

.s5-box ul li {
  margin: 10px 0px;
}

.s5-box ul li i {
  color: green;
  margin: 0px 5px;
  background-color: rgb(206, 255, 157);
  border-radius: 50%;
  padding: 2px;
}

/* section 6 */

.s6 .container h3,
.s6 .container h4 {
  color: #00aeef;
}

.s6 .container p {
  text-align: justify;
}

.border-div {
  /* background-color: black; */
  height: 50px;
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: end;
}

.border-div div {
  height: 100%;
  width: 200px;
  border-bottom: 2px solid #00aeef;
  border-left: 2px solid #00aeef;
}

.border-div p {
  margin-bottom: 0px;
  height: fit-content;
  /* color: #00aeef; */
  position: relative;
  bottom: -10px;
  margin: 0px 10px;
}

.move-box {
  overflow: hidden;
  position: relative;
}

.move-box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: red;
    animation: border 7s linear infinite;
    animation-play-state: paused; */
  border-radius: 10px;
  z-index: -1;
  top: 2%;
  bottom: 2%;
  background: linear-gradient(60deg, #8a2be2, #CC66DA);
  background-size: cover;
  background-attachment: fixed;
}

.move-box.animate-on-view::before {
  animation-play-state: running;
}

@keyframes border {
  0% {
    transform: translateX(-50px);
    background-image: linear-gradient(to right, aliceblue, red);
  }

  33% {
    background-image: linear-gradient(to right, aliceblue, green);
  }

  66% {
    background-image: linear-gradient(to right, aliceblue, blue);
  }

  100% {
    transform: translateX(100vw);
    background-image: linear-gradient(to right, aliceblue, red);
  }
}

.border-anim {
  background-color: rgba(0, 0, 0, 0.274);
  width: 100%;
  height: 100%;
  /* padding: 5px; */
  display: flex;
  justify-content: space-around;
  position: relative;
}

.border-anim .content-box {
  background: linear-gradient(to left, #FF0066, #6A0066);
  width: 100%;
  /* background-color: aliceblue; */
  margin: 3px;
  border-radius: 10px;
  padding: 10px;
}

.border-anim .content-box p {
  margin-bottom: 0px;
  height: fit-content;
  text-align: center;
  color: white;
}

.border-anim .empty {
  /* height: 100%; */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  position: relative;
}

.border-anim .empty div {
  height: 100%;
  width: 100%;
  background-color: rgb(255, 255, 255);
  /* border: 2px solid black; */
}

.border-anim .empty .line {
  margin-bottom: 3px;
  position: relative;
}

/* section 7 */

.s7 {
  overflow: hidden;
}

.s7 .container p {
  text-align: justify;
}

/* .position-relative{
    position: relative;
} */

.s7 .img-box {
  position: absolute;
  height: 220px;
  width: 220px;
  border-radius: 50%;
  /* left: -50px; */
  left: calc(6vw - 112px);
  /* transform: translate(5%, 30%); */
  bottom: 70px;
  padding: 1.5rem;
}

.s7 .img-box img {
  height: 100%;
  width: 100%;
  border-radius: 10%;
  object-fit: cover;
  object-position: center;
  box-shadow: 5px 0px 10px 0px rgba(63, 63, 63, 40%),
    30px 0px 30px 3px rgba(0, 0, 0, 10%),
    50px 0px 30px 1px rgba(0, 0, 0, 8%);
  filter: drop-shadow(2px 4px 10px rgba(63, 63, 63, 10%));
}

.fade-parent {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
}

.fade-parent .fade-div {
  width: fit-content;
}

.fade-parent .fade-div p {
  width: fit-content;
  margin-bottom: 0px;
}

.s7-img {
  width: fit-content;
  height: fit-content;
  position: relative;
  box-shadow: 0px 10px 10px -4px;
}

.s7-img::before {
  content: '';
  position: absolute;
  height: 25px;
  width: 120px;
  background-color: rgb(255, 255, 255);
  rotate: -30deg;
  top: -5px;
  left: -35px;
  box-shadow: 0px 0px 8px -4px;
}

.s7-img::after {
  content: '';
  position: absolute;
  height: 25px;
  width: 120px;
  background-color: rgb(255, 255, 255);
  rotate: 30deg;
  top: -5px;
  right: -35px;
  box-shadow: 0px 0px 8px -4px;
}

.s7-box {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0px 0px 8px -4px;
  border-radius: 50%;
  padding: 120px 50px;
  background-color: #8a2be2;
  position: relative;
  z-index: 95;
}

.s7-box::before {
  content: '';
  position: absolute;
  height: 120%;
  width: 100%;
  /* border: 3px solid red; */
  left: -10px;
  border-radius: 50%;
  animation: rotate-border1 10s ease infinite;
  background-color: rgba(255, 0, 0, 0.171);
  z-index: -50;
}

.s7-box::after {
  content: '';
  position: absolute;
  height: 120%;
  width: 105%;
  /* border: 3px solid green; */
  right: -10px;
  border-radius: 50%;
  rotate: 60deg;
  background-color: rgba(0, 128, 0, 0.171);
  z-index: -5;
  animation: rotate-border2 15s ease infinite;
}

/* Default state: paused */
.s7-box::after,
.s7-box::before {
  /* animation: s2-ball-move 5s infinite; */
  animation-play-state: paused;
}

/* When in view: running */
.s7-box.animate-on-view::after,
.s7-box.animate-on-view::before {
  animation-play-state: running;
}


@keyframes rotate-border1 {
  0% {
    transform: rotate(0deg);
    border-radius: 45%;
    background-color: rgba(255, 0, 0, 0.171);
  }

  33% {
    transform: rotate(180deg);
    border-radius: 40%;
    background-color: rgba(0, 128, 0, 0.171);
  }

  66% {
    transform: rotate(270deg);
    border-radius: 50%;
    background-color: rgba(0, 0, 255, 0.171);
  }

  100% {
    transform: rotate(360deg);
    border-radius: 45%;
    background-color: rgba(255, 0, 0, 0.171);
  }
}

@keyframes rotate-border2 {
  0% {
    transform: rotate(0deg);
    border-radius: 45%;
  }

  33% {
    transform: rotate(-180deg);
    border-radius: 40%;
  }

  66% {
    transform: rotate(-270deg);
    border-radius: 50%;
  }

  100% {
    transform: rotate(-360deg);
    border-radius: 45%;
  }
}

.s7-box p {
  text-align: center;
  color: white;
}

.s7-bg {
  background-color: rgb(246, 246, 255);
  border-radius: 20px;
}

#s7_count {
  color: white;
  transition: all 1s ease;
  font-size: 20px;
  background-color: chocolate;
  border-radius: 50px;
  padding: 5px;
}

@keyframes hour {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
    transition: all 1s ease;
  }
}

.hour {
  font-size: 20px;
  background-color: chocolate;
  border-radius: 50px;
  padding: 5px;
}

/* .s7-boxes{
    background-color: #eef8fc;
  border-bottom: 4px solid #00aeef;
}

.s7-boxes p{
    margin-bottom: 0px;
    text-align: center;
} */

.s7-ul-box {
  height: fit-content;
  width: fit-content;
  background-color: #f6f6ff;
  /* padding: 30px; */
  border-radius: 10px;
  /* box-shadow: 0px 0px 10px -5px; */
  position: relative;
  z-index: 3;
}

.s7-ul-box ul {
  list-style-type: none;
  padding-left: 0px;
  margin-bottom: 0px;
}

.s7-ul-box ul li {
  background-color: #eef8fc;
  margin: 7px 0px;
  padding: 10px;
  border-left: 4px solid #00aeef;
  transition: all 0.7s ease;
}

.s7-ul-box ul li:hover {
  background-color: #d0f0ff;
  transform: translateX(5px);
}

.cpu-div {
  position: relative;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  width: fit-content;
  overflow: hidden;
  box-shadow: 0px 4px 8px -6px;
  animation: box-shaow 4s linear infinite;
  animation-play-state: paused;
}

@keyframes box-shaow {
  0% {
    box-shadow: 0px 4px 8px -6px red;
  }

  33% {
    box-shadow: 0px 4px 8px -6px green;
  }

  66% {
    box-shadow: 0px 4px 8px -6px blue;
  }

  100% {
    box-shadow: 0px 4px 8px -6px red;
  }
}

.animate-on-view.cpu-div {
  animation-play-state: running;
}

.cpu-div::before {
  content: '';
  position: absolute;
  height: 10%;
  width: 100%;
  background-color: red;
  /* top: 0; */
  right: -100px;
  rotate: -35deg;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 42px #0fa;
  animation: cpu1 3s linear infinite;
}

@keyframes cpu1 {
  0% {
    transform: translateY(0%);
    width: 100%;
    background-color: red;
  }

  33% {
    background-color: green;

  }

  66% {
    background-color: blue;

  }

  100% {
    transform: translateY(-500px);
    width: 800px;
    background-color: red;
  }
}

.cpu-div::after {
  content: '';
  position: absolute;
  height: 10%;
  width: 100%;
  background-color: rgb(55, 0, 255);
  rotate: -35deg;
  bottom: 50%;
  right: 0px;
  z-index: 1;
  box-shadow: 0 0 42px rgb(0, 255, 106), 0 0 42px #6A0066;
  animation: cpu2 3s linear infinite;
}

@keyframes cpu2 {
  0% {
    transform: translateY(0%);
    width: 100%;
    background-color: green;
  }

  50% {
    background-color: blue;
  }

  100% {
    transform: translateY(500px);
    width: 800px;
    background-color: red;
  }
}

.cpu-div svg {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 2;
}

.cpu-div svg path {
  transform: scaleY(1.2);
  /* Double height */
  transform-origin: center;
  /* transform: translateY(-50px); */
}

.cpu-div::after,
.cpu-div::before {
  /* animation: s2-ball-move 5s infinite; */
  animation-play-state: paused;
}

/* When in view: running */
.cpu-div.animate-on-view::after,
.cpu-div.animate-on-view::before {
  animation-play-state: running;
}

.s7-text-bg {
  background-color: #6A0066;
}

.s7-border-div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s7-border-div div {
  display: flex;
  width: fit-content;
}

.s7-border-div div div {
  height: 30px;
  width: 100px;
  border-left: 2px solid #00aeef;
  border-bottom: 2px solid #00aeef;
}

.s7-border-div div p {
  margin-bottom: 20px;
  position: relative;
  bottom: -15px;
  margin-left: 10px;
}

/* section 8 */

.s8 .container p {
  text-align: justify;
}

/* ------------------------- Remodification_1 ---------------------------- */
.sect-1 {
  margin-top: 8rem;
}

@media (max-width:992px) {
  .sect-1 {
    margin-top: 4rem;
  }

  .sect-1 div h1 {
    text-align: center;
  }
}

.sect-1 div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sect-1 div h1 {
  padding: 0px 0.3rem;
  width: fit-content;
  font-style: italic;
  background: linear-gradient(30deg, #CC66DA, #00aeef);
  background-clip: text;
  background-repeat: repeat;
  background-position: center left;
  color: transparent;
  position: relative;
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
}

.sect-1 div h1::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(30deg, #CC66DA, #00aeef);
  bottom: -3px;
  left: 0px;
}

.sect-2 .animated-section1 span i {
  rotate: 15deg;
}

.sect-2 .draw1 path {
  stroke: rgba(109, 204, 0, 0.616);
  stroke-width: 1.5;
  fill: none;

  /* stroke-dasharray: 100; */
  /* Total length of dash pattern */
  stroke-dashoffset: 100;
  /* Start hidden */

  animation: drawPath1 2s linear infinite;
  animation-play-state: paused;
}

/* @keyframes drawPath1 {
    to {
        stroke-dashoffset: 0;
    }
} */

.sect-2 .q-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sect-2 .q-mark .q-container {
  width: fit-content;
  height: fit-content;
  perspective: 1000px;
  position: relative;
}

.sect-2 .q-mark .q-container div {
  position: relative;
  transform-style: preserve-3d
}

.sect-2 .q-mark .q-container div .mark {
  /* font-size: 10rem; */
  font-size: clamp(5rem, 20vw, 10rem);
  /* background: linear-gradient(-40deg, #6A0066 50%, white, #9929EA 67%); */
  background: linear-gradient(-40deg, #6A0066 50%, white, #9929EA 55%);
  background-clip: text;
  background-attachment: fixed;
  background-position: bottom;
  font-weight: bold;
  color: transparent;
  z-index: 2;
  position: relative;
  user-select: none;
}

.sect-2 .q-mark .q-container div .mark::after {
  content: '';
  position: absolute;
  height: 10px;
  width: 20px;
  background-color: rgba(0, 0, 0, 0);
  bottom: 26%;
  left: 42%;
  border-radius: 50%;
  box-shadow: 0px 10px 10px -2px black;
  z-index: 0;
}

@media only screen and (max-width:601px) {
  .sect-2 .q-mark .q-container div .mark::after {
    bottom: 30%;
    box-shadow: -5px 15px 10px -2px black;
  }
}

.sect-2 .q-mark .q-container div .dublicate {
  position: absolute;
  /* font-size: 10rem; */
  font-size: clamp(5rem, 20vw, 10rem);
  transform: rotateX(70deg) rotateZ(19deg);
  opacity: 0.2;
  z-index: -1;
  /* left: 71px; */
  left: calc(50% - 0px);
  /* bottom: -33px; */
  bottom: calc(50% - 63%);
  z-index: 1
}

.sect-2 .q-mark .q-container .questions {
  position: absolute;
  font-size: clamp(0.6rem, 2vw, 1rem);
  color: #8ABB6C;
  display: flex;
  align-items: center;
  user-select: none;
  transition: transform 0.3s ease-in-out;
}

.sect-2 .q-mark .q-container .questions:hover {
  transform: translateY(-5px);
}

.sect-2 .q-mark .q-container .questions svg {
  width: fit-content;
  height: fit-content;
  padding: 0rem 0.3rem;
}

.sect-2 .q-mark .q-container .one {
  left: -190%;
  bottom: 50%;
}

.sect-2 .q-mark .q-container .two {
  right: -50%;
  top: 2%;
}

.sect-2 .q-mark .q-container .two svg {
  rotate: 100deg;
  position: relative;
  bottom: -1.5rem;
  right: -1rem;
}

.sect-2 .q-mark .q-container .three {
  right: -70%;
  bottom: 60%;
}

.sect-2 .q-mark .q-container .three svg {
  rotate: 180deg;
}

@media only screen and (max-width:540px) {
  .sect-2 .q-mark .q-container .one {
    left: calc(50% - 177px);
    max-width: 150px;
    word-wrap: break-word;
    text-align: center;
  }

  .sect-2 .q-mark .q-container .two {
    top: calc(50% - 80px);
    right: calc(50% - 90px);
  }

  .sect-2 .q-mark .q-container .three {
    right: calc(50% - 115px);
  }
}

.sect-2 .boxes-container {
  padding: 0.5rem 0rem;
}

.sect-2 .boxes-container .boxes {
  background-color: #DBFFCB;
  padding: 0.5rem;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  transition-delay: 0ms;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sect-2 .boxes-container .boxes h5 {
  text-align: center;
  font-size: 1.2rem;
  position: relative;
  height: 47px;
}

.sect-2 .boxes-container .boxes h5::before {
  content: '';
  position: absolute;
  height: 140%;
  width: 150%;
  background-color: rgba(112, 168, 138, 0.2);
  top: -10px;
  left: -10px;
}

.sect-2 .boxes-container .boxes h5::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 150%;
  background-color: #e7ffdc;
  bottom: -10px;
  left: -10px;
}

.sect-2 .boxes-container .boxes:hover {
  transform: translate3d(5px, 3px, 5px);
  box-shadow: -8px -6px 10px -4px #8ABB6C;
}

.sect-2 .boxes-container .boxes p {
  margin-bottom: 0.3rem;
}

.sect-2 .boxes-container .boxes div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sect-2 .boxes-container .boxes div ul {
  list-style-type: circle;
  width: fit-content;
}

.sect-2 .boxes-container .boxes div ul li {
  font-size: 0.9rem;
}

.sect-2 .boxes-container .boxes div ul li::first-letter {
  text-transform: capitalize;
  font-weight: 600;
  color: #9929EA;
}

.sect-2 .boxes-container .boxes div ul li::marker {
  color: red;
  font-size: 1.2rem;
}

.s6 .bg-line-box-container {
  position: relative;
}

.s6 .bg-line-box-container .bg-line-box {
  background: linear-gradient(20deg, #9929EA 44%, white, #6A0066 46%);
  background-attachment: fixed;
  background-size: cover;
  height: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  overflow: hidden;
  left: 1px;
  top: 50%;
  width: 100%;
}

.s6 .bg-line-box-container .bg-line-box svg {
  width: fit-content;
  height: fit-content;
  position: absolute;
  scale: 4;
}

.s6 .bg-line-box-container .content-boxes-container {
  display: flex;
  position: relative;
  z-index: 2;
}

.s6 .bg-line-box-container .content-boxes-container .boxes {
  flex: 1.1;
  margin: 0px 1rem;
  background-color: #9c0097;
  padding: 0.3rem;
  position: relative;
}

.s6 .bg-line-box-container .content-boxes-container .boxes:nth-child(2)::before {
  content: '1';
  position: absolute;
  color: white;
  background-color: #6A0066;
  height: 25px;
  width: 25px;
  top: -5%;
  left: -5%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.s6 .bg-line-box-container .content-boxes-container .boxes:nth-child(4)::before {
  content: '2';
  position: absolute;
  color: white;
  background-color: #6A0066;
  height: 25px;
  width: 25px;
  top: -5%;
  left: -5%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.s6 .bg-line-box-container .content-boxes-container .boxes:nth-child(6)::before {
  content: '3';
  position: absolute;
  color: white;
  background-color: #6A0066;
  height: 25px;
  width: 25px;
  top: -5%;
  left: -5%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}


.s6 .bg-line-box-container .content-boxes-container .boxes div {
  background: linear-gradient(to right, #6A0066, #FF0066);
  border-radius: 10px;
  padding: 0.3rem;
  height: 100%;
}

.s6 .bg-line-box-container .content-boxes-container .boxes div p {
  margin-bottom: 0px;
  color: white;
  text-align: center;
  height: fit-content;
  width: fit-content;
}

.s6 .bg-line-box-container .content-boxes-container .empty {
  flex: 1;
}

.s7 .bg-box {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 182, 193, 0.7), rgba(255, 182, 193, 0) 60%),
    radial-gradient(circle at 70% 70%, rgba(173, 216, 230, 0.7), rgba(173, 216, 230, 0) 60%),
    linear-gradient(135deg, #f8a5c2, #74b9ff);
  background-blend-mode: screen;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 2rem 0rem; */
  width: fit-content;
}

.s7 .bg-box .list-box {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s7 .bg-box .list-box ul {
  list-style-type: none;
  width: fit-content;
  height: fit-content;
  margin-bottom: 0px;
}

.s7 .bg-box .list-box ul li {
  user-select: none;
  margin: 2rem 0rem;
  position: relative;
  background-color: #9B5DE0;
  padding: 0.4rem;
  text-align: center;
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: inset 0px -10px 10px 2px #5d2c94, 0px 20px 10px -40px rgb(0, 0, 0);
  border-bottom: 2px solid #3d0b77;
  transition: transform 0.5s ease-in-out;
}

.s7 .bg-box .list-box ul li:hover {
  transform: translateY(10px);
}

.s7 .bg-box .list-box ul li:nth-child(1) {
  right: 30px;
}

.s7 .bg-box .list-box ul li:nth-child(2) {
  right: -30px;
}

.s7 .bg-box .list-box ul li:nth-child(3) {
  right: -60px;
}

.s7 .bg-box .list-box ul li:nth-child(4) {
  right: -30px;
}

.s7 .bg-box .list-box ul li:nth-child(5) {
  right: 30px;
}

@media only screen and (max-width:530px) {
  .s7 .bg-box .list-box ul li:nth-child(1) {
    right: 35px;
  }

  .s7 .bg-box .list-box ul li:nth-child(2) {
    right: 5px;
  }

  .s7 .bg-box .list-box ul li:nth-child(3) {
    right: -20px;
  }

  .s7 .bg-box .list-box ul li:nth-child(4) {
    right: 5px;
  }

  .s7 .bg-box .list-box ul li:nth-child(5) {
    right: 35px;
  }
}

@media only screen and (max-width:371px) {
  .s7 .bg-box .list-box ul li {
    height: 53px;
    display: grid;
    place-content: center;
  }
}

.s7 .bg-box .count-box {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.s7 .bg-box .count-box h3 {
  font-style: italic;
  font-size: 1.6rem;
  text-align: center;
  background-image: linear-gradient(10deg, #E45A92, #5D2F77);
  background-clip: text;
  color: transparent;
  text-shadow: 2px 10px 7px #73c9d242;
}

.s7 .bg-box .count-box .count-div {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s7 .bg-box .count-box .count-div p {
  font-size: 0.9rem;
  text-align: center;
}

.s7 .bg-box .count-box .count-div p span {
  width: 50px;
  color: white;
  font-weight: 600;
}

@media only screen and (max-width:991px) {
  .s7 .bg-box .list-box {
    justify-content: center;
    flex-direction: column;
  }

  .s7 .bg-box .img-box {
    position: unset;
    /* height: calc(50vh - 1rem);
        width: calc(70vw - 1rem); */
    height: 100%;
    width: 100%;
  }

  .s7 .bg-box .list-box ul li:nth-child(1) {
    right: 35px;
  }

  .s7 .bg-box .list-box ul li:nth-child(2) {
    right: 5px;
  }

  .s7 .bg-box .list-box ul li:nth-child(3) {
    right: -20px;
  }

  .s7 .bg-box .list-box ul li:nth-child(4) {
    right: 5px;
  }

  .s7 .bg-box .list-box ul li:nth-child(5) {
    right: 35px;
  }
}

/* @media only screen and (max-width:750px) {
    .s7 .bg-box .img-box {
        position: unset;
        height: calc(50vh - 50px);
        width: calc(70vw - 1rem);
    }
} */

@media only screen and (max-width:650px) {
  .s7 .bg-box .list-box {
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
  }

  .s7 .bg-box .img-box {
    height: 100%;
    width: 100%;
    padding: 0px;
    margin-bottom: 1rem;
  }
}