body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #102851;
  color: #333;
}

.nav {
  background-color: #061f3f;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#nav-it {
  font-weight: bold;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  margin: 0;
  font-size: 1.8rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffeb3b;
}

.grid-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero {
  background: linear-gradient(135deg, #083f86, #1f943c);
  color: white;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.download-btn {
  display: inline-block;
  background-color: #ffeb3b;
  color: #333;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #ffd700;
}

.grid-element {
  background-color: rgb(5, 60, 111);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grid-element h3 {
  margin-top: 0;
  color: #a5c8f6;
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  margin-bottom: 2rem;
  box-shadow: none !important;
  padding: 2rem;
  position: relative;
  overflow: visible;
}

.app-screenshot {
  width: 15rem;
  height: auto;
  border-radius: 10px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  transition: transform 0.3s ease;
  position: relative;
}

.card-1 {
  transform: rotate(-8deg);
  z-index: 1;
  margin-right: -8rem;
}

.card-2 {
  transform: rotate(0deg);
  z-index: 2;
}

.card-3 {
  transform: rotate(8deg);
  z-index: 1;
  margin-left: -8rem;
}

.app-screenshot:hover {
  transform: scale(1.1) rotate(0deg);
  z-index: 3;
}

.text-style {
  letter-spacing: 3px;
  font-weight: 400 !important;
  color: azure;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #4672be;
  color: white;
  letter-spacing: 3px;
  position: relative; 
  bottom: 0; 
 width: 100%;
  box-sizing: border-box;
}


.contact-info {
  margin-bottom: 40px;
}

.contact-info > p {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 3px;
}

.email-el {
  background: linear-gradient(135deg, #083f86, #1f943c);
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: azure;
  font-size: 20px;
}

.links {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .footer {
    padding: 0.5rem; 
    font-size: 0.9rem; 
  }

  .footer p {
    margin: 0.3rem 0;
  }
  .nav-container {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    margin-top: 1rem;
  }

  .nav-links a {
    margin: 0 0.5rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .img-container {
    padding: 1rem;
  }

  .app-screenshot {
    width: 10rem;
  }

  .card-1 {
    transform: rotate(-5deg);
    margin-right: -5rem;
  }

  .card-2 {
    transform: rotate(0deg);
  }

  .card-3 {
    transform: rotate(5deg);
    margin-left: -5rem;
  }
}
