/* ================================
   POLO HERO SECTION ONLY
   بدون تعديل الشريط العلوي
================================ */

.polo_hero_slider {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 500px;
    max-height: 680px;
    overflow: hidden;
    direction: ltr;
    margin: 0;
    padding: 0;
    background: var(--light-bg);
}

.polo_hero_slider .owl-stage-outer,
.polo_hero_slider .owl-stage,
.polo_hero_slider .owl-item {
    height: 100%;
}

.polo_hero_slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--light-bg);
}

/* طبقة الصورة */
.polo_hero_slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--polo-slide-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1);
}

/* الصورة الأولى */
.polo_slide_1 {
    --polo-slide-image: url("../img/slider/slider1.webp");
}

/* الصورة الثانية */
.polo_slide_2 {
    --polo-slide-image: url("../img/slider/slider2.webp");
}

/* الصورة الثالثة */
.polo_slide_3 {
    --polo-slide-image: url("../img/slider/slider3.webp");
}

/* الصورة الرابعة */
.polo_slide_4 {
    --polo-slide-image: url("../img/slider/slider4.webp");
}

/* الصورة الخامسة */
.polo_slide_5 {
    --polo-slide-image: url("../img/slider/slider5.webp");
}

/* طبقة خفيفة جدًا بدون تأثير على نصوص الصور */
.polo_hero_slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.83) 31%, rgba(255, 255, 255, 0.28) 54%, rgba(255, 255, 255, 0.02) 74%);
    z-index: 1;
}

/* Slide content */
.polo_hero_content {
    position: absolute;
    top: 38%;
    left: clamp(70px, 8vw, 130px);
    z-index: 4;
    width: min(40%, 480px);
    color: #06245f;
    text-align: right;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
}

.polo_hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(8, 64, 94, 0.06);
    border-radius: 999px;
    box-shadow: 0 7px 18px rgba(8, 64, 94, 0.09);
    color: #26466e;
    font-size: 12px;
    font-weight: 800;
}

.polo_hero_badge i {
    color: #1677ff;
    font-size: 16px;
}

.polo_hero_content h1 {
    margin: 0;
    color: #06245f;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0;
}

.polo_hero_content h1 span {
    display: block;
}

