:root {
  /* colors */
  --primary-color: #ffffff;
  --theme-color-1: #9850ff;
  --theme-color-2: #304279;
  --theme-color-3: #eaf4ff;
  --theme-color-4: #4488ae;
  --theme-color-5: #163b65;
  --theme-color-6: #ffde59;
  --theme-color-7: #f3af26;
  --theme-color-8: #ee508a;
  --theme-color-9: #00bf63;
  --theme-color-10: #e8e8e8;
  --theme-color-11: #a2d144;

  /* gradients */
  --bg-gradient-1: linear-gradient(
    90deg,
    var(--theme-color-1),
    var(--theme-color-2)
  );
  --bg-gradient-2: linear-gradient(
    180deg,
    var(--primary-color),
    var(--theme-color-3)
  );
  --bg-gradient-3: linear-gradient(
    90deg,
    var(--theme-color-4),
    var(--theme-color-5)
  );
  --bg-gradient-4: linear-gradient(
    90deg,
    var(--theme-color-5),
    var(--theme-color-4)
  );
  --bg-gradient-5: linear-gradient(
    90deg,
    var(--theme-color-2),
    var(--theme-color-1)
  );
  --bg-gradient-6: linear-gradient(
    180deg,
    var(--theme-color-3),
    var(--primary-color)
  );

  /* fonts */
  --primary-font: "Poppins", sans-serif;

  /* Base font */
  --primary-font-size: clamp(0.9rem, 1vw + 0.5rem, 1.125rem);

  /* Headings */
  --h1-font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  --h2-font-size: clamp(1.75rem, 4vw + 0.5rem, 3rem);
  --h3-font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
  --h4-font-size: clamp(1.25rem, 2.5vw + 0.25rem, 2rem);
  --h5-font-size: clamp(1.1rem, 2vw, 1.5rem);
  --h6-font-size: clamp(1rem, 1.5vw, 1.25rem);
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--primary-font);
  font-weight: 400;
  font-style: normal;
  font-size: var(--primary-font-size);
  min-width: 320px;
}

/* highlights */
.highlight-1-tc8 {
  color: var(--theme-color-8) !important;
}

.highlight-1-tc1 {
  color: var(--theme-color-1) !important;
}

.highlight-1-tc9 {
  color: var(--theme-color-9) !important;
}
/* ============================================
   B2B BUTTONS — fill-sweep hover animation
   ============================================ */

.ch-btn {
  --_base: var(--theme-color-1);
  --_hover: var(--theme-color-5);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;

  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;

  background: var(--_base) !important;
  color: var(--_text-base);
  border: none !important;
  padding: 0.6rem 1.2rem;
  border-radius: 200px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;

  transition: color 0s ease 0.1s;
}

/* Prevent legacy hover rules overriding */
.ch-btn:hover,
.ch-btn:focus,
.ch-btn:target {
  background: var(--_base) !important;
  color: var(--_text-hover);
}

.ch-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: auto;
  width: 0%;
  z-index: -1;

  background: var(--_hover);
  transition: width 0.4s ease;
}

.ch-btn:hover::before,
.ch-btn:focus::before,
.ch-btn:target::before {
  width: 100%;
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */

/* Yellow → Green */
.ch-btn-yellow-green {
  --_base: var(--theme-color-6);
  --_hover: var(--theme-color-9);
  --_text-base: var(--theme-color-2);
  --_text-hover: #ffffff;
}

/* Green → Yellow */
.ch-btn-green-yellow {
  --_base: var(--theme-color-9);
  --_hover: var(--theme-color-6);
  --_text-base: #ffffff;
  --_text-hover: var(--theme-color-2);
}

/* Pink → Navy */
.ch-btn-pink-navy {
  --_base: var(--theme-color-8);
  --_hover: var(--theme-color-5);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;
}

/* Navy → Green */
.ch-btn-navy-green {
  --_base: var(--theme-color-5);
  --_hover: var(--theme-color-9);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;
}

/* Pink → Yellow */
.ch-btn-pink-yellow {
  --_base: var(--theme-color-8);
  --_hover: var(--theme-color-6);
  --_text-base: #ffffff;
  --_text-hover: var(--theme-color-2);
}

/* Gradient 3 → Gradient 4 */
.ch-btn-gradient-3-1 {
  --_base: var(--bg-gradient-3);
  --_hover: var(--bg-gradient-1);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;
}

/* header */
.ch-logo {
  width: 165px;
  height: auto;
}

@media (min-width: 992px) {
  .ch-logo {
    width: 220px;
  }
}

.search-inp-container {
  background: var(--theme-color-10);
  border: 1px solid rgb(101, 96, 96);
  border-radius: 100rem;
  padding: 0.2rem 0.4rem;
}

input.form-control::placeholder {
  color: white;
  font-size: 1.2rem;
}

.log-btn {
  background-color: var(--theme-color-1);
  border: none;
  color: white;
}

.cart-btn {
  background-color: var(--theme-color-5);
  border: none;
  color: white;
}

.dropdown-item .nl-name,
.nav-item .nav-link .nl-name,
.nav-item .hot-deals-link .deal-text .nl-name {
  position: relative;
  display: inline-block;
  color: var(--theme-color-5);
  padding-inline: 5px;
  padding-bottom: 3px;
  font-weight: 600;
  font-size: 1.1rem;
}

/* resting grey line, always visible */
.dropdown-item .nl-name::after,
.nav-item .nav-link .nl-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0px;
  background: var(--theme-color-10);
}

