@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

:root {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}
body {
  background-image: url("./assets/realBg1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  @media (min-width: 480px) {
    background-image: url("assets/realDesktop.jpg");
    padding: 1rem 2rem;
    min-height: 100vh;
  }
}
.main {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  font-family: "Lato";
  @media (min-width: 480px) {
    gap: 0rem;
  }
}


.header {
  display: flex;
  flex-direction: column; /* Mobile: stack vertically */
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
}

.header img {
  max-width: 170px;
  max-height: 170px;
  margin-bottom: 1rem; /* Space between image and buttons on mobile */
}

/* Media Query: for screens wider than 480px (desktop/tablet) */
@media (min-width: 480px) {
  .header {
    flex-direction: row; /* Desktop: align items side by side */
    justify-content: space-between;
    margin-top: 0rem;
  }

  .header img {
    margin-bottom: 0; /* Remove bottom margin for desktop layout */
  }
}


/*.header {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: space-between;*/
/*  width: 100%;*/
/*  margin-top: 1rem;*/
/*  @media (min-width: 480px) {*/
/*    margin-top: 0rem;*/
/*  }*/
/*}*/

/*.header img {*/
/*  max-width: 170px;*/
/*  max-height:170px;*/
/*  @media (min-width: 480px) {*/
/*    max-width: 170px;*/
/*    max-height:170px;*/
/*  }*/
/*}*/

.header button {
  padding: 11px 20px;
  border: none;
  border-radius: 0.5rem;
  outline: none;
  width: 50%;
}

.header nav {
  display: flex;
  gap: 1rem;
}

nav .login-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

nav .login-btn:hover {
  background-color: white;
  color: rgba(132, 90, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

nav .reg-btn {
  background: black;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

nav .reg-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

nav .reg-btn:hover::before {
  left: 100%;
}

nav .reg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background: white;
  color: black;
}

/* Mobile responsive button improvements */
@media (max-width: 480px) {
  .header nav {
    gap: 0.5rem;
  }
  
  nav .login-btn,
  nav .reg-btn {
    padding: 10px 18px;
    font-size: 13px;
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  nav .login-btn:hover,
  nav .reg-btn:hover {
    transform: translateY(-1px);
  }
  
  /* Mobile card hover adjustments */
  .cardS div:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(121, 75, 255, 0.15);
  }
  
  .cardS div:hover img {
    transform: scale(1.05);
  }
  
   .footer {
          font-size: 12px;
          padding: 12px 0;
        }
}

/* Button focus states for accessibility */
nav .login-btn:focus,
nav .reg-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Active states */
nav .login-btn:active,
nav .reg-btn:active {
  transform: translateY(0);
  transition: transform 0.1s ease;
}

.hero {
  width: 100%;
  @media (min-width: 480px) {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

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

.hero img {
  max-width: 300px;
  border-radius: 100%;
  margin-top: 0px;

  @media (min-width: 480px) {
    max-width: 480px;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  @media (min-width: 480px) {
    margin-top: 0rem;
    width: 80%;
  }
}

.hero-text h1 {
  font-size: 18px;
  width: 100%;
  color: white;
  margin-bottom: 0rem;

  @media (min-width: 480px) {
    font-size: 35px;
  }
}

.hero-text p {
  color: white;
  font-size: 13px;
  @media (min-width: 480px) {
    font-size: 1rem;
    width: 60%;
  }
}

.hero-text .desc1 {
  margin-top: 0.5rem;
}

.hero-text img {
  max-width: 15px;
}

.hero-text .dot-desc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  font-size: 1rem;
  font-weight: 700;
  @media (min-width: 480px) {
    width: 60%;
    font-size: 1.2rem;
  }
}

.dot-desc span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cardS {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 1rem;

  @media (min-width: 480px) {
    width: 65%;
    margin-top: 1rem;
  }
}

.cardS div {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(121, 75, 255, 1);
  border-radius: 1rem;
  padding: 2rem 1rem;
  color: rgba(121, 75, 255, 1);
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  background-color: white;
  width: 70px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  @media (min-width: 480px) {
    width: 100px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.cardS div::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(121, 75, 255, 0.1), transparent);
  transition: left 0.5s;
}

.cardS div:hover::before {
  left: 100%;
}

.cardS div:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(121, 75, 255, 0.2);
  border-color: rgba(121, 75, 255, 0.8);
  background-color: white;
}
.cardS img {
  max-width: 50px;
  transition: transform 0.3s ease;
}

.cardS div:hover img {
  transform: scale(1.1);
}

.cardS div .numbers {
  font-weight: 900;
  transition: color 0.3s ease;
}

.cardS div:hover .numbers {
  color: rgba(121, 75, 255, 0.8);
}

.cardS div span:not(.numbers) {
  transition: color 0.3s ease;
}

.cardS div:hover span:not(.numbers) {
  color: rgba(121, 75, 255, 0.7);
}

button {
  cursor: pointer;
  padding: 12px 24px;
  border: none;
  border-radius: 0.5rem;
  background-color: rgba(132, 90, 255, 1);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease;
}

button:hover {
  transform: scale(1.1);
  background-color: rgba(121, 75, 255, 1);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
  background-color: white;
}
button:active {
  transform: scale(1.05);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15);
}

button:focus {
  outline: 2px solid rgba(132, 90, 255, 0.5);
  outline-offset: 2px;
}

.footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.9);
        color: white;
        text-align: center;
        padding: 15px 0;
        font-size: 14px;
        backdrop-filter: blur(10px);
        z-index: 5;
      }
      
      
       .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
      }
