
    /* ===== IMPROVED HERO CAROUSEL STYLE ===== */
    #hero.hero {
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("assets/img/") center center / cover no-repeat;
}

#hero-carousel {
  background: url("assets/img/") center center / cover no-repeat;
}

    #hero .carousel {
      position: relative;
    }

    #hero .carousel-inner {
      min-height: 680px;
    }

    #hero .carousel-item {
      min-height: 680px;
    }

    #hero .carousel-item>.container {
      min-height: 680px;
      display: flex;
      align-items: center;
      padding-top: 0;
      padding-bottom: 0;
    }

    #hero .hero-content {
      text-align: left;
      max-width: 100%;
      width: 100%;
      padding-right: 30px;
      margin-top: -65px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    #hero .hero-cta {
      display: flex;
      justify-content: flex-start;
      margin-top: 32px;
      margin-left: -6px;
      margin-bottom: 0;
    }

    #hero .hero-content h1 {
      font-size: 2.85rem;
      font-weight: 700;
      line-height: 1.18;
      letter-spacing: -0.6px;
      margin-bottom: 1.4rem;
      color: #111111;
    }

    #hero .hero-content p {
      font-size: 1.08rem;
      line-height: 1.75;
      margin-bottom: 0;
      color: #4f5b66;
      max-width: 500px;
    }

    #hero .hero-cta .btn-primary {
      background: linear-gradient(135deg, #ff8a00, #ff6a00);
      color: #fff;
      padding: 14px 34px;
      border-radius: 14px;
      font-weight: 700;
      font-size: 1rem;
      text-decoration: none;
      border: none;
      box-shadow: 0 14px 30px rgba(255, 106, 0, 0.35);
      transition: all 0.3s ease;
    }

    #hero .hero-cta .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 20px 40px rgba(255, 106, 0, 0.45);
      color: #fff;
    }

    #hero .hero-cta .btn-secondary {
      color: #222;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      font-weight: 600;
      transition: all 0.25s ease;
      padding: 10px 0;
    }

    #hero .hero-cta .btn-secondary i {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.15rem;
      color: #a35a06;
      border: 2px solid rgba(163, 90, 6, 0.35);
      background: rgba(255, 255, 255, 0.75);
    }

    #hero .hero-cta .btn-secondary:hover {
      color: var(--accent-color);
      transform: translateX(4px);
    }

    #hero .hero-stats {
      display: flex;
      gap: 2.8rem;
      align-items: flex-start;
      flex-wrap: wrap;
      margin-top: 0.5rem;
    }

    #hero .hero-stats .stat-item {
      position: relative;
    }

    #hero .hero-stats .stat-item .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      line-height: 1;
      color: #111;
      margin-bottom: 0.45rem;
    }

    #hero .hero-stats .stat-item .stat-label {
      font-size: 0.92rem;
      color: #667085;
      font-weight: 500;
      line-height: 1.4;
    }

    #hero .hero-image {
      position: relative;
      max-width: 100%;
  width: 100%;
      margin-left: auto;
      margin-top: 10px;
    }

    #hero .hero-image::before {
      content: "";
      position: absolute;
      inset: -18px -18px 40px 40px;
      border-radius: 28px;
      background: linear-gradient(135deg, rgba(13, 110, 253, 0.10), rgba(13, 110, 253, 0.02));
      z-index: 0;
    }

    #hero .hero-image img {
      position: relative;
      z-index: 1;
      width: 100%;
      border-radius: 24px;
      box-shadow: 0 25px 70px rgba(15, 23, 42, 0.14);
      object-fit: cover;
    }

    #hero .hero-image .floating-card {
      position: absolute;
      z-index: 2;
      bottom: 28px;
      left: -30px;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(10px);
      padding: 1.1rem 1.2rem;
      border-radius: 18px;
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
      display: flex;
      align-items: center;
      gap: 0.95rem;
      min-width: 230px;
      border: 1px solid rgba(255, 255, 255, 0.7);
    }

    #hero .hero-image .floating-card .card-icon {
      width: 56px;
      height: 56px;
      background: rgba(163, 90, 6, 0.10);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    #hero .hero-image .floating-card .card-icon i {
      font-size: 1.6rem;
      color: #a35a06;
    }

    #hero .hero-image .floating-card .card-content h5 {
      font-size: 1rem;
      font-weight: 700;
      margin: 0 0 0.2rem 0;
      color: #111;
    }

    #hero .hero-image .floating-card .card-content .growth-percentage {
      font-size: 1.8rem;
      font-weight: 800;
      line-height: 1;
      color: #16a34a;
    }

    #hero .carousel-control-prev,
    #hero .carousel-control-next {
      width: 54px;
      height: 54px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 1;
      background: rgba(255, 255, 255, 0.88);
      border-radius: 50%;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    }

    #hero .carousel-control-prev {
      left: 16px;
    }

    #hero .carousel-control-next {
      right: 16px;
    }

    #hero .carousel-control-prev-icon,
    #hero .carousel-control-next-icon {
      background-size: 55% 55%;
      filter: invert(22%) sepia(13%) saturate(404%) hue-rotate(174deg) brightness(93%) contrast(90%);
    }

    #hero .carousel-indicators {
      margin-bottom: 0;
      bottom: 10px;
    }

    #hero .carousel-indicators button {
      width: 11px;
      height: 11px;
      border-radius: 50%;
      border: 0;
      margin: 0 6px;
      background-color: rgba(17, 17, 17, 0.22);
      opacity: 1;
    }

    #hero .carousel-indicators .active {
      background-color: var(--accent-color);
      transform: scale(1.15);
    }

    #hero .carousel-item>.container {
      min-height: 680px;
      display: flex;
      align-items: center;
      padding-top: 0;
    }

    #hero .hero-cta .btn-primary {
      padding: 16px 36px;
      border-radius: 14px;
      font-size: 1rem;
    }

    /* ===== KEEP THIS BLOCK — THIS IS THE ONE THAT FIXED IT ===== */
    #hero .hero-content {
      margin-top: -70px !important;
    }

    #hero .hero-content h1 {
      margin-bottom: 1.4rem !important;
    }

    #hero .hero-content p {
      margin-bottom: 0 !important;
    }

    #hero .hero-cta {
      margin-top: 28px !important;
    }

    #hero .carousel-item>.container {
      padding-top: 0 !important;
    }

    #hero .hero-image {
      margin-top: -70px !important;
    }


    @media (max-width: 767px) {
      #hero.hero {
        padding: 55px 0 35px;
      }

      #hero .carousel-item>.container {
        padding-top: 10px !important;
        padding-bottom: 30px !important;
      }

      #hero .row {
        flex-direction: column-reverse;
        row-gap: 1.5rem;
      }

      #hero .hero-content {
        margin-top: 0 !important;
        max-width: 100%;
        padding-right: 0;
        text-align: center;
      }

      #hero .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: -0.2px;
        margin-bottom: 1rem !important;
      }

      #hero .hero-content p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 0 !important;
        max-width: 100%;
      }

      #hero .hero-cta {
        justify-content: center;
        margin-top: 22px !important;
        margin-left: 0 !important;
        width: 100%;
      }

      #hero .hero-cta .btn-primary {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 12px;
        margin: 0 auto;
      }

      #hero .hero-image {
        max-width: 100%;
        margin: 0 auto 10px !important;
      }

      #hero .hero-image::before {
        inset: -8px -8px 16px 16px;
      }

      #hero .hero-image .floating-card {
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
        min-width: 220px;
        max-width: calc(100% - 30px);
        padding: 0.9rem 1rem;
      }

      #hero .hero-image .floating-card .card-content h5 {
        font-size: 0.95rem;
      }

      #hero .hero-image .floating-card .card-content .growth-percentage {
        font-size: 1.2rem;
      }
    }

    @media (max-width: 767px) {

      /* Smaller heading */
      #hero .hero-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.2;
        letter-spacing: -0.2px;
      }

      /* Hide description */
      

      /* Reduce button size */
      #hero .hero-cta .btn-primary {
        width: 100%;
        max-width: 260px;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 10px;
      }

    }

    @media (max-width: 767px) {

      /* Show slider arrows again */
      #hero .carousel-control-prev,
      #hero .carousel-control-next {
        display: flex !important;
      }

      /* Make them slightly smaller for mobile */
      #hero .carousel-control-prev,
      #hero .carousel-control-next {
        width: 42px;
        height: 42px;
      }

      #hero .carousel-control-prev {
        left: 8px;
      }

      #hero .carousel-control-next {
        right: 8px;
      }

    }


    @media (max-width: 767px) {

      #hero.hero {
        padding-top: 30px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
      }

      #hero .carousel,
      #hero .carousel-inner,
      #hero .carousel-item,
      #hero .carousel-item>.container {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
      }

      #hero .container,
      #hero .row,
      #hero .col-lg-6 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
      }

      #hero .row {
        row-gap: 0.9rem !important;
      }

      #hero .hero-content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
      }

      #hero .hero-cta {
        margin-bottom: 0 !important;
      }

      #hero .hero-image {
        margin: 0 auto 0 !important;
      }

      #hero .hero-image .floating-card {
        bottom: 8px !important;
      }

      #hero .carousel-indicators {
        bottom: 0 !important;
        margin-bottom: 0 !important;
      }

      #stats.section {
        padding-top: 0 !important;
        margin-top: 0 !important;
      }

    }

    /* ===== MEDIUM SCREEN REAL FIX ===== */
    @media (min-width: 800px) and (max-width: 1199px) {

      #hero .carousel-inner,
      #hero .carousel-item,
      #hero .carousel-item>.container {
        min-height: 560px !important;
        height: auto !important;
      }

      #hero .carousel-item>.container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
      }

      /* force both columns to behave like desktop */
      #hero .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center !important;
        row-gap: 0 !important;
      }

      #hero .row>.col-lg-6 {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
      }

      /* left text */
      #hero .hero-content {
        max-width: 100% !important;
        text-align: left !important;
        padding-right: 22px !important;
        margin-top: -25px !important;
        margin-bottom: 0 !important;
      }

      #hero .hero-content h1 {
        font-size: 2.15rem !important;
        line-height: 1.18 !important;
        letter-spacing: -0.3px !important;
        margin-bottom: 0.95rem !important;
        display: block !important;
      }

      #hero .hero-content p {
        display: block !important;
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
      }

      #hero .hero-cta {
        display: flex !important;
        justify-content: flex-start !important;
        margin-top: 18px !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        width: auto !important;
      }

      #hero .hero-cta .btn-primary {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        max-width: none !important;
        min-width: 170px !important;
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        border-radius: 12px !important;
        white-space: nowrap;
      }

      /* right image */
      #hero .hero-image {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-top: -25px !important;
      }

      #hero .hero-image img {
        width: 100% !important;
        max-height: 360px !important;
        object-fit: cover !important;
      }

      #hero .hero-image::before {
        inset: -10px -10px 24px 24px !important;
      }

      #hero .hero-image .floating-card {
        left: -8px !important;
        bottom: 12px !important;
        min-width: 185px !important;
        max-width: 260px !important;
        padding: 0.85rem 0.95rem !important;
        transform: none !important;
      }

      #hero .hero-image .floating-card .card-icon {
        width: 44px !important;
        height: 44px !important;
      }

      #hero .hero-image .floating-card .card-icon i {
        font-size: 1.2rem !important;
      }

      #hero .hero-image .floating-card .card-content h5 {
        font-size: 0.9rem !important;
      }

      #hero .hero-image .floating-card .card-content .growth-percentage {
        font-size: 1.2rem !important;
      }

      #hero .carousel-control-prev,
      #hero .carousel-control-next {
        display: flex !important;
        width: 42px !important;
        height: 42px !important;
      }

      #hero .carousel-control-prev {
        left: 8px !important;
      }

      #hero .carousel-control-next {
        right: 8px !important;
      }
    }

    /* slightly bigger medium-large screens */
    @media (min-width: 992px) and (max-width: 1199px) {
      #hero .hero-content h1 {
        font-size: 2.3rem !important;
      }

      #hero .hero-content p {
        font-size: 1rem !important;
      }

      #hero .hero-image img {
        max-height: 400px !important;
      }

      #hero .hero-image .floating-card {
        min-width: 200px !important;
        max-width: 280px !important;
      }

      #hero .hero-image .floating-card .card-content .growth-percentage {
        font-size: 1.35rem !important;
      }
    }

    /* ===== MAKE HERO IMAGE + FLOATING CARD SMALLER
   for 477px to 999px ===== */
    @media (min-width: 477px) and (max-width:800px) {
      #hero .hero-image {
        max-width: 82% !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }

      #hero .hero-image img {
        max-height: 290px !important;
        aspect-ratio: 16 / 10 !important;
        object-fit: cover !important;
      }

      #hero .hero-image::before {
        inset: -8px -8px 18px 18px !important;
      }

      #hero .hero-image .floating-card {
        min-width: 160px !important;
        max-width: 220px !important;
        padding: 0.7rem 0.8rem !important;
        bottom: 10px !important;
        gap: 0.7rem !important;
        border-radius: 14px !important;
      }

      #hero .hero-image .floating-card .card-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
      }

      #hero .hero-image .floating-card .card-icon i {
        font-size: 1rem !important;
      }

      #hero .hero-image .floating-card .card-content h5 {
        font-size: 0.8rem !important;
        margin-bottom: 0.1rem !important;
      }

      #hero .hero-image .floating-card .card-content .growth-percentage {
        font-size: 1rem !important;
        line-height: 1 !important;
      }
    }

    /* ===== MOBILE FIX ONLY ===== */
    @media (max-width: 767px) {

      /* Reduce space between text elements */
      #hero .hero-content h1 {
        font-size: 1.45rem !important;
        margin-bottom: 0.6rem !important;
        margin-top: 1rem !important;
        line-height: 1.2 !important;
      }

    

      #hero .hero-cta {
        margin-top: 10px !important;
        /* reduce gap */
      }

      #hero .hero-cta .btn-primary {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
        max-width: 220px !important;
      }

      /* Make floating card smaller */
      #hero .hero-image .floating-card {
        min-width: 150px !important;
        max-width: 190px !important;
        padding: 0.6rem 0.7rem !important;
        bottom: 6px !important;
        border-radius: 12px !important;
      }

      #hero .hero-image .floating-card .card-icon {
        width: 34px !important;
        height: 34px !important;
      }

      #hero .hero-image .floating-card .card-icon i {
        font-size: 0.9rem !important;
      }

      #hero .hero-image .floating-card .card-content h5 {
        font-size: 0.75rem !important;
        margin-bottom: 0.05rem !important;
      }

      #hero .hero-image .floating-card .card-content .growth-percentage {
        font-size: 0.95rem !important;
      }

    }

    /* Move the whole hero block a bit toward center from 640px onwards */
    @media (min-width: 640px) {
      #hero .row.align-items-center {
        transform: translateX(5px);
      }

      #hero .hero-content,
      #hero .hero-image {
        padding-left: 0 !important;
      }

      #hero .hero-cta {
        margin-left: 0 !important;
      }
    }

    /* ===== CERTIFICATIONS 3D CAROUSEL ===== */