/* colored line, sweeps in from the right on top of the grey one */
.dropdown-item .nl-name::before,
.nav-item .nav-link .nl-name::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 3px;
  width: 0%;
  background: var(--theme-color-8);
  transition: width 0.35s ease;
}

.dropdown-item .nl-name:hover::before,
.nav-item .nav-link .nl-name:hover::before,
.nav-item.active .nav-link .nl-name::before {
  width: 100%;
}

.nav-item.active .nav-link .nl-name {
  border-bottom: 2px solid var(--theme-color-8);
}

.nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 0;
  padding-block: 0.2rem;
  text-transform: uppercase;
}

.hot-deals-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.arrow {
  display: flex;
  align-items: center;
}

.arrow.left {
  margin-right: -16px;
  z-index: 20;
}

.arrow.right {
  margin-left: -16px;
  z-index: 20;
}

.chevron {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* hot deals animation */
/* LEFT */
/* .arrow.left .chevron:nth-child(1) {
  animation: leftArrow 0.8s infinite;
}

.arrow.left .chevron:nth-child(2) {
  animation: leftArrow 0.8s 0.15s infinite;
} */

/* RIGHT */

/* .arrow.right .chevron:nth-child(1) {
  animation: rightArrow 0.8s infinite;
}

.arrow.right .chevron:nth-child(2) {
  animation: rightArrow 0.8s 0.15s infinite;
} */

/* LEFT */
.arrow.left .chevron:nth-child(1) {
  animation: leftArrow 1.5s infinite;
}
.arrow.left .chevron:nth-child(2) {
  animation: leftArrow 1.5s 0.06s infinite;
} 
/* RIGHT */
.arrow.right .chevron:nth-child(1) {
  animation: rightArrow 1.5s infinite;
}
.arrow.right .chevron:nth-child(2) {
  animation: rightArrow 1.5s 0.06s infinite;
} 

/* @keyframes leftArrow {
  0% {
    transform: translateX(8px);
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(-8px);
    opacity: 0.2;
  }
} */

@keyframes leftArrow {
  0% {
    transform: translateX(10px);
    opacity: 0.2;
  }

  25% {
    opacity: 1;
  }

  50% {
    transform: translateX(-8px);
    opacity: 0.;
  }

  75% {
    transform: translateX(-10px);
    opacity: 0;
  }

  /* Hold this state longer */
  100% {
    transform: translateX(-8px);
    opacity: 0;
  }
}

/* @keyframes rightArrow {
  0% {
    transform: translateX(-8px);
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(8px);
    opacity: 0.2;
  }
} */

@keyframes rightArrow {
  0% {
    transform: translateX(-10px);
    opacity: 0.2;
  }

  25% {
    opacity: 1;
  }

  50% {
    transform: translateX(8px);
    opacity: 0.2;
  }

  75% {
    transform: translateX(10px);
    opacity: 0;
  }


  /* Hold this state longer */
  100% {
    transform: translateX(8px);
    opacity: 0;
  }
}

.deal-text {
  display: inline-flex;
  align-items: center;
  background: var(--theme-color-6);
  padding: 0rem 1.2rem 0.2rem;
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 50%,
    calc(100% - 12px) 100%,
    12px 100%,
    0 50%
  );
}

.flame-img {
  width: 25px;
  height: 25px;
}

@media (min-width: 992px) and (max-width: 1350px) {
  .search-btn-container {
    display: none !important;
  }
}

