/* Index page only. Shared pages keep templatemo-style.css + ux.css. */

.home-page {
  background: #f7f8f6;
}

.home-page .custom-navbar {
  min-height: 56px;
  padding: 0;
  background: #fff;
  border-top: 0;
  box-shadow: 0 1px 0 rgba(16, 36, 28, 0.08);
}

.home-page .custom-navbar .navbar-brand {
  height: 56px;
  margin: 0;
  padding: 0 12px;
  color: #146b48;
  font-size: 18px;
  font-weight: 700;
  line-height: 56px;
}

.home-page .custom-navbar .navbar-nav > li > a {
  padding: 0 10px;
  color: #3d4754;
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 56px;
  background: transparent;
}

.home-page .custom-navbar .navbar-toggle {
  margin-top: 11px;
  margin-bottom: 11px;
}

.home-page .custom-navbar .navbar-nav > li > a:hover,
.home-page .custom-navbar .navbar-nav > li > a:focus,
.home-page .custom-navbar .nav li.active > a {
  background: transparent;
  color: #146b48;
}

.home-page .custom-navbar .navbar-nav.navbar-right li a .fa {
  background: transparent;
  color: #1f9d6a;
  width: auto;
  height: auto;
  line-height: inherit;
  border-radius: 0;
}

.home-page .custom-navbar .navbar-nav > li > a.login-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  margin: 11px 12px 0 0;
  padding: 0 14px !important;
  line-height: 1 !important;
  border-radius: 999px;
  background: #1f9d6a !important;
  color: #fff !important;
}

.home-page .custom-navbar .navbar-nav > li > a.login-nav-btn i {
  color: #fff !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0;
  font-size: 14px;
  line-height: 1 !important;
}

.home-page .custom-navbar .navbar-nav > li > a.login-nav-btn:hover,
.home-page .custom-navbar .navbar-nav > li > a.login-nav-btn:focus {
  background: #146b48 !important;
  color: #fff !important;
}

.home-page .dropdown-menu {
  border: 1px solid #e4ebe7;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 36, 28, 0.12);
  padding: 8px;
}

.home-page .dropdown-menu > li > a:hover {
  background: #f3faf6;
  color: #146b48;
  border-radius: 8px;
}

.home-page .home-slider .item,
.home-page .home-slider .item-first,
.home-page .home-slider .item-second,
.home-page .home-slider .item-third {
  height: min(78vh, 680px);
  min-height: 520px;
  background-color: #10241c;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.home-page .home-slider .item-first {
  background-image:
    linear-gradient(90deg, rgba(8, 20, 16, 0.78) 0%, rgba(8, 20, 16, 0.28) 52%, rgba(8, 20, 16, 0.12) 100%),
    url("../images/slider-image1.jpg");
}

.home-page .home-slider .item-second {
  background-image:
    linear-gradient(90deg, rgba(8, 20, 16, 0.78) 0%, rgba(8, 20, 16, 0.28) 52%, rgba(8, 20, 16, 0.12) 100%),
    url("../images/slider-image2.jpg");
}

.home-page .home-slider .item-third {
  background-image:
    linear-gradient(90deg, rgba(8, 20, 16, 0.78) 0%, rgba(8, 20, 16, 0.28) 52%, rgba(8, 20, 16, 0.12) 100%),
    url("../images/slider-image3.jpg");
}

.home-page .home-slider .caption {
  background: transparent;
  cursor: default;
  padding-top: 84px;
}

.home-page #home h1,
.home-page #home h3 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.home-page .home-slider .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  text-align: center;
}

.home-page .home-slider .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 4px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.home-page .home-slider .owl-dot.active span {
  background: #fff;
}

.home-page #home h1 {
  max-width: 14em;
  margin: 0 0 12px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.35;
}

.home-page #home h3 {
  max-width: 34rem;
  padding: 0 0 28px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.home-page .section-btn {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #146b48;
  font-weight: 700;
  padding: 12px 22px;
}

.home-page .section-btn:hover,
.home-page .section-btn:focus {
  background: #f3faf6;
  color: #0e2a22;
}

