/* Pre loader styles */
.preLoader{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #fff url('asserts/perLoader.gif') no-repeat center center;
  z-index: 9999;
}
/* Pre loader styles */

.header-text {
  font-family: 'Poppins';
  font-size: 60px;
  font-weight: lighter;
}

.main-image {
  border-radius: 30px;
  box-shadow: 0px 1px 10px -1px rgba(0, 0, 0, 0.53);
  -webkit-box-shadow: 0px 1px 10px -1px rgba(0, 0, 0, 0.53);
}

.screen-1 {
  height: 100vh;

}

.secont-header {
  font-size: 30px;
  font-weight: lighter;

  font-family: 'Poppins';
}

.screen {
  overflow-y: hidden;
  overflow-x: hidden;
}



/* Card Styles */
/* card shell */
.svc-card {
  position: relative;

  height: clamp(260px, 45vw, 630px);
  /* responsive height */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  isolation: isolate;
}

/* background image fills the whole card */
.svc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  /* fills the div */
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform .6s ease;
}

/* subtle zoom on hover */
.svc-card:hover .svc-bg,
.svc-card:focus-visible .svc-bg {
  transform: scale(1.03);
}

/* white gradient overlay that appears on hover */
.svc-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 60%),
    linear-gradient(to top, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .88) 45%, rgba(255, 255, 255, 0) 80%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

/* text block */
.svc-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  color: #222;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s ease .02s, transform .35s ease .02s;
  font-family: 'Poppins';
}

/* pill style */
.svc-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 9999px;
  /* background: #eee; */
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .1);
  color: #333;
}

.teachButton {
  margin-top: 50%;
}

.teachButton:hover {
  cursor: default;
  transform: scale(1.1);
  transition: transform .3s ease;
}

.teachButtonImg {
  height: 150px;
  margin-top: 20%;
}

.teachButtonImg:hover {
  cursor: pointer;
  transform: scale(1.1);
}

/* reveal on hover or keyboard focus */
.svc-card:hover .svc-overlay,
.svc-card:focus-visible .svc-overlay,
.svc-card:hover .svc-text,
.svc-card:focus-visible .svc-text {
  opacity: 1;
  transform: translateY(0);
}

/* images for each card */
.img1 {
  background-image: url('https://www.adme.group/web/image/11198-3379452b/tech%20web%202.webp');
  background-size: cover;
}

.img2 {
  background-image: url('https://www.adme.group/web/image/11199-999cf5fe/software%20web2%20copy.webp');
}

/* swap if needed */
.img3 {
  background-image: url('https://www.adme.group/web/image/11200-1bef71f9/marketing%20web%202%20copy.webp');
}

.mobileCard {

  width: 600px;

}

.mobileScreenCard {
  height: 600px;
  width: 63%;
  margin-left: 20%;
}

/* Screen 3 */
:root {
  --size: 180px;
  --thickness: 14px;
  --accent: #18df00;
  --track: #e6e6e6;
  --bg: #ffffff;
  --value: 0;
  /* 0 to 100 */
}

.progress-wrap {
  width: var(--size);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}

/* Outer ring uses a conic gradient controlled by --value */
.progress-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    /* Gradient fills from 0 to --value% */
    rgba(236, 28, 36, 1) 0%,
    rgba(253, 180, 21, 1) calc(var(--value) * 0.4%),
    rgba(0, 109, 183, 1) calc(var(--value) * 0.74%),
    rgba(115, 44, 144, 1) calc(var(--value) * 1%),
    var(--track) 0
  );
   transition: background 0.5s ease;
}

/* Cut a hole to create ring thickness */
.progress-ring::after {
  content: "";
  position: absolute;
  inset: var(--thickness);
  border-radius: 50%;
  background: var(--bg);
}

/* Center content */
.progress-center {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.progress-center img {
  width: 46%;
  height: auto;
  display: block;
  border-radius: 12%;
}

.percent {
  position: relative;
  margin-top: 20px;
  bottom: 10px;
  font: 600 14px system-ui, sans-serif;
  font-size: 50px;
  user-select: none;

}
.screen3Card {
  border-radius: 50px;
  box-shadow: -2px 1px 16px -2px rgba(0, 0, 0, 0.64);
  -webkit-box-shadow: -2px 1px 16px -2px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: -2px 1px 16px -2px rgba(0, 0, 0, 0.64);
}

/* Screen 3 */


/* motion preference */
@media (prefers-reduced-motion: reduce) {

  .svc-bg,
  .svc-overlay,
  .svc-text {
    transition: none;
  }
}

@media (max-width: 600px) {
  .header-text {
    font-size: 40px;
    text-align: center;
  }

  .secont-header {
    font-size: 25px;
    /* text-align: center; */
  }


  @media (min-width: 0px) and (max-width: 430px) {

    .mobileCard {
      width: auto;
      /* background-color: red; */
      /* height: 400px; */
    }

    .svc-card {
      position: relative;
      margin: 0;
      height: auto;
      /* responsive height */
      border-radius: 16px;
      overflow: hidden;
      /* box-shadow: 0 10px 24px rgba(0, 0, 0, .18); */
      isolation: isolate;
    }

    .img1,
    .img2,
    .img3 {
      background-size: contain;
      /* height: 400px; */
    }

    .mobileScreenCard {
      height: 400px;
      width: 100%;
      margin-left: 5%;
    }

    .teachButtonImg {
      height: 150px;
      margin-top: 15%;
      margin-left: 10%;
    }

  }

}