@import url("https://gcore.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

#index-section {
  background-image: url('../../../images/nycgroup/bodybg/white_dot.png');
  background-repeat: repeat;
  background-size: cover !important;
}

.hidden-header {
  height: 0 !important;
}

.index-section .container {
  height: 750px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.index-section h1 {
  font-size: 48px;
  font-weight: 700;
}

.index-section .text-title {
  padding: 16px 0 32px;
}

.index-section p {
  font-size: 18px;
}

.index-section .view .btn {
  background-color: #2164AF;
  color: white;
  border-radius: 6px;
  width: 255px;
}

.index-section .course-btn .btn {
  background-color: transparent;
  border: 1px solid #2164AF;
  color: #2164AF;
  border-radius: 6px;
  width: 255px;
}

.index-section .messager {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 50px;
  padding-right: 35px;
}

.index-section .icon-message {
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 35px;
  background: #0A7CFF;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.trusted-by {
  padding: 40px 0 5px;
  border-bottom: 1px solid var(--grey-black-10, rgba(0, 0, 0, 0.10));
}

.trusted-by h6 {
  font-size: 18px;
  font-weight: 700;
  color: #666;
}

.trusted-by .col-md-12 {
  display: flex;
  justify-content: baseline;
}

@media (min-width: 1052px) {
  .trusted-by img {
    height: 37px !important;
    width: auto !important;
  }
}

@media (min-width: 767px) {
  .trusted-by img {
    height: 33px;
    width: auto;
  }
}

.trusted-by-xs {
  padding: 40px 0 5px;
}

.trusted-by-xs h6 {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.trusted-by-xs img {
  width: 100%;
}

.trusted-by-xs>.carousel-inner>.item.active, .carousel-inner>.item.next.left, .carousel-inner>.item.prev.right {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.carousel-slide {
  padding: 50px 0 50px;
}

.carousel-slide img {
  object-fit: cover;
  height: 300px;
  border-radius: 10px;
}

.carousel-slide .carousel-indicators {
  bottom: 5px !important;
}

.carousel-slide .carousel-indicators li {
  height: 10px !important;
  width: 10px !important;
}

.carousel-slide #main-slide .carousel-indicators .active {
  background-color: #fff;
}

.course {
  padding: 50px 0 50px;
  margin-bottom: 50px;
  background: var(--background-background, #F5F5F5);
}

.header {
  margin-bottom: 30px;
}

.course .header,
.online-course .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course h3,
.online-course h3 {
  font-size: 30px;
  font-weight: 700;
}

.course .header a {
  display: block;
  font-size: 18px;
}

.course .header img {
  display: none;
}

.online-course {
  padding: 25px 0 25px;
}

.online-course .header a {
  display: block;
  font-size: 18px;
}

.online-course .header img {
  display: none;
}

.services {
  padding: 80px;
  margin-top: 30px;
  background: #2164AF;
}

.services h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.services h5 {
  color: #18191F;
  font-size: 18px;
  font-weight: 700;
}

.services p {
  font-size: 16px;
  color: #666;
  height: 144px;
}

.services a {
  color: #2164AF;
  font-size: 18px;
}

.services .content {
  background-color: #fff;
  border-radius: 12px;
  margin: 3px 0 48px;
}

.services .content .category {
  padding: 25px 20px 25px !important;
}

.services .service .btn {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  width: 229px;
}

.books {
  padding: 56px;
  background: var(--brand-lighter-blue, #E9F0F7);
}

.books h1 {
  font-size: 48px;
  font-weight: 800px;
  margin-bottom: 48px;
}

.books .card {
  border-radius: 12px;
  border: 1px solid var(--grey-black-30, rgba(0, 0, 0, 0.30));
  background: #FFF;
}

.books .card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.books .text {
  padding: 12px;
}

.books .text h5 {
  font-size: 18px;
  font-weight: 700;
}

.books .text p {
  font-size: 14px;
  color: #666;
}

.books .shopping {
  padding: 0 15px 0;
}

.books .shopping .row {
  border-radius: 10px;
  border: 1px solid var(--grey-black-30, rgba(0, 0, 0, 0.30));
  background: var(--grey-white, #FFF);
  padding: 15px 5px 15px;
}

.books .shopping .row:hover {
  box-shadow: 0px 4px 20px 5px rgba(0, 0, 0, 0.10);
}

.books .shopping h5 {
  font-size: 18px;
  font-weight: 600;
}

.books .shopping h4 {
  color: #fff;
}

.subscribe {
  padding: 78px;
  background: var(--brand-lighter-blue, #E9F0F7);
}

.subscribe .warning {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  background: var(--background-white, #FFF);
  box-shadow: 0px 12px 10px 0px rgba(0, 0, 0, 0.05);
  padding: 12px 8px 12px 16px;
}

.subscribe .warning h5 {
  font-size: 18px;
  font-weight: 700px;
  padding-left: 5px;
}

.subscribe .email {
  border-radius: 10px;
  background: var(--brand-blue, #2164AF);
  padding: 50px;
  margin-top: 50px;
}

.subscribe .email h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}

.subscribe .email p {
  color: rgba(255, 255, 255, 0.60);
  font-size: 14px;
  padding-top: 5px;
}

.subscribe .email a {
  color: rgba(255, 255, 255, 0.60);
  text-decoration: underline;
}

.subscribe .form-group {
  border-radius: 100px;
  border: 2px solid var(--grey-black-10, rgba(0, 0, 0, 0.10));
  background: var(--grey-white, #FFF);
  padding: 12px 24px;
  color: #ffffffb6 !important;
  font-size: 16px;
}

.subscribe input {
  border: none !important;
  color: black;
}

.subscribe .email .btn {
  border-radius: 8px;
  border: 2px solid var(--grey-white, #FFF);
  padding: 12px 16px 12px;
  background-color: transparent;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-left: 15px;
}

@media (max-width: 991px) {

  .button-group {
    display: flex;
    flex-direction: column;
  }

  .index-section .view .btn, .index-section .course-btn .btn,
  .course .brochure .btn {
    margin-bottom: 15px;
  }

  .carousel-slide img {
    object-fit: cover;
    height: 200px;
    border-radius: 10px;
  }
}

@media (max-width: 991px) {

  .online-course .header a,
  .course .header a {
    display: none;
  }

  .online-course .header img,
  .course .header img {
    display: block;
  }

  .services {
    padding: 40px 16px 40px;
  }

  .services p {
    height: auto;
  }

  .books {
    padding: 40px 16px 40px;
  }

  .books .card {
    display: flex;
  }

  .books h1 {
    margin-bottom: 24px;
  }

  .books .card img {
    border-top-left-radius: 12px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 12px;
    width: 144px;
  }

  .books .shopping .col-md-12 {
    display: flex;
    justify-content: baseline;
    align-items: center;
  }

  .books .shopping h5 {
    padding-left: 5px;
    padding-right: 15px;
  }

  .books .shopping .sub {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }

  .subscribe {
    padding: 40px 16px 40px;
  }

  .subscribe .warning-card {
    display: block;
    margin-bottom: 0;
  }

  .subscribe .email {
    padding: 24px 16px 24px;
  }

  .subscribe .email .col-md-4 {
    text-align: center;
  }

  .subscribe .email h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 10px;
  }
}
