:root {
  --gradient: linear-gradient(
    90deg,
    rgba(0, 128, 0, 0.8),
    rgba(255, 0, 0, 0.8)
  );
  --blue: #b90055;

  --orange: linear-gradient(-135deg, white 5%, orange 40%);
}

* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.loading-wait {
  filter: blur(20px);
  pointer-events: none;
  overflow: hidden;
  max-height: 50vh;
  box-sizing: border-box;
}

.loading {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  top: 40vh;
  display: flex;
  color: green;
  justify-content: center;
}
.loading .circle {
  padding: 20px;
  animation: loading 1000ms linear infinite;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading .circle i {
  position: relative;
  transform: translate(-1px, -4px);
  width: 60px;
  height: 60px;
  font-size: 4rem;
}
@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}

.money-transfer {
  background: var(--blue);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
  border-radius: 20px 0 20px 0;
  box-shadow: 2px 2px 5px black, inset 2px 2px 5px white;
  color: white;
}
.money-transfer .fields {
  width: 100%;
  display: flex;
  gap: 5px;
  justify-content: space-between;
}
.login-container form .fields {
  box-sizing: border-box;
}

.money-transfer input {
  width: 70%;
  padding: 2px;
}
.money-transfer .btns button {
  padding: 10px 20px;
  border: 1px solid white;
  color: white;
  background: orange;
  width: 120px;
  cursor: pointer;
  border-radius: 5px;
}
.money-transfer .btns button:hover {
  color: orange;
  background: white;
  border: 1px solid orange;
}
/* Login Form ends here  */

header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 10px 150px;
  box-shadow: 2px 0 5px black;
  box-sizing: border-box;
  position: fixed;
  background: white;
  z-index: 10;
  top: 0px;
}

header img {
  width: 150px;
  height: 50px;
  object-fit: contain;
}
header nav {
  width: 60%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
header nav a {
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px;
  color: black;
}
header nav a:hover {
  color: blue;
  border-bottom: 1px solid blue;
}
.mini-nav {
  width: 120px;
  background: whitesmoke;
  display: flex;
  flex-direction: column;
  position: absolute;
  list-style: none;
  padding: 10px;
  margin-top: 12px;
  gap: 5px;
  margin-left: -10px;
}
.mini-nav li {
  border-bottom: 1px solid white;
  padding: 5px;
  cursor: pointer;
  color: black;
}
.mini-nav li:hover {
  color: blue;
  background-color: white;
  border-bottom: 1px solid blue;
}
header .nav-btn {
  padding: 10px;
  color: green;
  display: none;
}
header .close-nav {
  display: none;
}

.container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  margin-top: 100px;
}
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 20px;
}
.services h1 {
  color: rgb(100, 100, 100);
}
.services .content {
  width: 80%;
  box-sizing: border-box;
  padding: 80px;
  gap: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 150px);
  grid-auto-rows: 150px;
  justify-content: space-evenly;
}
.services .content .box {
  display: flex;
  flex-direction: column;
  padding: 0px 10px;
  box-sizing: border-box;
  align-items: center;
  border-bottom: 1px solid #c9c9c9;
  justify-content: space-evenly;
  background: url("resources/appicon-bg.png");
  /* background-color: yellow; */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 50%;
  border: 1px solid black;
  cursor: pointer;
}

.services .content .box:hover {
  box-shadow: 2px 4px 5px black;
}

.services .content .box .title {
  color: White;
  background-color: red;
  position: absolute;
  z-index: 2;
  margin-top: 180px;
  width: 150px;
  padding: 10px 0;
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
}
.services .content .box .title:hover {
  background-color: green;
}