.home-page section {
  padding: 72px 0;
  scroll-margin-top: 76px;
}

.home-page #home > .row {
  margin-left: 0;
  margin-right: 0;
}

.home-page .home-slider .owl-stage-outer {
  overflow: hidden;
}

.home-page #feature {
  background: #f4f7f5;
}

.home-page #feature .section-title {
  padding-bottom: 8px;
  text-align: left;
}

.home-page #feature .section-title p {
  max-width: 40rem;
  margin: 8px 0 0;
  color: #5c6775;
  font-size: 16px;
  line-height: 1.7;
}

.home-page #feature .row {
  display: flex;
  flex-wrap: wrap;
}

.home-page #feature [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
}

.home-page .feature-thumb {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16, 36, 28, 0.05);
}

.home-page .feature-thumb span {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  background: #1f9d6a;
  font-size: 15px;
  line-height: 42px;
}

.home-page .feature-thumb h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.home-page .feature-thumb p {
  margin: 0;
  color: #5c6775;
  line-height: 1.7;
}

.home-page #about {
  background: #fff;
}

.home-page .about-info h2 {
  font-size: 32px;
  line-height: 1.45;
}

.home-page .wrapper {
  display: block;
  height: auto;
  margin: 28px 0 0;
  background: transparent;
}

.home-page .carousel {
  position: static;
  display: grid;
  gap: 12px;
  max-width: none;
}

.home-page .carousel__item {
  position: static;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  filter: none;
  animation: none;
  transform: none;
}

.home-page .carousel__item-head {
  width: 56px;
  height: 56px;
  margin-right: 14px;
  padding: 0;
  background: #e7f6ef;
  color: #146b48;
  font-size: 22px;
}

.home-page .carousel__item-body {
  padding: 14px 16px;
  border: 1px solid #e4ebe7;
  border-radius: 14px;
  box-shadow: none;
}

.home-page .carousel__item-body .title {
  margin: 0 0 4px;
  color: #1c2430;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
}

.home-page .entry-form {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 0 0 auto;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(16, 36, 28, 0.08);
  text-align: left;
}

.home-page .entry-form h3 {
  margin: 0 0 16px;
  color: #1c2430;
  font-size: 22px;
}

.home-page .entry-form .form-control {
  height: auto;
  margin: 0 0 12px;
  padding: 12px 14px;
  background: #fbfcfb;
  border: 1px solid #d5ddd8;
  border-radius: 10px;
  color: #1c2430;
  box-shadow: none;
}

.home-page .entry-form textarea.form-control {
  min-height: 120px;
}

.home-page .entry-form .submit-btn {
  width: 100%;
  height: auto;
  margin: 8px 0 0;
  padding: 12px 16px;
  background: #1f9d6a;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}

.home-page .entry-form .submit-btn:hover {
  background: #146b48;
  color: #fff;
}

.home-page #team {
  background: #f4f7f5;
}

.home-page .section-title h2 {
  font-size: 32px;
  line-height: 1.4;
}

.home-page .section-title small {
  max-width: 36rem;
  margin: 8px auto 0;
  color: #5c6775;
  font-size: 16px;
  line-height: 1.6;
}

.home-page .pb-video {
  margin-bottom: 18px;
  padding: 0;
  background: transparent;
  border: 0;
}

.home-page .pb-video:hover,
.home-page .pb-video-frame:hover {
  background: transparent;
  height: auto;
}

.home-page .lesson-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #10241c;
}

.home-page .lesson-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-page .lesson-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 36, 28, 0.72);
  color: #fff;
  font-size: 18px;
  transform: translate(-50%, -50%);
}

.home-page .lesson-poster:hover .lesson-play,
.home-page .lesson-poster:focus .lesson-play {
  background: #1f9d6a;
  color: #fff;
}

.home-page .pb-video-frame {
  height: 190px;
  border: 0;
  border-radius: 14px;
  transition: none;
}

.home-page .pb-video .form-control {
  height: auto;
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #1c2430;
  font-weight: 700;
}

