*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root{
    --green: #ABC4B2;
    --lgreen: #C5D4BE;
    --lskin: #F2E7D5;
    --skin: #DDCBBA;
    --lblue: #8CB4BA;
    --blue: #869FBA;
}

body{
    background-color: var(--lskin);
}
header{
  background: var(--blue); 
  color: #1F2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
header .logo{
  display: flex;
  align-items: center;
  gap: 10px;
}

header .p_logo a{
  text-decoration: none;
  color: #1F2937;
}

header .logo h1{
  font-size: 24px;
  font-weight: bold;
  color: inherit;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}
header .logo img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
nav ul{
  display: flex;
  list-style: none;
  gap: 20px;
}
nav ul li a{
  color: #1F2937;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s ease, text-shadow 0.2s ease, color 0.2s ease;
}
nav ul li a:hover{
  color: var(--lgreen);
  box-shadow: inset 0 -2px 0 var(--lgreen);
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}
header .p_logo a:hover .logo h1{
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}
.btn{
  background-color: var(--green);
  color: #1F2937;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  
}
.btn:hover{
  background-color: var(--lgreen);
  box-shadow: inset 0 -2px 0 var(--lgreen);
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  color: var(--blue);
}
.btn a{
  color: #1F2937;
  text-decoration: none;
  font-weight: bold;
}
.btn:hover a{
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
}
main{
  padding: 20px;
}

.welcome-section{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.welcome-section p{
  font-size: 18px;
  color: #555;
}
.welcome-section .welcome-image{
  display: flex;
  gap: 40px;
  margin-top: 20px;
}
.welcome-slide-in{
  animation: slideInLeftToRight 1s ease-out 1;
}
.welcome-slide-in-right{
  animation: slideInRightToLeft 1s ease-out 1;
}
.welcome-fade-in{
  animation: fadeInWelcome 4s ease-out 1;
}
@keyframes slideInLeftToRight{
  from{
    transform: translateX(-150px);
    opacity: 0;
  }
  to{
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRightToLeft{
  from{
    transform: translateX(150px);
    opacity: 0;
  }
  to{
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeInWelcome{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}
.guide{
  margin-top: 20px;
}
.guide h2{
  font-size: 28px;
  color: #1F2937;
  margin-bottom: 20px;
  text-align: center;
}
.guide div{
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-direction: row;
}
.guide div div:hover{
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  background-color: var(--lskin);
  cursor: pointer;
}
.guide div div{
  background-color: var(--skin);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  text-align: center;
  width: 250px;
  display: flex;
  flex-direction: column;
  color: #1F2937;
  transition: 0.5s;
}
.guide div div img{
  width: 100%;
  height: 180px;
  object-fit: scale-down;
  display: block;
  /* margin-bottom: 15px; */
}
.guide div div h3{
  font-size: 18px;
  color: #1F2937;
}
/* TYPES SECTION */
.types {
  margin-top: 150px;
  text-align: center;
}

.types h2 {
  color: #1F2937;
  margin-bottom: 10px;
}

.types > p {
  font-size: 18px;
  color: #4B5563;
  margin-bottom: 30px;
}

.types-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  overflow: visible;
  scrollbar-width: thin;
}
.types-list > a{
  text-decoration: none;
  color: inherit;
}

.type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--blue);
  width: 130px;
  height: 15vh;
  color: #1F2937;
  background-color: var(--skin);
  border-radius: 5px;
  transition: all 0.3s ease;
}
.type-card:hover{
  background-color: var(--lskin);
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  color: var(--blue);
}
.type-card p{
  margin: 0;
}

.type-dropdown{
  position: relative;
  width: 110px;
  z-index: 1000;
}
.type-dropdown summary{
  list-style: none;
  cursor: pointer;
}
.type-dropdown summary::-webkit-details-marker{
  display: none;
}
.type-dropdown[open] .type-card{
  background-color: var(--skin);
}
.more-types-menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 170px;
  background: var(--skin);
  border: 1px solid var(--blue);
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  z-index: 1200;
}
.more-types-menu li a{
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1F2937;
  padding: 8px 12px;
  transition: all 0.2s ease;
}
.more-types-menu li a img{
  flex-shrink: 0;
}
.more-types-menu li a:hover{
  background-color: var(--lskin);
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--blue);
  color: var(--blue);
}
.createqr_btn{
  margin-top: 30px;
  margin-bottom: 90px;
  text-align: center;
}

.discover{
  margin-top: 90px;
  margin-bottom: 90px;
  display: grid;
  grid-template-columns: repeat(4, 250px);
  gap: 20px;
  justify-content: center;
}
.discover h2{
  grid-column: 1 / -1;
  font-size: 28px;
  color: #1F2937;
  margin-bottom: 20px;
  text-align: center;
}
.discover_card{
  background-color: var(--skin);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  text-align: center;
  color: #1F2937;
  transition: 0.5s;
  width: 250px;
  min-height: 420px;
  justify-self: center;
  display: flex;
  flex-direction: column;
}
.discover_card:hover{
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  background-color: var(--lskin);
  cursor: pointer;
}
.discover_card:hover h3,
.discover_card:hover p,
.discover_card:hover a{
  color: var(--blue);
}
.discover_card img{
  width: 100%;
  height: 180px;
  object-fit: scale-down;
  display: block;
}
.discover_card h3{
  font-size: 18px;
  color: #1F2937;
  margin-top: 10px;
}
.discover_card p{
  color: #4B5563;
  margin: 10px 0 14px;
  flex-grow: 1;
}
.discover_card a{
  color: #1F2937;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
  transition: all 0.2s ease;
}
.discover_card a:hover{
  color: var(--blue);
  border-bottom-color: var(--lblue);
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1200px){
  .discover{
    grid-template-columns: repeat(2, 250px);
  }
}
@media (max-width: 640px){
  .discover{
    grid-template-columns: 250px;
  }
}

.try_free_section{
  margin-top: 90px;
  margin-bottom: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.try_free,
.premium_features{
  background-color: var(--blue);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  padding: 24px;
  color: var(--lskin);
  transition: 0.3s;
}

.try_free:hover,
.premium_features:hover{
  background-color: var(--skin);
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  color: var(--blue);
}

.try_free:hover li,
.try_free:hover h2,
.try_free:hover p,
.try_free:hover span,
.premium_features:hover li,
.premium_features:hover span{
  color: var(--blue);
}

.try_free h2,
.premium_features h2{
  font-size: 28px;
  margin-bottom: 14px;
}
.try_free,
.premium_features{
  width: 100%;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: space-evenly;
}
.try_free p{
  font-size: 18px;
  line-height: 1.6;
  color: var(--lskin);
  margin-bottom: 22px;
}
.try_free button{
  border: none;
  background: transparent;
  padding: 0;
}
.premium_features ul{
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.premium_features ul li{
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--lskin);
}
.premium_features ul li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--blue);
}
.premium_features img{
  width: 100%;
  height: 500px;
  /* object-fit: scale-down; */
}