.certifications-slider-section {
  overflow: hidden;
}

.cert-slider-wrap {
  position: relative;
}

.cert-3d-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 440px;
  margin: 0 auto;
  background: linear-gradient(135deg, #eef2f7, #e6ecf4);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
  overflow: hidden;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-3d-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cert3dRotate 18s linear infinite;
}

.cert-3d-wrapper:hover .cert-3d-carousel {
  animation-play-state: paused;
}

.cert-3d-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 400px;
  transform-style: preserve-3d;
  transform:
    translate(-50%, -50%)
    rotateY(calc(var(--i) * 51.428571deg))
    translateZ(270px)
    scale(0.75);
}

.cert-3d-card-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(17, 24, 39, 0.06);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  backface-visibility: hidden;
}

.cert-3d-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.16);
}

.cert-3d-image {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

.cert-3d-image img {
  max-width: 78%;
  max-height: 74px;
  object-fit: contain;
}

.cert-3d-content h3 {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #111827;
}

.cert-3d-content p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 18px;
  min-height: 96px;
}

.cert-3d-content button {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a00, #ff6a00);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.25);
  transition: all 0.3s ease;
}

.cert-3d-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(255, 106, 0, 0.32);
}

@keyframes cert3dRotate {
  from {
    transform: rotateX(-3deg) rotateY(0deg);
  }
  to {
    transform: rotateX(-3deg) rotateY(360deg);
  }
}