.home-page #loadMore,
.home-page #exampleModal,
.home-page .submit-button {
  border: 0;
  border-radius: 999px;
  background: #1f9d6a;
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  animation: none;
}

.home-page #loadMore:hover,
.home-page #exampleModal:hover {
  background: #146b48;
  color: #fff;
}

.home-page #courses {
  background: #fff;
}

.home-page .courses-thumb {
  overflow: hidden;
  margin: 8px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(16, 36, 28, 0.06);
  text-align: left;
}

.home-page .courses-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.home-page .courses-date {
  padding: 12px 16px;
  background: rgba(16, 36, 28, 0.72);
}

.home-page .courses-detail h3 a {
  color: #1c2430;
  text-decoration: none;
}

.home-page .courses-detail p,
.home-page .courses-author span {
  color: #5c6775;
}

.home-page #courses .owl-theme .owl-nav [class*="owl-"] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e7f6ef;
  color: #146b48;
  line-height: 36px;
}

.home-page #testimonial {
  background: #f4f7f5;
}

.home-page #contact {
  background: linear-gradient(180deg, #eef7f2 0%, #f7f4ee 100%);
}

.home-page #contact h2,
.home-page #contact h2 > small,
.home-page #contact p,
.home-page #contact a {
  color: #1c2430;
}

.home-page #contact h2 > small {
  color: #5c6775;
}

.home-page #contact-form .form-control {
  min-height: 48px;
  border: 1px solid #d5ddd8;
  border-radius: 12px;
  box-shadow: none;
}

.home-page #contact-form textarea.form-control {
  min-height: 140px;
}

.home-page #contact-form button.form-control {
  background: #1f9d6a;
  color: #fff;
  border: 0;
  font-weight: 700;
}

.home-page #contact-form button.form-control:hover {
  background: #146b48;
  color: #fff;
}

.home-page .contact-image img,
.home-page .rounded-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
}

.home-page footer {
  padding: 56px 0 36px;
  background: #10241c;
  text-align: left;
}

.home-page footer h2 {
  color: #fff;
}

.home-page footer a,
.home-page footer p {
  color: #c5d5cc;
}

.home-page .social-icon li a {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-page .social-icon li a:hover {
  background: #1f9d6a;
  color: #fff;
}

.home-page .content-guide-start {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #10241c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(16, 36, 28, 0.2);
}

.home-page .content-guide-start[hidden] {
  display: none;
}

.home-page .login-guide {
  z-index: 4000;
}

.home-page .guide-shade,
.home-page .guide-spot {
  position: fixed;
  z-index: 4000;
  pointer-events: none;
}

.home-page .guide-shade {
  inset: 0;
  background: rgba(16, 36, 28, 0.55);
}

.home-page .guide-spot {
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(16, 36, 28, 0.55);
  outline: 2px solid #fff;
}

.home-page .guide-card {
  position: fixed;
  z-index: 4001;
  max-width: 320px;
  padding: 16px 16px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 36, 28, 0.2);
}

.home-page .guide-progress {
  margin: 0 0 6px;
  color: #1f9d6a;
  font-size: 13px;
  font-weight: 700;
}

.home-page .guide-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.home-page .guide-body {
  margin: 0;
  color: #5c6775;
  line-height: 1.6;
}

.home-page .guide-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.home-page .guide-actions button {
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #146b48;
  font-weight: 700;
}

.home-page .guide-actions [data-guide="next"] {
  background: #1f9d6a;
  color: #fff;
}

.home-page #contentGuideSteps,
.home-page .login-guide[hidden] {
  display: none;
}

.home-page .float {
  right: 20px;
  left: auto;
  bottom: 20px;
  box-shadow: 0 10px 24px rgba(16, 36, 28, 0.2);
}

.home-page #studio {
  padding: 28px 0 8px;
  background: #f4f7f5;
}

.home-page .live-board {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 18px;
  align-items: stretch;
}

