/***** learn page *****/
.learn-banner-sec {
  background-image: url("../img/learn/learn-banner.jpg");
  background-size: cover;
  background-position: bottom;
  background-color: var(--tertiary-color);
}

.learn-banner-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 25%) 0%, rgba(0, 0, 0, 0.2) 100%)
}

.learn-banner-content h1 {
  color: var(--secondary-color);
  font-size: 3.8em;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.2em;
}

.learn-banner-content ul li {
  font-size: 1.2em;
  font-weight: 400;
  color: var(--secondary-color);
  opacity: 0.8;
  line-height: 1.6;
  padding-bottom: .5em;
}

.learn-banner-content ul li:last-child {
  padding-bottom: 0;
}

.learn-banner-content p {
  font-size: 1.2em;
  font-weight: 400;
  color: var(--secondary-color);
  opacity: 0.8;
  line-height: 1.6;
}

.action-buttons-card {
  display: flex;
  align-items: center;
  gap: 2em;
  justify-content: center;
}

.learn-tab .nav-link {
  color: var(--quaternary-color);
}

.learn-tab .nav-pills .nav-link.active,
.learn-tab .nav-pills .show>.nav-link {
  color: var(--tertiary-color);
  background-color: transparent;
  border-bottom: 2px solid var(--tertiary-color);
  border-radius: 0;
}

.learn-tab .nav-pills {
  justify-content: space-between;
  margin-bottom: 2em;
}

.learn-tab .nav-item button {
  width: 100%;
  font-size: 1em;
  font-weight: 500;
}

.image-grid-frame {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); */
  gap: 2em;
  margin-bottom: 2em;
}

.learn-img-sec {
  margin-bottom: 1em;
}

.learn-img-sec img {
  border-radius: 18px;
  width: 100%;
  height: 100%;
}

.learn-content-sec h4 {
  color: var(--tertiary-color);
  font-size: 1.2em;
  font-weight: 600;
  text-transform: capitalize;
}

.learn-content-sec p {
  color: var(--quaternary-color);
  font-size: .9em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 1em;
}

.learn-content-sec p span {
  border-radius: 12px;
  border: 1px solid var(--quaternary-color);
  background-color: var(--gray-color);
  padding: .5em .9em;
  color: var(--tertiary-color);
  font-weight: 600;
}

.learn-action-button {
  display: flex;
  justify-content: center;
}

.learn-tab.course .nav-pills {
  justify-content: center;
}

