  :root {
      --ax-glass-bg: rgba(255, 255, 255, 0.08);
      --ax-glass-border: rgba(255, 255, 255, 0.12);
      --ax-accent: rgba(255, 255, 255, 0.9);
      --ax-muted: rgba(255, 255, 255, 0.7);
      --ax-radius: 18px;
      --ax-padding: 16px;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }


  /* Background */
  .ax-bg {
      position: fixed;
      inset: 0;
      background-image: url("./assets/img/wellthenso/1.jpg");
      background-size: cover;
      background-position: center;
      filter: saturate(0.85) brightness(0.6);
      z-index: 0;
  }

  .ax-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
  }

  /* Wrapper */
  .ax-wrapper {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 28px;
      z-index: 2;
      padding: 28px;
      box-sizing: border-box;
  }

  /* Carousel */
  .ax-carousel {
      width: 100%;
      max-width: 980px;
      height: 460px;
      position: relative;
      perspective: 1200px;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
  }

  .ax-track {
      width: 72%;
      max-width: 720px;
      height: 420px;
      position: relative;
      transform-style: preserve-3d;
      pointer-events: initial;
  }

  .ax-slide {
      position: absolute;
      top: 0;
      left: 50%;
      transform-origin: center center;
      width: 420px;
      height: 340px;
      margin-left: -210px;
      border-radius: 22px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
      transition: transform 600ms cubic-bezier(.2, .9, .2, 1), opacity 400ms ease, filter 400ms ease;
      backface-visibility: hidden;
      pointer-events: auto;
  }

  .ax-image {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: contrast(1.02) saturate(1.04);
      transform: translateZ(-20px) scale(1.06);
  }

  .ax-info {
      position: relative;
      padding: 18px;
      backdrop-filter: blur(12px) saturate(120%);
      background: linear-gradient(180deg, rgba(16, 16, 16, 0.25), rgba(16, 16, 16, 0.18));
      color: var(--ax-accent);
      border-top: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: 0 0 18px 18px;
      z-index: 2;
  }

  .ax-title {
      font-weight: 600;
      font-size: 20px;
      margin-bottom: 6px;
  }
