* {
  margin: 0px;
  padding: 0px;
}

/*body,
html {
  width: 90%;
  height: 100%;
   overflow: hidden;
  background-color: #f0f0f0; 
}*/

.background {
  position: relative;
  width: 80vw; /* 80% of the viewport width */
  height: 50vh; /* 50% of the viewport height */
  overflow: hidden; /* Hide any overflow */
  margin: auto; /* Center the spawn area horizontally */
  top: 25vh; /* Adjust vertical position */
  border: 1px solid rgba(0, 0, 0, 0.2); /* Optional: border to visualize the area */
}

.floating-box {
  z-index: -1;
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #042131; /* White with transparency */
  border-radius: 5px;
  animation: floatRotate 9s infinite linear;
}

/* Combined floating and rotating animation */
@keyframes floatRotate {
  0% {
    transform: translateY(86vh) rotate(0deg);
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-50vh) rotate(360deg);
    opacity: 0;
  }
}

.fa {
  padding: 10px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  background-color: #042131;
  border-radius: 50%;
  color: white;
  margin: 15px 0px;
  margin-right: 36px;
}

.fa img {
  width: 25.72px;
  height: 26px;
}

.fa:hover {
  color: #ffa400;
}

.btnbox {
  width: 100%;
}

h2 {
  color: #ffa400;
}

body {
  background-color: #033855;
  color: white;
  font-family: "Poppins", sans-serif;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  background-color: #042131;
}

nav .left {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav ul {
  display: flex;
  justify-content: center;
}

nav ul li {
  list-style: none;
  margin: 0px 25px;
}

nav ul li a {
  text-decoration: none;
  color: white;
}

nav ul li a:hover {
  text-decoration: none;
  color: #ffa400;
}

.left {
  /* font-size: 1.5rem; */
  display: flex;
}

.left img {
  margin-right: 20px;
  border-radius: 50px;
  height: 40px;
}

.firstSection {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 35rem;
}

.firstSection > div {
  width: 30%;
  /* margin-top: 40px; */
}

.leftSection {
  font-size: 2rem;
  margin-left: 50px;
}

.leftSection .btn {
  padding: 12px;
  margin-right: 25px;
  color: #ffa400;
  background-color: #042131;
  border: 1px solid #042131;
  border-radius: 6px;
  font-size: 18px;
  width: 150px;
  cursor: pointer;
}

.leftSection .btn:hover {
  background: white;
  color: #ffa400;
}

.rightSection img {
  width: 90%;
  margin-left: 45px;
}

.purple {
  color: #ffa400;
}

#element {
  color: #ffa400;
}

.secondSection {
  max-width: 80vw;
  margin: auto;
}

main hr {
  border: 0;
  background: #042131;
  height: 10px;
  margin: 40px 0;
}

.secondSection {
  height: 550px;
  padding-top: 70px;
}

