/* Home page optimization styles. Loaded only by home.php. */

.home-page {
  background: #050505;
}

.home-page .container {
  max-width: min(1720px, calc(100% - 32px));
}

.home-layer {
  z-index: 7;
}

.home-page .banner {
  min-height: 820px;
  background: #050505 url("../img/website-images/hero_background_optimized.webp") center / cover no-repeat;
}

.home-page .banner::after {
  top: 0;
  height: 100%;
  background: rgba(0,0,0,.46);
}

.home-page .banner .carousel .carousel-inner .carousel-item .carousel-caption {
  width: min(1180px, calc(100% - 32px));
  right: auto;
  left: 50%;
  top: 56%;
  translate: none;
  transform: translate(-50%, -50%);
  padding-top: 110px;
  padding-bottom: 34px;
  border-radius: 8px;
}

.home-page .banner-title {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-page .banner-lead,
.home-page .banner-copy {
  max-width: 960px;
  margin-inline: auto;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
}

.home-page .banner-lead {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 650;
}

.home-page .banner-copy {
  font-size: 17px;
}

.home-page .banner .badge {
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0;
}

.home-page .btn {
  border-radius: 30px;
  font-weight: 800;
}

.home-page .home1,
.home-page .home5,
.home-page .home4 {
  background-attachment: scroll;
}

.home-page .home1 {
  background-image: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.46)), url("../img/website-images/capt_preeti_with_students_1.webp");
  background-position: center;
  background-size: cover;
}

.home-page .home2 .panel.panel1 {
  background-image: url("../img/website-images/students_2.webp");
}

.home-page .home2 .panel.panel2 {
  background-image: url("../img/website-images/capt_preeti_seminar_1.webp");
}

.home-page .home2 .panel.panel3 {
  background-image: url("../img/website-images/wall_of_fame.webp");
}

.home-page .home2 .panel.panel4 {
  background-image: url("../img/website-images/cpac_spl_frtol_1.webp");
}

.home-page .home1 .experience,
.home-page .home5 .counter-box,
.home-page .home4 .single-testimonial {
  min-height: 100%;
}

.home-page .home1 .experience {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
}

.home-page .home1 .experience .icon {
  width: 74px;
  min-width: 74px;
}

.home-page .home1 .experience .icon img {
  display: block;
  width: 100%;
  height: auto;
}

.home-page .home1 .experience .text h2 {
  color: #fff !important;
  font-weight: 700;
}

.home-page .home2 .panel {
  min-width: 0;
  border-radius: 8px;
}

.home-page .home2 .panel h3,
.home-page .home2 .panel .card-content h4 {
  color: #fff;
  font-weight: 700;
}

.home-strong-link {
  color: #fff;
  font-weight: 900;
}

.home-page .home5 .counter-box {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(5,5,5,.42);
}

.home-seo-pathway {
  padding: 88px 0;
  background: #080808;
  color: #fff;
}

.home-pathway-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 48px);
}

.home-pathway-copy {
  position: sticky;
  top: 92px;
}

.home-pathway-copy p {
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.78;
}

.home-pathway-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-pathway-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 700;
}

.home-pathway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-outline-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244,165,28,.74);
  border-radius: 30px;
  padding: 12px 24px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: .25s ease;
}

.home-pathway-actions .btn {
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.home-pathway-actions .btn:hover,
.home-pathway-actions .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .32);
}

.home-outline-btn:hover,
.home-outline-btn:focus-visible {
  background: #f4a51c;
  color: #080808;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(244, 165, 28, .18);
}

.home-pathway-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-pathway-list article {
  min-height: 260px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.home-pathway-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(244,165,28,.36);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 42px rgba(0,0,0,.26);
}

.home-pathway-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #f4a51c;
  font-size: 15px;
  font-weight: 900;
}

.home-pathway-list h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.18;
}

.home-pathway-list p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.68;
}

.home-page .py-5.bg-white .border.rounded {
  border-color: rgba(120,21,91,.18) !important;
  border-radius: 8px !important;
}

.home-page .home4 {
  overflow: hidden;
  background: #080808;
}

.home-page .home4::before {
  opacity: .2;
  filter: none;
}

.home-review-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.home-review-source {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.78) !important;
  font-size: 16px;
  line-height: 1.65;
}

.home-google-summary {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 22px;
  background: #101010;
  color: #fff;
}