.services .content .box .applyBtn:hover {
  background-color: rgb(181, 118, 0);
}
/* Why Us section starts here */
.whyus {
  width: 100%;

  background-image: url("resources/counter-bg.jpg");
  background-size: cover;
  font-size: 28px;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: white;
}
.whyus .filter {
  display: inline-flex;
  justify-content: space-evenly;
  align-items: flex-end;
  box-sizing: border-box;
  width: 100%;
  padding: 80px;
  background-image: linear-gradient(
    90deg,
    rgba(0, 128, 0, 0.7),
    rgba(255, 0, 0, 0.7)
  );
}
.whyus .box {
  display: inline-flex;
  gap: 10px;
}
.whyus i {
  border: 1px solid white;
  padding: 20px;
  border-radius: 5px;
}

/* contact us starts here*/
.contact {
  width: 100%;
  box-sizing: border-box;
  background-image: url("resources/contact-bg.jpg");
  background-position: center;
  padding: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .boxes {
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 128, 0, 0.8),
    rgba(255, 0, 0, 0.8)
  );
  padding: 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: white;
}
.contact .boxes .child {
  display: flex;
  width: 80%;
  justify-content: space-evenly;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 60%;
}
.contact form input,
.contact form textarea {
  font-size: 16px;
  padding: 10px;
  color: white;
  background: #ff000000;
  border: 1px solid white;
  border-radius: 5px;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}
.contact form input::placeholder,
.contact textarea::placeholder {
  color: white;
}
.contact form button {
  width: 120px;
  background: green;
  padding: 10px;
  color: white;
}
.contact .info {
  border: 1px solid white;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 10px 50px;
  box-sizing: border-box;
  width: 30%;
  box-sizing: border-box;
}
.contact .info .call,
.info .email {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 5px;
  align-items: center;
  word-break: break-all;
}
/* Desclaimer */
.disclaimer {
  background-color: rgb(240, 240, 240);
  text-align: center;
  padding: 100px 100px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.disclaimer p {
  width: 100%;
  text-align: justify;
}

/* footer starts here  */
footer {
  display: flex;
  padding: 10px 40px;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  box-sizing: border-box;
}
footer img {
  width: 10%;
}

/* wallet page starts here  */
.wallet-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px;
  gap: 20px;
}
.wallet {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: green;
  padding: 50px;
  color: white;
}
.wallet span {
  font-size: 32px;
}
.wallet-container .money-transfer {
  width: 50%;
  color: white;
}
.money-transfer .btns {
  width: 100%;
  display: flex;
  justify-content: right;
}

/* wallet page ends here */

