
* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Arial', sans-serif;
}
a {
  text-decoration: none;
  color:#439eff;
}
a:hover {
  color:#439eff;
}

.shimmer {
  position: relative;
  background: #f6f7f8;
  color: transparent;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(to right, transparent 0%, #e0e0e0 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

.loaded-number {
/*    color: #333;
    background: none;
    font-weight: bold;*/
    transition: all 0.3s ease-in-out;
  }




  .header-top {
    background: linear-gradient(89.09deg, #faec60 -4.93%, #e5a34b 8.69%, #ee6e4d 20.84%, #f44380 37.75%, #be3db3 52.82%, #7746e6 73.27%, #5a71f1 89.06%, #439eff 101.36%);
    padding: 8px 0 28px;
    margin-bottom: -22px;
  }
  .header-top-content p {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
  }
  .menu-area.menu-area-two {
    border-bottom: 1px solid #f1f3fa;
    border-radius: 25px 25px 0 0;
    background:#fff;
    z-index: 9;
    position: relative;
  }
  .menu-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .main-logo{
    font-size: 26px;
    letter-spacing: 0px;
    font-weight: bold;
    color: #160042;
    display: flex;
    align-items: center;
  }
  .nav-item {
    margin-left: 20px;
  }
  .netspeed  ul li a {
    font-size: 16px;
    font-weight: 600;
    color:#160042;
    display: block;
    line-height: 1;
    position: relative;
    z-index: 1;
    letter-spacing: 0.005em;
  }
  .banner-area {
    position: relative;
    z-index: 1;
  }
  .hero-section {
    padding: 15px 0;
    background-color:#fff;
  }
  .netspeed-banner-content.netspeed-style-two h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.50;
    margin-bottom: 42px;
    color: #160042;
  }

  .footer-features-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 16px 16px;
    border-radius: 8px;
    border:1px solid #006adb45;
    box-shadow: 0px 7px 4px rgba(68, 87, 107, 0.04);
    transform: translateY(0);
    transition: all 0.9s ease-in-out;
  }
  .footer-features-item:hover{
    transform: translateY(-4px);
  }

  .footer-features-item .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(280deg, #ff77d3 0%, rgb(115 177 255) 100%);
    border-radius: 10px;
    margin-right: 20px;
    position: relative;
  }
  .footer-features-item .content .title {
    color:#160042;
    font-size: 18px;
    margin-bottom: 4px;
  }
  .footer-features-item .content p {
    font-size: 24px;
    color: #160042;
    font-weight:600;
    margin: 0;
  }
  .footer-features-item .content p i {
    margin-left: 15px;
  }
  .about-us-netspeed {
    padding: 0px 0;
    background: #ffffff;
  }
  .about-us-netspeed h6{
    margin-bottom: 15px;
    color:#be3db3;
    font-weight: 600;
    font-size: 18px;
  }

  .about-us-netspeed h2 {
    font-size: 38px;
    font-weight: 700;
    color: #160042;
    margin-bottom: 20px;
  }
  .about-us-netspeed p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75em;
    color: #474C56;
  }
  .about-us-netspeed img{
    border-radius:50px;
  }
  .howitsworks-main{
    padding:80px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(235, 235, 253, 0.00) 0%, #EBEBFD 100%);
  }

  .howitsworks-title{
    margin-bottom:40px;
  }
  .howitsworks-title h2{
    font-size: 38px;
    font-weight: 700;
    color: #160042;
    margin-bottom: 20px;
  }
  .howitsworks-title p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75em;
    color: #474C56;
  }
  .feature-item {
    background:#fff;
    padding:20px;
    border-radius:28px;
    border: 1px solid #006adb45;
    box-shadow: 0px 7px 4px rgba(68, 87, 107, 0.04);
    margin-bottom:26px;
    transform: translateY(0);
  }
  .feature-item:hover{
    transform: translateY(-4px);
  }
  .feature-item .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(280deg, #ff77d3 0%, rgb(115 177 255) 100%);
    border-radius: 10px;
    margin-right: 20px;
    position: relative;
  }
  .feature-item h3 {
    margin: 30px 0 12px;
    color: #160042;
    font-size: 20px;
    font-weight: 600;
  }

  .feature-item p {
    margin: 0;
    color:#474C56;
    font-size: 16px;
    font-weight: 400;
  }
  .playstore-cta{
    padding:80px 0;
    background-color: #172b4d;
  }
  .playstore-cta .section-title{
    margin-bottom: 60px;
  }
  .playstore-cta .section-title h2{
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
  }
  .playstore-cta .section-title p{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75em;
    color:#dddddd;
  }
  .faq-section{
    padding:80px 0;
  }
  .faq-section h2{
    font-size: 38px;
    font-weight: 700;
    color: #160042;
    margin-bottom: 20px;
  }
  .faq-section p{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75em;
    color: #474C56;
  }

  .accordion-button {
    font-weight: 600;
    color:#160042;
    background-color: #f8f9fa;
    border-radius: 8px !important;
    transition: 0.3s;
  }

  .accordion-button:hover {
    background-color: #e3f2fd;
  }

  .accordion-button:focus {
    box-shadow: none;
  }

  .accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    border-bottom: 1px solid #006adb45;
    box-shadow: 0px 7px 4px rgba(68, 87, 107, 0.04);
  }

  .accordion-collapse {
    background: white;
  }

  .accordion-body {
    color: #555;
    font-size: 16px;
  }
  footer {
    background-color:#160042;
    color: #fff;
    padding: 20px 0;
  }