.home-google-label {
  display: block;
  margin-bottom: 8px;
  color: #f4a51c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.home-google-score {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1;
}

.home-google-stars,
.home-google-rating {
  display: inline-flex;
  gap: 3px;
  color: #f4a51c;
  font-weight: 900;
  letter-spacing: 1px;
}

.home-google-summary small {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.74);
  line-height: 1.55;
}

.home-google-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #78155b;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.home-google-link:hover,
.home-google-link:focus-visible {
  background: #f4a51c;
  color: #080808;
}

.home-page .home4 .testimonials-slider {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.home-page .home4 .single-testimonial {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 34px;
  background: #fff;
  text-align: left;
}

.home-page .home4 .single-testimonial::before,
.home-page .home4 .single-testimonial::after {
  display: none;
}

.home-page .home4 .single-testimonial p {
  margin-bottom: 20px;
  color: #252525;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-page .home4 .single-testimonial p::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 18px;
  color: #f4a51c;
  font-weight: 900;
  letter-spacing: 2px;
}

.home-page .home4 .single-testimonial .home-google-rating + p::before {
  display: none;
}

.home-page .home4 .single-testimonial:hover p,
.home-page .home4 .single-testimonial:hover .client-details {
  color: #252525;
}

.home-review-proof {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 10px 10px 12px;
  border: 1px solid rgba(120,21,91,.16);
  border-radius: 8px;
  background: #fbfbfb;
  color: #78155b;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-review-proof:hover,
.home-review-proof:focus-visible {
  border-color: rgba(120,21,91,.38);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  color: #78155b;
  transform: translateY(-1px);
}

.home-review-proof:focus-visible {
  outline: 3px solid rgba(244,165,28,.42);
  outline-offset: 2px;
}

.home-review-proof img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.home-review-proof span {
  display: block;
  margin-top: 10px;
}

.home-review-modal .modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.home-review-modal.is-open {
  display: block;
  background: rgba(0,0,0,.72);
}

.home-review-modal.is-open .modal-dialog {
  position: relative;
  z-index: 2;
}

.home-review-modal .modal-header {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.home-review-modal .modal-title {
  color: #111;
  font-size: 18px;
  font-weight: 900;
}

.home-review-modal .modal-body {
  padding: 14px;
  background: #f7f7f7;
}

.home-review-modal img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.home-page .home4 .single-testimonial .client-info {
  justify-content: flex-start;
}

.home-page .home4 .single-testimonial .client-info::before {
  content: "CP";
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #78155b;
  color: #fff;
  font-weight: 900;
}

.home-review-avatar {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #78155b;
  color: #fff;
  font-weight: 900;
}

.home-page .home4 .single-testimonial .client-info:has(.home-review-avatar)::before {
  display: none;
}

.home-page .home4 .single-testimonial .client-info .client-details {
  margin-left: 14px;
}

.home-page .home4 .single-testimonial .client-info .client-details h6 {
  color: #111;
  font-size: 15px;
  font-weight: 900;
}

.home-page .home4 .single-testimonial .client-info .client-details span,
.home-google-review-meta {
  margin-top: 4px;
  color: rgba(37,37,37,.68);
  font-size: 14px;
}

.home-page .home4 .owl-theme .owl-nav {
  top: 46%;
}

.home-page .home4 .owl-theme .owl-nav button {
  background: #fff !important;
  color: #78155b !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5);
}

.home-page .home4 .owl-theme .owl-nav button:hover {
  background: #f4a51c !important;
  color: #080808 !important;
}

.home-page .home4 .owl-theme .owl-dots button {
  box-shadow: 0 0 0 2px rgba(255,255,255,.78);
}

.home-page .home6 .home-brand-marquee {
  overflow: hidden;
  width: 100%;
}

.home-page .home6 .home-brand-track {
  display: flex;
  width: max-content;
  gap: clamp(22px, 3vw, 50px);
  animation: homeBrandMarquee 28s linear infinite;
  will-change: transform;
}

.home-page .home6 .home-brand-marquee:hover .home-brand-track {
  animation-play-state: paused;
}

.home-page .home6 .home-brand-marquee .item {
  flex: 0 0 clamp(210px, 22vw, 390px);
}

.home-page .home6 .brand-slider img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-inline: auto;
}

@keyframes homeBrandMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.home-page .accordion-button {
  line-height: 1.35;
}

@media (min-width: 1400px) {
  .home-page .home2 .panel.active,
  .home-page .home2 .panel:hover {
    flex: 3;
  }

  .home-page .home2 .panel {
    min-height: 620px;
  }
}

@media (max-width: 1199px) {
  .home-page .home2 .row.m-0 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .home-page .home2 .panel,
  .home-page .home2 .panel.active,
  .home-page .home2 .panel:hover {
    display: flex;
    align-items: flex-end;
    min-height: 330px;
    height: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 24px;
    border-radius: 10px;
  }

  .home-page .home2 .panel::after {
    background: linear-gradient(180deg, rgba(3, 10, 22, .12) 0%, rgba(3, 10, 22, .9) 100%) !important;
  }

  .home-page .home2 .panel h3 {
    display: none;
  }

  .home-page .home2 .panel .card-content {
    position: relative;
    top: auto;
    left: auto;
    translate: none;
    display: block;
    width: 100%;
    max-width: none;
    padding: 18px;
    border-radius: 8px;
    background: rgba(3, 10, 22, .74);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  }

  .home-page .home2 .panel .card-content h4 {
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.25;
  }

  .home-page .home2 .panel .card-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .96);
    font-size: 15px;
    line-height: 1.55;
  }

  .home-pathway-grid {
    grid-template-columns: 1fr;
  }

  .home-pathway-copy {
    position: static;
  }
}

