.cahs-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cahs-slider-container {
  width: 100%;
  position: relative;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cahs-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.cahs-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cahs-content-outer {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cahs-content-inner {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Flex Wrapper for Title & Icon */
.cahs-title-wrapper {
  display: flex;
  flex-wrap: wrap;
  /* align-items is controlled by widget settings (icon_align_items) */
  /* justify-content is controlled by widget settings (text_align) */
  margin-bottom: 20px;
}

.cahs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cahs-title {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.cahs-description {
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 100%;
}

.cahs-button {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  border-style: solid;
  border-width: 1px;
  border-color: transparent;
}

/* Animations */
.cahs-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.swiper-slide-active .cahs-anim {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.cahs-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.cahs-button-prev {
  left: 20px;
}

.cahs-button-next {
  right: 20px;
}

.swiper-pagination {
  bottom: 20px !important;
  z-index: 10;
}

.pcn-container {
  width: 100%;
}

.pcn-container.pcn-layout-grid {
  display: grid;
  /* Columns handled by inline style from PHP */
}

.pcn-item {
  display: block;
  background-color: #fff;
  border: 1px solid #eee;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  /* Height & Radius handled by inline style */
}

.pcn-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Align items handled by inline style */
}

/* Icon Positioning Logic */
/* Default Top: Flex-direction column is standard */
.pcn-content.icon-pos-left .pcn-text-group,
.pcn-content.icon-pos-right .pcn-text-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcn-content.icon-pos-left .pcn-text-group {
  flex-direction: row;
}

.pcn-content.icon-pos-right .pcn-text-group {
  flex-direction: row-reverse;
}

.pcn-img-wrapper {
  margin-bottom: 15px;
}

.pcn-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  /* Color & margin handled by inline style */
}

.pcn-desc {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

.pcn-count {
  margin-top: auto;
  display: inline-block;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 500;
}

.pcn-icon i {
  font-size: 24px;
  margin-bottom: 5px;
  color: #333;
}

/* Pagination Styles */
.pcn-pagination {
  text-align: center;
  margin-top: 30px;
}

.pcn-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.pcn-pagination .page-numbers.current,
.pcn-pagination .page-numbers:hover {
  background: #333;
  color: #fff;
}

/* Recent ports */
.posts-grid {
  display: grid;
}

.post-item {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
  background: #fcfcfc;
  overflow: hidden;
  justify-content: space-between;
}

.post-thumbnail-wrapper img {
  width: 100%;
  display: block;
}

.post-title {
  margin: 0;
}

.post-title a {
  text-decoration: none;
  transition: color 0.3s;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.6;
}

.post-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.post-cta-button {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
}

.element-cta.full-width-btn .post-cta-button {
  display: block;
  width: 100%;
}

/* Animations */
.pro-animate-card {
  opacity: 0;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pro-anim-fade-in-up {
  animation-name: fade-in-up;
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.pro-anim-fade-in-left {
  animation-name: fade-in-left;
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.pro-anim-fade-in-right {
  animation-name: fade-in-right;
}

@keyframes zoom-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.pro-anim-zoom-in {
  animation-name: zoom-in;
}

@keyframes scale-up {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.pro-anim-scale-up {
  animation-name: scale-up;
}

/* Pagination Styling */
.posts-pagination {
  display: flex;
  width: 100%;
}

.posts-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

.posts-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
  box-sizing: border-box;
}

.posts-pagination span.current {
  cursor: default;
}

/* Recent ports */

/* Start Forminator forms */
.elementor-universal-form-wrapper {
  width: 100%;
  position: relative;
}

.universal-form-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #f7f7f7;
  border: 2px dashed #d5d8dc;
  color: #6d7882;
  text-align: center;
  border-radius: 4px;
}

.universal-form-placeholder i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #a4afb7;
}

.universal-form-placeholder span {
  font-size: 14px;
  font-family: Roboto, sans-serif;
}

/* Forminator Notice Style in Editor Panel */
.universal-form-notice-box {
  font-size: 12px;
  color: #71777d;
  font-style: italic;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.universal-form-notice-box .note-widget {
  border: 1px solid #00ff3c;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  background-color: #0080004f;
}

/*!!! End Forminator forms */

.cplb-wrapper {
  width: 100%;
  position: relative;
}

.cplb-grid {
  display: grid;
  /* Grid columns are set via PHP inline styles */
}

.cplb-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cplb-post-card:hover {
  transform: translateY(-5px);
}

.cplb-inner-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 15px;
}

/* Image */
.cplb-image-wrapper {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.cplb-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cplb-post-card:hover .cplb-image-wrapper img {
  transform: scale(1.05);
}

/* Typography & Content */
.cplb-title {
  margin: 0;
  line-height: 1.2;
}

.cplb-title a {
  text-decoration: none;
  transition: color 0.3s;
}

.cplb-excerpt {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
}

/* Meta */
.cplb-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85em;
  color: #888;
}

.cplb-meta li {
  display: inline-flex;
  align-items: center;
}

/* Button */
.cplb-btn-wrapper {
  margin-top: auto;
}

.cplb-button {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 4px;
  text-align: center;
}

.cplb-button:hover {
  opacity: 0.9;
}

/* Pagination */
.cplb-pagination {
  margin-top: 30px;
  text-align: center;
}

.cplb-pagination a,
.cplb-pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  border-radius: 3px;
}

.cplb-pagination span.current {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* Swiper Defaults */
.swiper-container {
  overflow: hidden;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 20px;
}

/* // Head line */
.ah-headline-wrapper {
  font-size: 30px;
  font-weight: 700;
  position: relative;
  text-decoration: none;
  line-height: 1.2;
  display: block;
}

.ah-headline-wrapper a {
  color: inherit;
  text-decoration: none;
}

.ah-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}

.ah-rotating .ah-words-wrapper {
  vertical-align: top;
}

/* Common Rotating Words Styles */
.ah-rotating .ah-words-wrapper b {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
  pointer-events: none;
}

.ah-rotating .ah-words-wrapper b.is-visible {
  position: relative;
  pointer-events: auto;
}

/* --- Typing Animation --- */
.ah-rotating.ah-typing .ah-words-wrapper {
  vertical-align: bottom;
  overflow: hidden;
  padding-right: 2px; /* Space for cursor */
}

.ah-rotating.ah-typing .ah-words-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: 2px;
  background-color: currentColor;
  animation: ah-blink 1s infinite;
}

.ah-rotating.ah-typing b {
  opacity: 1;
  visibility: hidden;
}

.ah-rotating.ah-typing b.is-visible {
  visibility: visible;
  position: relative;
}

@keyframes ah-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* --- Clip Animation --- */
.ah-rotating.ah-clip .ah-words-wrapper {
  overflow: hidden;
  vertical-align: top;
}

.ah-rotating.ah-clip .ah-words-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: currentColor;
}

.ah-rotating.ah-clip b {
  opacity: 0;
}

.ah-rotating.ah-clip b.is-visible {
  opacity: 1;
}

/* --- Flip Animation --- */
.ah-rotating.ah-flip .ah-words-wrapper {
  perspective: 300px;
}

.ah-rotating.ah-flip b {
  transform-origin: 50% 100%;
  transform: rotateX(180deg);
  opacity: 0;
}

.ah-rotating.ah-flip b.is-visible {
  transform: rotateX(0deg);
  opacity: 1;
  transition: transform 0.6s, opacity 0.6s;
}

.ah-rotating.ah-flip b.is-hidden {
  transform: rotateX(180deg);
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

/* --- Zoom Animation --- */
.ah-rotating.ah-zoom b {
  opacity: 0;
  transform: scale(0);
}

.ah-rotating.ah-zoom b.is-visible {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.6s, opacity 0.6s;
}

.ah-rotating.ah-zoom b.is-hidden {
  opacity: 0;
  transform: scale(1.5);
  transition: transform 0.6s, opacity 0.6s;
}

/* --- Slide Animation --- */
.ah-rotating.ah-slide .ah-words-wrapper {
  overflow: hidden;
}

.ah-rotating.ah-slide b {
  opacity: 0;
  top: 0.2em;
}

.ah-rotating.ah-slide b.is-visible {
  top: 0;
  opacity: 1;
  transition: top 0.4s, opacity 0.4s;
}

.ah-rotating.ah-slide b.is-hidden {
  top: -1em;
  opacity: 0;
  transition: top 0.4s, opacity 0.4s;
}

/* --- Push Animation --- */
.ah-rotating.ah-push b {
  opacity: 0;
  transform: rotateX(-90deg) translateY(20px);
  transform-origin: 50% 0;
}

.ah-rotating.ah-push b.is-visible {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
  transition: transform 0.6s, opacity 0.6s;
}

.ah-rotating.ah-push b.is-hidden {
  opacity: 0;
  transform: rotateX(90deg) translateY(-20px);
  transition: transform 0.6s, opacity 0.6s;
}

/* --- Scale Animation --- */
.ah-rotating.ah-scale b {
  opacity: 0;
  transform: scale(0.5);
}
.ah-rotating.ah-scale b.is-visible {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.6s, opacity 0.6s;
}
.ah-rotating.ah-scale b.is-hidden {
  opacity: 0;
  transform: scale(1.5);
  transition: transform 0.6s, opacity 0.6s;
}

/* --- Highlighted Style --- */
.ah-highlighted {
  display: block;
}
.ah-highlighted .ah-words-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1;
  margin: 0 5px;
}
.ah-highlighted .ah-words-wrapper b {
  position: relative;
  z-index: 2;
  display: inline-block;
}
.ah-highlight-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  transform: translate(-50%, -50%) scale(var(--ah-scale-x, 1), var(--ah-scale-y, 1));
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}
.ah-highlight-svg path {
  fill: none;
  stroke: #6366f1;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: ah-draw-stroke 2s forwards;
}
@keyframes ah-draw-stroke {
  to {
    stroke-dashoffset: 0;
  }
}
/* // Head line */

/* Flip card */
.flip-box-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
  cursor: pointer;
  width: 100%;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-box-side {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.flip-box-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.flip-box-content {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flip-box-img img {
  max-width: 100%;
  height: auto;
}

.flip-box-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.flip-title {
  margin: 0;
}

.flip-desc {
  margin: 0;
}

/* Back Side Initial State */
.flip-box-back {
  transform: rotateY(180deg);
}

/* ------------------
   EFFECTS
   ------------------ */

/* 1. FLIP */
.effect-flip.dir-right .flip-box-back {
  transform: rotateY(180deg);
}
.effect-flip.dir-right:hover .flip-box-inner,
.effect-flip.dir-right.flipped .flip-box-inner {
  transform: rotateY(180deg);
}

.effect-flip.dir-left .flip-box-back {
  transform: rotateY(-180deg);
}
.effect-flip.dir-left:hover .flip-box-inner,
.effect-flip.dir-left.flipped .flip-box-inner {
  transform: rotateY(-180deg);
}

.effect-flip.dir-up .flip-box-back {
  transform: rotateX(180deg);
}
.effect-flip.dir-up:hover .flip-box-inner,
.effect-flip.dir-up.flipped .flip-box-inner {
  transform: rotateX(180deg);
}

.effect-flip.dir-down .flip-box-back {
  transform: rotateX(-180deg);
}
.effect-flip.dir-down:hover .flip-box-inner,
.effect-flip.dir-down.flipped .flip-box-inner {
  transform: rotateX(-180deg);
}

/* 2. ZOOM */
.effect-zoom .flip-box-back {
  opacity: 0;
  transform: scale(0.5) rotateY(180deg);
  transition: all 0.6s ease;
}
.effect-zoom:hover .flip-box-inner,
.effect-zoom.flipped .flip-box-inner {
  transform: rotateY(180deg);
}
.effect-zoom:hover .flip-box-back,
.effect-zoom.flipped .flip-box-back {
  opacity: 1;
  transform: scale(1) rotateY(180deg);
}
.effect-zoom:hover .flip-box-front,
.effect-zoom.flipped .flip-box-front {
  transform: scale(0.5) rotateY(180deg);
  opacity: 0;
}

/* 3. SLIDE */
.effect-slide .flip-box-inner {
  transition: transform 0.4s ease-in-out;
}
.effect-slide.dir-up .flip-box-back {
  transform: translateY(100%);
}
.effect-slide.dir-up:hover .flip-box-inner,
.effect-slide.dir-up.flipped .flip-box-inner {
  transform: translateY(-100%);
}

.effect-slide.dir-down .flip-box-back {
  transform: translateY(-100%);
}
.effect-slide.dir-down:hover .flip-box-inner,
.effect-slide.dir-down.flipped .flip-box-inner {
  transform: translateY(100%);
}

.effect-slide.dir-left .flip-box-back {
  transform: translateX(100%);
}
.effect-slide.dir-left:hover .flip-box-inner,
.effect-slide.dir-left.flipped .flip-box-inner {
  transform: translateX(-100%);
}

.effect-slide.dir-right .flip-box-back {
  transform: translateX(-100%);
}
.effect-slide.dir-right:hover .flip-box-inner,
.effect-slide.dir-right.flipped .flip-box-inner {
  transform: translateX(100%);
}

/* 4. FADE */
.effect-fade .flip-box-back {
  opacity: 0;
  transform: none;
  transition: opacity 0.6s;
  z-index: 3;
}
.effect-fade:hover .flip-box-back,
.effect-fade.flipped .flip-box-back {
  opacity: 1;
}

/* ------------------
   SOCIAL ICONS
   ------------------ */
.flip-box-social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.flip-box-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #333;
  width: auto;
  text-decoration: none;
  transition: all 0.3s;
}

.flip-box-social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Official Colors Helper - Top 10 */
.social-official i.fa-facebook-f,
.social-official i.fa-facebook {
  color: #3b5998;
}
.social-official i.fa-twitter,
.social-official i.fa-x-twitter {
  color: #1da1f2;
}
.social-official i.fa-instagram {
  color: #e1306c;
}
.social-official i.fa-linkedin-in,
.social-official i.fa-linkedin {
  color: #0077b5;
}
.social-official i.fa-youtube {
  color: #ff0000;
}
.social-official i.fa-tiktok {
  color: #000000;
}
.social-official i.fa-pinterest {
  color: #bd081c;
}
.social-official i.fa-whatsapp {
  color: #25d366;
}
.social-official i.fa-telegram {
  color: #0088cc;
}
.social-official i.fa-snapchat-ghost {
  color: #fffc00;
  text-shadow: 1px 1px 0 #000;
}

/* Flip card */

/* // Modern testmonials */
/* Main Wrapper */
.asn-wrapper {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* Navigation Container */
.asn-nav-container {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  padding: 0 10px;
}

/* The Line Behind */
.asn-nav-line-container {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 4px;
  z-index: 0;
  transform: translateY(-50%);
  width: auto;
}

.asn-line-base {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
  position: absolute;
  border-radius: 4px;
}

.asn-line-fill {
  width: 0%;
  height: 100%;
  background: #3b82f6;
  position: absolute;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation Items (Circles) */
.asn-nav-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.asn-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* Ensure click area is comfortable */
  padding: 0 10px;
}

.asn-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.asn-circle img {
  width: 50%;
  height: auto;
  object-fit: contain;
}

.asn-nav-title {
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  color: #6b7280;
  transition: color 0.3s ease;
}

/* Content Area */
.asn-content-area {
  width: 100%;
  position: relative;
  background: #fff;
  transition: all 0.3s ease;
}

.asn-step-content {
  display: none;
  animation: asnSlideUp 0.5s ease-out;
}

.asn-step-content.is-active {
  display: block;
}

/* Animations */
@keyframes asnSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .asn-nav-title {
    font-size: 12px;
  }
  .asn-nav-container {
    padding: 0;
  }
  .asn-nav-line-container {
    left: 0;
    right: 0;
  }
}
/* // Modern testmonials */

.asn-wrapper {
  width: 100%;
}
.asn-countdown-container {
  display: flex;
  flex-direction: column;
  /* Alignment handled by Elementor controls */
}
.asn-countdown-timer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* gap and direction handled by controls */
}
.asn-timer-unit {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.asn-digits-group {
  display: flex;
  flex-direction: row-reverse;
  /* gap handled by controls */
}
.asn-digit-card {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /* Dimensions and style handled by controls */
}
.asn-timer-label {
  text-align: center;
  /* typography handled by controls */
}

/* =============================================
   KH Team Members Widget — Base Structure
   (Colors/Sizes/Spacing via Elementor controls)
============================================= */
.kh-tm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.kh-tm-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.kh-tm-card:hover {
    transform: translateY(-6px);
}
/* Photo */
.kh-tm-photo-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.kh-tm-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}
.kh-tm-card:hover .kh-tm-photo-wrap img {
    transform: scale(1.05);
}
/* Overlay style */
.kh-style-overlay .kh-tm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.kh-style-overlay .kh-tm-card:hover .kh-tm-overlay {
    opacity: 1;
}
.kh-style-overlay .kh-tm-overlay .kh-tm-social {
    flex-direction: row;
    margin-top: 0;
}
.kh-style-overlay .kh-tm-overlay .kh-tm-social a {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    transform: translateY(10px);
    opacity: 0;
    transition: background 0.2s ease, transform 0.3s ease, opacity 0.3s ease;
}
.kh-style-overlay .kh-tm-card:hover .kh-tm-overlay .kh-tm-social a {
    transform: translateY(0);
    opacity: 1;
}
.kh-style-overlay .kh-tm-overlay .kh-tm-social a i { color: #fff !important; }
.kh-style-overlay .kh-tm-overlay .kh-tm-social a:hover { background: rgba(255,255,255,0.35) !important; }
/* Body */
.kh-tm-body {
    padding: 20px;
    text-align: center;
}
.kh-tm-link-wrap { text-decoration: none; }
/* Name */
.kh-tm-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.4;
    transition: color 0.2s;
}
/* Position */
.kh-tm-position {
    font-size: 13px;
    color: #888;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.03em;
}
/* Bio */
.kh-tm-bio {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 12px 0 0;
}
/* Social */
.kh-tm-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.kh-tm-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}
.kh-tm-social a:hover {
    background: #3b82f6;
    transform: translateY(-3px);
}
.kh-tm-social a i {
    font-size: 14px;
    color: #555;
    transition: color 0.25s;
    line-height: 1;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.kh-tm-social a:hover i { color: #fff; }
/* Minimal style */
.kh-style-minimal .kh-tm-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.kh-style-minimal .kh-tm-photo-wrap {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
}
.kh-style-minimal .kh-tm-photo-wrap img { border-radius: 50%; }
.kh-style-minimal .kh-tm-body { text-align: left; padding: 16px 20px 16px 0; }
.kh-style-minimal .kh-tm-social { justify-content: flex-start; }
/* Responsive */
@media (max-width: 1024px) {
    .kh-tm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .kh-tm-grid { grid-template-columns: 1fr; }
    .kh-style-minimal .kh-tm-card { flex-direction: column; }
    .kh-style-minimal .kh-tm-body { text-align: center; padding: 0 16px 20px; }
    .kh-style-minimal .kh-tm-social { justify-content: center; }
}

/* ==========================================================================
   Timeline Widget Styles
   ========================================================================== */
.kh-timeline-wrapper {
    position: relative;
    width: 100%;
    margin: 40px auto;
    --kh-tl-accent-default: #3b82f6;
    --kh-tl-card-bg-default: #ffffff;
    --kh-tl-card-text-default: #333333;
}

.kh-tl-item {
    --accent: var(--kh-tl-accent, var(--kh-tl-accent-default));
    --bg: var(--kh-tl-card-bg, var(--kh-tl-card-bg-default));
    --text: var(--kh-tl-card-text, var(--kh-tl-card-text-default));
    
    position: relative;
    margin-bottom: 60px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kh-tl-item.kh-tl-active {
    opacity: 1;
    transform: translateY(0);
}

/* Vertical Tracks */
.kh-tl-line {
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: #e2e8f0;
    z-index: 1;
}

.kh-tl-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, #3b82f6, #10b981, #f59e0b);
    z-index: 2;
    transition: height 0.1s ease-out;
}

/* Dot Column */
.kh-tl-dot-column {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.kh-tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    z-index: 2;
    margin-top: 24px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}

.kh-tl-item:hover .kh-tl-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
}

.kh-tl-item:hover .kh-tl-date {
    color: var(--accent);
}

/* Card Styling */
.kh-tl-card {
    position: relative;
    background-color: var(--bg);
    padding: 24px 28px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.kh-tl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.kh-tl-arrow {
    position: absolute;
    top: 22px;
    width: 0;
    height: 0;
    border-style: solid;
}

.kh-tl-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.kh-tl-text-side {
    flex: 1;
}

.kh-tl-card-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.kh-tl-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: var(--text);
    line-height: 1.4;
}

.kh-tl-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: color-mix(in srgb, var(--text) 80%, transparent);
}