/* ----------------- */
/* Pulsating opacity effect */
@keyframes pulse {
  0% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  }
}

/* Heartbeat effect (slight scaling) */
@keyframes start-heartbeat {
  0% {
    transform: scale(1);
  }
  8.333% {
    transform: scale(0.989);
  }
  16.667% {
    transform: scale(1);
  }
}

/* Ring effect (expanding glow) */
@keyframes start-ring {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  12.5% {
    opacity: 0;
    transform: scale(0.995);
  }
  16.667% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: scale(1.3);
  }
}

/* Floating animation (smooth up-down effect) */
@keyframes float {
  0% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(-5px);
  }
}

/* Go Button Container */
#goButtonContainer {
  width: 250px;
  height: 250px;
  background: #172B4D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; 
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Inner Ring Effect */
#goButtonContainer::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 3px solid rgba(6, 175, 253, 0.5);
  animation: start-ring 2s infinite;
}

/* Actual Go Button */
#goButton {
  font-size: 48px;
  font-weight: bold;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

#goButtonContainer.clicked {
  transform: scale(0.5);
  opacity: 0;
  pointer-events: none;
}

canvas {
  width: 100%;
  height: auto;
}

#speedText {
/*  font-size: 28px; */
  display: none;
}

/*#speedText {
  display: none;
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  font-weight: bold;
  color: #160042;
}*/
#result-items-cards{
  display: none;
}
#startTest {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  font-size: 18px;
  background: #06AFFD;
  border: none;
  color: white;
  cursor: pointer;
}
#speedometerContainer {
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
#testAgainButton {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65px;
  height: 65px;
  background:linear-gradient(to top, #1e3c72e3 0%, #1e3c72eb 1%, #2a5298e0 100%);
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none; /* Initially hidden */
  box-shadow: 0 0 20px rgba(0, 183, 255, 0.8);
  /*opacity: 0.85;*/
}


#testAgainButton:active {
  transform: translate(-50%, -50%) scale(0.95);
}

@media (max-width: 480px) {
  .hero-section {
    padding: 25px 0;
  }
  .netspeed-banner-content.netspeed-style-two h1{
    font-size:18px;
    margin-bottom:28px;
  }
  #speedometerContainer {
    width: 100%; 
    max-width: 300px;
    max-height:300px;
  }
  
  canvas {
    width: 100%;
    height: auto;
  }
  #goButtonContainer {
    width: 200px;
    height: 200px;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #goButtonContainer::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 3px solid rgba(6, 175, 253, 0.5);
    animation: start-ring 2s infinite;
  }
  .footer-features-item{
    padding: 8px 8px;
    margin-bottom: 12px;
  }
  .footer-features-item .icon{
    width: 40px;
    height: 40px;
    padding: 4px;
    margin-right:10px;
  }
  .footer-features-item .icon svg{
    width: 34px;
    height: 34px;
  }
  .footer-features-item .content .title{
    font-size: 15px;
  }
  .footer-features-item .content p{
    font-size: 16px;
  }
  .about-us-netspeed{
   padding-top:0;
   padding-bottom:40px;
 }
 .about-us-netspeed h2{
  font-size:26px;
}
.about-us-netspeed p{
  font-size:16px;
}
.howitsworks-main{
  padding-top:0;
  padding-bottom:40px;
}
.howitsworks-title h2{
  font-size:26px;
}
.howitsworks-title p{
  font-size:16px;
}
.feature-item h3{
  font-size:22px;
}
.playstore-cta{
  padding-top:40px;
  padding-bottom:40px;
}
.playstore-cta .section-title h2{
  font-size:26px;
}
.faq-section{
  padding-top:40px;
  padding-bottom:40px;
}
.faq-section h2{
  font-size:26px;
}
/*#testAgainButton{
  top: 40%;
}*/
}

