*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

button,
input,
textarea,
a {
  cursor: pointer;
  outline: none;
  background: 0 0;
  text-decoration: none;
  font-weight: 500;
  font-weight: 500;
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  font-family:
    "Nunito",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

.auth-layout {
  background: url(./img/loginBg.png);
  background-size: cover;
  background-position-x: right;
  height: 100vh;
  width: 100%;
  margin: 0 auto;
}
.auth-layout .layout-wrapper {
  margin: 0 auto;
  height: 100%;
  width: 100%;
  display: flex;
}
.auth-layout .content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.login__container {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: center;
}
/* Left Section - Login Form */
.login__box {
  background-color: #fff;
  padding: 30px 45px;
  width: 48%;
  height: fit-content;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
.login__box .logo {
  margin: 0 auto 30px;
}
.login__box > span {
  margin-top: 20px;
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: 26px;
}
.login__box ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  list-style: none;
}
.login__box ul li {
  width: 49%;
  height: 100px;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}
.login__box ul li a {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  text-decoration: none;
}

.login__box ul li a .content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
}

.login__box ul li a .content > h4 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0em;
  margin-inline-end: 0.5rem;
}

.login__box ul li a .content > p {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0em;
}

/* Right Section - Partnership Networks */
.partnership-section {
  width: 48%;
}
.partnership-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0em;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-between;
  padding-inline-start: 0;
  margin-bottom: 0;
}

.partner-card {
  width: 49%;
  height: 100px;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.partner-card:not(:nth-last-of-type(-n + 2)) {
  margin-block-end: 1rem;
}

.partner-card img {
  margin-block-end: 0.5rem;
}

.partner-card .content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
}

.partner-card .content > h4 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0em;
  margin-inline-end: 0.5rem;
}

.partner-card .content > p {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0em;
}

@media (min-width: 1281px) and (max-width: 1536px) {
  .partner-card .content > h4 {
    font-size: 20px;
  }

  .partner-card .content > p {
    font-size: 16px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .partner-card img {
    width: 100px;
  }

  .partner-card .content > h4 {
    font-size: 18px;
  }

  .partner-card .content > p {
    font-size: 16px;
  }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .partner-card {
    height: 85px;
  }

  .partner-card img {
    width: 75px;
    margin-bottom: 0;
  }

  .partner-card .content > h4 {
    font-size: 14px;
  }

  .partner-card .content > p {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
    .login__container {
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }
    .login__box {
        padding: 35px 45px;
        width: 65%;
        margin: 0 auto;
    }

    .login__box .logo {
        margin: 0 auto 10px
    }

    .login__box>span {
        text-align: center;
        margin-bottom: 10px;
        margin-top: 20px
    }
    .auth-layout .content.padding {
        padding-left: 0;
    }
  .partnership-section {
    width: 100%;
  }

  .partnership-title {
    font-size: 18px;
    line-height: 150%;
  }

  .partnership-section .partners-grid {
    display: none;
  }
    .login__box ul li a .content > p {
    font-size: 14px;
}
.login__box ul li a .content > h4 {
    font-size: 16px;

}
  .login__box ul li {
    width: 100%;
  }
  .login__box ul li:first-child {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
        .login__box {
        padding:20px 35px;
        width: 95%;
        margin-bottom: 15px
    }

    .login__box>span {
        font-size: 22px
    }

    .login__box .logo {
        margin: 0 auto;
        width: 65%
    }
  .partnership-section {
    width: 100%;
  }

  .partnership-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .login__box ul li {
    width: 100%;
  }
  .login__box ul li:first-child {
    margin-bottom: 10px;
  }
  .login__box ul li a .content > p {
    font-size: 14px;
}
.login__box ul li a .content > h4 {
    font-size: 16px;

}
}