/* Icon Column */
.kh-tl-icon-column {
    flex-shrink: 0;
}

.kh-tl-icon-outer {
    padding: 6px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent) 10%, transparent);
    display: inline-flex;
}

.kh-tl-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    background-color: #ffffff;
}

/* Date Details */
.kh-tl-date-column {
    box-sizing: border-box;
}

.kh-tl-date {
    font-size: 2.5rem;
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1;
    transition: color 0.3s;
}

.kh-tl-date-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   STYLE 1: Infographic Left Line
   -------------------------------------------------------------------------- */
.kh-timeline-layout-infographic-left .kh-tl-line {
    left: 200px;
}

.kh-timeline-layout-infographic-left .kh-tl-date-column {
    width: 200px;
    text-align: right;
    padding-right: 40px;
}

.kh-timeline-layout-infographic-left .kh-tl-dot-column {
    width: 40px;
}

.kh-timeline-layout-infographic-left .kh-tl-card-column {
    flex: 1;
    padding-left: 40px;
}

.kh-timeline-layout-infographic-left .kh-tl-card {
    border-left: 8px solid var(--accent);
}

.kh-timeline-layout-infographic-left .kh-tl-arrow {
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--accent);
    border-left: none;
}

/* --------------------------------------------------------------------------
   STYLE 2: Alternating Layout
   -------------------------------------------------------------------------- */