.ax-title a{
  color: #fff;
  text-decoration: none;
}
.ax-title a:hover{
  color: var(--primary);
}
  .ax-quote {
      font-size: 13px;
      color: var(--ax-muted);
      line-height: 1.2;
      margin-bottom: 8px;
  }

  .ax-meta {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.6);
  }

  /* Side + Center */
  .ax-slide.ax-side {
      width: 340px;
      height: 300px;
      border-radius: 18px;
      opacity: 0.9;
      filter: grayscale(.05) blur(0.2px) brightness(.95);
      margin-top: 50px;
  }

  .ax-slide.ax-center {
      width: 520px;
      height: 420px;
      margin-left: -260px;
      z-index: 6;
      transform: translateZ(60px) scale(1.03);
      border-radius: 22px;
  }

  .ax-slide.ax-center .ax-image {
      transform: translateZ(0) scale(1.0);
  }

  /* Positions */
  .ax-pos-a {
      transform: translateX(-320px) rotateY(30deg) scale(.78) translateZ(-80px);
      opacity: .18;
      z-index: 1;
  }

  .ax-pos-b {
      transform: translateX(-200px) rotateY(18deg) scale(.9) translateZ(-20px);
      opacity: .55;
      z-index: 3;
  }

  .ax-pos-c {
      transform: translateX(0) rotateY(0) scale(1) translateZ(60px);
      opacity: 1;
      z-index: 6;
  }

  .ax-pos-d {
      transform: translateX(260px) rotateY(-18deg) scale(.9) translateZ(-20px);
      opacity: .55;
      z-index: 4;
  }

  .ax-pos-e {
      transform: translateX(380px) rotateY(-30deg) scale(.78) translateZ(-80px);
      opacity: .18;
      z-index: 2;
  }

  /* Footer */
  .ax-footer {
      position: absolute;
      bottom: 36px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 14px;
      align-items: center;
      padding: 10px 18px;
      border-radius: 18px;
      backdrop-filter: blur(12px);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
      border: 1px solid rgba(255, 255, 255, 0.05);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
      z-index: 5;
  }

  .ax-avatar {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      overflow: hidden;
      background-size: cover;
      background-position: center;
      flex: 0 0 auto;
      border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ax-footer-info {
      font-size: 14px;
      color: var(--ax-accent);
  }

  .ax-footer-name {
      font-weight: 600;
  }
.ax-footer-name a{
  color: #fff;
  text-decoration: none;
}
.ax-footer-name a:hover{
  color: var(--primary);
}
  .ax-footer-meta {
      font-size: 12px;
      color: var(--ax-muted);
      margin-top: 4px;
  }

  .ax-controls {
      display: flex;
      gap: 8px;
      margin-left: 10px;
  }

  .ax-btn {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.04);
      cursor: pointer;
  }

  /* Dots */
  .ax-dots {
      position: absolute;
      bottom: 18px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      align-items: center;
      z-index: 5;
  }

  .ax-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.25);
      opacity: .7;
  }

  .ax-dot.active {
      width: 52px;
      height: 8px;
      border-radius: 99px;
      background: linear-gradient(90deg, #ffffff, #d1d1d1);
      opacity: 1;
  }

  .home-header{
    position: absolute;
    width: 100%;
    z-index: 200;
  }

   .home-header ul li a{
    color: #d6d6d6;
   }
  .baner-custom-section{
     background-image:linear-gradient(165deg,rgba(0, 0, 0, 0.49) 0%, rgba(0, 0, 0, 0.47) 100%), url("../img/bnr3.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
  }
.ax-btn i{
    color: #fff;
}

/* Overlay full-view */
.ax-expanded-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
   background: rgba(91, 91, 91, 0.35);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.ax-expanded-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ax-expanded-image {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.ax-expanded-overlay.active .ax-expanded-image {
  transform: scale(1);
}

.ax-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}

 /* --- RESPONSIVE: Keep Side Card Previews --- */

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .ax-carousel {
    height: 380px;
    perspective: 1000px;
  }

  .ax-track {
    width: 90%;
    height: 340px;
  }

  .ax-slide {
    width: 340px;
    height: 260px;
    margin-left: -170px;
  }

  .ax-slide.ax-center {
    width: 400px;
    height: 300px;
    margin-left: -200px;
    transform: translateZ(40px) scale(1.02);
  }

  .ax-slide.ax-side {
    opacity: 0.65;
    filter: blur(0.5px) brightness(0.9);
  }

  .ax-pos-a {
    transform: translateX(-240px) rotateY(25deg) scale(0.8) translateZ(-60px);
    opacity: 0.25;
  }

  .ax-pos-b {
    transform: translateX(-140px) rotateY(15deg) scale(0.9) translateZ(-30px);
    opacity: 0.65;
  }

  .ax-pos-d {
    transform: translateX(140px) rotateY(-15deg) scale(0.9) translateZ(-30px);
    opacity: 0.65;
  }

  .ax-pos-e {
    transform: translateX(240px) rotateY(-25deg) scale(0.8) translateZ(-60px);
    opacity: 0.25;
  }

  .ax-info {
    padding: 14px;
    font-size: 14px;
  }

  .ax-title {
    font-size: 18px;
  }

  .ax-meta {
    font-size: 12px;
  }

  .ax-footer {
    bottom: 20px;
    transform: translateX(-50%) scale(0.9);
  }
}

/* Mobile Landscape (≤768px) */
@media (max-width: 768px) {
  .ax-carousel {
    height: 340px;
  }

  .ax-track {
    width: 100%;
    height: 300px;
  }

  .ax-slide {
    width: 100px;
    height: 100px;
    margin-left: -140px;
    display: none;
    position: static;
    margin: 0 15px !important;
  }

  .ax-slide.ax-center {
    width: 94%;
    height: 300px;
    margin-left: -160px;
    transform: translateZ(0) scale(1.02);
    display: block;
     margin: 0 10px !important;
  }

  .ax-pos-a {
    transform: translateX(-200px) rotateY(18deg) scale(0.75);
    opacity: 0.2;
  }

  .ax-pos-b {
    transform: translateX(-120px) rotateY(12deg) scale(0.88);
    opacity: 0.5;
  }

  .ax-pos-d {
    transform: translateX(120px) rotateY(-12deg) scale(0.88);
    opacity: 0.5;
  }

  .ax-pos-e {
    transform: translateX(200px) rotateY(-18deg) scale(0.75);
    opacity: 0.2;
  }

  .ax-footer {
    bottom: 16px;
    scale: 0.85;
  }
   .ax-slide.ax-side{
    margin-top: 0;
  }
}

/* Mobile Portrait (≤480px) */
@media (max-width: 567px) {
  .ax-carousel {
    height: 300px;
  }

  .ax-track {
    width: 100%;
    height: 260px;
  }
/* 
  .ax-slide {
    width: 20%;
    height: 190px;
    margin-left: -120px;
    display: none;
  }

  .ax-slide.ax-center {
    width: 280px;
    height: 210px;
    margin-left: -140px;
    display: block;
  } */

  .ax-pos-a {
    transform: translateX(-160px) rotateY(16deg) scale(0.7);
    opacity: 0.18;
  }

  .ax-pos-b {
    transform: translateX(-90px) rotateY(10deg) scale(0.84);
    opacity: 0.4;
  }

  .ax-pos-d {
    transform: translateX(90px) rotateY(-10deg) scale(0.84);
    opacity: 0.4;
  }

  .ax-pos-e {
    transform: translateX(160px) rotateY(-16deg) scale(0.7);
    opacity: 0.18;
  }

  .ax-info {
    padding: 10px;
    font-size: 12px;
  }

  .ax-footer {
           position: relative;
        bottom: auto;
        margin-top: 10px;
        scale: 0.85;
        left: 42%;
        width: 100%;
        margin: 0 auto;
  }

  .ax-dots {
    bottom: 8px;
  }
 
  .ax-wrapper{
    padding: 0;
  }
}


.ax-carousel-font {
  color: #fff;
  font-family: var(--font-architext);
  font-size: 27px;
  margin-bottom: 12px;
  margin-top: -15px;
  position: absolute;
  top: 81%;
}
.ax-gap{
  height: 40px;
}

@media screen and (max-width:567px){
  .ax-carousel-font {
    padding: 0 15px;
    text-align: center;
           font-size: 23px;
        line-height: 32px;
        top:84%;

  }
}