.home-page .live-status,
.home-page a.live-status:hover,
.home-page a.live-status:focus {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 20px;
  background: #10241c;
  color: #fff;
  border-radius: 18px;
  text-decoration: none;
}

.home-page .live-kicker {
  margin: 0 0 6px;
  color: #8fd9b8;
  font-size: 13px;
  font-weight: 700;
}

.home-page .live-status h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 26px;
  line-height: 1.3;
}

.home-page .live-status p {
  margin: 0;
  color: #d5e5dc;
  line-height: 1.6;
}

.home-page .live-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: #8fd9b8;
  flex: 0 0 auto;
}

.home-page .live-board.is-live .live-dot {
  background: #ff5a5a;
  box-shadow: 0 0 0 0 rgba(255, 90, 90, 0.7);
  animation: live-pulse 1.4s infinite;
}

@keyframes live-pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 90, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 90, 0); }
}

.home-page .live-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-page .tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 16px;
  color: #1c2430;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(16, 36, 28, 0.04);
}

.home-page .tool-card i {
  color: #1f9d6a;
  font-size: 18px;
}

.home-page .tool-card strong {
  font-size: 16px;
}

.home-page .tool-card span {
  color: #5c6775;
  font-size: 13px;
  line-height: 1.5;
}

.home-page .tool-card:hover,
.home-page .tool-card:focus {
  border-color: #1f9d6a;
  color: #146b48;
  text-decoration: none;
}

.home-page #join {
  padding: 8px 0 28px;
  background: #f4f7f5;
}

.home-page #join .section-title {
  margin-bottom: 22px;
  text-align: left;
}

.home-page #join .section-title p {
  max-width: 40rem;
  margin: 8px 0 0;
  color: #5c6775;
}

.home-page .join-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-page .join-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(16, 36, 28, 0.04);
}

.home-page .join-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  background: #1f9d6a;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.home-page .join-step h3 {
  margin: 0 0 8px;
  color: #10241c;
  font-size: 20px;
  line-height: 1.4;
}

.home-page .join-step p {
  margin: 0 0 16px;
  color: #5c6775;
  line-height: 1.7;
}

.home-page .join-step a {
  margin-top: auto;
  color: #146b48;
  font-weight: 700;
  text-decoration: none;
}

.home-page .join-step a:hover,
.home-page .join-step a:focus {
  color: #1f9d6a;
  text-decoration: underline;
}

.home-page #dashboard {
  padding: 36px 0 12px;
  background: #f4f7f5;
}

.home-page #dashboard .section-title {
  margin-bottom: 22px;
  text-align: left;
}

.home-page #dashboard .section-title p {
  max-width: 36rem;
  margin: 8px 0 0;
  color: #5c6775;
}

.home-page .dash-summary {
  display: flex;
  gap: 12px;
  margin: 0 0 16px;
}

.home-page .dash-summary p {
  flex: 1;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 16px;
}

.home-page .dash-summary strong {
  display: block;
  color: #10241c;
  font-size: 28px;
  line-height: 1;
}

.home-page .dash-summary span {
  color: #5c6775;
  font-size: 13px;
}

.home-page .dash-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-page .dash-card {
  padding: 16px 16px 12px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(16, 36, 28, 0.04);
}

.home-page .dash-grade {
  margin: 0 0 8px;
  color: #146b48;
  font-size: 14px;
  font-weight: 700;
}

.home-page .dash-students {
  margin: 0 0 12px;
}

.home-page .dash-students strong {
  display: block;
  color: #10241c;
  font-size: 36px;
  line-height: 1;
}

.home-page .dash-students span {
  color: #5c6775;
  font-size: 13px;
}

.home-page .dash-month {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  color: #5c6775;
  font-size: 13px;
}

.home-page .dash-month strong {
  color: #10241c;
  font-size: 18px;
}

.home-page .dash-latest {
  margin: 0 0 12px;
  color: #10241c;
  font-size: 13px;
  line-height: 1.5;
}

.home-page .dash-latest[hidden],
.home-page .dash-empty[hidden],
.home-page .dash-videos li[hidden] {
  display: none;
}