.kh-timeline-layout-alternate .kh-tl-line {
    left: 50%;
    transform: translateX(-50%);
}

.kh-timeline-layout-alternate .kh-tl-date-column {
    width: calc(50% - 30px);
}

.kh-timeline-layout-alternate .kh-tl-dot-column {
    width: 60px;
}

.kh-timeline-layout-alternate .kh-tl-card-column {
    width: calc(50% - 30px);
}

/* Odd Items (Card Right, Date Left) */
.kh-timeline-layout-alternate .kh-tl-item:nth-child(odd) .kh-tl-date-column {
    text-align: right;
    order: 1;
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(odd) .kh-tl-dot-column {
    order: 2;
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(odd) .kh-tl-card-column {
    order: 3;
    padding-left: 30px;
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(odd) .kh-tl-card {
    border-left: 8px solid var(--accent);
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(odd) .kh-tl-arrow {
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--accent);
    border-left: none;
}

/* Even Items (Card Left, Date Right) */
.kh-timeline-layout-alternate .kh-tl-item:nth-child(even) .kh-tl-date-column {
    text-align: left;
    order: 3;
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(even) .kh-tl-dot-column {
    order: 2;
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(even) .kh-tl-card-column {
    order: 1;
    padding-right: 30px;
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(even) .kh-tl-card {
    border-right: 8px solid var(--accent);
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(even) .kh-tl-arrow {
    right: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--accent);
    border-right: none;
}

/* --------------------------------------------------------------------------
   STYLE 3: Horizontal Layout
   -------------------------------------------------------------------------- */
.kh-timeline-layout-horizontal .kh-tl-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    overflow-x: auto;
    padding: 30px 10px;
    scrollbar-width: thin;
}

.kh-timeline-layout-horizontal .kh-tl-item {
    flex-direction: column;
    width: 320px;
    flex-shrink: 0;
    opacity: 1;
    transform: none;
    margin-bottom: 0;
}

.kh-timeline-layout-horizontal .kh-tl-date-column {
    width: 100%;
    text-align: left;
    margin-bottom: 15px;
}

.kh-timeline-layout-horizontal .kh-tl-dot-column {
    display: none;
}

.kh-timeline-layout-horizontal .kh-tl-card-column {
    width: 100%;
}

.kh-timeline-layout-horizontal .kh-tl-card {
    border-top: 8px solid var(--accent);
    border-left: none;
    border-right: none;
}

.kh-timeline-layout-horizontal .kh-tl-arrow {
    top: -10px;
    left: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--accent);
    border-top: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVENESS (Mobile/Tablet Collapse)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .kh-timeline-wrapper:not(.kh-timeline-layout-horizontal) .kh-tl-line {
        left: 20px;
    }

    .kh-timeline-wrapper:not(.kh-timeline-layout-horizontal) .kh-tl-item {
        flex-direction: column;
        padding-left: 50px;
        position: relative;
        margin-bottom: 40px;
    }

    .kh-timeline-wrapper:not(.kh-timeline-layout-horizontal) .kh-tl-dot-column {
        position: absolute;
        left: 0;
        top: 0;
        width: 40px;
        height: 100%;
    }

    .kh-timeline-wrapper:not(.kh-timeline-layout-horizontal) .kh-tl-dot {
        margin-top: 10px;
    }

    .kh-timeline-wrapper:not(.kh-timeline-layout-horizontal) .kh-tl-date-column {
        width: 100% !important;
        text-align: left !important;
        padding: 0 0 10px 0 !important;
        order: 1 !important;
    }

    .kh-timeline-wrapper:not(.kh-timeline-layout-horizontal) .kh-tl-card-column {
        width: 100% !important;
        padding: 0 !important;
        order: 2 !important;
    }

    .kh-timeline-wrapper:not(.kh-timeline-layout-horizontal) .kh-tl-card {
        border-left: 8px solid var(--accent) !important;
        border-right: none !important;
    }

    .kh-timeline-wrapper:not(.kh-timeline-layout-horizontal) .kh-tl-arrow {
        top: 10px !important;
        left: -10px !important;
        right: auto !important;
        border-top: 10px solid transparent !important;
        border-bottom: 10px solid transparent !important;
        border-right: 10px solid var(--accent) !important;
        border-left: none !important;
    }
}

/* Timeline Card Image, Badge, and Button Styles */
.kh-tl-card-image-wrap {
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

.kh-tl-card-image-wrap.position-before-title {
    margin-top: -10px;
    margin-bottom: 18px;
}

.kh-tl-card-image-wrap.position-after-title {
    margin-top: 10px;
    margin-bottom: 15px;
}

.kh-tl-card-image-wrap.position-after-desc {
    margin-top: 15px;
    margin-bottom: 0;
}

.kh-tl-card-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    transition: transform 0.5s ease;
}

.kh-tl-card:hover .kh-tl-card-image-wrap img {
    transform: scale(1.04);
}

.kh-tl-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    background-color: var(--accent);
    color: #ffffff;
    letter-spacing: 1px;
    z-index: 10;
    line-height: 1.2;
}

.kh-timeline-layout-alternate .kh-tl-item:nth-child(even) .kh-tl-badge {
    left: 20px;
    right: auto;
}

.kh-tl-btn-wrap {
    margin-top: 20px;
    display: flex;
    width: 100%;
}

.kh-tl-btn-align-left {
    justify-content: flex-start;
}

.kh-tl-btn-align-center {
    justify-content: center;
}

.kh-tl-btn-align-right {
    justify-content: flex-end;
}

.kh-tl-btn-align-block .kh-tl-btn {
    width: 100%;
    text-align: center;
}

.kh-tl-btn {
    display: inline-block;
    text-decoration: none;
    background-color: var(--accent);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    line-height: 1.4;
}

.kh-tl-btn:hover {
    background-color: color-mix(in srgb, var(--accent) 80%, black);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Video Popup Pro Widget Styles
   ========================================================================== */
.video-popup-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

/* Play Button */
.video-play-btn {
    position: relative;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    outline: none;
}

.video-play-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-btn-text {
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

/* Pulse Animation */
.has-pulse::after,
.has-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    opacity: 0.6;
    z-index: -1;
    animation: video-pulse 2s infinite;
}

.has-pulse::before {
    animation-delay: 0.5s;
}

@keyframes video-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Cover Image Trigger Style */
.video-cover-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
    max-width: 100%;
    box-sizing: border-box;
}

.video-cover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

.video-cover-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.video-cover-card:hover .video-cover-overlay {
    background-color: rgba(0, 0, 0, 0.25);
}

.video-cover-card .video-play-btn {
    z-index: 2;
}

.video-cover-text {
    margin-top: 15px;
    font-weight: 800;
    color: #ffffff;
    font-size: 1.15rem;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

/* Action Button Trigger Style */
.video-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #3b82f6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-action-btn:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.25);
}

.video-btn-icon {
    font-size: 0.95rem;
    line-height: 1;
}

/* Lightbox Overlay Styles */
.video-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.video-lightbox-overlay.is-active {
    display: flex;
    opacity: 1;
}

.video-lightbox-content {
    position: relative;
    width: 90%;
    box-sizing: border-box;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    overflow: visible;
}

.video-iframe-wrapper {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-iframe-wrapper iframe,
.video-iframe-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.video-lightbox-close {
    position: absolute !important;
    bottom: calc(100% + 15px) !important;
    right: 0 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    z-index: 999999 !important;
}

.video-lightbox-close svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.video-lightbox-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 32px 0 rgba(239, 68, 68, 0.4) !important;
}

.video-lightbox-close:hover svg {
    transform: rotate(90deg) scale(1.1) !important;
}

/* Aspect Ratio Dimensions */
.video-lightbox-content.aspect-ratio-16-9 {
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.video-lightbox-content.aspect-ratio-9-16 {
    max-width: 390px;
    aspect-ratio: 9/16;
}

.video-lightbox-content.aspect-ratio-1-1 {
    max-width: 600px;
    aspect-ratio: 1/1;
}

/* Lightbox Animations */
/* 1. Zoom */
.lightbox-anim-zoom .video-lightbox-content {
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox-anim-zoom.is-active .video-lightbox-content {
    transform: scale(1);
}

/* 2. Fade */
.lightbox-anim-fade .video-lightbox-content {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lightbox-anim-fade.is-active .video-lightbox-content {
    opacity: 1;
}

/* 3. Slide Up */
.lightbox-anim-slide-up .video-lightbox-content {
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s;
}
.lightbox-anim-slide-up.is-active .video-lightbox-content {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Off-Canvas Pro Plus Widget Styles
   ========================================================================== */
.off-canvas-container {
    position: fixed;
    inset: 0;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0.35s;
    display: flex;
}

.off-canvas-container.is-active {
    visibility: visible;
    opacity: 1;
}

.off-canvas-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}

.off-canvas-panel {
    position: absolute;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 100%;
    max-height: 100%;
}

/* Panel Orientations */
.off-canvas-panel.side-left {
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
}

.off-canvas-panel.side-right {
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
}

.off-canvas-panel.side-top {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.off-canvas-panel.side-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

/* 1. Slide Animations */
.anim-slide .off-canvas-panel.side-left {
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.anim-slide .off-canvas-panel.side-right {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.anim-slide .off-canvas-panel.side-top {
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.anim-slide .off-canvas-panel.side-bottom {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.is-active.anim-slide .off-canvas-panel {
    transform: translate(0, 0);
}

/* 2. Fade Animations */
.anim-fade .off-canvas-panel {
    transform: translate(0, 0);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.is-active.anim-fade .off-canvas-panel {
    opacity: 1;
}

/* 3. Slide & Fade Animations */
.anim-slide-fade .off-canvas-panel.side-left {
    transform: translateX(-80px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}
.anim-slide-fade .off-canvas-panel.side-right {
    transform: translateX(80px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}
.anim-slide-fade .off-canvas-panel.side-top {
    transform: translateY(-80px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}
.anim-slide-fade .off-canvas-panel.side-bottom {
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}
.is-active.anim-slide-fade .off-canvas-panel {
    transform: translate(0, 0);
    opacity: 1;
}

/* Off-Canvas Header */
.off-canvas-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.off-canvas-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.off-canvas-logo {
    display: flex;
    align-items: center;
}

.off-canvas-logo img {
    height: auto;
    display: block;
}

.off-canvas-header-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.off-canvas-close {
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 4px;
    font-size: 20px;
    color: #333333;
}

.off-canvas-close i,
.off-canvas-close svg {
    display: block;
    line-height: 1;
    width: 20px;
    height: 20px;
    font-size: 20px;
    fill: currentColor;
}

.off-canvas-close:hover {
    transform: rotate(90deg);
}

/* No Header close button positioning */
.off-canvas-close.no-header-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.off-canvas-content {
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
}

/* ==========================================================================
   Split Screen Merge Overlay Widget Styles
   ========================================================================== */
.kh-split-container {
    position: fixed;
    inset: 0;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s;
    display: flex;
    overflow: hidden;
}

.kh-split-container.is-active {
    visibility: visible;
    opacity: 1;
}

.kh-split-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

.kh-split-panel {
    position: relative;
    background-color: #ffffff;
    z-index: 2;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 40px; /* Premium default padding so text does not stick to edges */
}

.kh-split-panel-inner {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* Close Button */
.kh-split-close {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    z-index: 1000002 !important;
}

/* Hide target containers on the page flow by default, but keep them editable in Elementor editor */
body:not(.elementor-editor-active) .kh-split-a:not(.kh-split-container *),
body:not(.elementor-editor-active) .kh-split-b:not(.kh-split-container *) {
    display: none !important;
}

.kh-split-close svg,
.kh-split-close i {
    display: block !important;
    line-height: 1 !important;
    transition: transform 0.4s ease !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
    fill: currentColor !important;
}

.kh-split-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 32px 0 rgba(239, 68, 68, 0.4) !important;
}

.kh-split-close:hover svg,
.kh-split-close:hover i {
    transform: rotate(90deg) scale(1.1) !important;
}

/* ==========================================================================
   Responsive Split Screen Orientation & Layout
   ========================================================================== */

/* 1. Desktop Defaults */
.kh-split-container.kh-split-orientation-horizontal {
    flex-direction: row;
}
.kh-split-container.kh-split-orientation-horizontal .kh-split-panel {
    width: 50vw;
    height: 100%;
}
.kh-split-container.kh-split-orientation-horizontal .kh-split-panel-a {
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.kh-split-container.kh-split-orientation-horizontal .kh-split-panel-b {
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.is-active.kh-split-orientation-horizontal .kh-split-panel-a,
.is-active.kh-split-orientation-horizontal .kh-split-panel-b {
    transform: translateX(0);
}

.kh-split-container.kh-split-orientation-vertical {
    flex-direction: column;
}
.kh-split-container.kh-split-orientation-vertical .kh-split-panel {
    width: 100%;
    height: 50vh;
}
.kh-split-container.kh-split-orientation-vertical .kh-split-panel-a {
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.kh-split-container.kh-split-orientation-vertical .kh-split-panel-b {
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.is-active.kh-split-orientation-vertical .kh-split-panel-a,
.is-active.kh-split-orientation-vertical .kh-split-panel-b {
    transform: translateY(0);
}

/* 2. Tablet overrides (max-width: 1024px) */
@media (max-width: 1024px) {
    .kh-split-container.kh-split-orientation-tablet-horizontal {
        flex-direction: row !important;
    }
    .kh-split-container.kh-split-orientation-tablet-horizontal .kh-split-panel {
        width: 50vw !important;
        height: 100% !important;
    }
    .kh-split-container.kh-split-orientation-tablet-horizontal .kh-split-panel-a {
        transform: translateX(-100%) !important;
        transform: translateY(0) !important;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .kh-split-container.kh-split-orientation-tablet-horizontal .kh-split-panel-b {
        transform: translateX(100%) !important;
        transform: translateY(0) !important;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .is-active.kh-split-orientation-tablet-horizontal .kh-split-panel-a,
    .is-active.kh-split-orientation-tablet-horizontal .kh-split-panel-b {
        transform: translateX(0) !important;
        transform: translateY(0) !important;
    }

    .kh-split-container.kh-split-orientation-tablet-vertical {
        flex-direction: column !important;
    }
    .kh-split-container.kh-split-orientation-tablet-vertical .kh-split-panel {
        width: 100% !important;
        height: 50vh !important;
    }
    .kh-split-container.kh-split-orientation-tablet-vertical .kh-split-panel-a {
        transform: translateY(-100%) !important;
        transform: translateX(0) !important;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .kh-split-container.kh-split-orientation-tablet-vertical .kh-split-panel-b {
        transform: translateY(100%) !important;
        transform: translateX(0) !important;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .is-active.kh-split-orientation-tablet-vertical .kh-split-panel-a,
    .is-active.kh-split-orientation-tablet-vertical .kh-split-panel-b {
        transform: translateY(0) !important;
        transform: translateX(0) !important;
    }
}

/* 3. Mobile overrides (max-width: 767px) */
@media (max-width: 767px) {
    .kh-split-container.kh-split-orientation-mobile-horizontal {
        flex-direction: row !important;
    }
    .kh-split-container.kh-split-orientation-mobile-horizontal .kh-split-panel {
        width: 50vw !important;
        height: 100% !important;
    }
    .kh-split-container.kh-split-orientation-mobile-horizontal .kh-split-panel-a {
        transform: translateX(-100%) !important;
        transform: translateY(0) !important;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .kh-split-container.kh-split-orientation-mobile-horizontal .kh-split-panel-b {
        transform: translateX(100%) !important;
        transform: translateY(0) !important;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .is-active.kh-split-orientation-mobile-horizontal .kh-split-panel-a,
    .is-active.kh-split-orientation-mobile-horizontal .kh-split-panel-b {
        transform: translateX(0) !important;
        transform: translateY(0) !important;
    }

    .kh-split-container.kh-split-orientation-mobile-vertical {
        flex-direction: column !important;
    }
    .kh-split-container.kh-split-orientation-mobile-vertical .kh-split-panel {
        width: 100% !important;
        height: 50vh !important;
    }
    .kh-split-container.kh-split-orientation-mobile-vertical .kh-split-panel-a {
        transform: translateY(-100%) !important;
        transform: translateX(0) !important;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .kh-split-container.kh-split-orientation-mobile-vertical .kh-split-panel-b {
        transform: translateY(100%) !important;
        transform: translateX(0) !important;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .is-active.kh-split-orientation-mobile-vertical .kh-split-panel-a,
    .is-active.kh-split-orientation-mobile-vertical .kh-split-panel-b {
        transform: translateY(0) !important;
        transform: translateX(0) !important;
    }
}

/* ==========================================================================
   Single Panel Disabling Overrides
   ========================================================================== */
.kh-split-container.panel-a-disabled .kh-split-panel-a,
.kh-split-container.panel-b-disabled .kh-split-panel-b {
    display: none !important;
}

/* Panel B takes full screen if A is disabled */
.kh-split-container.panel-a-disabled.kh-split-orientation-horizontal .kh-split-panel-b,
.kh-split-container.panel-a-disabled.kh-split-orientation-tablet-horizontal .kh-split-panel-b,
.kh-split-container.panel-a-disabled.kh-split-orientation-mobile-horizontal .kh-split-panel-b {
    width: 100vw !important;
}
.kh-split-container.panel-a-disabled.kh-split-orientation-vertical .kh-split-panel-b,
.kh-split-container.panel-a-disabled.kh-split-orientation-tablet-vertical .kh-split-panel-b,
.kh-split-container.panel-a-disabled.kh-split-orientation-mobile-vertical .kh-split-panel-b {
    height: 100vh !important;
}

/* Panel A takes full screen if B is disabled */
.kh-split-container.panel-b-disabled.kh-split-orientation-horizontal .kh-split-panel-a,
.kh-split-container.panel-b-disabled.kh-split-orientation-tablet-horizontal .kh-split-panel-a,
.kh-split-container.panel-b-disabled.kh-split-orientation-mobile-horizontal .kh-split-panel-a {
    width: 100vw !important;
}
.kh-split-container.panel-b-disabled.kh-split-orientation-vertical .kh-split-panel-a,
.kh-split-container.panel-b-disabled.kh-split-orientation-tablet-vertical .kh-split-panel-a,
.kh-split-container.panel-b-disabled.kh-split-orientation-mobile-vertical .kh-split-panel-a {
    height: 100vh !important;
}

/* ==========================================================================
   Trigger Options (Button, Image, Box Card)
   ========================================================================== */
.kh-split-trigger-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.kh-split-trigger {
    display: inline-block;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Image trigger */
.kh-split-trigger-image {
    display: inline-block;
}
.kh-split-trigger-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.kh-split-trigger-image:hover img {
    transform: scale(1.03);
}

/* Box Card trigger layouts */
.kh-split-trigger-box {
    display: flex;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    gap: 16px;
    box-sizing: border-box;
}
.kh-split-trigger-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Positions */
.kh-split-trigger-box.pos-left {
    flex-direction: row;
    align-items: center;
}
.kh-split-trigger-box.pos-right {
    flex-direction: row-reverse;
    align-items: center;
}
.kh-split-trigger-box.pos-top {
    flex-direction: column;
    align-items: flex-start;
}
.kh-split-trigger-box.pos-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
}
.kh-split-trigger-box.pos-between {
    flex-direction: column;
    align-items: flex-start;
}

.kh-split-box-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}
.kh-split-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pos-between .kh-split-box-img {
    margin-top: 10px;
    margin-bottom: 10px;
}

.kh-split-box-content {
    flex: 1;
    text-align: inherit; /* Inherits wrapper align */
}
.kh-split-box-title {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}
.kh-split-box-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

/* Placeholder and inner panels */
.split-placeholder {
    text-align: center;
    padding: 45px 25px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px dashed rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    margin: 20px;
}

/* ==========================================================================
   Sticky Floating Dock Widget Styles
   ========================================================================== */
.kh-sticky-dock-wrapper {
    position: static;
}

/* Fixed positions relative to viewport */
/* Fixed positions relative to viewport - Desktop */
.kh-sticky-dock-pos-bottom-center {
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999 !important;
}
.kh-sticky-dock-pos-bottom-left {
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    z-index: 999999 !important;
}
.kh-sticky-dock-pos-bottom-right {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 999999 !important;
}
.kh-sticky-dock-pos-left-center {
    position: fixed !important;
    left: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999999 !important;
}
.kh-sticky-dock-pos-right-center {
    position: fixed !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999999 !important;
}
.kh-sticky-dock-pos-top-center {
    position: fixed !important;
    top: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999 !important;
}

/* Tablet Positions (max-width: 1024px) */
@media (max-width: 1024px) {
    [class*="kh-sticky-dock-pos-tablet-"] {
        position: fixed !important;
        inset: auto !important;
        transform: none !important;
    }
    .kh-sticky-dock-pos-tablet-bottom-center {
        bottom: 24px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-tablet-bottom-left {
        bottom: 24px !important;
        left: 24px !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-tablet-bottom-right {
        bottom: 24px !important;
        right: 24px !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-tablet-left-center {
        left: 24px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-tablet-right-center {
        right: 24px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-tablet-top-center {
        top: 24px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 999999 !important;
    }

    /* Tablet Orientation Overrides */
    .kh-sticky-dock-pos-tablet-bottom-center .kh-sticky-dock,
    .kh-sticky-dock-pos-tablet-bottom-left .kh-sticky-dock,
    .kh-sticky-dock-pos-tablet-bottom-right .kh-sticky-dock,
    .kh-sticky-dock-pos-tablet-top-center .kh-sticky-dock {
        flex-direction: row !important;
    }
    .kh-sticky-dock-pos-tablet-left-center .kh-sticky-dock,
    .kh-sticky-dock-pos-tablet-right-center .kh-sticky-dock {
        flex-direction: column !important;
    }
}

/* Mobile Positions (max-width: 767px) */
@media (max-width: 767px) {
    [class*="kh-sticky-dock-pos-mobile-"] {
        position: fixed !important;
        inset: auto !important;
        transform: none !important;
    }
    .kh-sticky-dock-pos-mobile-bottom-center {
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-mobile-bottom-left {
        bottom: 15px !important;
        left: 15px !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-mobile-bottom-right {
        bottom: 15px !important;
        right: 15px !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-mobile-left-center {
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-mobile-right-center {
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 999999 !important;
    }
    .kh-sticky-dock-pos-mobile-top-center {
        top: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 999999 !important;
    }

    /* Mobile Orientation Overrides */
    .kh-sticky-dock-pos-mobile-bottom-center .kh-sticky-dock,
    .kh-sticky-dock-pos-mobile-bottom-left .kh-sticky-dock,
    .kh-sticky-dock-pos-mobile-bottom-right .kh-sticky-dock,
    .kh-sticky-dock-pos-mobile-top-center .kh-sticky-dock {
        flex-direction: row !important;
    }
    .kh-sticky-dock-pos-mobile-left-center .kh-sticky-dock,
    .kh-sticky-dock-pos-mobile-right-center .kh-sticky-dock {
        flex-direction: column !important;
    }
}

/* Base Panel */
.kh-sticky-dock {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    padding: 12px;
    gap: 15px;
    box-sizing: border-box;
    transition: padding 0.3s ease, gap 0.3s ease;
}

/* Shape styles */
.kh-sticky-dock.shape-pill {
    border-radius: 500px;
}
.kh-sticky-dock.shape-rounded {
    border-radius: 16px;
}
.kh-sticky-dock.shape-square {
    border-radius: 0px;
}

/* Orientation based on position */
.kh-sticky-dock-pos-bottom-center .kh-sticky-dock,
.kh-sticky-dock-pos-bottom-left .kh-sticky-dock,
.kh-sticky-dock-pos-bottom-right .kh-sticky-dock,
.kh-sticky-dock-pos-top-center .kh-sticky-dock {
    flex-direction: row;
}

.kh-sticky-dock-pos-left-center .kh-sticky-dock,
.kh-sticky-dock-pos-right-center .kh-sticky-dock {
    flex-direction: column;
}

/* Items */
.kh-dock-item-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.kh-dock-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s;
    text-decoration: none;
    position: relative;
}

/* Hover fallback when JS fish-eye is disabled */
.kh-sticky-dock:not(.has-fish-eye) .kh-dock-item:hover {
    transform: scale(1.18);
}

.kh-dock-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, fill 0.3s;
    color: #1e293b;
}

.kh-dock-item-icon i {
    display: block;
    line-height: 1;
}

.kh-dock-item-img {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.kh-dock-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

/* Badge Alert */
.kh-dock-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    text-align: center;
    box-sizing: border-box;
    line-height: 18px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Tooltips */
.kh-dock-tooltip {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    background-color: #1e293b;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 9999999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tooltip placements based on dock positions */
/* Bottom placements -> Tooltip above */
.kh-sticky-dock-pos-bottom-center .kh-dock-tooltip,
.kh-sticky-dock-pos-bottom-left .kh-dock-tooltip,
.kh-sticky-dock-pos-bottom-right .kh-dock-tooltip {
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
}
.kh-sticky-dock-pos-bottom-center .kh-dock-item-wrapper:hover .kh-dock-tooltip,
.kh-sticky-dock-pos-bottom-left .kh-dock-item-wrapper:hover .kh-dock-tooltip,
.kh-sticky-dock-pos-bottom-right .kh-dock-item-wrapper:hover .kh-dock-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Top placement -> Tooltip below */
.kh-sticky-dock-pos-top-center .kh-dock-tooltip {
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
}
.kh-sticky-dock-pos-top-center .kh-dock-item-wrapper:hover .kh-dock-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Left placement -> Tooltip to the right */
.kh-sticky-dock-pos-left-center .kh-dock-tooltip {
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
}
.kh-sticky-dock-pos-left-center .kh-dock-item-wrapper:hover .kh-dock-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Right placement -> Tooltip to the left */
.kh-sticky-dock-pos-right-center .kh-dock-tooltip {
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
}
.kh-sticky-dock-pos-right-center .kh-dock-item-wrapper:hover .kh-dock-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Before/After Image Comparison Slider Styles
   ========================================================================== */
.kh-before-after-wrapper {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.kh-before-after-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background-color: #f1f5f9;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Images */
.kh-ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    box-sizing: border-box;
}

.kh-ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: none;
    pointer-events: none;
    box-sizing: border-box;
}

.kh-ba-after {
    z-index: 1;
}

.kh-ba-before {
    z-index: 2;
    /* Default starting clip path */
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.orientation-vertical .kh-ba-before {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

/* Labels Overlay */
.kh-ba-labels-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.kh-ba-label {
    position: absolute;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    color: #ffffff;
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Position: Top */
.kh-ba-labels-overlay.pos-top .kh-ba-label-before {
    top: 15px;
    left: 15px;
}
.kh-ba-labels-overlay.pos-top .kh-ba-label-after {
    top: 15px;
    right: 15px;
}

/* Position: Bottom */
.kh-ba-labels-overlay.pos-bottom .kh-ba-label-before {
    bottom: 15px;
    left: 15px;
}
.kh-ba-labels-overlay.pos-bottom .kh-ba-label-after {
    bottom: 15px;
    right: 15px;
}

/* Drag Handle Bar */
.kh-ba-handle {
    position: absolute;
    z-index: 4;
    box-sizing: border-box;
}

/* Horizontal Drag Styles */
.orientation-horizontal .kh-ba-handle {
    top: 0;
    bottom: 0;
    width: 0;
    left: 50%;
    cursor: col-resize;
}

.kh-ba-handle-line {
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.kh-ba-handle-line-v {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
}

/* Vertical Drag Styles */
.orientation-vertical .kh-ba-handle {
    left: 0;
    right: 0;
    height: 0;
    top: 50%;
    cursor: row-resize;
}

.kh-ba-handle-line-h {
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
}

/* Central Drag Circle */
.kh-ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    margin-top: -22px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.2s, background-color 0.3s;
}

.kh-ba-handle:hover .kh-ba-handle-circle {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.35);
}

/* Arrows for horizontal circle */
.orientation-horizontal .kh-ba-handle-circle {
    flex-direction: row;
}

.orientation-horizontal .kh-ba-handle-circle::before,
.orientation-horizontal .kh-ba-handle-circle::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: border-color 0.3s;
}

.orientation-horizontal .kh-ba-handle-circle::before {
    border-right: 6px solid #ffffff;
    margin-right: 4px;
}

.orientation-horizontal .kh-ba-handle-circle::after {
    border-left: 6px solid #ffffff;
    margin-left: 4px;
}

/* Arrows for vertical circle */
.orientation-vertical .kh-ba-handle-circle {
    flex-direction: column;
}

.orientation-vertical .kh-ba-handle-circle::before,
.orientation-vertical .kh-ba-handle-circle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    transition: border-color 0.3s;
}

.orientation-vertical .kh-ba-handle-circle::before {
    border-bottom: 6px solid #ffffff;
    margin-bottom: 4px;
}

.orientation-vertical .kh-ba-handle-circle::after {
    border-top: 6px solid #ffffff;
    margin-top: 4px;
}

/* ==========================================================================
   3D Interactive Tilt Card Widget Styles
   ========================================================================== */
.kh-tilt-card {
    position: relative;
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 450px;
}

.kh-tilt-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 35px;
    box-sizing: border-box;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.kh-tilt-card:hover .kh-tilt-card-inner {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Dark Gradient Overlay */
.kh-tilt-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.25) 75%);
    z-index: 1;
    pointer-events: none;
}

/* Glossy Glare Reflection Layer */
.kh-tilt-glare {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

.kh-tilt-glare-inner {
    position: absolute;
    inset: -50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 80%);
    opacity: 0;
    pointer-events: none;
}

/* Card Content Parallax Wrapper */
.kh-tilt-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    box-sizing: border-box;
}

.kh-tilt-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transform: translateZ(35px);
    -webkit-transform: translateZ(35px);
    box-sizing: border-box;
}

.kh-tilt-desc {
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.5;
    margin: 0 0 25px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateZ(25px);
    -webkit-transform: translateZ(25px);
    box-sizing: border-box;
}

.kh-tilt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateZ(40px);
    -webkit-transform: translateZ(40px);
    box-sizing: border-box;
}

/* ==========================================================================
   Dynamic FAQ Accordion Widget Styles
   ========================================================================== */
.kh-faq-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

/* Live Search Bar */
.kh-faq-search-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.kh-faq-search-input {
    width: 100%;
    padding: 14px 20px 14px 46px !important;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    outline: none;
    box-sizing: border-box;
}

.kh-faq-search-input:focus {
    border-color: #0f172a;
    background-color: #ffffff;
}

.kh-faq-search-icon {
    position: absolute;
    left: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

/* Category Filter Tabs */
.kh-faq-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    box-sizing: border-box;
}

.kh-faq-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 50px;
    background-color: #f1f5f9;
    color: #64748b;
    transition: all 0.3s ease;
    outline: none;
}

.kh-faq-tab:hover {
    background-color: #e2e8f0;
    color: #334155;
}

.kh-faq-tab.is-active {
    background-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Accordion list */
.kh-faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.kh-faq-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
}

.kh-faq-item.is-active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Header / Question */
.kh-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
}

.kh-faq-question-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    transition: color 0.3s;
}

.kh-faq-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kh-faq-item.is-active .kh-faq-chevron {
    transform: rotate(180deg);
}

/* Body / Answer */
.kh-faq-answer {
    overflow: hidden;
    box-sizing: border-box;
}

.kh-faq-answer-inner {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    box-sizing: border-box;
}

.kh-faq-answer-inner p:last-child {
    margin-bottom: 0;
}



/* ==========================================================================
   Circular Interactive Process Wheel Widget Styles
   ========================================================================== */
.kh-process-wheel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    padding: 50px 0;
}

.kh-process-wheel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin: 0 auto;
    box-sizing: border-box;
}

.kh-process-wheel-track-line {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed #cbd5e1;
    z-index: 1;
    pointer-events: none;
    box-sizing: border-box;
}

.kh-process-wheel-rotator {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 2;
    transform: rotate(0deg);
    will-change: transform;
    box-sizing: border-box;
}

.kh-process-wheel-node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70px;
    height: 70px;
    margin-left: -35px;
    margin-top: -35px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    z-index: 3;
}

.kh-process-wheel-node:hover {
    border-color: #7c3aed;
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.15);
}

.kh-process-wheel-node.is-active {
    background-color: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.kh-process-wheel-node-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    box-sizing: border-box;
}

.kh-process-wheel-node-number {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
}

.kh-process-wheel-node-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.kh-process-wheel-node-icon i {
    font-size: 18px;
}

/* Center Content Panel */
.kh-process-wheel-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    z-index: 4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.kh-process-wheel-center-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.kh-process-wheel-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.kh-process-wheel-center-content.is-animating {
    opacity: 0;
    transform: scale(0.95);
}

.kh-process-wheel-center-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 850;
    color: #7c3aed;
    background-color: rgba(124, 58, 237, 0.08);
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kh-process-wheel-center-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.kh-process-wheel-center-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    padding: 0 10px;
}

@media (max-width: 767px) {
    .kh-process-wheel-center-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    .kh-process-wheel-center-desc {
        font-size: 0.72rem;
        line-height: 1.4;
        padding: 0;
    }
    .kh-process-wheel-center-step-num {
        padding: 2px 8px;
        font-size: 0.65rem;
        margin-bottom: 8px;
    }
}

/* ==========================================================================
   Hover Particles Button Widget Styles
   ========================================================================== */
.kh-particles-btn-wrapper {
    position: relative;
    display: block;
    width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.kh-particles-btn-inner-box {
    position: relative;
    display: inline-block;
    overflow: visible;
    box-sizing: border-box;
}

.kh-particles-btn-canvas {
    position: absolute;
    top: -100px;
    left: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    pointer-events: none;
    z-index: 10;
}

.kh-particles-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-style: solid;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    z-index: 2;
    will-change: transform;
}

.kh-particles-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.kh-particles-btn-icon svg {
    width: 1em;
    height: 1em;
}

.kh-particles-btn-text {
    display: inline-block;
    pointer-events: none;
    z-index: 3;
    line-height: 1;
}

/* ==========================================================================
   Multi-Layer Parallax Scroll Cards Widget Styles
   ========================================================================== */
.kh-parallax-card-wrapper {
    position: relative;
    display: block;
    width: 100%;
    overflow: visible;
    perspective: 1000px;
    box-sizing: border-box;
}

.kh-parallax-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    height: 500px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    background-color: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.kh-parallax-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.kh-parallax-card-bg {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: translateZ(-25px) scale(1.15);
    will-change: transform;
    transition: transform 0.25s ease-out;
}

.kh-parallax-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.35) 60%, rgba(15, 23, 42, 0.05) 100%);
    z-index: 2;
    pointer-events: none;
}

.kh-parallax-card-midground-wrapper {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(25px);
    pointer-events: none;
    overflow: hidden;
}

.kh-parallax-card-midground {
    max-width: 85%;
    max-height: 75%;
    object-fit: contain;
    will-change: transform;
    transition: transform 0.25s ease-out;
}

.kh-parallax-card-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    transform: translateZ(55px);
    pointer-events: none;
    transition: transform 0.25s ease-out;
}

.kh-parallax-card-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.kh-parallax-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.25;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.kh-parallax-card-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.kh-parallax-card-btn-wrapper {
    display: flex;
    align-self: flex-start;
    pointer-events: auto;
}

.kh-parallax-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    background-color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kh-parallax-card-btn:hover {
    background-color: #7c3aed;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3);
}

@media (max-width: 767px) {
    .kh-parallax-card-content {
        padding: 25px;
    }
    
    .kh-parallax-card-title {
        font-size: 1.45rem;
    }
    
    .kh-parallax-card-desc {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Interactive Pricing & Comparison Table Widget Styles
   ========================================================================== */
.kh-pricing-table-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.kh-pricing-switch-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.kh-pricing-switch-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #f1f5f9;
    padding: 6px;
    border-radius: 40px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.kh-pricing-switch-slider {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: calc(50% - 6px);
    background-color: #0f172a;
    border-radius: 35px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    z-index: 1;
}

.cycle-2-active .kh-pricing-switch-slider {
    transform: translateX(100%);
}

.kh-pricing-switch-label {
    position: relative;
    border: none;
    background: transparent;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 35px;
    transition: color 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.kh-pricing-switch-label.is-active {
    color: #ffffff;
}

.kh-pricing-switch-discount {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7c3aed;
    background-color: #f3e8ff;
    padding: 2px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.kh-pricing-switch-label.is-active .kh-pricing-switch-discount {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
}

.kh-pricing-table-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

.kh-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid #e2e8f0;
    box-sizing: border-box;
}

.kh-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.kh-pricing-card.is-featured {
    border-color: #7c3aed;
}

.kh-pricing-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #7c3aed;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
    z-index: 10;
}

.kh-pricing-card-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.kh-pricing-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.kh-pricing-card-price-box {
    position: relative;
    height: 65px;
    overflow: hidden;
    margin: 25px 0 15px 0;
}

.kh-pricing-card-price-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.kh-pricing-card-price-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.kh-pricing-card-price-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.kh-pricing-card-price-period {
    font-size: 0.95rem;
    color: #64748b;
    margin-left: 6px;
    font-weight: 500;
}

.kh-pricing-card-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 25px 0 35px 0;
    flex-grow: 1;
}

.kh-pricing-card-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.92rem;
    color: #475569;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}

.kh-pricing-card-feature-item.is-highlighted {
    background-color: #f8fafc;
    color: #0f172a;
}

.kh-pricing-card-feature-icon {
    display: inline-flex;
    align-items: center;
    font-size: 1.05rem;
}

.status-check .kh-pricing-card-feature-icon {
    color: #10b981;
}

.status-cross .kh-pricing-card-feature-icon {
    color: #cbd5e1;
}

.status-cross .kh-pricing-card-feature-text {
    text-decoration: line-through;
    color: #94a3b8;
}

.kh-pricing-card-footer {
    width: 100%;
    display: flex;
}

.kh-pricing-card-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #7c3aed;
    background-color: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.kh-pricing-card-btn:hover {
    background-color: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
}

.kh-pricing-card.is-featured .kh-pricing-card-btn {
    background-color: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
}

.kh-pricing-card.is-featured .kh-pricing-card-btn:hover {
    background-color: #6d28d9;
    border-color: #6d28d9;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.35);
}

@media (max-width: 991px) {
    .kh-pricing-table-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .kh-pricing-table-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kh-pricing-card {
        padding: 30px 25px;
    }
    
    .kh-pricing-card-price-value {
        font-size: 2.4rem;
    }
}

/* ==========================================================================
   Video Gallery Slider & Grid — kh-vgs-*
   ========================================================================== */

/* ── Wrapper ───────────────────────────────────────────────────────────────── */
.kh-vgs-wrap {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* ── Gallery Outer (slider clipping container) ─────────────────────────────── */
.kh-vgs-gallery-outer {
    position: relative;
    width: 100%;
    overflow: hidden;  /* clip slider overflow */
    box-sizing: border-box;
}

/* ── Gallery Track (the scrolling / wrapping row) ──────────────────────────── */
.kh-vgs-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    box-sizing: border-box;
}

/* Block interaction while sliding */
.kh-vgs-gallery-track.is-animating {
    pointer-events: none;
}

/* Grid mode overrides */
.kh-vgs-wrap.is-grid .kh-vgs-gallery-outer {
    overflow: visible;
}
.kh-vgs-wrap.is-grid .kh-vgs-gallery-track {
    flex-wrap: wrap;
    transform: none !important;
    transition: none;
}

/* ── Individual slide item ─────────────────────────────────────────────────── */
.kh-vgs-item {
    flex-shrink: 0;     /* prevent shrinking in slider */
    box-sizing: border-box;
    /* width is set inline by JS:  calc((100% - gap*(n-1)) / n)  */
}

/* ── Card (the visible thumbnail) ─────────────────────────────────────────── */
.kh-vgs-card {
    position: relative;
    width: 100%;
    height: 240px;          /* default – overridden by Elementor selector */
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
    background-color: #111;
    border-radius: 8px;
}

.kh-vgs-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.kh-vgs-card:hover .kh-vgs-card-overlay {
    opacity: 0.9;
}

/* ── Play button ───────────────────────────────────────────────────────────── */
.kh-vgs-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.kh-vgs-card:hover .kh-vgs-play-btn {
    background-color: #ef4444;
    transform: translate(-50%, -50%) scale(1.12);
}

.kh-vgs-play-icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: #fff;
    color: #fff;
    margin-left: 3px; /* optical centering */
}

/* ── Caption ───────────────────────────────────────────────────────────────── */
.kh-vgs-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 10px 14px 12px;
}

.kh-vgs-caption h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Slider Navigation Arrows ─────────────────────────────────────────────── */
@keyframes kh-vgs-arrow-press {
    0%   { transform: translateY(-50%) scale(1); }
    35%  { transform: translateY(-50%) scale(0.82); box-shadow: 0 1px 4px rgba(0,0,0,0.18); }
    65%  { transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 22px rgba(0,0,0,0.22); }
    100% { transform: translateY(-50%) scale(1); }
}

@keyframes kh-vgs-arrow-ripple {
    0%   { opacity: 0.5; transform: translate(-50%, -50%) scale(0); }
    100% { opacity: 0;   transform: translate(-50%, -50%) scale(2.4); }
}

.kh-vgs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    padding: 0;
    overflow: hidden; /* clip ripple */
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.kh-vgs-arrow:hover {
    background: #f4f4f4;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.06);
}

/* Press animation triggered by JS adding .is-pressed */
.kh-vgs-arrow.is-pressed {
    animation: kh-vgs-arrow-press 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Ripple pseudo-element */
.kh-vgs-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.kh-vgs-arrow.is-pressed::after {
    animation: kh-vgs-arrow-ripple 0.4s ease-out forwards;
}

.kh-vgs-prev { left: -18px; }
.kh-vgs-next { right: -18px; }

/* Arrow chevron via CSS */
.kh-vgs-prev::before,
.kh-vgs-next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid #333;
    border-right: 2.5px solid #333;
    position: relative;
    z-index: 1;
}
.kh-vgs-prev::before {
    transform: rotate(-135deg) translate(-2px, 2px);
}
.kh-vgs-next::before {
    transform: rotate(45deg) translate(-2px, 2px);
}

/* Loop indicator pulse — flashes when looping back */
@keyframes kh-vgs-loop-flash {
    0%   { box-shadow: 0 0 0 0   rgba(239,68,68,0.5); }
    50%  { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0   rgba(239,68,68,0); }
}

.kh-vgs-arrow.is-looping {
    animation: kh-vgs-loop-flash 0.5s ease-out;
}

/* ══════════════════════════════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════════════════════════════ */
.kh-vgs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.kh-vgs-lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}

.kh-vgs-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.95); /* overridden by JS from data attr */
    cursor: pointer;
}

/* ── Lightbox Close Button ─────────────────────────────────────────────────── */
.kh-vgs-lb-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.kh-vgs-lb-close:hover {
    background: rgba(239, 68, 68, 0.85);
    transform: rotate(90deg);
}

/* ── Lightbox Nav ──────────────────────────────────────────────────────────── */
.kh-vgs-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
    padding: 0;
}

.kh-vgs-lb-nav:hover {
    background: rgba(239, 68, 68, 0.85);
}

.kh-vgs-lb-prev { left: 20px; }
.kh-vgs-lb-next { right: 20px; }

.kh-vgs-lb-prev::before,
.kh-vgs-lb-next::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
}
.kh-vgs-lb-prev::before { transform: rotate(-135deg) translate(-2px, 2px); }
.kh-vgs-lb-next::before { transform: rotate(45deg) translate(-2px, 2px); }

/* ── Lightbox Inner (slide container) ─────────────────────────────────────── */
.kh-vgs-lb-inner {
    position: relative;
    z-index: 5;
    width: 92vw;
    max-width: 940px;   /* overridden by JS from data attr */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Individual lightbox slide ─────────────────────────────────────────────── */
.kh-vgs-lb-slide {
    display: none;
    width: 100%;
}

.kh-vgs-lb-slide.is-active {
    display: block;
}

/* ── Player Wrap ───────────────────────────────────────────────────────────── */
.kh-vgs-lb-player-wrap {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

/* ── Poster (click-to-play cover image) ───────────────────────────────────── */
.kh-vgs-lb-poster {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.kh-vgs-lb-poster.is-hidden {
    display: none;
}

.kh-vgs-lb-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kh-vgs-lb-play-btn:hover {
    background: #ef4444;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ── iFrame player ─────────────────────────────────────────────────────────── */
.kh-vgs-lb-iframe {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.kh-vgs-lb-iframe.is-playing {
    display: block;
}

/* ── HTML5 Video player ────────────────────────────────────────────────────── */
.kh-vgs-lb-video {
    display: none;
    width: 100%;
    max-height: 80vh;
    background: #000;
}

.kh-vgs-lb-video.is-playing {
    display: block;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .kh-vgs-lb-nav {
        width: 38px;
        height: 38px;
    }
    .kh-vgs-lb-prev { left: 8px; }
    .kh-vgs-lb-next { right: 8px; }

    .kh-vgs-lb-inner {
        width: 100vw;
        max-width: 100vw;
        padding: 0 60px;
        box-sizing: border-box;
    }
}



.kh-video-gallery-slider-wrap {
    position: relative;
    width: 100%;
}

.kh-vgs-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.kh-vgs-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: auto;
}

.kh-layout-grid .kh-vgs-slider-track {
    flex-wrap: wrap;
    transform: none !important;
}

.kh-vgs-slide {
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
}

.kh-vgs-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    background-color: #000;
}

.kh-vgs-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.kh-vgs-card:hover .kh-vgs-card-bg {
    transform: scale(1.08);
}

.kh-vgs-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.kh-vgs-card:hover .kh-vgs-card-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.8) 100%);
}

.kh-vgs-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.kh-vgs-play-icon {
    fill: currentColor;
    display: block;
    transition: transform 0.3s ease;
}

.kh-vgs-card-caption {
    position: relative;
    z-index: 3;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    pointer-events: none;
}

.kh-vgs-card-caption h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation Buttons for the main gallery slider */
.kh-vgs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    color: #333 !important;
    background-color: #fff;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kh-vgs-arrow:hover {
    background-color: #ef4444;
    color: #fff !important;
}

.kh-vgs-button-prev {
    left: 10px;
}
.kh-vgs-button-prev::after {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(1px, -1px);
    display: block;
}

.kh-vgs-button-next {
    right: 10px;
}
.kh-vgs-button-next::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, 1px);
    display: block;
}

/* --- Lightbox Fullscreen Overlay --- */
.kh-vgs-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.kh-vgs-lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000001;
    padding: 5px;
    transition: all 0.3s ease;
}

.kh-vgs-lightbox-close svg {
    display: block;
    transition: transform 0.4s ease;
}

.kh-vgs-lightbox-close:hover svg {
    transform: rotate(90deg) scale(1.1);
}

.kh-vgs-lightbox-slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.kh-vgs-lightbox-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kh-vgs-lightbox-slide {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 80px;
    flex-shrink: 0;
}

.kh-vgs-video-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80vh;
}

.kh-vgs-iframe-wrapper,
.kh-vgs-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background-color: #000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border-radius: 8px;
    overflow: hidden;
}

.kh-vgs-player-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.kh-vgs-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kh-vgs-video-poster.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.kh-vgs-video-poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.kh-vgs-play-trigger {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.kh-vgs-play-trigger svg {
    margin-left: 4px;
    fill: currentColor;
    display: block;
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.kh-vgs-video-poster:hover .kh-vgs-play-trigger {
    transform: scale(1.15);
    background-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.5);
}

.kh-vgs-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000002;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.kh-vgs-lightbox-nav:hover {
    background-color: #ef4444;
    border-color: #ef4444;
}

.kh-vgs-lightbox-prev {
    left: 25px;
}
.kh-vgs-lightbox-prev::after {
    content: '';
    width: 12px;
    height: 12px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg) translate(2px, -2px);
    display: block;
}

.kh-vgs-lightbox-next {
    right: 25px;
}
.kh-vgs-lightbox-next::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 3px solid currentColor;
    border-top: 3px solid currentColor;
    transform: rotate(45deg) translate(-2px, 2px);
    display: block;
}

@media (max-width: 767px) {
    .kh-vgs-lightbox-slide {
        padding: 0 15px;
    }
    
    .kh-vgs-lightbox-nav {
        display: none !important;
    }
}

/* ==========================================================================
   INSTAGRAM REELS & VIDEO GALLERY WIDGET STYLES
   ========================================================================== */
.kh-ig-gallery-wrap {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.kh-ig-gallery-wrap * {
    box-sizing: border-box;
}

/* Themes */
.kh-ig-theme-dark .kh-ig-card {
    background-color: #121215;
    color: #f6f4f2;
    border: 1px solid #2a2a30;
    box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.7);
}

.kh-ig-theme-light .kh-ig-card {
    background-color: #ffffff;
    color: #121215;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Outer Card Container */
.kh-ig-card {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Profile Header */
.kh-ig-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.kh-ig-theme-light .kh-ig-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.kh-ig-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kh-ig-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kh-ig-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    padding: 1px;
}

.kh-ig-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.kh-ig-username {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.kh-ig-verified-badge {
    flex-shrink: 0;
}

.kh-ig-meta {
    font-size: 0.76rem;
    color: #9b9b9f;
    margin-top: 1px;
}

.kh-ig-follow-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e2001a, #ff2d43);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kh-ig-follow-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(226, 0, 26, 0.45);
}

/* Slider Track & Layout */
.kh-ig-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.kh-ig-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Grid Layout */
.kh-ig-slider-track.kh-ig-grid-cols-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
}
.kh-ig-slider-track.kh-ig-grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
}
.kh-ig-slider-track.kh-ig-grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
}
.kh-ig-slider-track.kh-ig-grid-cols-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px;
}

@media (max-width: 991px) {
    .kh-ig-slider-track.kh-ig-grid-cols-3,
    .kh-ig-slider-track.kh-ig-grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .kh-ig-slider-track.kh-ig-grid-cols-2,
    .kh-ig-slider-track.kh-ig-grid-cols-3,
    .kh-ig-slider-track.kh-ig-grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Slide Item & Post Card */
.kh-ig-slide-item {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.kh-ig-slider-track:not([class*="kh-ig-grid-cols-"]) .kh-ig-slide-item {
    flex: 0 0 100%;
}

.kh-ig-post-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.kh-ig-post-media {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #000000;
}

.kh-ig-post-media img,
.kh-ig-native-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.kh-ig-slide-item:hover .kh-ig-post-media img {
    transform: scale(1.05);
}

.kh-ig-post-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.kh-ig-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    text-decoration: none !important;
    transition: background 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

.kh-ig-play-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.kh-ig-play-icon {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(226, 0, 26, 0.5));
}

.kh-ig-play-overlay:hover .kh-ig-play-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 6px 20px rgba(226, 0, 26, 0.8));
}