/* ===== TABLET ===== */
@media (max-width: 991px) {
  .cert-3d-wrapper {
    max-width: 620px !important;
    height: 420px;
  }

    .cert-3d-card {
    width: 250px;
    height: 350px;
    transform:
      translate(-50%, -70%)
      rotateY(calc(var(--i) * 51.428571deg))
      translateZ(350px);
      scale: 0.80;
  }
  .cert-3d-content h3 {
    font-size: 1.08rem;
  }

  .cert-3d-content p {
    font-size: 0.88rem;
    min-height: 92px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .cert-3d-wrapper {
    max-width: 100%;
    height: 420px;
    border-radius: 18px;
    perspective: 1100px;
  }

  .cert-3d-carousel {
    animation-duration: 20s;
  }

  .cert-3d-card {
    width: 220px;
    height: 285px;
    transform:
      translate(-50%, -68%)
      rotateY(calc(var(--i) * 51.428571deg))
      translateZ(280px);
      scale: 0.90;
  }

  .cert-3d-card-inner {
    border-radius: 18px;
    padding: 14px 14px 16px;
  }

  .cert-3d-image {
    height: 92px;
    border-radius: 14px;
    margin-bottom: 10px;
  }

  .cert-3d-image img {
    max-height: 60px;
  }

  .cert-3d-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .cert-3d-content p {
    font-size: 0.82rem;
    line-height: 1.5;
    min-height: 82px;
    margin-bottom: 14px;
  }

  .cert-3d-content button {
    padding: 8px 14px;
    font-size: 0.8rem;
    border-radius: 10px;
  }
}

#hero .carousel-item > .container-fluid {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  max-width: 1600px;
  margin: 0 auto;
}

