.hm-hero {
  height: 100vh;
  min-height: 600px;
}

.hm-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.carousel-item.active .hm-hero-slide {
  transform: scale(1.05);
}

.hm-slide-1 {
  background-image: url('../images/wallpaper.jpg');
}

.hm-slide-2 {
  background-image: url('../images/wallpaper.jpg');
  filter: brightness(0.9);
}

.hm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 70%, rgba(0, 0, 0, 0.22) 100%);
  z-index: 1;
}

.hm-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hm-hero-box {
  max-width: 620px;
}

.hm-hero-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hm-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hm-accent {
  color: #dfdf19;
}

.hm-hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hm-btn-primary {
  background: #fbfb2b;
  color: #000;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid;
}

.hm-btn-primary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
  border: 2px solid black;
}

.hm-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 26px;
  border-radius: 50px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.hm-hero-stats {
  margin-top: 32px;
}

.hm-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
}

.hm-stat-pill i {
  color: var(--teal);
  font-size: 0.9rem;
}

.hm-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 27%;
  background: rgb(74, 67, 67);
  border: transparent;
  color: #ff0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hm-carousel-btn:hover {

  transform: translateY(-50%) scale(1.08);
}

.hm-carousel-prev {
  left: 24px;
}

.hm-carousel-next {
  right: 24px;
}

.hm-section-tag {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000203;
}

.hm-section-title {
  font-size: clamp(1.7rem, 1.8vw, 1.8rem);
  color: #111;
  line-height: 1.25;
  font-weight: 600;
}

.hm-section-divider {
  width: 48px;
  height: 3px;
  background: #ffd73c;
  border-radius: 2px;
  margin: 14px 0;
}


.hm-about {
  background: #fff;
  padding: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.hm-about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.hm-about-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
  transition: transform 0.5s ease;
}

.hm-about-img-wrap:hover .hm-about-img {
  transform: scale(1.02);
}

.hm-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  background: #fbfb2b;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  text-align: center;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.4);
  animation: badgePulse 2.5s ease-in-out infinite;
  border: 3px solid white;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.hm-exp-num {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.hm-exp-text {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.9;
}

.hm-section-sub {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 14px;
}

.hm-about-desc {
  font-size: 0.92rem;
  color: #0f0f0f;
  line-height: 1.8;
  margin-bottom: 14px;
}

.hm-stats {
  background: url('../images/wallpaper.jpg') center/cover no-repeat;
}

.hm-stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
}

.hm-stat-card {
  padding: 20px 10px;
}

.hm-stat-icon {
  font-size: 2.4rem;
  color: #fbfb2bde;
  margin-bottom: 12px;
}

.hm-stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.hm-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hm-services {
  background: #f8f9fa;
}

.hm-service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.hm-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.hm-service-card:hover .hm-service-icon {
  background: #000;
  color: #f2f14a;
}

.hm-service-icon {
  width: 70px;
  height: 70px;
  background: rgba(136, 136, 136, 0.1);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.hm-service-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.hm-service-desc {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.7;
  margin: 0;
}

.hm-why {
  background: #fff;
}

.hm-why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.hm-why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hm-why-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.hm-why-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(147, 154, 151, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #040404;
  transition: background 0.3s ease, color 0.3s ease;
}

.hm-why-item:hover .hm-why-icon {
  background: #000;
  color: #f2f14a;
}

.hm-why-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.hm-why-desc {
  font-size: 0.86rem;
  color: #777;
  margin: 0;
  line-height: 1.6;
}

.hm-why-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.hm-why-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
  border: 7px solid;
}

.hm-why-cta-card {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14);
  animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {}

.hm-why-cta-icon {
  font-size: 1.6rem;
  color: #000;
}

.hm-why-cta-label {
  font-size: 0.75rem;
  color: #999;
  font-weight: 500;
}

.hm-why-cta-num {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.hm-cta {
  background: url('../images/wallpaper.jpg') center/cover no-repeat fixed;
}

.hm-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.88) 0%, rgba(63, 63, 63, 0.6) 100%);
}

.hm-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.hm-cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0, 0);
}

.bk-label {
  font-weight: bold;
  margin-bottom: 5px;
}

.hm-badge-img {
  width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid aliceblue;
  border-radius: 120px;
  background-color: #ffffffd4;
}

@media (min-width: 992px) {

  .carousel-height,
  .hm-hero {
    height: 500px !important;
    min-height: 500px !important;
  }

  .banner-img {
    height: 10rem;
  }
}

@media (max-width: 991px) {
  .hm-about-img {
    height: 320px;
  }

  .hm-why-img {
    height: 320px;
  }

  .hm-exp-badge {
    right: 0;
    bottom: -16px;
    width: 90px;
    height: 90px;
  }

  .hm-exp-num {
    font-size: 1.4rem;
  }

  .hm-badge-img {
    width: 150px;
  }

  /* Move CTA card into normal flow so it doesn't clip outside section */
  .hm-why-cta-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 16px;
    border-radius: 12px;
    width: 100%;
    justify-content: center;
  }

  .hm-why-img-wrap {
    overflow: visible;
  }

  .hm-hero-box {
    max-width: 100%;
    padding: 0 8px;
  }

  .hm-section-title {
    font-size: 1.5rem;
  }

  .carousel-height {
    height: 300px !important;
    min-height: 300px !important;
  }

  .banner-img {
    height: 7rem;
  }
}

@media (max-width: 767px) {

  /* Prevent any horizontal overflow from sections */
  .hm-hero2,
  .hm-about,
  .hm-stats,
  .hm-services,
  .hm-why,
  .hm-cta {
    overflow-x: hidden;
  }

  .banner-img {
    height: 8rem;
  }
}

@media (max-width: 575px) {
  .hm-hero-title {
    font-size: 1.2rem;
  }

  .hm-hero-sub {
    font-size: 0.9rem;
  }

  .hm-carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .hm-carousel-prev {
    left: 10px;
  }

  .hm-carousel-next {
    right: 10px;
  }

  .hm-stat-num {
    font-size: 2rem;
  }

  .hm-stat-label {
    font-size: 0.78rem;
    letter-spacing: 0;
  }

  .hm-service-card {
    padding: 26px 18px;
  }

  .hm-about-img {
    height: 240px;
  }

  .hm-why-img {
    height: 240px;
  }

  .hm-badge-img {
    width: 90px;
  }

  .hm-hero-box {
    padding: 0 12px;
  }

  .hm-section-title {
    font-size: 1.3rem;
  }

  .hm-section-tag {
    font-size: 1rem;
  }

  .hm-why-cta-card {
    padding: 12px 16px;
    gap: 10px;
  }

  .hm-cta-title {
    font-size: 1.6rem;
  }

  .carousel-height {
    height: 200px !important;
    min-height: 200px !important;
  }

  .banner-img {
    height: 6rem;
  }
}