.search-icon-btn {
  display: block;
}

.search-input::placeholder {
  color: #000 !important;
  opacity: 1;
}

@media (min-width: 1350px) {
  .search-icon-btn {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1350px) {
  .search-icon-btn {
    display: block !important;
  }
}

/* hero sec */
.hero-sec {
  background: var(--bg-gradient-2);
}
.hero-usp {
  max-width: 390px;
}
.hero-info-card {
  background: #ffffff;
  padding: 1rem;
}
.main-teg-line {
  margin-top: 20px;
  background: var(--theme-color-5);
  border-radius: 5px;
  color: white;
}

/* shine sec */
.shine-sec {
  background: var(--bg-gradient-2);
}

/* faq sec */
section.faq-section {
  background: var();
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 40px;
  border: none;
  overflow: hidden;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-button {
  background-color: #f9f5ff;
  color: #000;
  box-shadow: none;
  border-radius: 40px !important;
  border: none;
}

.accordion-button:not(.collapsed) {
  background-color: #ffecf3;
  color: var(--text-color-1);
  box-shadow: none;
  border-radius: 40px 40px 0 0 !important;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  border: none;
  background-color: #ffecf3;
}

.accordion-collapse {
  border: none;
}

/* overview */
.overview-sec {
  background: var(--bg-gradient-2);
}

.content-box {
  max-height: 885px;
  overflow: hidden;
  transition:
    max-height 0.5s ease-out,
    box-shadow 0.5s ease-out,
    padding-bottom 0.5s ease-out;
  padding-bottom: 50px;
  background-color: white;
}

.content-box.expanded {
  max-height: 6000px;
  box-shadow: inset 0 25vh 20px -20px white;
  padding-bottom: 50px;
}

@media (min-width: 992px) {
  .content-box.expanded {
    max-height: 2000px;
  }
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30vh;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.expanded + .fade-overlay {
  opacity: 0;
}

.show-more-btn {
  bottom: 15px;
  z-index: 10;
  background-color: white;
  padding: 5px 10px !important;
  border-radius: 0.25rem;
}
/* side bar */
.pricing-card {
  border: 2px solid var(--theme-color-3);
  box-shadow: 0 10px 30px rgba(48, 66, 121, 0.08);
}
.pricing-card .illustration-box {
  background: var(--bg-gradient-2);
  border: 2px solid var(--theme-color-5);
  min-height: 140px;
}
.pricing-card .avatar-icon {
  color: var(--theme-color-2);
}
.pricing-card .deco-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.pricing-card .price-old {
  color: #a9b3c6;
  text-decoration: line-through;
  font-weight: 600;
  font-size: var(--h5-font-size);
}
.pricing-card .price-new {
  color: var(--theme-color-5);
  font-weight: 800;
  font-size: var(--h2-font-size);
  line-height: 1;
}
.pricing-card .save-text {
  color: #2b2b2b;
}
.pricing-card .save-text strong {
  color: var(--theme-color-2);
}
.pricing-card .buy-now-btn {
  width: 100%;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.2rem;
}
.pricing-card .guarantee-text {
  color: #6b7280;
  font-size: 0.8rem;
}



/* Courses Section */
#courses-sec {
  background: var(--bg-gradient-2);
}

#courses-sec h2 {
  font-size: var(--h1-font-size);
  color: #2d2d2d;
}

#courses-sec .training-text {
  color: #e578a2;
  font-weight: 600;
}

#courses-sec p.lead {
  color: #666;
  font-size: var(--primary-font-size);
}

#courses-sec .card {
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#courses-sec .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#courses-sec .card-img-top {
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #bdbdbd;
}

#courses-sec .card-title {
  color: #333;
  font-weight: 600;
  font-size: var(--h6-font-size);
  margin-bottom: 0.75rem;
}

#courses-sec .course-rating {
  color: var(--theme-color-6);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

#courses-sec .course-students {
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

#courses-sec .price-current {
  color: var(--theme-color-5);
  font-weight: 700;
  font-size: 1.35rem;
  margin-right: 0.5rem;
}

#courses-sec .price-original {
  color: #9a9a9a;
  text-decoration: line-through;
  font-size: 1.1rem;
}


/* TESTIMONIALS */
.testimonials-section {
  background: linear-gradient(120deg, var(--theme-color-4), var(--theme-color-5));
  color: #fff;
  padding: 70px 0;
}