#hero .row {
  width: 100%;
  align-items: center;
}

#hero .hero-content {
  max-width: 100%;
  width: 100%;
  padding-right: 50px;
  margin-top: -65px;
}

#hero .hero-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-top: -40px !important;
}

#hero .hero-image img {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  display: block;
}

#hero .hero-content {
  margin-top: -30px !important;
}

#hero .hero-image {
  margin-top: -30px !important;
}


@media (max-width: 767px) {
  #hero .carousel-item > .container {
    padding-left: 30px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 767px) {
  #hero .hero-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 767px) {
  #hero .hero-content h1 {
    padding-left: 20px;
    padding-right: 10px;
  }
}


@media (max-width: 767px) {
  #hero .hero-content h1 {
    padding-left: 20px;
    padding-right: 10px;
  }
}

@media (max-width: 767px) {
  #hero .row {
    row-gap: 2.5rem !important;
  }
}



@media (min-width: 1300px) {
  #hero.hero {
    padding-top: 130px !important;
    padding-bottom: 70px;
  }

  #hero .carousel-inner,
  #hero .carousel-item,
  #hero .carousel-item > .container {
    min-height: 700px;
  }

  #hero .carousel-item > .container {
    max-width: 1500px;
  }

  #hero .hero-content {
    padding-right: 54px;
  }
}

