@charset "UTF-8";
/* index.css – Homepage specific styles */
.about {
  padding-top: 160px;
}
.about .about-body {
  display: flex;
  justify-content: space-between;
}
.about__image {
  width: 480px;
  background-color: #ccc;
  direction: rtl;
}
.about__image_box {
  width: calc((100vw - 1200px) / 2 + 100%);
  min-width: 100%;
  height: 400px;
  background-color: #ccc;
  overflow: hidden;
}
.about__image_box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about__text {
  width: calc(100% - 500px);
}
.about__text p {
  font-size: 16px;
  color: #555;
  line-height: 24px;
  padding: 4px 0;
}

.lesson .lesson-layout {
  display: flex;
  justify-content: space-around;
}
.lesson .lesson__sidebar {
  width: calc(25% - 20px);
  direction: rtl;
  position: relative;
}
.lesson .lesson__sidebar__wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  width: calc((100vw - 1200px) / 2 + 100% + 20px);
  min-width: 100%;
  direction: ltr;
}
.lesson .lesson__sidebar__list {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  width: 100%;
}
.lesson .lesson__sidebar__list li button {
  line-height: 40px;
  width: 100%;
  text-align-last: left;
  padding-left: 20px;
}
.lesson .lesson__sidebar__item {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.lesson .lesson__sidebar__item.is-active {
  background: #FF6B6B;
  color: #fff;
  font-weight: 600;
}
.lesson .lesson__content {
  width: calc(75% - 20px);
}
.lesson .lesson-panel {
  display: none;
}
.lesson .lesson-panel.is-active {
  display: block;
  height: 100%;
}
.lesson .lesson-courses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 100%;
}
.lesson .lesson-courses--single {
  grid-template-columns: 1fr;
}
.lesson .lesson-panel__empty {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 40px 0;
}
.lesson .lesson__course {
  padding: 40px;
  background-color: #ccc;
  height: 100%;
}
.lesson .lesson__course__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 40px;
  color: #1A1A1A;
  border-bottom: 2px solid #FF6B6B;
  padding-left: 10px;
}
.lesson .lesson__course__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0;
}
.lesson .lesson__course__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.lesson .lesson__course__name {
  color: #333;
  font-weight: 500;
  line-height: 30px;
}
.lesson .lesson__course__name::before {
  content: "·";
  margin-right: 4px;
  color: #FF6B6B;
  font-weight: 700;
}
.lesson .lesson__course__hours {
  color: #999;
  font-size: 14px;
  white-space: nowrap;
  padding-right: 4px;
}
.lesson .lesson__course__empty {
  color: #999;
  font-size: 14px;
  padding: 12px 0;
}
@media (max-width: 1199px) {
  .lesson .lesson-layout {
    flex-direction: column;
  }
  .lesson .lesson__sidebar {
    width: 100%;
    direction: ltr;
  }
  .lesson .lesson__sidebar__wrap {
    background-color: transparent;
    pointer-events: none;
  }
  .lesson .lesson__sidebar__list {
    position: static;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lesson .lesson__sidebar__list::-webkit-scrollbar {
    display: none;
  }
  .lesson .lesson__sidebar li button {
    width: auto;
    white-space: nowrap;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    line-height: 1.4;
    text-align-last: center;
  }
  .lesson .lesson__sidebar li button.is-active {
    border-bottom-color: #FF6B6B;
    background: none;
    color: #FF6B6B;
  }
  .lesson .lesson__content {
    width: 100%;
    margin-top: 20px;
  }
  .lesson .lesson-courses {
    grid-template-columns: 1fr 1fr;
  }
  .lesson .lesson-courses--single {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .lesson .lesson-layout {
    flex-direction: column;
  }
  .lesson .lesson__sidebar {
    width: 100%;
    direction: ltr;
    background-color: transparent;
  }
  .lesson .lesson__sidebar__wrap {
    background-color: transparent;
    pointer-events: none;
  }
  .lesson .lesson__sidebar__list {
    position: static;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lesson .lesson__sidebar__list::-webkit-scrollbar {
    display: none;
  }
  .lesson .lesson__sidebar li button {
    width: auto;
    white-space: nowrap;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    line-height: 1.4;
    text-align-last: center;
  }
  .lesson .lesson__sidebar li button.is-active {
    border-bottom-color: #FF6B6B;
    background: none;
    color: #FF6B6B;
  }
  .lesson .lesson__content {
    width: 100%;
    margin-top: 20px;
  }
  .lesson .lesson-courses {
    grid-template-columns: 1fr;
  }
}

.portfolio .portfolio-head {
  margin-top: -60px;
}
.portfolio .portfolio-head h3,
.portfolio .portfolio-head p {
  text-align: left;
  color: #fff;
}
.portfolio .portfolio-body {
  margin-top: 0;
}
.portfolio__image {
  overflow: hidden;
  height: 480px;
}
.portfolio__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.portfolio__button {
  margin-top: -20px;
  text-align: right;
  padding-right: 20px;
}
.portfolio__button a {
  padding: 10px 40px;
}

.bg-dark {
  color: #fff !important;
}

.cta {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}
.cta__inner {
  position: relative;
  z-index: 1;
}
.cta__inner h4 {
  font-size: 32px;
  line-height: 60px;
  color: #fff;
}
.cta__inner p {
  color: #fff;
  line-height: 30px;
}
.cta__inner a {
  margin-top: 40px;
}

.bg-primary .btn--primary {
  background: #fff;
  color: #FF6B6B;
  border-color: #fff;
}
.bg-primary .btn--primary:hover {
  background: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1199px) {
  .about {
    padding-top: 100px;
  }
  .about__image {
    width: 340px;
  }
  .about__image_box {
    height: 320px;
  }
  .about__text {
    width: calc(100% - 360px);
  }
  .portfolio__image {
    height: 360px;
  }
  .cta {
    padding: 60px 0;
  }
}
@media (max-width: 767px) {
  .about {
    padding-top: 48px;
  }
  .about .about-body {
    flex-direction: column;
  }
  .about__image {
    width: 100%;
    direction: ltr;
  }
  .about__image_box {
    width: 100%;
    height: 220px;
  }
  .about__text {
    width: 100%;
    padding: 16px 0;
  }
  .cta {
    padding: 48px 0;
  }
  .cta__inner h4 {
    font-size: 22px;
    line-height: 36px;
  }
  .cta__inner p {
    font-size: 14px;
  }
  .cta__inner a {
    margin-top: 24px;
  }
  .portfolio__image {
    height: 220px;
  }
  .portfolio .portfolio-head {
    margin-top: -20px;
  }
}
