/* Ex-02 */

.wrapper-header {
  width: 100%;
  height: 914px;
  background-image: url(../img/bg-banner-1.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.inner-header {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.container-header {
  display: flex;
  flex-direction: column;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  gap: 15px;
}

.navigation-list {
  display: flex;
}

.navigation-list a {
  display: inline-block;
  padding: 24px;
  text-decoration: none;
  color: var(--white);
  text-transform: uppercase;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.wrapper-action {
  display: flex;
  gap: 20px;
}

.btn-action {
  font-size: 2rem;
  color: var(--white);
}

.content-header {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-header p {
  color: var(--white);
  letter-spacing: 1.5px;
}

.content-header h1 {
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 760px;
  font-size: 5.8rem;
  color: var(--white);
  margin-top: 35px;
}

.button-top {
  display: flex;
  gap: 20px;
  margin-top: 45px;
}

.btn-primary {
  width: 184px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  text-transform: uppercase;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 30px;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--primary);
}

.short-feature {
  padding: 100px 0;
}

.feature-list {
  display: flex;
  justify-content: space-between;
}

.feature-list li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.feature-list i {
  font-size: 7rem;
  color: var(--primary);
}

.feature-list span {
  max-width: 230px;
  line-height: 1.4;
  font-size: 2rem;
  font-family: var(--heading-font);
  font-weight: 700;
}

.search {
  background-image: url(../img/bg-banner-3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.inner-search {
  display: flex;
  padding: 100px 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.container-search {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.title {
  text-align: center;
}

.title h2 {
  font-size: 3.6rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.title p {
  line-height: 1.4;
}

.search .title h2,
.search .title p,
.sign-up-banner .title h2,
.sign-up-banner .title p {
  color: var(--white);
}

.form-input {
  display: flex;
  gap: 30px;
}

.form-input .form-control {
  flex: 1;
  height: 48px;
  border: none;
  outline: none;
  border-radius: 30px;
  padding: 0 20px;
  color: #000000b3;
}

.form-submit {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.course {
  padding: 95px 0;
}

.list-course {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 95px;
}

.item-course {
  display: flex;
  flex-direction: column;
  width: calc((100% - 60px) / 3);
  border: 1px solid #0000000d;
}

.thumb-course-wrapper {
  display: block;
  aspect-ratio: 1 / 0.7;
}

.thumb-course {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-course .info-course {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
}

.title-course {
  font-size: 1.8rem;
  color: #464646;
  text-decoration: none;
}

.item-course:hover .title-course {
  color: var(--primary);
}

.desc-course {
  margin: 20px 0;
}

.bottom-course {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0009;
  margin-top: auto;
}

.instructor-info {
  display: flex;
  gap: 25px;
}

.instructor {
  display: flex;
  gap: 10px;
  align-items: center;
}

.instructor .img-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.students {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-buy {
  min-width: 80px;
  text-decoration: none;
  text-transform: uppercase;
  background-color: var(--primary);
  color: var(--white);
  padding: 0 20px;
  height: 32px;
  line-height: 32px;
  border-radius: 30px;
  text-align: center;
}

.bottom-course .active {
  color: var(--white);
  background-color: var(--secondary);
}

.buy-course {
  margin-top: 70px;
}

.btn-course:hover {
  outline: 1px solid var(--primary);
}

.sign-up-banner {
  padding: 100px 0;
  background-image:
    url(../img/effect-signup-banner.png),
    linear-gradient(to top, #9890e3 0%, #b1f4cf 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.wrapper-signup {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.wrapper-signup .btn-signup {
  width: 145px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background-color: #9c7ae0;
  color: var(--white);
  border-radius: 30px;
  text-decoration: none;
}

.wrapper-signup .btn-signup:hover {
  background-color: var(--primary);
  color: var(--white);
}

.pricing-plan {
  padding: 100px 0;
}

.list-pricing-plan {
  display: flex;
  justify-content: center;
  margin-top: 95px;
  gap: 30px;
}

.item-pricing-plan {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 20px;
  text-align: center;
  border: 3px solid #f5f5f5;
  border-radius: 10px;
}

.item-pricing-plan:hover {
  outline: 3px solid #783df0;
}

.title-plan {
  width: 100%;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid #efefef;
  padding-bottom: 25px;
  color: #0009;
}

.price-plan {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
}

.price {
  font-size: 9rem;
}

.price::before {
  content: "$";
  margin-right: 4px;
  font-size: 3rem;
}

.duration {
  font-size: 1.6rem;
  color: #0009;
  text-transform: capitalize;
}

.item-pricing-plan ul {
  margin-bottom: 50px;
}
.item-pricing-plan li {
  color: #0009;
}

.item-pricing-plan li:not(:first-child) {
  margin-top: 20px;
}

.item-pricing-plan .btn-buy-plan {
  margin-top: auto;
}

.btn-buy-plan {
  width: 138px;
  height: 46px;
  line-height: 46px;
  letter-spacing: 1.2px;
  color: #0000008c;
  font-weight: 700;
  border: 1px solid #dddddd;
  border-radius: 20px;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-buy-plan:hover {
  background-color: #783df0;
  color: var(--white);
}

.testimonials-list {
  display: flex;
  margin-top: 75px;
  gap: 80px;
}

.testimonials-item {
  flex: 1;
  display: flex;
  align-items: center;
}

.testimonials-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #c6c6c6;
  object-fit: cover;
  z-index: 1;
  margin-right: -40px;
}

.testimonials-info {
  padding: 20px 10px 20px 54px;
  border-radius: 10px;
  box-shadow: 0px 4px 7.84px 0.16px rgba(53, 53, 53, 0.31);
}

.testimonials-name {
  font-weight: 700;
  color: #0009;
}

.testimonials-role {
  margin-top: 6px;
  color: #000000b3;
}

.testimonials-comment {
  margin-top: 10px;
  line-height: 1.4;
  color: #000000b3;
}

.news {
  padding-top: 70px;
}

.news-list {
  margin-top: 60px;
}

.news-item {
  border: none;
  gap: 10px;
}

.news-item .thumb-course {
  border-radius: 10px;
}

.news-info.info-course {
  padding: 0;
}

.news-topinfo {
  color: #0009;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.news-topinfo > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-time {
  margin-right: 40px;
}

.news-author {
  margin-right: 20px;
}

.news-comment {
  margin-right: 20px;
}

.news-desc {
  margin-top: 30px;
  margin-bottom: 0;
  color: #000000b3;
}

.btn-readmore {
  width: 120px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  color: #000000cc;
  border: 1px solid #cecece;
  border-radius: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 25px;
}

.news-item:hover .btn-readmore {
  background-color: var(--primary);
  color: var(--white);
}

.news-item:hover .title-course {
  color: var(--primary);
}

.instructor-banner {
  display: flex;
  min-height: 450px;
  padding-top: 100px;
}

.instructor-left {
  flex: 1;
  background-image: url(../img/bg-banner-4.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.instructor-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fafafa;
  padding: 140px 0 145px 190px;
}

.instructor-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #000c;
}

.instructor-desc {
  margin-top: 18px;
  font-size: 1.8rem;
  max-width: 400px;
  line-height: 1.4;
  color: #000000b3;
}

.btn-instructor {
  width: 160px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  color: var(--white);
  background-color: var(--primary);
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 35px;
}

.logo-section {
  padding: 75px 0;
}

.logo-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-item-img {
  max-width: 100%;
  max-height: 75px;
  width: auto;
  object-fit: contain;
}

.footer.ex2-footer {
  margin: 0;
}
