/* General Styles */

body {
  background-color: rgb(10, 25, 41);
  margin: 0;
  font-family: "Lato", sans-serif; /* Google Font Lato */
}

/* Navbar */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgb(10, 25, 41);
  z-index: 100;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 15px;
}

.brand-name {
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
}
.nav-icon {
  width: 18px;
  height: 22px;
  filter: invert(1);
}

/* Media queries  for navbar */
@media (max-width: 768px) {
  .navbar {
    padding: 25px 10px;
  }
}
@media (max-width: 1024px) {
  .navbar {
    padding: 0 10px;
  }
}

/* Home Section */
.home-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(10, 25, 41);
  padding: 170px 0px;
  margin-top: 6rem;
}

.home-container {
  max-width: 1200px;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.text-container {
  max-width: 500px;
  color: white;
}

.heading {
  font-size: 53px;
  line-height: 1.2;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.description {
  font-size: 20px;
  color: #ccc;
  line-height: 1.6;
  margin-top: 5px;
}

.image-container {
  width: 60%;
}

.image-container img {
  width: 100%;
  height: auto;
}

/* Media queries  for home-section */

@media (max-width: 1024px) {
  .home-section {
    padding: 100px 16px;
  }
  .heading {
    font-size: 43px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  .home-container {
    flex-direction: column;
    text-align: center;
    margin-top: 0rem;
    gap: 0;
  }
  .home-section {
    padding: 40px 16px;
  }

  .image-container {
    width: 100%;
    margin-top: 30px;
  }

  .heading {
    font-size: 32px;
  }

  .description {
    width: 90%;
    margin: 0 auto;
  }
}

/* QR Demo Section */
.qr-demo-wrapper {
  background-color: rgb(9, 30, 54);
  padding: 100px 20px;
  position: relative;
}

.qr-demo-container {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  padding: 0 15px;
}

.qr-demo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.qr-demo-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.qr-demo-image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
  right: 60px;
}

.qr-scanner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  max-width: 300px;
}

.qr-demo-text {
  flex: 1;
  color: white;
}

.qr-demo-title {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 20px;
}

.qr-demo-description {
  font-size: 20px;
  color: #ccc;
  line-height: 1.5;
  margin-top: 10px;
}

.qr-demo-divider {
  height: 1.4px;
  background-color: #555555;
  position: absolute;
  bottom: 28px;
  left: 0;
  width: 100%;
}

/* Mobile Responsive for QR Demo Section */
@media (max-width: 768px) {
  .qr-demo-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .qr-demo-wrapper {
    padding: 50px 20px;
  }

  .qr-demo-text {
    max-width: 100%;
  }

  .qr-demo-title {
    font-size: 30px;
  }

  .qr-demo-description {
    width: 90%;
    margin: 0 auto;
  }

  .qr-demo-image {
    max-width: 100%;
    order: 2;
  }

  .qr-demo-image-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .qr-scanner {
    width: 25%;
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .qr-mobile {
    max-width: 100%;
  }
  .qr-demo-wrapper {
    padding: 50px 20px;
  }
  .qr-scanner {
    width: 20%;
    max-width: 80px;
  }
  .qr-demo-divider {
    bottom: 22px;
  }
}

/* Open Source Section */
.opensource-section {
  padding: 112px 16px;
}

.opensource-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 15px;
}

.opensource-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.opensource-quote-icon {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.opensource-quote-icon img {
  width: 80px;
  height: auto;
}

.opensource-text {
  flex: 1;
  max-width: 50%;
  color: white;
}

.opensource-title {
  font-size: 36px;
  font-weight: bold;
  max-width: 76%;
  margin-bottom: 20px;
  margin-top: 0;
  text-align: left;
}

.opensource-description {
  font-size: 20px;
  color: rgb(156 163 175);
  line-height: 1.6;
  max-width: 530px;
}

.opensource-image {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
}

.opensource-image img {
  width: 100%;
  height: auto;
  max-width: 550px;
  margin-top: 2rem;
}

/* mobile responsive for Open Source Section */

@media (max-width: 1024px) {
  .opensource-title {
    font-size: 36px;
    font-weight: bold;
    max-width: 96%;

    margin-bottom: 20px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .opensource-content {
    flex-direction: column;
    text-align: center;
  }
  .opensource-section {
    padding: 65px 16px;
  }

  .opensource-quote-icon img {
    width: 70px;
    height: auto;
  }
  .opensource-text {
    max-width: 100%;
  }

  .opensource-title {
    font-size: 30px;
    max-width: 100%;
    text-align: center;
  }

  .opensource-description {
    width: 80%;
    margin: 0 auto;
  }

  .opensource-image {
    max-width: 80%;
    margin: 60px auto 0;
  }

  .opensource-image img {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .opensource-title {
    font-size: 30px;
  }
  .opensource-section {
    padding: 65px 16px;
  }

  .opensource-container {
    padding: 0 0;
  }

  .opensource-description {
    width: 100%;
  }

  .opensource-image {
    max-width: 100%;
  }

  .opensource-image img {
    max-width: 350px;
  }
}

/* Footer Section */
.custom-footer {
  background-color: rgb(9, 30, 54);
  padding: 40px 20px;
  color: rgb(156 163 175);
}

.custom-footer-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 15px;
}

.custom-footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.custom-footer-about h1,
.custom-footer-help h1 {
  font-size: 15px;
  color: white;
  margin-bottom: -10px;
}

.custom-footer-about p,
.custom-footer-help p {
  font-size: 16px;
  line-height: 1.5;
}

.custom-footer-bottom {
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
  color: rgb(209 213 219);
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Mobile View for  Footer Section */
@media (max-width: 768px) {
  .custom-footer {
    padding: 40px 16px;
  }
  .custom-footer-container {
    padding: 0px;
  }

  .custom-footer-content {
    align-items: flex-start;
    gap: 15px;
  }
}