/* Hide content for ALL cards */
.cert-item .cert-content {
  display: none;
}

/* Show content ONLY for active (first) card */
.cert-slide .cert-item:nth-child(1) .cert-content {
  display: block;
}

/* ===== VIDEO HERO FIRST SLIDE ===== */
#hero .video-slide {
  position: relative;
  overflow: hidden;
}

#hero .video-slide .carousel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

#hero .video-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* ===== FIRST VIDEO SLIDE ONLY ===== */
#hero .video-slide {
  position: relative;
  overflow: hidden;
  min-height: 680px;
}

#hero .video-slide .carousel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

#hero .video-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

#hero .video-slide .video-hero-content {
  position: relative;
  z-index: 3;
  min-height: 680px;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#hero .video-slide .video-hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
}

#hero .video-slide .video-hero-content p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  max-width: 860px;
  margin: 0 auto 28px;
}

#hero .video-slide .video-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 4;
}

#hero .video-slide .video-hero-actions .btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

#hero .video-slide .video-hero-actions .btn-get-started:first-child {
  background: linear-gradient(135deg, #ff8a00, #ff6a00);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.35);
}

#hero .video-slide .video-hero-actions .btn-get-started:first-child:hover {
  transform: translateY(-2px);
  color: #fff;
}

#hero .video-slide .video-hero-actions .btn-get-started:last-child {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

#hero .video-slide .video-hero-actions .btn-get-started:last-child:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

@media (max-width: 767px) {
  #hero .video-slide,
  #hero .video-slide .video-hero-content {
    min-height: 560px;
  }

  #hero .video-slide .video-hero-content {
    padding: 30px 18px 50px;
  }

  #hero .video-slide .video-hero-content h2 {
    font-size: 2rem;
  }

  #hero .video-slide .video-hero-content p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  #hero .video-slide .video-hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  #hero .video-slide .video-hero-actions .btn-get-started {
    width: 100%;
    max-width: 260px;
    min-width: auto;
    padding: 12px 20px;
  }
}

#hero.hero {
  padding: 110px 0 80px;
}
/* REMOVE TOP GAP ONLY FOR VIDEO SLIDE */
#hero .video-slide {
  margin-top: -110px;
}

#hero .video-slide {
  margin-top: 0 !important;
}

#hero .video-slide .video-hero-content {
  padding-top: 140px; /* pushes text below navbar */
}

/* FORCE VIDEO HERO TEXT WHITE */
#hero .video-slide .video-hero-content h2,
#hero .video-slide .video-hero-content p {
  color: #ffffff !important;
}

/* ===== PERFECT CENTERING FOR VIDEO HERO ===== */

#hero .video-slide {
  position: relative;
  min-height: 680px;
  text-align: center;
}

#hero .video-slide .video-hero-content {
  position: relative;
  z-index: 3;

  max-width: 900px;
  width: 100%;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* text color */
#hero .video-slide h2 {
  color: #ffffff !important;
  font-size: 3rem;
  font-weight: 700;
}