.testi-card {
  background: var(--theme-color-3);
  color: var(--theme-color-5);
  border-radius: 12px;
  padding: 1.3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: .88rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.testi-card p {
  flex-grow: 1;
}

.testi-card .bi-quote {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  font-size: 1.6rem;
  color: var(--theme-color-4);
  opacity: 0.35;
}

.testi-name {
  font-weight: 700;
  font-size: .9rem;
}

.testi-stars {
  color: var(--theme-color-7);
  font-size: .8rem;
}

/* ---- Trustpilot-style star (green square + white star) ---- */
.tp-stars {
  display: inline-flex;
  gap: 3px;
}

.tp-star {
  width: 18px;
  height: 18px;
  background: #00b67a;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tp-star i {
  color: #fff;
  font-size: 0.7rem;
}

/* ---- Swiper container ----
   Ensure all slides are visible, equal height, and centered */
.testimonialSwiper {
  padding: 20px 0 40px;
}

.testimonialSwiper .swiper-wrapper {
  align-items: stretch;
}

.testimonialSwiper .swiper-slide {
  height: auto;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.testimonialSwiper .swiper-slide-active {
  opacity: 1 !important;
}

@media (min-width: 769px) {
  .testimonialSwiper .swiper-slide-prev,
  .testimonialSwiper .swiper-slide-next {
    opacity: 0.5;
  }
}

/* ---- Navigation arrows (custom) ---- */
.testimonial-prev,
.testimonial-next {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--theme-color-5);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--theme-color-2);
}

.testimonial-prev::after,
.testimonial-next::after {
  display: none;
}

/* ---- Pagination dots (custom) ---- */
.testimonial-pagination .swiper-pagination-bullet {
  background: var(--theme-color-5);
  opacity: 0.4;
  transition: opacity 0.3s;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.btn-see-reviews {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 30px;
  padding: .5rem 1.6rem;
  font-weight: 600;
  font-size: .85rem;
  transition: background 0.2s, color 0.2s;
}

.btn-see-reviews:hover {
  background: #fff;
  color: var(--theme-color-5);
}

.reviews-io-pill {
  background: #fff;
  color: var(--theme-color-5);
  border-radius: 30px;
  padding: .4rem 1.2rem;
  font-weight: 700;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
@media (max-width: 769px) {
    .testimonial-prev, .testimonial-next{
        display: none;
    }
}

/* brand-sec */
#brand-sec {
  background: var(--bg-gradient-3);
  padding: 5rem 0;
}

.brand-accredt__title {
  color: var(--primary-color);
  font-size: var(--h2-font-size);
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
}

.brand-accredt-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
}

.brand-accredt-cards {
  width: calc(73% - 1.25rem);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.brand-accredt-card {
  background: var(--primary-color);
  border-radius: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  aspect-ratio: 1 / 1;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.brand-accredt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.brand-accredt-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* The guarantee badge stretches to match the full height of the grid
   next to it (flex align-items: stretch handles this at desktop width) */
.brand-accredt-card--guarantee {
  width: 27%;
  aspect-ratio: auto;
}

/* ===== Responsive ===== */

/* Tablet: grid drops to 4 columns, still side-by-side with the guarantee badge */
@media (max-width: 1199.98px) {
  .brand-accredt-cards {
    width: calc(70% - 1.25rem);
    grid-template-columns: repeat(4, 1fr);
  }
  .brand-accredt-card--guarantee {
    width: 30%;
  }
}

/* Small tablet / large phone: stack the guarantee badge below as a full-width banner,
   since a 27-30% column gets too narrow to read once the grid drops below 4 columns */
@media (max-width: 991.98px) {
  .brand-accredt-grid {
    flex-direction: column;
  }
  .brand-accredt-cards {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }
  .brand-accredt-card--guarantee {
    width: 100%;
    aspect-ratio: 21 / 9;
  }
}

/* Phone: 2-column grid, remove the fixed row count so row height is driven
   by the square aspect-ratio cards instead (auto rows, no explicit row template) */
@media (max-width: 767.98px) {
  .brand-accredt-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-accredt-card--guarantee {
    aspect-ratio: 16 / 9;
  }
  .brand-accredt__title {
    text-align: center;
  }
}

/* Small phone: tighten padding/gaps a bit so cards don't feel cramped */
@media (max-width: 575.98px) {
  #brand-sec {
    padding: 3rem 0;
  }
  .brand-accredt-grid {
    gap: 1rem;
  }
  .brand-accredt-cards {
    gap: 1rem;
  }
  .brand-accredt-card {
    padding: 1rem;
  }
}