/* Post Content & Actions */
.kh-ig-post-content {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.kh-ig-post-caption {
    font-size: 0.84rem;
    line-height: 1.45;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kh-ig-post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.kh-ig-theme-light .kh-ig-post-actions {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.kh-ig-post-likes {
    font-size: 0.78rem;
    color: #9b9b9f;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kh-ig-view-post-btn {
    color: #ff2d43 !important;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.kh-ig-view-post-btn:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

/* Navigation Arrows */
.kh-ig-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 5;
}

.kh-ig-nav-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.kh-ig-nav-arrow:hover {
    background: #e2001a;
    border-color: #ff2d43;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(226, 0, 26, 0.5);
}

.kh-ig-nav-arrow svg {
    width: 20px;
    height: 20px;
}

/* Dots Pagination */
.kh-ig-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px 0 16px;
}

.kh-ig-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.kh-ig-theme-light .kh-ig-dot {
    background: rgba(0, 0, 0, 0.2);
}

.kh-ig-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #ff2d43;
    box-shadow: 0 0 10px #ff2d43;
}

/* In-Site Lightbox Modal Player */
.kh-ig-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.kh-ig-lightbox-modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

.kh-ig-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
}

.kh-ig-lb-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #0d0d0f;
    border: 1px solid #2a2a30;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    z-index: 2;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.kh-ig-lightbox-modal.is-active .kh-ig-lb-box {
    transform: translateY(0) scale(1);
}