#hero .video-slide p {
  color: rgba(255,255,255,0.95) !important;
  max-width: 760px;
}

/* center buttons */
#hero .video-slide .video-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* mobile */
@media (max-width: 768px) {

  #hero .video-slide {
    min-height: 560px;
  }

  #hero .video-slide h2 {
    font-size: 2rem;
  }

  #hero .video-slide .video-hero-actions {
    flex-direction: column;
    align-items: center;
  }

}

/* spacing for video hero content */
#hero .video-slide .video-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px; /* controls spacing between elements */
}

/* extra spacing for heading */
#hero .video-slide .video-hero-content h2 {
  margin-bottom: 8px;
}

/* spacing before buttons */
#hero .video-slide .video-hero-actions {
  margin-top: 10px;
}

#hero .video-slide .video-hero-content {
  position: relative;
  z-index: 3;
  min-height: 680px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

@media (max-width: 768px) {
  #hero .video-slide,
  #hero .video-slide .video-hero-content {
    min-height: 560px;
  }
}

/* only video slide fix */
#hero .video-slide {
  margin-top: -110px;
}

@media (max-width: 767px) {
  #hero .video-slide {
    margin-top: -70px;
    min-height: 520px !important;
  }

  #hero .video-slide .video-hero-content {
    min-height: 520px !important;
    padding: 20px 16px 20px !important;
    gap: 16px !important;
  }
}

@media (max-width: 767px) {
  #hero.hero {
    padding: 70px 0 30px !important;
    margin: 0 !important;
  }

  #hero .carousel,
  #hero .carousel-inner,
  #hero .carousel-item {
    min-height: auto !important;
    height: auto !important;
  }
}

#hero .video-slide .carousel-video,
#hero .video-slide::before {
  pointer-events: none !important;
}

#hero .video-slide .video-hero-content,
#hero .video-slide .video-hero-actions,
#hero .video-slide .video-hero-actions a {
  position: relative;
  z-index: 20 !important;
  pointer-events: auto !important;
}

/* ===== FINAL MOBILE FIX FOR VIDEO HERO ===== */
@media (max-width: 767px) {
  #hero.hero {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  #hero #hero-carousel,
  #hero .carousel-inner,
  #hero .carousel-item {
    min-height: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #hero .video-slide {
    min-height: 500px !important;
    height: 500px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #hero .video-slide .carousel-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  #hero .video-slide::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  #hero .video-slide .video-hero-content {
    position: relative !important;
    z-index: 20 !important;
    min-height: 500px !important;
    height: 500px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 16px !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  #hero .video-slide .video-hero-content h2 {
    color: #fff !important;
    font-size: 1.9rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  #hero .video-slide .video-hero-content p {
    color: rgba(255,255,255,0.95) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  #hero .video-slide .video-hero-actions {
    position: relative !important;
    z-index: 30 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    pointer-events: auto !important;
  }

  #hero .video-slide .video-hero-actions .btn-get-started {
    position: relative !important;
    z-index: 40 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    width: 100% !important;
    max-width: 260px !important;
    min-width: auto !important;
  }
}

/* ===== FINAL MOBILE VIDEO HERO FIX ===== */
@media (max-width: 767px) {
  #hero.hero {
    padding: 0 !important;
    margin: 0 !important;
  }

  #hero-carousel,
  #hero .carousel-inner,
  #hero .carousel-item {
    min-height: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #hero .video-slide {
    position: relative !important;
    min-height: 440px !important;
    height: 440px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #hero .video-slide .carousel-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  #hero .video-slide::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.42) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  #hero .video-slide .video-hero-content {
    position: absolute !important;
    inset: 0 !important;
    z-index: 20 !important;
    min-height: auto !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 28px 20px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
  }

  #hero .video-slide .video-hero-content h2 {
    font-size: 1.9rem !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    color: #fff !important;
  }

  #hero .video-slide .video-hero-content p {
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    max-width: 100% !important;
    color: rgba(255,255,255,0.96) !important;
  }

  #hero .video-slide .video-hero-actions {
    position: relative !important;
    z-index: 50 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 8px !important;
    pointer-events: auto !important;
  }

  #hero .video-slide .video-hero-actions .btn-get-started {
    position: relative !important;
    z-index: 60 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    width: 100% !important;
    max-width: 260px !important;
    min-width: auto !important;
  }

  /* keep non-video slides normal */
  #hero .carousel-item:not(.video-slide) > .container {
    min-height: 680px !important;
  }
}

