:root {
  --bg-color: #f4f4f4;
  --light-gray: #fbfbfb;
  --green: #b5d400;
  --grey: #9d9d9d;
  --black: #292d32;
  --stroke: #f2f2f2;
  --gray: #5c6269;

  font-family: "General Sans";
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: General Sans;
  src: url(fonts/GeneralSans-Variable.ttf);
}

html {
  font-family: General Sans, sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-color);
}

h1 {
  font-size: 4.5rem;
}
h2 {
  font-size: 3rem;
}
h3 {
  font-size: 2.75rem;
}
h4 {
  font-size: 1.5rem;
}
p {
  font-size: 1rem;
  line-height: 150%;
}
ul {
  list-style: none;
}
.container {
  width: 90%;
  max-width: 1660px;
  margin: 0 auto;
}
/* -------Commons------- */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-1 {
  flex: 1;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.font-weight {
  font-weight: 400;
}
.font-weight-lg {
  font-weight: 500;
}
.font-weight-lgr {
  font-weight: 600;
}
.font-weight-700 {
  font-weight: 700;
}
.font-xs {
  font-size: 0.85rem;
}
.font-sm {
  font-size: 0.875rem;
}
.font-nm {
  font-size: 0.875rem;
}
.font-md {
  font-size: 1rem;
}
.font-lg {
  font-size: 1.125rem;
}
.font-lgr {
  font-size: 1.25rem;
}
.font-xl {
  font-size: 1.5rem;
}
.font-2xl {
  font-size: 2.5rem;
}
.font-grey {
  color: var(--grey);
}
.font-white {
  color: white;
}
.font-gray {
  color: var(--gray);
}
.font-green {
  color: var(--green);
}
.font-red {
  color: var(--red);
}
.font-black {
  color: var(--black);
}
.font-green {
  color: var(--green);
}
.text-center {
  text-align: center;
}
.text-start {
  text-align: start;
}
.text-end {
  text-align: end;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.items-center {
  align-items: center;
}
.h-screen {
  height: 100vh;
}
.h-full {
  height: 100%;
}
.h-fit {
  height: fit-content;
}
.w-md {
  width: 10rem;
}
.w-1-2 {
  width: 50% !important;
}
.w-60 {
  width: 60% !important;
}
.w-fit {
  width: fit-content;
}
.w-full {
  width: 100%;
}
.w-auto {
  width: auto;
}
.w-screen {
  width: 100vw;
}
.p-state-tag {
  padding: 2px 8px;
}
.p-first {
  padding: 1.7rem 0.5rem 1.7rem 1rem;
}
.p-last {
  padding: 1.7rem 1rem 1.7rem 0.5rem;
}
.p-row {
  padding: 1.7rem 0.5rem;
}
.px-md {
  padding: 0 1rem;
}
.px-sm {
  padding-left: 13px;
  padding-right: 13px;
}
.p-xs {
  padding: 5px;
}
.px-l {
  padding: 0rem 1rem;
}
.p-sm {
  padding: 10px;
}
.p-md {
  padding: 1rem;
}
.py-sm {
  padding-top: 13px;
  padding-bottom: 13px;
}
.py-xs {
  padding-top: 7px;
  padding-bottom: 7px;
}
.py-md {
  padding: 1rem 0;
}
.py-lg {
  padding: 1.5rem 0;
}
.py-lgr {
  padding: 2rem 0;
}
.py-xl {
  padding: 2.5rem 0;
}
.p-ml {
  padding: 1.5rem;
}
.p-lg {
  padding: 2rem;
}
.pl-4 {
  padding-left: 3rem;
}
.m-0 {
  margin: 0;
}
.m-sm {
  margin: 5px;
}
.m-md {
  margin: 1rem;
}
.mb-xs {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}
.mb-md {
  margin-bottom: 1.15rem;
}
.mb-xl {
  margin-bottom: 4.65rem;
}
.mt-sm {
  margin-top: 0.3rem;
}
.mt-md {
  margin-top: 0.8rem;
}
.mt-xl {
  margin-top: 2.25rem;
}
.ml-sm {
  margin-left: 0.65rem;
}
.bg-white {
  background-color: white;
}
.bg-black {
  background-color: var(--black);
}
.bg-green {
  background-color: var(--green);
}
.bg-gray {
  background-color: var(--bg-color);
}
.bg-lightGray {
  background-color: var(--light-gray);
}
.bg-default {
  background-color: var(--bg_color);
}
.bg-black {
  background-color: var(--black);
}
.gap-xs {
  gap: 6px;
}
.gap-sm {
  gap: 10px;
}
.gap-md {
  gap: 18px;
}
.gap-lg {
  gap: 30px;
}
.gap-xl {
  gap: 40px;
}
.gap-2xl {
  gap: 80px;
}
.rounded-xs {
  border-radius: 12px;
}
.rounded-sm {
  border-radius: 16px;
}
.rounded-md {
  border-radius: 30px;
}
.rounded-full {
  border-radius: 100px;
}
.top {
  top: 0;
}
.text-white {
  color: white;
}
.border {
  border: 1px solid var(--black);
}
.border-stroke {
  border: 1px solid var(--stroke);
}
.border-top {
  border-top: 1px solid var(--stroke);
}
.border-top-light {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.border-right {
  border-right: 1px solid var(--stroke);
}
.border-left {
  border-left: 1px solid var(--stroke);
}
.border-none {
  border: none;
}
.hidden {
  display: none;
}
.nowrap {
  white-space: nowrap;
}
.wrap {
  flex-wrap: wrap;
}
.pointer {
  cursor: pointer;
}
.text-left {
  text-align: left;
}
.select-none {
  user-select: none;
}
.h2 {
  font-size: 44px;
  font-weight: 700;
}
.opaque {
  opacity: 0.7;
}
.icon-sm {
  width: 72px;
  height: 72px;
}
.vl {
  border-left: 2px solid var(--black);
  height: 40px;
}
button {
  padding: 1rem;
  background-color: var(--green);
  color: black;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  line-height: 160%;
  width: 12rem;
  border: 1px solid transparent;
  cursor: pointer;
}
button:hover {
  background-color: #d5fa03;
}
button.white {
  background-color: white;
}
button.white:hover {
  background-color: var(--stroke);
}
a {
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  color: var(--black);
}
.overflow-hidden {
  overflow: hidden;
}

/* Header */
.search-bar input {
  border: none;
  background: transparent;
  width: 12rem;
}
.search-bar input:focus {
  outline: none;
}
.search-bar input::placeholder {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--grey);
}
.dropdown {
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  z-index: 20;
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0px 20px 15px 0px rgba(0, 0, 0, 0.05);
}
.dropdown.active {
  display: block !important;
}
.col {
  width: 17rem;
}
.header nav {
  padding: 1.05rem 0;
}
.languages {
  z-index: 99 !important;
}
.header li img {
  transition: transform 0.3s ease;
}

.header li.active img {
  /* display: none; */
  transform: rotate(180deg) !important;
}

/* Homepage */
.about p {
  line-height: 150%;
  opacity: 0.7;
}
.about-text {
  padding-right: 4rem;
}
.about-text-card {
  border-radius: 20px;
  width: 80%;
  line-height: 150%;
}
.about-container,
.mission-container,
.benefits-container,
.learn-container,
.loans-container,
.main-container {
  width: 98%;
  margin: 1.1rem auto;
  margin-bottom: 1.5rem;
  padding: 5rem 0;
}

.main-container {
  padding: 0;
}

.mission-container header h3,
.benefits-container header h3,
.learn-container header h3 {
  max-width: 38rem;
}
.mission-container header p {
  width: 27%;
}
.blog {
  min-height: 28rem;
}
.newsletter {
  height: 22rem;
}
.newsletter > .section {
  background-color: inherit;
  width: 45%;
}
.newsletter-img {
  width: 58rem;
  height: 58rem;
  border-radius: 58rem;
  border: 1px solid #b5d400;
  position: absolute;
  top: -18rem;
}
/* -------Category------- */
.hero2 {
  background: url("images/hero-bg2.png") no-repeat;
  background-size: cover;
  min-height: 420px;
  /* padding-bottom: 19rem !important ; */
}
.hero2 > div {
  padding: 4rem;
  width: 45rem;
}
.hero2 h2,
.hero h2 {
  font-weight: 700;
  line-height: 120%;
}
.hero2 p {
  font-size: 20px;

  line-height: 150%;
  font-weight: 500;
  padding: 1rem 0 2rem 0;
}
.hero {
  height: 742px;
  /* min-height: 100vh; */
  background: url("images/hero-bg.png") no-repeat;
}
.hero img {
  width: 100%;
  height: 100%;
}
.hero-text {
  bottom: 8%;
}

.hero2 > img {
  min-width: 100vw;
}
.section {
  background-color: white;
  padding: 4rem;
  border-radius: 30px;
}

.black-card {
  border-radius: 1.75rem;
  background: linear-gradient(
      139deg,
      rgba(0, 0, 0, 0) 31.02%,
      rgba(73, 78, 62, 0.2) 80.94%
    ),
    #292d32;

  width: 31rem;
  min-height: 110px;
  color: white;
  padding: 2.55rem;
  z-index: 2;
}
.black-card h4 {
  font-size: 2rem;
}
.black-card header {
  gap: 1.1rem;
}
.black-card p {
  padding-right: 3rem;
  margin-bottom: 4.5rem;
}
.bg-card {
  border-radius: 1.75rem 0rem 0rem 1.75rem;
  width: 100px;
  top: 50%;
  transform: translateY(-50%);
}
.bg-card-gray {
  background: #a0a8b1;
  left: -5%;
  height: 81%;
  z-index: 1;
}
.bg-card-light-gray {
  background: #e0e6ed;
  left: -10%;
  height: 71%;
  z-index: 0;
}
.black-card-body {
}
/* ------Sub-category------ */
.subcat {
  flex-wrap: wrap;
  gap: 55px;
}
.subcat > div {
  width: 45%;
  flex-grow: 0.5;
}

/* ------Grant-program------ */
.highlight {
  border: 1px dashed var(--green);
  background: rgba(237, 244, 194, 0.3);
  font-size: 16px;
}
.closed {
  visibility: hidden;
  padding: 4px 12px;
  background: #dde4e7;
  margin: 0 1rem;
}
.closed.active {
  visibility: visible;
}
.file-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.file {
  min-width: 20rem;
  width: 100%;
}

/* Footer */
footer {
  padding-top: 1.8rem;
}
footer header {
  margin-bottom: 1.5rem;
}
footer ul li a {
  color: #d3d9e0 !important;
}
footer h4 {
  color: white;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5rem; /* 171.429% */
  text-decoration-line: underline;
}

.resources-container {
  gap: 1rem;
  padding-top: 2.75rem;
}
.resource {
  border-radius: 20px;
  border: 1px solid #f2f2f2;
  background: #f0f3f4;
  padding: 1.2rem;
  /* width: 31%; */
  gap: 0.65rem;
}
.resource a:hover {
  background: #1f1f1f;
}
.resource-col {
  flex: 1;
  gap: 1rem;

  /* border: 1px solid red; */
}
.resources-footer > div span.active {
  background: var(--stroke);
}

.subcat > div > div:last-child {
  min-height: 305px;
}

@media screen and (max-width: 1200px) {
  .lg-flex-col {
    flex-direction: column;
  }
  .file-container {
    grid-template-columns: 1fr 1fr;
  }
  .blog {
    min-height: auto;
  }
  .newsletter h2 {
    font-size: 24px;
    width: 20rem;
  }
  html {
    font-size: 88%;
  }
}
@media screen and (max-width: 1023px) {
  .subcat > div {
    width: 100%;
  }
  .responsive {
    /* display: none; */
    flex-direction: column;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .responsive > div {
    width: 100% !important;
  }
  .mission-container header p {
    width: 80%;
  }
  .flex-1 {
    flex: auto;
  }
  .newsletter-container {
    rotate: 90deg;
  }
  .newsletter-img {
    top: -28rem;
  }
  .newsletter-img > img {
    rotate: -90deg;
  }
  .newsletter {
    height: 65rem;
    align-items: center;
    flex-direction: column;
  }
  .newsletter .section,
  .newsletter .section h2 {
    width: 100%;
  }
  .resources-container {
    flex-wrap: wrap;
  }
  .resource-col {
    width: 45%;
    flex: auto;
  }
  .header-nav {
    /* justify-content: flex-start; */
  }
}
@media screen and (max-width: 800px) {
  .md-flex-col {
    flex-direction: column;
  }
  .file-container {
    grid-template-columns: 1fr;
  }
  .resource-col {
    width: 100%;
    flex: auto;
  }
  .header-nav,
  .header-interactions {
    display: none;
  }
  .logo {
    width: 200px;
  }
  .hamburger {
    display: block !important;
  }
  .header-interactions-mobile {
    display: flex !important;
  }
  img {
    max-width: 100%;
  }
  .hero2 > div {
    width: auto;
  }
  .hero2 {
    height: 520px;
  }
  .hero2 > div,
  .hero > div {
    padding: 0rem;
    padding-top: 4rem;
    width: 90% !important;
    left: 50%;
    transform: translateX(-50%);
  }
  .black-card {
    width: 100%;
  }
  .section {
    width: 100%;
    padding: 1.85rem 0 !important;
  }
  .section > div {
    width: 90%;
    margin: 0 auto;
  }
  .bg-card-gray,
  .bg-card-light-gray {
    display: none;
  }
  .newsletter > div {
    padding: 2rem !important;
  }
}
