* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.MefmaPageParent {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.MefmaPageParent2 {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  background: linear-gradient(135deg, #00e0ff, #004eff);
}

.MefmaPageSubParent {
  width: 100%;
  height: auto;
  max-width: 1400px;
  min-width: unset;
  overflow-x: hidden;
}

.MefmaFirstPageParent {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0px;
}

.MefmaLogoSection {
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}

.MEFMALogo1 {
  width: 85px;
  max-width: 100%;
}

.MEFMALogo2 {
  width: 120px;
  max-width: 100%;
}

.NanoSoftHeadLogo {
  width: 160px;
  max-width: 100%;
}

.Mefma1stPageConParent {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.MefmaCardsParentSec {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: start;
  overflow-x: hidden;
}


.MefmaCardsParent,
.MefmaCardsParent2 {
  width: 24%;
  min-height: 350px;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s;
}

.MefmaCardsParent:active,
.MefmaCardsParent2:active {
  transform: scale(0.97);
}

.MefmaBlueCard {
  background: linear-gradient(180deg, #8cd3ff 0%, #067ECA 100%);
}

.MefmaGreenCard {
  background: linear-gradient(180deg, #64E29D 0%, #0EA754 100%);
}

.MefmaBlackCard {
  background: linear-gradient(360deg, #121212 0%, #5C5C5C 100%);
}

.MefmaPurpleCard {
  background: linear-gradient(180deg, #ffb6f2 -10%, #c539ac 90%);
}

.MefmaCardsLogoParent {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.MefmaSmartLogo {
  max-width: 160px;
  width: 100%;
}

.MefmaEncodeLogo {
  max-width: 90px;
  width: 100%;
}

.MefmaProupLogo {
  max-width: 120px;
  width: 100%;
}

.MefmaCardTitle {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-top: 24px;
  line-height: 1.6;
}

.MefmaCardTitle2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-top: 6px;
}

.MefmaCardContent,
.MefmaCardContent2 {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 2px;
}


.MefmaCardTitle2,
.MefmaCardContent2 {
  text-align: center;
  margin-top: 8px;
}

.CheckBoxParent {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 20px;
}

.container {
  cursor: pointer;
}

.container input {
  display: none;
}

.path {
  fill: none;
  stroke: white;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
  stroke-dasharray: 241 9999999;
  stroke-dashoffset: 0;
}

.container input:checked~svg .path {
  stroke-dasharray: 70.5 9999999;
  stroke-dashoffset: -262.27;
}

.NextBtnSec {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.NEXTButton {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  position: relative;
  padding: 0 32px;
  font-size: 1.1rem;
  text-transform: uppercase;
  border: 0;
  box-shadow: hsl(210deg 87% 36%) 0px 7px 0px 0px;
  background-color: hsl(210deg 100% 44%);
  border-radius: 12px;
  overflow: hidden;
  transition: 31ms cubic-bezier(.5, .7, .4, 1);
  cursor: pointer;
}

.NEXTButton:before {
  content: attr(alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 4px;
  opacity: 1;
}

.NEXTButton:active {
  box-shadow: none;
  transform: translateY(7px);
  transition: 35ms cubic-bezier(.5, .7, .4, 1);
}

.NEXTButton:hover:before {
  transition: all .0s;
  transform: translateY(100%);
  opacity: 0;
}

.NEXTButton i {
  color: white;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 4px;
  font-style: normal;
  transition: all 2s ease;
  transform: translateY(-20px);
  opacity: 0;
}

.NEXTButton:hover i {
  transition: all .2s ease;
  transform: translateY(0px);
  opacity: 1;
}

.NEXTButton:hover i:nth-child(1) {
  transition-delay: 0.045s;
}

.NEXTButton:hover i:nth-child(2) {
  transition-delay: calc(0.045s * 3);
}

.NEXTButton:hover i:nth-child(3) {
  transition-delay: calc(0.045s * 4);
}


.hidden {
  display: none !important;
}

.RobotImgDiv {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.RobotImg {
  width: 170px;
}

.MefmaSecondPageParent {
  width: 100%;
  height: 100vh;
  /* background: linear-gradient(to left, #d0d0d0, #ffffff); */
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding: 24px;
}

.SecondPageContent {
  width: 100%;
  height: calc(100% - 100px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.TextSection {
  width: 50%;
  font-family: "Quicksand", sans-serif;
  height: 100%;
  font-size: 2.6rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  letter-spacing: normal;
}

.FormSectionMainDiv {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.FormSection {
  width: 60%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.InputBox {
  display: flex;
  align-items: center;
  border: 2px solid #c6e9ff;
  border-radius: 40px;
  padding: 16px;
  background: #fff;
  gap: 6px;
}

.InputImgSec {
  width: 30px;
}

.InputFields {
  width: calc(100% - 30px);
  border: none;
  outline: none;
  background: none;
  font-size: 1rem;
  color: #333;
  letter-spacing: 0.6px;
}

.SubmitButton {
  display: flex;
  justify-content: center;
  align-items: center;
}

.SubmitButton button {
  width: 100%;
  height: 54px;
  border-radius: 40px;
  font-size: 18px;
  background: #333;
  color: #fff;
  letter-spacing: 0.6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0px;
}

.SubmitButton button:hover {
  background: #000;
}

.MefmaThirdPageParent {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tech-text {
  width: 70%;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 500;
}

.thank-text {
  width: 80%;
  text-align: center;
  font-size: 2.4rem;
  line-height: 1.4;
  color: #fff;
}

.email-text {
  width: 70%;
  text-align: center;
  font-size: 1.8rem;
  opacity: 0.9;
  color: #fff;
  font-weight: 500;
}

.email-text span {
  font-weight: 600;
}

.WinnerSection {
  width: 100%;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.AwardsText {
  font-size: 1rem;
  margin-top: 40px;
  letter-spacing: 0.2px !important;
  color: #333;
}

.ThirdPageButtons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.goBackBtn {
  background: white;
  width: 190px;
  height: 50px;
  border-radius: 15px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  border: none;
  cursor: pointer;
  overflow: hidden;
  letter-spacing: 0.4px !important;
}

.goBackBtn p {
  position: relative;
  z-index: 5;
  left: 8px;
}

.goBackIcon {
  background: #111;
  height: 42px;
  width: 25%;
  border-radius: 12px;
  position: absolute;
  top: 4px;
  left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: width 0.3s ease;
}

.goBackBtn:hover .goBackIcon {
  width: 182px;
}



@media (min-width: 768px) and (max-width: 1024px) {
  .MefmaPageSubParent {
    max-width: 1024px;
    min-width: 768px;
  }

  .MefmaFirstPageParent {
    height: auto;
    padding: 20px;
    gap: 30px;
  }

  .MEFMALogo1 {
    width: 80px;
  }

  .MEFMALogo2 {
    width: 120px;
  }

  .NanoSoftHeadLogo {
    width: 140px;
  }

  .MefmaCardsParentSec {
    flex-wrap: wrap;
    gap: 28px;
  }

  .Mefma1stPageConParent {
    height: auto;
    gap: 28px;
    padding: 26px 0px;
  }

  .MefmaCardsParent,
  .MefmaCardsParent2 {
    width: calc(50% - 14px);
  }

  .SecondPageContent {
    width: 100%;
    height: auto;
    padding: 30px 0px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 40px;
  }

  .TextSection {
    width: 100%;
    height: auto;
    font-size: 1.8rem;
    line-height: 1.6;
  }

  .FormSectionMainDiv {
    width: 100%;
  }

  .InputBox {
    padding: 12px;
  }

  .SubmitButton button {
    height: 50px;
    font-size: 16px;
    margin-top: 10px;
  }

  .FormSection {
    width: 56%;
  }

  .MefmaCardsParent,
  .MefmaCardsParent2 {
    min-height: 350px;
  }

  .tech-text {
    width: 80%;
    font-size: 1.6rem;
  }

  .thank-text {
    width: 80%;
    font-size: 2.2rem;
  }

  .email-text {
    width: 80%;
    font-size: 1.6rem;
  }

}

@media (max-width: 767px) {

  .MefmaPageSubParent {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-width: 100%;
    overflow-x: hidden;
  }

  .MefmaFirstPageParent {
    width: 100%;
    height: auto;
    overflow-x: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
  }

  .MefmaLogoSection {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 12px;
  }

  .MEFMALogo1 {
    width: 70px;
  }

  .MEFMALogo2 {
    width: 80px;
  }

  .NanoSoftHeadLogo {
    width: 110px;
  }

  .Mefma1stPageConParent {
    width: 100%;
    height: auto;
    gap: 24px;
    padding: 30px 0px;
  }

  .MefmaCardsParentSec {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    gap: 24px;
  }

  .MefmaCardsParent,
  .MefmaCardsParent2 {
    width: 100%;
    min-height: 340px;
  }

  .SecondPageContent {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .TextSection {
    width: 100%;
    height: auto;
    font-size: 1.6rem;
    padding: 40px 10px;
  }

  .FormSectionMainDiv {
    width: 100%;
  }

  .MefmaThirdPageParent {
    width: 100%;
    min-height: 100vh;
    height: auto;
    padding: 40px 24px;
  }

  .MefmaSecondPageParent {
    height: auto;
    padding: 24px;
  }

  .tech-text {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #fff;
  }

  .thank-text {
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
  }

  .email-text {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #fff;
  }

  .InputBox {
    padding: 14px;
  }

  .InputFields {
    font-size: 0.95rem;
  }

  .FormSection {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .SubmitButton button {
    margin-top: 6px;
  }

  .ThirdPageButtons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }
  
  .goBackBtn {
    background: white;
    width: 170px;
    height: 44px;
    border-radius: 12px;
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    border: none;
    cursor: pointer;
    overflow: hidden;
    letter-spacing: 0.4px !important;
  }
  
  .goBackBtn p {
    position: relative;
    z-index: 5;
    left: 8px;
  }
  
  .goBackIcon {
    background: #111;
    height: 36px;
    width: 25%;
    border-radius: 12px;
    position: absolute;
    top: 4px;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: width 0.3s ease;
  }
  
  .goBackBtn:hover .goBackIcon {
    width: 162px;
  }
  

}