/* ===== MOBILE FIX: keep video slide full and prevent next slide showing ===== */
@media (max-width: 767px) {
  #hero,
  #hero-carousel,
  #hero .carousel-inner {
    overflow: hidden !important;
  }

  #hero .carousel-inner {
    height: 560px !important;
    min-height: 560px !important;
  }

  #hero .carousel-item {
    height: 680px !important;
    min-height: 560px !important;
    overflow: hidden !important;
  }

  #hero .carousel-item:not(.active) {
    display: none !important;
  }

  #hero .video-slide {
    height: 590px !important;
    min-height: 560px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #hero .video-slide .video-hero-content {
    height: 100% !important;
    min-height: 590px !important;
    margin: 0 !important;
    padding: 95px 20px 70px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  #hero .video-slide .video-hero-actions {
    margin-top: 14px !important;
    gap: 12px !important;
  }

  #hero .video-slide .btn-get-started {
    width: 100% !important;
    max-width: 260px !important;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    z-index: 30 !important;
    top: 52% !important;
  }
}

/* ABOUT SLIDER */

.about-slider-container{
position:relative;
width:100%;
height:420px;
border-radius:20px;
overflow:hidden;
background:#eef2f7;
box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

.about-slide{
width:100%;
height:100%;
position:relative;
}

.about-item{
width:180px;
height:220px;
position:absolute;
top:50%;
transform:translateY(-50%);
border-radius:18px;
background-size:cover;
background-position:center;
transition:0.5s;
box-shadow:0 20px 40px rgba(0,0,0,0.25);
}

.about-slide .about-item:nth-child(1),
.about-slide .about-item:nth-child(2){
top:0;
left:0;
transform:translateY(0);
width:100%;
height:100%;
border-radius:20px;
}

.about-slide .about-item:nth-child(3){
left:60%;
}

.about-slide .about-item:nth-child(4){
left:calc(60% + 200px);
opacity:0;
}

.about-content{
position:absolute;
top:50%;
left:40px;
transform:translateY(-50%);
color:#fff;
max-width:300px;
display:none;
}

.about-slide .about-item:nth-child(2) .about-content{
display:block;
}

.about-content h3{
font-size:32px;
margin-bottom:10px;
}

.about-content p{
margin-bottom:18px;
line-height:1.6;
}

.about-content button{
background:linear-gradient(135deg,#ff8a00,#ff6a00);
border:none;
padding:10px 20px;
border-radius:10px;
color:#fff;
cursor:pointer;
font-weight:600;
}

.about-slider-buttons{
position:absolute;
bottom:20px;
width:100%;
display:flex;
justify-content:center;
gap:10px;
}

.about-slider-buttons button{
width:40px;
height:35px;
border-radius:8px;
border:none;
cursor:pointer;
background:white;
}

/* ===== ABOUT FULL WIDTH SLIDER ===== */
#about-us .about-slider-shell {
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #eef2f7, #e6ecf4);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

#about-us .about-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

#about-us .about-slide .about-item {
  width: 220px;
  height: 280px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
  transition: 0.5s ease;
  overflow: hidden;
}

/* dark overlay for better text visibility */
#about-us .about-slide .about-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.42) 35%,
      rgba(0, 0, 0, 0.14) 100%
    );
  z-index: 1;
}

/* main active slide */
#about-us .about-slide .about-item:nth-child(1),
#about-us .about-slide .about-item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
  border-radius: 24px;
  box-shadow: none;
}

/* preview cards */
#about-us .about-slide .about-item:nth-child(3) {
  left: calc(100% - 260px);
}

#about-us .about-slide .about-item:nth-child(4) {
  left: calc(100% - 20px);
  opacity: 0;
}

#about-us .about-slide .about-item:nth-child(n + 5) {
  left: calc(100% + 240px);
  opacity: 0;
}

#about-us .about-content {
  position: absolute;
  top: 50%;
  left: 110px;   /* move content more towards center */
  width: 490px;
  transform: translateY(-50%);
  text-align: left;
  z-index: 2;
  color: #ffffff;
  display: none;
}

#about-us .about-slide .about-item:nth-child(2) .about-content {
  display: block;
}

#about-us .about-name {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 14px;
  color: #ffffff;
  opacity: 0;
  animation: aboutFadeUp 0.8s ease-in-out 1 forwards;
}

#about-us .about-des {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  animation: aboutFadeUp 0.8s ease-in-out 0.2s 1 forwards;
}

#about-us .about-content button {
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a00, #ff6a00);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.25);
  transition: all 0.3s ease;
  opacity: 0;
  animation: aboutFadeUp 0.8s ease-in-out 0.35s 1 forwards;
}

#about-us .about-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(255, 106, 0, 0.32);
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