@media (max-width: 991px) {
  .home-page .container {
    max-width: calc(100% - 24px);
  }

  .home-page .banner {
    min-height: 700px;
  }

  .home-page .banner .carousel .carousel-inner .carousel-item .carousel-caption {
    top: auto;
    left: auto;
    transform: none;
    translate: none;
    padding-top: 0;
  }

  .home-review-head {
    grid-template-columns: 1fr;
  }

  .home-google-summary {
    max-width: 520px;
  }
}

@media (max-width: 767px) {
  .home-page .banner {
    min-height: 760px;
    background-image: url("../img/website-images/hero_background_mobile.webp");
  }

  .home-page .banner .carousel-caption {
    width: min(94vw, 720px);
  }

  .home-page .banner-title {
    font-size: 34px;
  }

  .home-page .banner-copy {
    display: none;
  }

  .home-page .banner .badge {
    font-size: 12px;
  }

  .home-page .home1 .row.g-3 {
    justify-content: center;
  }

  .home-page .home1 .row.g-3 > [class*="col-"] {
    width: 100%;
    max-width: 380px;
    padding-left: 0;
    padding-right: 0;
  }

  .home-page .home1 .experience {
    width: 100%;
    margin-inline: auto;
  }

  .home-page .home2 .row.m-0 {
    grid-template-columns: 1fr;
  }

  .home-page .home2 .panel,
  .home-page .home2 .panel.active,
  .home-page .home2 .panel:hover {
    min-height: 280px;
    padding: 18px;
  }

  .home-page .home2 .panel .card-content {
    padding: 16px;
  }

  .home-page .home2 .panel .card-content h4 {
    font-size: 20px;
  }

  .home-page .home2 .panel .card-content p {
    font-size: 14px;
  }

  .home-pathway-list {
    grid-template-columns: 1fr;
  }

  .home-seo-pathway {
    padding: 58px 0;
  }

  .home-pathway-copy p {
    font-size: 15px;
    line-height: 1.7;
  }

  .home-pathway-tags {
    gap: 8px;
  }

  .home-pathway-tags span {
    min-height: 32px;
    font-size: 12px;
  }

  .home-pathway-list article {
    min-height: auto;
    padding: 22px;
  }

  .home-pathway-list h3 {
    font-size: 21px;
  }

  .home-pathway-list p {
    font-size: 15px;
    line-height: 1.62;
  }

  .home-pathway-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-pathway-actions .btn,
  .home-outline-btn {
    width: 100%;
  }

  .home-page .home4 .single-testimonial {
    min-height: auto;
    padding: 26px;
  }

  .home-review-proof img {
    height: 128px;
  }

  .home-review-source {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .home-page .home1 .row.g-3 > [class*="col-"] {
    max-width: calc(100vw - 48px);
  }

  .home-page .banner-title {
    font-size: 30px;
  }
}