@media (min-width: 481px) and (max-width: 767px){
  .hero-section {
    padding: 25px 0;
  }
  .netspeed-banner-content.netspeed-style-two h1{
    font-size:18px;
    margin-bottom:28px;
  }
  #speedometerContainer {
    width: 100%; 
    max-width: 300px;
    max-height:300px;
  }
  
  canvas {
    width: 100%;
    height: auto;
  }
  #goButtonContainer {
    width: 200px;
    height: 200px;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #goButtonContainer::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 3px solid rgba(6, 175, 253, 0.5);
    animation: start-ring 2s infinite;
  }
  .footer-features-item{
    padding: 8px 8px;
    margin-bottom: 12px;
  }
  .footer-features-item .icon{
    width: 40px;
    height: 40px;
    padding: 4px;
    margin-right:10px;
  }
  .footer-features-item .icon svg{
    width: 34px;
    height: 34px;
  }
  .footer-features-item .content .title{
    font-size: 15px;
  }
  .footer-features-item .content p{
    font-size: 16px;
  }
  .about-us-netspeed{
   padding-top:0;
   padding-bottom:40px;
 }
 .about-us-netspeed h2{
  font-size:26px;
}
.about-us-netspeed p{
  font-size:16px;
}
.howitsworks-main{
  padding-top:0;
  padding-bottom:40px;
}
.howitsworks-title h2{
  font-size:26px;
}
.howitsworks-title p{
  font-size:16px;
}
.feature-item h3{
  font-size:22px;
}
.playstore-cta{
  padding-top:40px;
  padding-bottom:40px;
}
.playstore-cta .section-title h2{
  font-size:26px;
}
.faq-section{
  padding-top:40px;
  padding-bottom:40px;
}
.faq-section h2{
  font-size:26px;
}
/*#testAgainButton{
  top: 40%;
}*/
}
@media (min-width: 768px) and (max-width: 991px){
  .hero-section {
    padding: 25px 0;
  }
  .netspeed-banner-content.netspeed-style-two h1{
    font-size:18px;
    margin-bottom:28px;
  }
  #speedometerContainer {
    width: 100%; 
    max-width: 300px;
    max-height:300px;
  }
/*  #speedText{
    bottom: 120px;
  }*/
  canvas {
    width: 100%;
    height: auto;
  }
  #goButtonContainer {
    width: 200px;
    height: 200px;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #goButtonContainer::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 3px solid rgba(6, 175, 253, 0.5);
    animation: start-ring 2s infinite;
  }
  .footer-features-item{
    padding: 8px 8px;
    margin-bottom: 12px;
  }
  .footer-features-item .icon{
    width: 40px;
    height: 40px;
    padding: 4px;
    margin-right:10px;
  }
  .footer-features-item .icon svg{
    width: 34px;
    height: 34px;
  }
  .footer-features-item .content .title{
    font-size: 15px;
  }
  .footer-features-item .content p{
    font-size: 16px;
  }
  .about-us-netspeed{
   padding-top:0;
   padding-bottom:40px;
 }
 .about-us-netspeed h2{
  font-size:26px;
}
.about-us-netspeed p{
  font-size:16px;
}
.howitsworks-main{
  padding-top:0;
  padding-bottom:40px;
}
.howitsworks-title h2{
  font-size:26px;
}
.howitsworks-title p{
  font-size:16px;
}
.feature-item{
  height: auto;
}
.feature-item h3{
  font-size:22px;
}
.playstore-cta{
  padding-top:40px;
  padding-bottom:40px;
}
.playstore-cta .section-title h2{
  font-size:26px;
}
.faq-section{
  padding-top:40px;
  padding-bottom:40px;
}
.faq-section h2{
  font-size:26px;
}
/*#testAgainButton{
  top: 45%;
}*/
}
@media (max-width: 768px) {
/*  #speedText {
    font-size: 28px; 
  }*/
}