.home-page .dash-latest span {
  color: #146b48;
  font-weight: 700;
}

.home-page .dash-empty {
  margin: 8px 0 0;
  color: #8aa094;
  font-size: 13px;
}

.home-page .dash-join {
  display: inline-block;
  margin-top: 8px;
  color: #146b48;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.home-page .dash-join:hover,
.home-page .dash-join:focus {
  color: #1f9d6a;
  text-decoration: underline;
}

.home-page .dash-fresh {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #1f9d6a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
}

.home-page .dash-fresh[hidden] {
  display: none;
}

.home-page .dash-card.is-fresh {
  border-color: #1f9d6a;
  background: #f3faf6;
  box-shadow: 0 12px 28px rgba(31, 157, 106, 0.16);
}

.home-page .dash-card.is-fresh .dash-month strong {
  color: #146b48;
}

.home-page .student-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #1f9d6a;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(16, 36, 28, 0.04);
}

.home-page .student-card[hidden] {
  display: none;
}

.home-page .student-card.is-inactive {
  border-color: #e4ebe7;
}

.home-page .student-card .dash-grade,
.home-page .student-status {
  margin: 0;
}

.home-page .student-status {
  margin-top: 4px;
  color: #5c6775;
  font-size: 14px;
}

.home-page .student-open {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1f9d6a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-page .student-open:hover,
.home-page .student-open:focus {
  background: #146b48;
  color: #fff;
  text-decoration: none;
}

.home-page .join-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.home-page .join-answers article {
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 16px;
}

.home-page .join-answers h3 {
  margin: 0 0 8px;
  color: #10241c;
  font-size: 16px;
  line-height: 1.5;
}

.home-page .join-answers p {
  margin: 0;
  color: #5c6775;
  line-height: 1.7;
}

.home-page .dash-video-label {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #e4ebe7;
  color: #8aa094;
  font-size: 12px;
  font-weight: 700;
}

.home-page .dash-videos {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .dash-videos li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  color: #5c6775;
  font-size: 13px;
}

.home-page .dash-videos strong {
  color: #10241c;
  font-size: 16px;
}

.home-page .dash-note {
  margin: 14px 0 0;
  color: #8a3b3b;
}

@media (max-width: 991px) {
  .home-page #home h1 {
    font-size: 32px;
  }

  .home-page .entry-form {
    margin: 28px 0 0;
  }

  .home-page .home-slider .item,
  .home-page .home-slider .item-first,
  .home-page .home-slider .item-second,
  .home-page .home-slider .item-third {
    min-height: 460px;
    height: auto;
  }

  .home-page .home-slider .caption {
    padding: 110px 0 48px;
  }

  .home-page .dash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .join-grid,
  .home-page .join-answers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .home-page .navbar.custom-navbar,
  .home-page .custom-navbar .navbar-brand {
    height: auto;
  }

  .home-page .custom-navbar .navbar-nav > li {
    display: block;
    float: none;
    text-align: left;
  }

  .home-page .custom-navbar .navbar-nav > li > a {
    line-height: 1.4;
    padding: 10px 16px;
  }

  .home-page .custom-navbar .navbar-nav .open > .dropdown-menu {
    position: static;
    left: 0;
    right: auto;
    float: none;
    width: 100%;
    margin: 0;
    background: #fff;
    border: 0;
    box-shadow: none;
  }

  .home-page .navbar-nav .dropdown-menu > li,
  .home-page .navbar-nav .dropdown-menu > li > a {
    display: block;
    width: 100%;
    white-space: normal;
  }

  .home-page .custom-navbar .navbar-nav > li > a:hover,
  .home-page .custom-navbar .nav li.active > a {
    background: #f3faf6;
  }

  .home-page footer {
    text-align: center;
  }

  .home-page .live-board,
  .home-page .live-tools,
  .home-page .dash-grid,
  .home-page .dash-summary {
    grid-template-columns: 1fr;
  }

  .home-page .dash-summary {
    flex-direction: column;
  }

  .home-page .student-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