.course-card {
  background: linear-gradient(3.97deg, #E4E4E4 7.85%, #FFFFFF 96.57%);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-item {
  padding: 1.5em;
  padding-bottom: 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.course-avater {
  max-height: 300px;
  display: flex;
  place-items: center;
}

.course-avater-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.course-info h3 {
  color: var(--tertiary-color);
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5em;
}

.course-info p {
  color: var(--quaternary-color);
  font-size: .9em;
  font-weight: 400;
  margin-bottom: 0;
}

/***** End learn page *****/

/***** Start blockchain page *****/
.top-padding {
  padding-top: 3rem;
}

.bottom-padding {
  padding-bottom: 3rem;
}

.beginner-banner-sec {
  position: relative;
  min-height: 50vh;
  background-color: var(--tertiary-color);
}

.section-header {
  margin-bottom: 2em;
}

.gray-bg-color {
  background-color: var(--gray-color);
  padding: 2em;
  border-radius: 12px;
}

/* .section-header h2 {
  font-size: 1.8em;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  color: var(--tertiary-color);
  position: relative;
} */

.section-content {
  margin-bottom: 1em;
}

.section-header p,
.section-content p,
.section-header ul li {
  color: var(--tertiary-color);
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: .5em;
}

.block-content {
  border: 2px solid var(--border-color2);
  border-left: 4px solid var(--border-color2);
  padding: 2em;
  border-radius: 20px;
  min-height: -webkit-fill-available;
}

.block-content h3 {
  color: var(--tertiary-color);
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5em;
}

.block-content p,
.block-content ul li {
  color: var(--tertiary-color);
  font-size: 1em;
  font-weight: 400;
  line-height: 1.8;
}

.blockchain-card {
  background: var(--gray-color);
  border: 1px solid var(--secondary-color);
  padding: 2em;
  border-radius: 20px;
  min-height: -webkit-fill-available;
}

.category-blockchain ul li {
  color: var(--tertiary-color);
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: .5em;
}

.category-blockchain p {
  color: var(--tertiary-color);
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.8;
}

.light-primary-box {
  background-color: var(--light-primary-color);
  padding: 2em;
  border-radius: 12px;
  height: 100%;
}

/* 
.light-primary-box h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--tertiary-color);
  line-height: 1.5;
}
.light-primary-box h4 {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--tertiary-color);
  line-height: 1.5;
} */

.light-primary-box p {
  color: var(--tertiary-color);
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  margin-bottom: .5em;
}

.light-primary-box hr {
  margin: 2rem 0;
}

.leran-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.leran-grid-layout .learn-info-card {
  padding: 3em;
}

.leran-grid-layout .learn-info-card:nth-child(1),
.leran-grid-layout .learn-info-card:nth-child(4),
.leran-grid-layout .learn-info-card:nth-child(5) {
  background-color: #efefef;
}

.leran-grid-layout .learn-info-card:nth-child(1) {
  border-top-left-radius: 12px;
}

.leran-grid-layout .learn-info-card:nth-child(2) {
  border-top-right-radius: 12px;
}

.leran-grid-layout .learn-info-card:nth-last-child(2) {
  border-bottom-left-radius: 12px;
}

.leran-grid-layout .learn-info-card:last-child {
  border-bottom-right-radius: 12px;
}

.leran-grid-layout .learn-info-card:nth-child(2),
.leran-grid-layout .learn-info-card:nth-child(3),
.leran-grid-layout .learn-info-card:nth-child(6) {
  background-color: #f3f3f3;
}

.light-box .leran-grid-layout .learn-info-card:nth-child(1),
.light-box .leran-grid-layout .learn-info-card:nth-child(4) {
  background-color: var(--light-primary-color);
}

.light-box .leran-grid-layout .learn-info-card:nth-child(2),
.light-box .leran-grid-layout .learn-info-card:nth-child(3) {
  background-color: #fcf8f0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #cfc7c7;
  color: #fff;
  font-weight: 600;
  border-radius: 32%;
  font-size: 14px;
  margin-right: 8px;
}

/***** End blockchain page *****/

/***** Section *****/
/* Highlight Box */
.highlight {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  font-size: 1em;
}

/* Warning Blocks */
.warning {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  font-size: 1em;
  color: #fecaca;
}

.warning-text {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 3px solid #f87171;
  color: #fca5a5;
  font-style: italic;
}

.note {
  margin-top: 12px;
  font-size: 14px;
  color: #9ca3af;
}

.card2 {
  margin-bottom: 2em;
}

.default-imgage {
  width: auto;
  min-height: 30em;
  object-fit: contain;
}

/***** End Section *****/

/***** Page Breadcrumb *****/
.breadcrumb {
  display: flex;
  margin: 0;
  align-items: center;
  margin-bottom: 1em;
}

.breadcrumb-links {
  display: flex;
  column-gap: 1em;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
}

.breadcrumb-links>li:nth-child(n + 4) {
  display: none;
}

.breadcrumb-box {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  color: #9ca3af;
}

.breadcrumb ul {
  list-style: none;
}

.breadcrumb-box:hover>*:not(.breadcrumb-icon) {
  color: var(--primary-color);
}

.breadcrumb-icon,
.breadcrumb-icon-home {
  flex-shrink: 0;
  width: 1.25em;
  height: 1.25em;
  color: #9ca3af;
}

.breadcrumb-links li:first-child .breadcrumb-text {
  display: none;
}

.breadcrumb-text {
  margin-left: 1em;
  font-size: 0.875em;
  line-height: 1.25em;
  font-weight: 700;
  color: #8d96a9;
  text-transform: uppercase;
}

.breadcrumb-links li:first-child .breadcrumb-text {
  margin-left: 0;
}

.breadcrumb-links li:last-child .breadcrumb-text {
  color: var(--secondary-color);
}

@media (min-width: 640px) {
  .breadcrumb-links>li:nth-child(n + 4) {
    display: block;
  }

  .breadcrumb-links li:first-child .breadcrumb-text {
    display: block;
  }
}

/***** End Page Breadcrumb *****/

.section-wrap {
  margin-bottom: 4em;
}

.section-wrap h2 {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--tertiary-color);
  line-height: 1.8;
  margin: 0;
}

.section-wrap h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--tertiary-color);
  line-height: 1.5;
  margin: 0;
  margin-bottom: 1em;
}

.section-wrap h4 {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--tertiary-color);
  line-height: 1.5;
  margin: 0;
  margin-bottom: .5em;
}

.section-wrap p {
  color: var(--tertiary-color);
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  margin-bottom: .5em;
}

.section-wrap p:last-child {
  margin-bottom: 0;
}

.section-wrap ul {
  margin: 0;
}

.section-wrap ul li {
  color: var(--tertiary-color);
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  margin-bottom: .5em;
}

.section-wrap ul li ul li {
  color: var(--tertiary-color);
  font-size: 1em;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  margin-bottom: .5em;
}

.section-wrap ul li:last-child {
  margin-bottom: 0;
}

.dotted-box {
  border: 2px dashed #d6d6d6;
  border-radius: 12px;
  padding: 2em;
  min-height: 100%;
}

.sm-padding .section-wrap:last-child {
  margin-bottom: 0;
}

.section-wrap .color-box:last-child {
  margin-bottom: 0;
}

.section-wrap table th,
.section-wrap table td {
  padding: 1em;
  vertical-align: middle;
}

.section-wrap table {
  border-radius: 12px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.h3title-border {
  border-left: 5px solid #000;
  padding-left: 10px;
  margin-bottom: 1em;
}

.h4title-decoration {
  text-decoration: underline;
  text-underline-position: under;
}

.color-box {
  margin-bottom: 2em;
  background-color: var(--light-primary-color);
  padding: 2em;
  border-radius: 12px;
}

.learn-graphs {
  max-width: 45em;
  border-radius: 12px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}