.polo_hero_rule {
    width: 96px;
    height: 2px;
    margin: 20px 0;
    background: linear-gradient(90deg, #1a7bff, rgba(26, 123, 255, 0));
}

.polo_hero_content p {
    max-width: 370px;
    margin: 0;
    color: #4c6687;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
}

.owl-item.active .polo_hero_content {
    animation: poloContentReveal 0.7s ease-out 0.2s both;
}

.owl-item.active .polo_hero_badge {
    animation: poloContentReveal 0.55s ease-out 0.35s both;
}

.owl-item.active .polo_hero_content h1 span {
    animation: poloTitleReveal 0.65s ease-out both;
}

.owl-item.active .polo_hero_content h1 span:nth-child(1) {
    animation-delay: 0.38s;
}

.owl-item.active .polo_hero_content h1 span:nth-child(2) {
    animation-delay: 0.48s;
}

.owl-item.active .polo_hero_rule {
    animation: poloRuleReveal 0.65s ease-out 0.62s both;
}

.owl-item.active .polo_hero_content p {
    animation: poloContentReveal 0.65s ease-out 0.7s both;
}

@keyframes poloContentReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes poloTitleReveal {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes poloRuleReveal {
    from {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: right center;
    }

    to {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: right center;
    }
}

/* القطرات فوق الصورة */
.polo_hero_slide .falling_lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.polo_hero_slide .falling_lines span {
    position: absolute;
    top: -80px;
    width: 1.5px;
    height: 50px;
    border-radius: 50px;
    background: linear-gradient(
            to bottom,
            rgba(11, 114, 181, 0),
            rgba(11, 114, 181, 0.45)
    );
    opacity: 0.42;
    animation: poloFallingLines 10s linear infinite;
}

.polo_hero_slide .falling_lines span:nth-child(1) {
    left: 8%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.polo_hero_slide .falling_lines span:nth-child(2) {
    left: 18%;
    animation-delay: 1.5s;
    animation-duration: 10s;
}

.polo_hero_slide .falling_lines span:nth-child(3) {
    left: 31%;
    animation-delay: 0.8s;
    animation-duration: 9s;
}

.polo_hero_slide .falling_lines span:nth-child(4) {
    left: 45%;
    animation-delay: 2.2s;
    animation-duration: 11s;
}

.polo_hero_slide .falling_lines span:nth-child(5) {
    left: 59%;
    animation-delay: 1s;
    animation-duration: 8.5s;
}

.polo_hero_slide .falling_lines span:nth-child(6) {
    left: 74%;
    animation-delay: 3s;
    animation-duration: 10.5s;
}

.polo_hero_slide .falling_lines span:nth-child(7) {
    left: 88%;
    animation-delay: 0.5s;
    animation-duration: 9.5s;
}

.polo_hero_slide .falling_lines span:nth-child(n+8) {
    opacity: 0.18;
}

@keyframes poloFallingLines {
    0% {
        transform: translateY(-80px);
        opacity: 0;
    }

    15% {
        opacity: 0.42;
    }

    85% {
        opacity: 0.28;
    }

    100% {
        transform: translateY(850px);
        opacity: 0;
    }
}

/* أنميشن تقريب الصورة مثل السابق */
.owl-item.active .polo_hero_slide::after {
    animation: poloZoomBg 7s ease forwards;
}

@keyframes poloZoomBg {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

/* الأسهم */
.polo_hero_slider.owl-theme .owl-nav {
    margin: 0;
}

.polo_hero_slider.owl-theme .owl-nav button.owl-prev,
.polo_hero_slider.owl-theme .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.88) !important;
    color: #1677ff !important;
    border: 1px solid rgba(8, 64, 94, 0.06) !important;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(8, 64, 94, 0.12);
    font-size: 32px !important;
    line-height: 40px !important;
    font-weight: 400;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.polo_hero_slider.owl-theme .owl-nav button.owl-prev:hover,
.polo_hero_slider.owl-theme .owl-nav button.owl-next:hover {
    background: #ffffff !important;
    color: var(--main-blue) !important;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 26px rgba(8, 64, 94, 0.18);
}

.polo_hero_slider.owl-theme .owl-nav button.owl-prev {
    left: 24px;
}

.polo_hero_slider.owl-theme .owl-nav button.owl-next {
    right: 24px;
}

/* Slider pagination */
.polo_slider_pagination {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 10;
    display: flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 10px;
    border: 1px solid rgba(8, 64, 94, 0.05);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 22px rgba(8, 64, 94, 0.1);
    transform: translateX(-50%);
}

.polo_slider_pagination::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 14px;
    background-color: #1677ff;
    transform: rotate(45deg);
}

.polo_pagination_arrow {
    width: 7px;
    height: 7px;
    margin-right: 12px;
    border-bottom: 1.5px solid #8ba4c2;
    border-left: 1.5px solid #8ba4c2;
    transform: rotate(45deg);
}

.polo_pagination_current,
.polo_pagination_separator,
.polo_pagination_total {
    color: #7189a5;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.polo_pagination_separator {
    padding: 0 4px;
    color: #aac0d7;
}

.polo_pagination_divider {
    width: 1px;
    height: 11px;
    margin: 0 8px;
    background-color: rgba(8, 64, 94, 0.1);
}

.polo_hero_slider.owl-theme .owl-dots {
    position: static;
    z-index: auto;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.polo_hero_slider.owl-theme .owl-dots button.owl-dot {
    width: 9px !important;
    height: 9px !important;
    margin: 0 2px !important;
    border-radius: 50%;
    background-color: rgba(8, 64, 94, 0.28) !important;
}

.polo_hero_slider.owl-theme .owl-dots button.owl-dot.active {
    width: 9px !important;
    height: 9px !important;
    background-color: var(--main-blue) !important;
}

.polo_hero_slider.owl-theme .owl-dots .owl-dot span {
    display: none;
}

/* Responsive */
@media (max-width: 991px) {
    .polo_hero_slider {
        min-height: 460px;
    }

    .polo_hero_content {
        left: 72px;
        width: min(47%, 420px);
    }

    .polo_hero_content h1 {
        font-size: 31px;
    }

    .polo_hero_slider.owl-theme .owl-nav button.owl-prev {
        left: 15px;
    }

    .polo_hero_slider.owl-theme .owl-nav button.owl-next {
        right: 15px;
    }
}

@media (max-width: 575px) {
    .polo_hero_slider {
        aspect-ratio: auto;
        min-height: 520px;
    }

    .polo_hero_slide::before {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.64));
    }

    .polo_hero_content {
        top: 36%;
        right: 42px;
        left: 42px;
        width: auto;
    }

    .polo_hero_badge {
        padding: 7px 12px;
        margin-bottom: 14px;
        font-size: 11px;
    }

    .polo_hero_content h1 {
        font-size: 26px;
        line-height: 1.35;
    }

    .polo_hero_rule {
        width: 72px;
        margin: 16px 0;
    }

    .polo_hero_content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .polo_hero_slider.owl-theme .owl-nav button.owl-prev,
    .polo_hero_slider.owl-theme .owl-nav button.owl-next {
        width: 38px;
        height: 38px;
        font-size: 26px !important;
        line-height: 32px !important;
    }

    .polo_slider_pagination {
        bottom: 16px;
        min-height: 23px;
        padding: 1px 8px;
    }

    .polo_hero_slider.owl-theme .owl-dots .owl-dot span {
        display: none;
    }

    .polo_hero_slider.owl-theme .owl-dots button.owl-dot {
        width: 8px !important;
        height: 8px !important;
        margin: 0 1.5px !important;
    }

    .polo_hero_slider.owl-theme .owl-dots button.owl-dot.active {
        width: 8px !important;
        height: 8px !important;
    }

    .polo_pagination_arrow {
        margin-right: 9px;
    }

    .polo_pagination_divider {
        margin: 0 9px;
    }

    .polo_slider_pagination::after {
        margin-left: 10px;
    }
}