#about-us .about-slider-buttons {
  position: absolute;
  width: 100%;
  bottom: 22px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 5;
}

#about-us .about-slider-buttons button {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.88);
  color: #111827;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  transition: all 0.3s ease;
}

#about-us .about-slider-buttons button:hover {
  transform: scale(1.08);
  background: #ffffff;
}

/* ===== TABLET ===== */
@media (max-width: 991px) {
  #about-us .about-slider-shell {
    height: 440px;
  }

  #about-us .about-content {
    left: 40px;
    width: 50%;
  }

  #about-us .about-name {
    font-size: 1.8rem;
  }

  #about-us .about-des {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  #about-us .about-slide .about-item:nth-child(3) {
    left: calc(100% - 190px);
    width: 0;
    height: 0;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  #about-us .about-slider-shell {
    height: 400px;
    border-radius: 18px;
  }

  #about-us .about-slide .about-item {
    border-radius: 18px;
  }

  #about-us .about-slide .about-item::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.42) 40%,
        rgba(0, 0, 0, 0.72) 100%
      );
  }

  #about-us .about-slide .about-item:nth-child(1),
  #about-us .about-slide .about-item:nth-child(2) {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background-position: center center;
  }

  #about-us .about-content {
    top: auto;
    bottom: 72px;
    left: 18px;
    width: calc(100% - 36px);
    transform: none;
    text-align: center;
  }

  #about-us .about-name {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  #about-us .about-des {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  #about-us .about-content button {
    padding: 9px 16px;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  #about-us .about-slide .about-item:nth-child(3) {
    width: 0;
    height: 0;
    left: calc(100% - 80px);
    top: 18px;
    transform: none;
  }

  #about-us .about-slide .about-item:nth-child(4),
  #about-us .about-slide .about-item:nth-child(n + 5) {
    opacity: 0;
  }

  #about-us .about-slider-buttons {
    bottom: 14px;
  }

  #about-us .about-slider-buttons button {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}
.happiest-work-banner {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}

.happiest-card {
  position: relative;
  width: min(100%, 380px);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  animation: happiestFloat 3.5s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.28s ease;
}

.happiest-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  position: relative;
  z-index: 1;
}

/* moving light */
.happiest-shine {
  position: absolute;
  top: -20%;
  left: -60%;
  width: 45%;
  height: 140%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.12) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-180%) rotate(12deg);
  transition: opacity 0.3s ease;
  opacity: 0.9;
}

/* ambient glow */
.happiest-glow {
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  z-index: 0;
  background: radial-gradient(
    circle at center,
    rgba(52, 152, 219, 0.18) 0%,
    rgba(52, 152, 219, 0.08) 35%,
    rgba(52, 152, 219, 0.00) 70%
  );
  filter: blur(14px);
  transform: scale(0.96);
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.happiest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.08) 18%,
    rgba(255, 255, 255, 0.02) 32%,
    rgba(255, 255, 255, 0) 56%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.happiest-card:hover {
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.20),
    0 0 24px rgba(52, 152, 219, 0.18);
}

.happiest-card:hover::after {
  opacity: 1;
}

.happiest-card:hover .happiest-glow {
  opacity: 1;
  transform: scale(1.02);
}

.happiest-card:hover .happiest-shine {
  animation: happiestSweep 1.2s ease forwards;
}

@keyframes happiestSweep {
  0% {
    transform: translateX(-180%) rotate(12deg);
  }
  100% {
    transform: translateX(420%) rotate(12deg);
  }
}

@keyframes happiestFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* tablet */
@media (max-width: 991px) {
  .happiest-card {
    width: min(100%, 340px);
  }
}

/* mobile */
@media (max-width: 576px) {
  .happiest-work-banner {
    margin-top: 24px;
  }

  .happiest-card {
    width: min(100%, 280px);
    border-radius: 14px;
  }

  .happiest-card img {
    border-radius: 14px;
  }

  .happiest-glow {
    inset: -6px;
    border-radius: 18px;
  }
}

/* FORCE 2 PER ROW ON MOBILE */
@media (max-width: 767px) {
  #stats .row {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  #stats .row > div {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
}


/* REDUCE HEIGHT ONLY ON MOBILE */
@media (max-width: 767px) {

  #stats .stats-item {
    padding: 10px !important;
    min-height: 80px !important;
  }

  #stats .stats-item i {
    font-size: 18px !important;
    margin-right: 8px !important;
  }

  #stats .stats-item span {
    font-size: 1.3rem !important;
  }

  #stats .stats-item p {
    font-size: 0.85rem !important;
  }

}