.kh-ig-lb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #141418;
    border-bottom: 1px solid #2a2a30;
    direction: ltr !important;
}

.kh-ig-lb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 45, 67, 0.15);
    border: 1px solid rgba(255, 45, 67, 0.3);
}

.kh-ig-lb-icon svg {
    display: block;
}

.kh-ig-lb-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e2001a, #ff2d43) !important;
    border: 1px solid #ff2d43 !important;
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(226, 0, 26, 0.45);
    line-height: 1;
}

.kh-ig-lb-close span {
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
}

.kh-ig-lb-close svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff !important;
    stroke-width: 3px;
    display: inline-block;
    vertical-align: middle;
}

.kh-ig-lb-close:hover {
    background: linear-gradient(135deg, #ff2d43, #ff5266) !important;
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(255, 45, 67, 0.65);
}

.kh-ig-lb-player-container {
    position: relative;
    width: 100%;
    height: 480px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kh-ig-lb-player-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kh-ig-lb-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.kh-ig-lb-caption-bar {
    padding: 14px 18px;
    font-size: 0.84rem;
    color: #dedede;
    line-height: 1.45;
    background: #121215;
    border-top: 1px solid #2a2a30;
    text-align: left;
}

/* Pagination Bar & Buttons */
.kh-ig-pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px 12px;
    width: 100%;
}

.kh-ig-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #2a2a30;
    color: #f6f4f2;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    user-select: none;
}

