.company-slider-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    direction: rtl;
}

.company-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.company-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.company-slide-active {
    opacity: 1;
    z-index: 2;
}

.company-slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.company-slide-inner {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    padding: 20px 30px;
    max-width: 70%;
    z-index: 5;
}

.company-align-right { text-align: right; }
.company-align-left  { text-align: left; }

.company-slide-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 18px rgba(0,0,0,0.55);
}

.company-slide-desc {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    margin-bottom: 20px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.company-slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.company-slide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.45);
    background: linear-gradient(135deg, #22c55e, #4ade80);
}

.company-slide-icon {
    margin-bottom: 12px;
}

.company-slide-icon i {
    font-size: 42px;
}

.company-slide-icon-image {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

/* arrows */
.company-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    color: #111827;
    width: 56px;
    height: 120px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 6;
    box-shadow: 0 10px 25px rgba(15,23,42,0.25);
}

.company-slider-prev { right: 0; }
.company-slider-next { left: 0; }

.company-slider-nav:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) translateX(0) scale(1.02);
    box-shadow: 0 14px 32px rgba(15,23,42,0.35);
}

/* dots */
.company-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 7;
}

.company-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.company-slider-dot-active {
    width: 22px;
    background: #22c55e;
}

/* slide animations */
.company-slide.company-anim-fade { transition: opacity 0.9s ease; }
.company-slide.company-anim-slide { transform: translateX(40px); }
.company-slide-active.company-anim-slide { transform: translateX(0); }
.company-slide.company-anim-zoom { transform: scale(1.08); }
.company-slide-active.company-anim-zoom { transform: scale(1); }

/* text animations (15) */
.company-slide-inner[data-text-anim] { opacity: 0; }

.company-slide-active .company-slide-inner[data-text-anim="fade-up"]    { animation: company-fade-up 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="fade-down"]  { animation: company-fade-down 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="fade-left"]  { animation: company-fade-left 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="fade-right"] { animation: company-fade-right 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="slide-up"]   { animation: company-slide-up 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="slide-down"] { animation: company-slide-down 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="slide-left"] { animation: company-slide-left 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="slide-right"]{ animation: company-slide-right 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="zoom-in"]    { animation: company-zoom-in 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="zoom-out"]   { animation: company-zoom-out 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="rotate-in"]  { animation: company-rotate-in 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="rotate-in-left"]  { animation: company-rotate-in-left 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="rotate-in-right"] { animation: company-rotate-in-right 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="flip-x"]     { animation: company-flip-x 0.9s ease forwards; }
.company-slide-active .company-slide-inner[data-text-anim="flip-y"]     { animation: company-flip-y 0.9s ease forwards; }

@keyframes company-fade-up   { from {opacity:0; transform:translate(-50%,-35%);} to {opacity:1; transform:translate(-50%,-50%);} }
@keyframes company-fade-down { from {opacity:0; transform:translate(-50%,-65%);} to {opacity:1; transform:translate(-50%,-50%);} }
@keyframes company-fade-left { from {opacity:0; transform:translate(-30%,-50%);} to {opacity:1; transform:translate(-50%,-50%);} }
@keyframes company-fade-right{ from {opacity:0; transform:translate(-70%,-50%);} to {opacity:1; transform:translate(-50%,-50%);} }

@keyframes company-slide-up   { from {opacity:0; transform:translate(-50%,-20%);} to {opacity:1; transform:translate(-50%,-50%);} }
@keyframes company-slide-down { from {opacity:0; transform:translate(-50%,-80%);} to {opacity:1; transform:translate(-50%,-50%);} }
@keyframes company-slide-left { from {opacity:0; transform:translate(-10%,-50%);} to {opacity:1; transform:translate(-50%,-50%);} }
@keyframes company-slide-right{ from {opacity:0; transform:translate(-90%,-50%);} to {opacity:1; transform:translate(-50%,-50%);} }

@keyframes company-zoom-in  { from {opacity:0; transform:translate(-50%,-50%) scale(0.8);} to {opacity:1; transform:translate(-50%,-50%) scale(1);} }
@keyframes company-zoom-out { from {opacity:0; transform:translate(-50%,-50%) scale(1.2);} to {opacity:1; transform:translate(-50%,-50%) scale(1);} }