/* apply form starts here  */
.form {
  width: 50%;
  margin: auto;
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.apply-form {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 2px;
  box-shadow: 2px 2px 10px black;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--blue);
  color: white;
}
.apply-form .title {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.apply-form .title img {
  width: 10%;
}
.apply-form .text-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.apply-form .text-field label,
.apply-form .text-field span {
  color: white;
}
.apply-form .text-field input,
.text-field select,
.text-field textarea,
.text-field date {
  width: 100%;
  padding: 3px;
  box-sizing: border-box;
  resize: none;
}
.apply-form .text-field input[type="file"],
.upload-container input[type="file"] {
  background: white;
  width: 100%;
  border: 1px solid black;
}
.apply-form .upload-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.apply-form .btns {
  display: flex;
  justify-content: space-evenly;
}
.apply-form .btns button {
  width: 150px;
  padding: 5px;
  border: 1px solid white;
  border-radius: 2px;
}
/* sepcic for dl */
.text-field .inputs {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.text-field .types {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delinputs {
  background: red;
  color: white;
  width: 100px;
  padding: 5px;
  border: 1px solid white;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}

.types .btn {
  background-color: blue;
  border: 1px solid blue;
  text-align: center;
  padding: 5px;
  width: 100px;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}
.types .btn:hover {
  background-color: white;
  color: blue;
}
/* end of dl */

/* Applied List  */
.list {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.table-area {
  width: 80%;
  height: 400px;
  overflow-y: auto;
  border: 2px solid black;
  padding: 0;
}
.list table {
  text-align: center;
  border-collapse: collapse;
  width: 100%;
}
.list table thead {
  background: green;
  color: White;
  position: sticky;
  top: -1px;
  padding: 5px;
  box-sizing: border-box;
}
.list tbody tr td {
  padding: 5px;
}
.list tbody tr:nth-child(even) {
  background: lightgray;
}

.list tbody tr button {
  color: white;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
}
/* End of Applied List */

/* Profile Page Starts Here */
.profile {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
.profile form {
  padding: 20px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 2px 2px 5px black;
  color: white;
  width: 500px;
  text-align: center;
}
.profile form table {
  border-collapse: collapse;
  width: 100%;
  border: none;
  text-align: left;
}
.profile form table tr td {
  padding: 5px;
}
.profile form table tr td:last-child {
  color: black;
}
.profile form input {
  width: 100%;
}
.profile form button {
  width: 100px;
  padding: 5px;
  cursor: pointer;
}
/* Profile Page Ends Here */

/* Mobile view setting */

@media screen and (max-width: 700px) {
  /* Login form starts here */
  .login-container,
  .money-transfer {
    width: 100%;
    left: 0;
  }
  .login-container .fields,
  .money-transfer .fields {
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;
  }
  .login-container .fields input,
  .money-transfer input {
    width: 100%;
    font-size: 20px;
    padding: 2px;
  }
  .login-container .top img {
    width: 120px;
    height: 50px;
  }
  .login-container .top .error {
    top: 120px;
  }
  /* Login form Ends Here */
  header {
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  header .nav-btn {
    display: block;
    font-size: 20px;
  }

  header nav {
    flex-direction: column;
    position: absolute;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    box-sizing: border-box;
    background: orange;
    height: 100vh;
    z-index: 11;
    padding: 0 2px;
    box-sizing: border-box;
    top: 0px;
    right: -200%;
    box-shadow: 0px 5px 20px 0px;
    transition: 500ms ease-in-out;
  }

  header nav .close-nav {
    display: block;
    color: white;
    font-weight: bold;
    font-size: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
  }
  header nav a {
    background: green;
    width: 160px;
    border-radius: 2px;
    color: white;
    padding: 10px;
    display: flex;
    text-align: center;
    justify-content: center;
  }
  header nav a:hover {
    background-color: white;
    border: 1px solid green;
    color: orange;
  }
  .mini-nav {
    margin: 0 auto;
    width: 160px;
    margin-left: -20px;
    margin-top: 20px;
  }
  /* Service box view */
  .services {
    width: 100%;
    box-sizing: border-box;
  }

  .services .content {
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
    display: grid;
    grid-template-columns: 100px 100px 100px;
    grid-auto-rows: 150px;
    justify-content: space-evenly;
    padding: 0;
    padding-top: 20px;
    box-sizing: border-box;
  }

  .services .content .box {
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    padding: 0 5px;
  }
  .services .content .box .title {
    position: relative;
    margin-top: 100px;
    width: 100px;
    padding: 0 5px;
    height: 50px;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .whyus {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .whyus,
  .contact {
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
  }
  .whyus .filter {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .whyus .box {
    width: 200px;
  }

  .contact .boxes {
    padding: 20px;
  }
  .contact .boxes .child {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }
  .contact .child form,
  .contact .child .info {
    width: 100%;
  }

  .disclaimer {
    padding: 40px 20px;
    gap: 20px;
  }

  footer {
    flex-direction: column;
    gap: 20px;
  }
  footer img {
    width: 50%;
  }

  /* wallet page starts here  */
  .wallet-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 10px;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .wallet-container .money-transfer {
    width: 100%;
    color: white;
    box-sizing: border-box;
  }

  /* wallet page ends here */

  /* apply form page */
  .form,
  .apply-form {
    width: 100%;
  }

  /* applied list  */

  .list,
  .table-area {
    width: 100%;
    box-sizing: border-box;
  }

  /* Profile  */

  .profile {
    background: red;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
  }
  .profile form {
    width: 100%;
    box-sizing: border-box;
  }
}