.kh-ig-theme-light .kh-ig-page-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.kh-ig-page-btn:hover {
    background: rgba(226, 0, 26, 0.2);
    border-color: #ff2d43;
    color: #ff2d43;
    transform: translateY(-2px);
}

.kh-ig-page-btn.is-active {
    background: linear-gradient(135deg, #e2001a, #ff2d43) !important;
    border-color: #ff2d43 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(226, 0, 26, 0.45);
}

.kh-ig-page-btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.kh-ig-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e2001a, #ff2d43);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(226, 0, 26, 0.35);
}

.kh-ig-load-more-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 25px rgba(226, 0, 26, 0.5);
}

/* Video Gallery Slider Pagination Styles */
.kh-vgs-pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px 12px;
    width: 100%;
}

.kh-vgs-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    user-select: none;
}

.kh-vgs-page-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
}

.kh-vgs-page-btn.is-active {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

.kh-vgs-page-btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.kh-vgs-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.kh-vgs-load-more-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.5);
}

/* ── Wrapper Link global pointer ── */
.kh-has-wrapper-link,
.kh-has-wrapper-link *,
[data-kh-wrapper-link],
[data-kh-wrapper-link] * {
    cursor: pointer !important;
}

/* ==========================================================================
   Advanced Navigation Menu Widget (kh-advanced-nav-menu)
   ========================================================================== */