@keyframes company-rotate-in      { from {opacity:0; transform:translate(-50%,-50%) rotate(-6deg);}  to {opacity:1; transform:translate(-50%,-50%) rotate(0);} }
@keyframes company-rotate-in-left { from {opacity:0; transform:translate(-40%,-50%) rotate(-12deg);} to {opacity:1; transform:translate(-50%,-50%) rotate(0);} }
@keyframes company-rotate-in-right{ from {opacity:0; transform:translate(-60%,-50%) rotate(12deg);}  to {opacity:1; transform:translate(-50%,-50%) rotate(0);} }

@keyframes company-flip-x { from {opacity:0; transform:translate(-50%,-50%) rotateX(90deg);} to {opacity:1; transform:translate(-50%,-50%) rotateX(0);} }
@keyframes company-flip-y { from {opacity:0; transform:translate(-50%,-50%) rotateY(90deg);} to {opacity:1; transform:translate(-50%,-50%) rotateY(0);} }

/* Bubble overlay */
.company-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
}

.company-bubbles span {
    position: absolute;
    bottom: -80px;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.15), transparent 70%);
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
    opacity: 0.8;
    animation: company-bubble-up 18s linear infinite;
}

@keyframes company-bubble-up {
    0%   { transform: translate3d(0,0,0) scale(0.8); opacity: 0; }
    10%  { opacity: 0.8; }
    100% { transform: translate3d(0,-120vh,0) scale(1.1); opacity: 0; }
}

/* positions */
.company-bubbles span:nth-child(1)  { left: 5%;  animation-duration: 22s; animation-delay: 0s; }
.company-bubbles span:nth-child(2)  { left: 15%; animation-duration: 18s; animation-delay: 3s; }
.company-bubbles span:nth-child(3)  { left: 25%; animation-duration: 24s; animation-delay: 6s; }
.company-bubbles span:nth-child(4)  { left: 35%; animation-duration: 19s; animation-delay: 1s; }
.company-bubbles span:nth-child(5)  { left: 45%; animation-duration: 26s; animation-delay: 5s; }
.company-bubbles span:nth-child(6)  { left: 55%; animation-duration: 21s; animation-delay: 8s; }
.company-bubbles span:nth-child(7)  { left: 65%; animation-duration: 23s; animation-delay: 2s; }
.company-bubbles span:nth-child(8)  { left: 75%; animation-duration: 20s; animation-delay: 7s; }
.company-bubbles span:nth-child(9)  { left: 85%; animation-duration: 27s; animation-delay: 4s; }
.company-bubbles span:nth-child(10) { left: 50%; animation-duration: 30s; animation-delay: 9s; }
.company-bubbles span:nth-child(11) { left: 10%; animation-duration: 25s; animation-delay: 11s; }
.company-bubbles span:nth-child(12) { left: 90%; animation-duration: 29s; animation-delay: 13s; }
.company-bubbles span:nth-child(13) { left: 30%; animation-duration: 24s; animation-delay: 15s; }
.company-bubbles span:nth-child(14) { left: 70%; animation-duration: 26s; animation-delay: 17s; }

/* bubble styles */
.company-bubbles-soft span {
    width: 32px;
    height: 32px;
    opacity: 0.7;
}

.company-bubbles-mix span:nth-child(odd) {
    width: 30px;
    height: 30px;
    opacity: 0.65;
}
.company-bubbles-mix span:nth-child(even) {
    width: 54px;
    height: 54px;
    opacity: 0.9;
}

.company-bubbles-big span {
    width: 60px;
    height: 60px;
    opacity: 0.85;
    box-shadow: 0 0 18px rgba(255,255,255,0.9);
}

/* mobile */
@media (max-width: 768px) {
    .company-slider-wrapper {
        height: var(--company-mobile-height, 80vh) !important;
    }
    .company-slide-inner {
        max-width: 90%;
        padding: 15px 18px;
        top: var(--company-mobile-text-top, 50%) !important;
        transform: translate(-50%, -50%) !important;
    }
    .company-slide-title {
        font-size: var(--company-mobile-title-size, clamp(22px, 5.5vw, 30px)) !important;
    }
    .company-slide-desc {
        font-size: var(--company-mobile-desc-size, 14px) !important;
    }
    .company-slider-nav {
        width: 42px;
        height: 80px;
    }
}