.secondSection1 {
  height: 55rem;
  padding-top: 50px;
  display: flex;
  width: 100%;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

.secondSection1 h1 {
  font-size: 1.9rem;
  color: #ffa400;
  margin-bottom: 50px;
}

.secondSection .box {
  height: 2px;
  background: white;
  width: 80vw;
  margin: 56px 0;
  display: flex;
}

.secondSection1 .box1 {
  display: flex;
  width: 90%;
  margin-bottom: 60px;
}

.secondSection1 .vertical1 {
  height: auto;
  width: 300px;
  border: 3px solid #042131;
  /* background-color: #042131; */
  border-radius: 15px;
  margin: 0px 30px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.verical2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
}

.imageTop1 {
  width: 30px;
  height: 30px;
  margin-right: 25px;
}

.verticalTittle1 {
  text-align: center;
  font-size: 20px;
  color: #ffa400;
}

.verticalDesc1 {
  /* top: 100px; */
  height: 190px;
  color: white;
  width: 90%;
  font-size: 12px;
  text-align: justify;
}

.vertical1 .btn {
  padding: 12px;
  background-color: #042131;
  color: #ffa400;
  border: 1px solid #042131;
  width: 238px;
  font-size: 18px;
  cursor: pointer;
}

.secondSection .vertical {
  height: 93px;
  width: 1px;
  background-color: white;
  margin: 0px 120px;
}

.textGrey {
  color: white;
}

.imageTop {
  width: 30px;
  position: relative;
  top: -40px;
  left: -14px;
}

.verticalTittle {
  position: relative;
  top: 75px;
  width: 150px;
  font-size: 20px;
  color: #ffa400;
}

.verticalDesc {
  position: relative;
  top: 100px;
  color: white;
  width: 150px;
  font-size: 11px;
  text-align: justify;
}

footer {
  background-color: #042131;
}

.footer {
  display: flex;
  padding: 40px 122px;
  justify-content: space-around;
  color: #ffa400;
}

.footerFirst {
  display: flex;
  flex-direction: column;
}

.footerSecond {
  text-align: end;
}

.footer ul li {
  list-style: none;
}

.footer ul li a {
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.footer ul li a:hover {
  color: #ffa400;
}

.footer > div {
  width: 400px;
}

footer .footerRight {
  text-align: center;
  color: grey;
  padding: 12px 0;
}

@media (min-width: 1024px) {
  #mynav {
    display: none;
  }
  .my-button {
    display: none;
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 1023px) {
}

/* Smartphone */
@media (max-width: 480px) {
  h2 {
    font-size: 22px;
  }

  .fa {
    margin: 15px 14px 20px 14px;
    padding: 8px;
  }

  #mynav {
    display: none;
  }

  #mynav.show {
    display: flex;
  }

  #mynav1 {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav {
    /* width: auto; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: rgb(62, 109, 149); */
  }

  .right-up li {
    margin-right: 35px;
  }

  nav .left {
    margin-left: 20px;
    align-items: center;
  }

  nav .left img {
    margin-right: 20px;
  }

  .right ul {
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    justify-content: center;
    width: auto;
  }

  .my-button {
    display: block;
    height: 40px;
    width: 40px;
    /* border: 1px solid black; */
    border-radius: 50%;
    margin: auto;
  }

  .firstSection {
    display: flex;
    flex-direction: column;
    justify-content: start;
    /* align-items: start; */
    font-size: 10px;
    height: 38rem;
  }

  .firstSection .leftSection {
    margin: 40px 0px;
    /* margin-left: 16px; */
    width: auto;
    text-align: center;
    font-size: 25px;
  }

  .leftSection .btn {
    margin: 0px 10px;
  }

  .firstSection .rightSection {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .firstSection .rightSection img {
    margin: 0px;
    height: 250px;
    width: 250px;
  }

  .container {
    display: inline-block;
    cursor: pointer;
    margin: 0pc 20px;
  }

  .bar1,
  .bar2,
  .bar3 {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
  }

  /* Rotate first bar */
  .change .bar1 {
    transform: translate(0, 11px) rotate(45deg);
  }

  /* Fade out the second bar */
  .change .bar2 {
    opacity: 0;
  }

  /* Rotate last bar */
  .change .bar3 {
    transform: translate(0, -11px) rotate(-45deg);
  }

  .secondSection1 {
    height: 165rem;
  }

  .secondSection1 .box1 {
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    margin-bottom: 0px;
  }

  .verticalDesc1 {
    height: 160px;
  }

  .vertical1 .btn {
    width: 100%;
  }

  .secondSection1 .vertical1 {
    margin: 0px 0px;
    margin-bottom: 25px;
  }

  .secondSection1 h1 {
    margin-bottom: 20px;
  }

  .footer {
    padding: 0px;
    padding-top: 20px;
    font-size: 15px;
    text-align: center;
    flex-direction: column;
  }

  .footer > div {
    width: auto;
  }

  .footerSecond {
    text-align: center;
    margin-top: 10px;
  }

  .footerSecond ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: white;
  }

  footer .footerRight {
    font-size: 11px;
  }
}