.kh-advanced-nav-menu {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* ── Menu List ────────────────────────────────────────────────────────────── */
.kh-advanced-nav-menu .kh-nav-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    box-sizing: border-box;
}

.kh-nav-layout-horizontal .kh-nav-menu-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.kh-nav-layout-vertical .kh-nav-menu-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

/* ── Menu Item & Link ─────────────────────────────────────────────────────── */
.kh-advanced-nav-menu .kh-nav-item {
    position: relative;
    list-style: none !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.kh-advanced-nav-menu .kh-nav-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    position: relative;
    box-sizing: border-box;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.kh-nav-layout-vertical .kh-nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    white-space: normal;
}

.kh-nav-title {
    display: inline-block;
}

/* ── Hover Pointer Effects ────────────────────────────────────────────────── */
/* Underline */
.kh-nav-pointer-underline .kh-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2.5px;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.kh-nav-pointer-underline .kh-nav-item:hover > .kh-nav-link::after,
.kh-nav-pointer-underline .kh-nav-item.is-active > .kh-nav-link::after {
    transform: scaleX(1);
}

/* Overline */
.kh-nav-pointer-overline .kh-nav-link::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 12px;
    right: 12px;
    height: 2.5px;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.kh-nav-pointer-overline .kh-nav-item:hover > .kh-nav-link::before,