footer .footer-social{
  display: flex;
  gap: 10px;
}
footer .footer-social a{
  text-decoration: none;
}
footer .footer-social .footer-icon{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1F2937;
  color: var(--lskin);
  font-size: 16px;
  transition: 0.2s ease;
}
footer .footer-social a:hover .footer-icon{
  background-color: var(--green);
  color: #1F2937;
  transform: translateY(-2px);
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 4px solid;
  border-color: transparent transparent var(--green) var(--blue);
  width: 204px;
  height: 204px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.7s linear infinite;
  transform-origin: center center;
  z-index: 1;
  will-change: transform;
  backface-visibility: hidden;
}
.loader::before {
  width: 164px;
  height: 164px;
  border-color: var(--lblue) var(--lgreen) transparent transparent;
  animation: rotation 1s linear infinite;
}
.loader img{
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
    
.know_more{
  margin-top: 90px;
  margin-bottom: 90px;
  text-align: center;
}

.know_more h2{
  font-size: 28px;
  color: #1F2937;
  margin-bottom: 20px;
}
.know_more p{
  font-size: 18px;
  color: #4B5563;
  margin-bottom: 30px;
}
footer{
  background-color: var(--blue);
  color: #1F2937;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  
}
footer p{
  margin: 5px 0;
  color: #1F2937;
  font-weight: bold;
}
footer a{
  color: #1F2937;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
}
footer a:hover{
  color: var(--green);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}
.footer-meta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.footer-meta a{
  display: flex;  align-items: center;
  gap: 2px;
  padding-left: 10px;
}
.footer-meta a img{
  width: 20px;
  height: 20px;
}
.load_parent{
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30vh;
  color: #1F2937;
}
.loading_div{
  text-align: center;
}
.loading_div h2{
  font-size: 28px;
  margin-bottom: 20px;
}

/* Copied content */
.loader_2 {
  width: fit-content;
  margin: 0 auto;
  font-weight: bold;
  font-family: monospace;
  font-size: 30px;
  clip-path: inset(0 100% 0 0);
  animation: l5 2s steps(11) infinite;
}
.loader_2:before {
  content:"Please wait..."
}
@keyframes l5 {to{clip-path: inset(0 -1ch 0 0)}}


.loader_3 {
  width: fit-content;
  font-weight: bold;
  font-family: inherit;
  font-size: 30px;
  color: #0000;
  background: linear-gradient(90deg,var(--blue) 25%,var(--lblue) 0 50%,var(--green) 0 75%,var(--lgreen) 0) 0 0/400% 100%;
  -webkit-background-clip:text;
          background-clip:text;
  animation:l10 5s infinite cubic-bezier(0.3,1,0,1);
}
.loader_3:before {
  content:"Click here to Continue..."
}
@keyframes l10 {
  25% {background-position: calc(1*100%/3) 0}
  50% {background-position: calc(2*100%/3) 0}
  75% {background-position: calc(3*100%/3) 0}
  100%{background-position: calc(4*100%/3) 0}
}

/* ---------- */

.revert-main{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.revert-card{
  width: min(920px, 100%);
  background-color: var(--skin);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  padding: 30px;
  text-align: center;
  color: #1F2937;
}
.revert-card h1{
  font-size: 34px;
  margin-bottom: 20px;
}
.revert-card .tag{
  background-color: var(--lskin);
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
}
.revert-card .tag h2{
  margin-bottom: 8px;
}
.revert-card .tag p{
  line-height: 1.7;
}
.revert-card .error_text{
  background-color: rgba(134, 159, 186, 0.15);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 24px;
}
.revert-card .error_text a{
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}
.revert-btn{
  display: inline-block;
  text-decoration: none;
 }
.revert-back-btn{
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1000;
  text-decoration: none;
  background-color: var(--green);
  color: #1F2937;
  border: 1px solid var(--lblue);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-weight: bold;
  transition: 0.2s ease;
}
.revert-back-btn:hover{
  background-color: var(--lgreen);
  transform: translateY(-2px);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  color: var(--blue);
}

.sign-main{
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.sign-wrap{
  width: min(980px, 100%);
  background-color: var(--skin);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  padding: 28px;
}
.sign-intro{
  text-align: center;
  margin-bottom: 26px;
}
.sign-intro h2{
  font-size: 34px;
  margin-bottom: 10px;
  color: #1F2937;
}
.sign-intro p{
  color: #4B5563;
  line-height: 1.6;
}
.sign-grid{
  display: grid;
  grid-template-columns: minmax(280px, 520px);
  justify-content: center;
  gap: 20px;
}
.sign-card{
  background-color: var(--lskin);
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 20px;
}
.sign-card h3{
  margin-bottom: 14px;
  color: #1F2937;
}
.sign-form{
  display: grid;
  gap: 10px;
}
.sign-form label{
  font-weight: 600;
  color: #1F2937;
}
.sign-form input{
  width: 100%;
  border: 1px solid var(--lblue);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  background-color: #fff;
}
.sign-form input:focus{
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(134, 159, 186, 0.25);
}
.sign-btn{
  margin-top: 8px;
  width: fit-content;
}
