.reveal {
  opacity: 0;
  transform: none;
}

.reveal.from-left   { transform: translateX(-260px); }
.reveal.from-right  { transform: translateX( 260px); }
.reveal.from-bottom { transform: translateY( 50px); }
.reveal.from-top    { transform: translateY(-50px); }

.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.6s ease, transform 1.5s ease;
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.3s ease;
}
.mobile_drop_ul.open {
    max-height: 200px;
}

.drop_ul.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.rotate-180 {
    transform: rotate(180deg);
}

/* lan btn */
.lang-btn {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 0.5px solid #ccc;
  border-radius: 100px;
  padding: 4px;
  cursor: pointer;
  width: 80px;
  transition: border-color 0.3s ease;
}

.lang-btn:hover {
  border-color: #888;
}

.lang-track {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #111;
  border-radius: 100px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
}

.lang-btn.rtl .lang-track {
  transform: translateX(100%);
}

.lang-option {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  border-radius: 100px;
  transition: color 0.3s ease;
  user-select: none;
  letter-spacing: 0.5px;
}

.lang-option.active {
  color: #ffffff;
}

.lang-option.inactive {
  color: #888;
}
/* end lan btn */

/* swiper classes */

 .section {
      width: 100%;
      max-width: 1400px;
      padding: 60px 60px;
      position: relative;
    }

   
    .header-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 8px;
    }

    h2 {
      font-size: clamp(22px, 4vw, 48px);
      font-weight: 900;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    .see-all {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #aaa;
      cursor: pointer;
      transition: color 0.2s;
      margin-top: 12px;
      text-decoration: none;
    }
    .see-all:hover { color: #fff; }
    .see-all svg { transition: transform 0.2s; }
    .see-all:hover svg { transform: translateX(-4px); }

    .subtitle {
      font-size: 14px;
      color: #888;
      margin-bottom: 48px;
      text-align: right;
    }

  
    .carousel-section { display: block; }

    .carousel-wrap {
  position: relative;
  height: 500px;
  perspective: 900px; 
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.pos--2 {
  transform: translate(calc(-50% - 340px), -50%) rotateY(55deg) scale(0.72);
  opacity: 0.30; filter: brightness(0.45); z-index: 1;
}
.pos--1 {
  transform: translate(calc(-50% - 190px), -50%) rotateY(40deg) scale(0.85);
  opacity: 0.65; filter: brightness(0.7); z-index: 2;
}
.pos-0 {
  transform: translate(-50%, -47%) rotateY(0deg) scale(1.08);
  opacity: 1; filter: brightness(1); z-index: 5;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.pos-1 {
  transform: translate(calc(-50% + 190px), -50%) rotateY(-40deg) scale(0.85);
  opacity: 0.65; filter: brightness(0.7); z-index: 2;
}
.pos-2 {
  transform: translate(calc(-50% + 340px), -50%) rotateY(-55deg) scale(0.72);
  opacity: 0.30; filter: brightness(0.45); z-index: 1;
}

    .card {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 260px;
      height: 410px;
      border-radius: 22px;
      overflow: hidden;
      cursor: pointer;
      transition:
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity   0.6s ease,
        filter    0.6s ease,
        box-shadow 0.6s ease;
      will-change: transform, opacity;
    }

    .card img {
      width: 100%; height: 100%;
      object-fit: cover; display: block;
      transition: transform 0.6s ease;
      pointer-events: none;
    }
    .card:hover img { transform: scale(1.04); }

    .card-caption {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 40px 18px 18px;
      background: linear-gradient(to top, rgba(0,0,0,0.88), transparent);
      transform: translateY(100%);
      transition: transform 0.4s ease;
      direction: rtl;
      color: #fff;
    }
    .card.active .card-caption { transform: translateY(0); }

    .card-caption h3 {
      font-size: 14px; font-weight: 700;
      line-height: 1.6; margin-bottom: 10px;
    }
    .card-caption a {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: #ccc; text-decoration: none;
      transition: color 0.2s;
    }
    .card-caption a:hover { color: #fff; }

    
 
    .pos-hidden {
      transform: translate(-50%, -50%) scale(0.4);
      opacity: 0; pointer-events: none; z-index: 0;
    }


    .desktop-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-top: 28px;
    }

    .nav-btn {
      width: 42px; height: 42px;
      border-radius: 50%;
      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.18);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: background 0.2s;
      flex-shrink: 0;
    }
    .nav-btn:hover { background: rgba(255,255,255,0.22); }

    .dots { display: flex; gap: 6px; align-items: center; }
    .dot {
      width: 6px; height: 6px;
      border-radius: 50%; background: #444;
      cursor: pointer;
      transition: background 0.3s, width 0.3s;
    }
    .dot.active { background: #fff; width: 20px; border-radius: 3px; }


    .mobile-slider { display: none; }

    .mobile-track-wrap {
      overflow: hidden;
      border-radius: 20px;
    }

    .mobile-track {
      display: flex;
      transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .mobile-card {
      min-width: 100%;
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      height: 400px;
    }

    .mobile-card img {
      width: 100%; height: 100%;
      object-fit: cover; display: block;
    }

    .mobile-caption {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 48px 20px 20px;
      background: linear-gradient(to top, rgba(0,0,0,0.88), transparent);
      direction: rtl;
    }
    .mobile-caption h3 {
      font-size: 15px; font-weight: 700;
      line-height: 1.6; margin-bottom: 10px;
    }
    .mobile-caption a {
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; color: #ccc; text-decoration: none;
    }

    .mobile-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 16px;
    }

    .mobile-nav-btn {
      width: 40px; height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.2s;
      flex-shrink: 0;
    }
    .mobile-nav-btn:active { background: rgba(255,255,255,0.2); }

    .mobile-dots { display: flex; gap: 5px; align-items: center; }
    .mobile-dot {
      width: 6px; height: 6px;
      border-radius: 50%; background: #444;
      cursor: pointer;
      transition: background 0.3s, width 0.3s;
    }
    .mobile-dot.active { background: #fff; width: 18px; border-radius: 3px; }


   @media (max-width: 1024px) {
  .pos--2 { transform: translate(calc(-50% - 270px), -50%) rotateY(50deg) scale(0.72); }
  .pos--1 { transform: translate(calc(-50% - 155px), -50%) rotateY(36deg) scale(0.85); }
  .pos-0  { transform: translate(-50%, -47%) rotateY(0deg) scale(1.08); }
  .pos-1  { transform: translate(calc(-50% + 155px), -50%) rotateY(-36deg) scale(0.85); }
  .pos-2  { transform: translate(calc(-50% + 270px), -50%) rotateY(-50deg) scale(0.72); }
}

    @media (max-width: 640px) {
      .section { padding: 28px 16px; }
      h2 { font-size: 20px; }
      .subtitle { font-size: 12px; margin-bottom: 24px; }
      .see-all { font-size: 12px; }

      .carousel-section { display: none; }
      .desktop-nav { display: none; }

      .mobile-slider { display: block; }
    }