.kh-nav-pointer-overline .kh-nav-item.is-active > .kh-nav-link::before {
    transform: scaleX(1);
}

/* Framed */
.kh-nav-pointer-framed .kh-nav-link {
    border: 1.5px solid transparent;
}

/* ── Submenu Toggle Button & Indicator ────────────────────────────────────── */
.kh-submenu-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 4px !important;
    margin: 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: transform 0.25s ease;
    vertical-align: middle;
}

.kh-toggle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.kh-toggle-arrow svg {
    display: block;
    fill: currentColor;
}

.kh-nav-item.is-submenu-open > .kh-submenu-toggle .kh-toggle-arrow {
    transform: rotate(180deg);
}

/* ── Desktop Submenus (Dropdown) ──────────────────────────────────────────── */
.kh-advanced-nav-menu .kh-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    box-sizing: border-box;
}

/* RTL Submenu alignment */
[dir="rtl"] .kh-advanced-nav-menu .kh-sub-menu {
    left: auto;
    right: 0;
}

/* Open on hover */
.kh-nav-trigger-hover .kh-nav-item:hover > .kh-sub-menu,
.kh-nav-item.is-submenu-open > .kh-sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Nested submenus (depth > 0) */
.kh-advanced-nav-menu .kh-sub-menu .kh-sub-menu {
    top: 0;
    left: 100%;
    transform: translateX(-8px);
}
[dir="rtl"] .kh-advanced-nav-menu .kh-sub-menu .kh-sub-menu {
    left: auto;
    right: 100%;
    transform: translateX(8px);
}

.kh-nav-trigger-hover .kh-sub-menu .kh-nav-item:hover > .kh-sub-menu,
.kh-sub-menu .kh-nav-item.is-submenu-open > .kh-sub-menu {
    transform: translateX(0);
}

.kh-advanced-nav-menu .kh-sub-menu .kh-nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    white-space: normal;
}

/* ── Toggle Button (Hamburger) ────────────────────────────────────────────── */
.kh-nav-toggle-wrap {
    display: none;
    width: 100%;
    box-sizing: border-box;
}

.kh-nav-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    transition: all 0.25s ease;
    user-select: none;
}

.kh-hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.kh-hamburger-line {
    display: block;
    width: 100%;
    height: 2.5px;
    border-radius: 2px;
    background-color: #1f2937;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    transform-origin: center;
}

/* Animated X state on active toggle */
.kh-nav-toggle-btn.is-active .kh-line-1 {
    transform: translateY(7.5px) rotate(45deg);
}
.kh-nav-toggle-btn.is-active .kh-line-2 {
    opacity: 0;
    transform: scaleX(0);
}
.kh-nav-toggle-btn.is-active .kh-line-3 {
    transform: translateY(-7.5px) rotate(-45deg);
}

.kh-toggle-text {
    font-size: 0.95rem;
    font-weight: 600;
}

/* ── Close Button for Drawer / Fullscreen ─────────────────────────────────── */
.kh-nav-panel-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.kh-nav-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.kh-nav-close-btn:hover {
    color: #ef4444;
    background-color: rgba(0, 0, 0, 0.06);
    transform: rotate(90deg);
}

/* ── Backdrop Overlay ─────────────────────────────────────────────────────── */
.kh-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVENESS
   ========================================================================== */

/* Breakpoint: None (Always Full Menu) */
.kh-nav-breakpoint-none .kh-nav-toggle-wrap { display: none !important; }
.kh-nav-breakpoint-none .kh-nav-menu-container { display: block !important; }

/* Breakpoint: Always (Always Toggle) */
.kh-nav-breakpoint-always .kh-nav-toggle-wrap { display: flex !important; }
.kh-nav-breakpoint-always .kh-nav-menu-container { display: none; }
.kh-nav-breakpoint-always .kh-nav-menu-container.is-open { display: block; }

/* Breakpoint: Mobile (< 768px) */
@media (max-width: 767px) {
    .kh-nav-breakpoint-mobile .kh-nav-toggle-wrap { display: flex !important; }
    .kh-nav-breakpoint-mobile .kh-nav-menu-container { display: none; }
    .kh-nav-breakpoint-mobile .kh-nav-menu-container.is-open { display: block; }
}
@media (min-width: 768px) {
    .kh-nav-breakpoint-mobile .kh-nav-toggle-wrap { display: none !important; }
    .kh-nav-breakpoint-mobile .kh-nav-menu-container { display: block !important; }
}

/* Breakpoint: Tablet (< 1025px) */
@media (max-width: 1024px) {
    .kh-nav-breakpoint-tablet .kh-nav-toggle-wrap { display: flex !important; }
    .kh-nav-breakpoint-tablet .kh-nav-menu-container { display: none; }
    .kh-nav-breakpoint-tablet .kh-nav-menu-container.is-open { display: block; }
}
@media (min-width: 1025px) {
    .kh-nav-breakpoint-tablet .kh-nav-toggle-wrap { display: none !important; }
    .kh-nav-breakpoint-tablet .kh-nav-menu-container { display: block !important; }
}

/* ==========================================================================
   MOBILE MENU DISPLAY TYPES (When collapsed)
   ========================================================================== */

/* ── Type 1: Dropdown (Below toggle) ── */
.kh-nav-mobile-type-dropdown .kh-nav-menu-container.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    margin-top: 8px;
    animation: khNavFadeDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes khNavFadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Type 2: Offcanvas Drawer ── */
.kh-nav-mobile-type-offcanvas .kh-nav-menu-container.is-open .kh-nav-backdrop {
    opacity: 1;
    visibility: visible;
}

.kh-nav-mobile-type-offcanvas .kh-nav-menu-container.is-open .kh-nav-mobile-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    z-index: 99999;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.kh-nav-mobile-type-offcanvas.kh-nav-offcanvas-right .kh-nav-menu-container.is-open .kh-nav-mobile-panel {
    right: 0;
    left: auto;
    animation: khNavSlideRight 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.kh-nav-mobile-type-offcanvas.kh-nav-offcanvas-left .kh-nav-menu-container.is-open .kh-nav-mobile-panel {
    left: 0;
    right: auto;
    animation: khNavSlideLeft 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes khNavSlideRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

@keyframes khNavSlideLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

/* ── Type 3: Fullscreen Overlay ── */
.kh-nav-mobile-type-fullscreen .kh-nav-menu-container.is-open .kh-nav-backdrop {
    opacity: 1;
    visibility: visible;
}

.kh-nav-mobile-type-fullscreen .kh-nav-menu-container.is-open .kh-nav-mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    box-sizing: border-box;
    animation: khNavFadeIn 0.3s ease forwards;
}

.kh-nav-mobile-type-fullscreen .kh-nav-mobile-panel .kh-nav-panel-header {
    position: absolute;
    top: 24px;
    right: 24px;
}

.kh-nav-mobile-type-fullscreen .kh-nav-menu-list {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.kh-nav-mobile-type-fullscreen .kh-nav-link {
    font-size: 1.35rem;
}

@keyframes khNavFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Collapsed Mobile Accordion Submenu Styles ── */
.kh-nav-menu-container.is-open .kh-nav-menu-list {
    flex-direction: column;
    width: 100%;
}

.kh-nav-menu-container.is-open .kh-nav-item {
    width: 100%;
}

.kh-nav-menu-container.is-open .kh-nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.kh-nav-menu-container.is-open .kh-sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    display: none;
}

.kh-nav-menu-container.is-open .kh-sub-menu.is-accordion-open {
    display: block !important;
    animation: khNavAccordionDown 0.25s ease forwards;
}

@keyframes khNavAccordionDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}







