﻿/* Gradient heading */
/*.text-gradient {
    font-weight: 700;
    background: linear-gradient(90deg, #007bff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}*/

.sec-head h3  {
    font-size: 48px;
    font-weight: 600;
}

.text-gradient {
    background: -webkit-gradient(linear, left top, right top, from(#12c2e9), color-stop(#c471ed), to(#f64f59));
    background: -webkit-linear-gradient(left, #12c2e9, #c471ed, #f64f59);
    background: -o-linear-gradient(left, #12c2e9, #c471ed, #f64f59);
    background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Caption styling */
.carousel-caption-custom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    max-width: 80%;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);


}

.carousel-caption-custom span {
    font-size: 12px
}

.mySwiper {
    background: #fff;
    padding: 30px 0;
}

    .mySwiper .swiper-slide {
        background: #fff;
        overflow: hidden;
        transition: transform 0.4s ease, opacity 0.4s ease;
        opacity: 0.4;
        transform: scale(0.7); /* أصغر للجانبية */
        text-align: center;
    }

    /* Active (center) slide */
    .mySwiper .swiper-slide-active {
        opacity: 1;
        transform: scale(0.9); /* أصغر شوية من العادي */
        z-index: 3;
    }

    /* صور */
    .mySwiper img {
        width: 100%;
        margin: 0 auto;
        display: block;
        height: 300px; /* تقدري تغيري الارتفاع حسب التصميم */
        object-fit: cover; /* يخلي الصورة تتقص وتتظبط جوا المساحة */
    }

    /* أزرار النافيجيشن للـ mySwiper فقط */
    .mySwiper .swiper-button-prev,
    .mySwiper .swiper-button-next {
        width: 60px;
        height: 60px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0,0,0,0.5); /* خلفية نصف شفافة */
        border-radius: 50%; /* شكل دائري */
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

        /* أيقونات الأسهم */
        .mySwiper .swiper-button-prev:after,
        .mySwiper .swiper-button-next:after {
            font-size: 20px;
            color: #fff;
        }
    .mySwiper .swiper-button-next,
    .mySwiper .swiper-button-prev {
        background-image: none !important;
    }

    /* RTL fix: منع التكرار */
    .mySwiper.swiper-rtl .swiper-button-next:after {
        content: 'prev'; /* سهم لليمين */
    }

    .mySwiper.swiper-rtl .swiper-button-prev:after {
        content: 'next'; /* سهم لليسار */
    }

    .mySwiper:not(.swiper-rtl) .swiper-button-prev:after {
        content: 'prev'; /* سهم لليسار */
    }

    .mySwiper:not(.swiper-rtl) .swiper-button-next:after {
        content: 'next'; /* سهم لليمين */
    }

    /* عند hover */
    .mySwiper .swiper-button-prev:hover,
    .mySwiper .swiper-button-next:hover {
        background-color: rgba(0,0,0,0.7);
    }


/* About Us Section */
.about-content {
  max-width: 500px;    /* نفس العرض لكل النص */
}

.about-content h4,
.about-content h3 {
  margin-bottom: 1rem;
}

.about-content p {
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
/* Image styling */
.about-us-section .about-img {
    height: 600px; /* fixed height */
    width: 100%; /* full column width */
    object-fit: cover; /* crop image nicely */
    object-position: center;
}

/* Make image shorter on mobile */
@media (max-width: 768px) {
    .about-us-section .about-img {
        height: 250px;
    }
}



/* Carousel scale effect */
.carousel-item-next .deal-slide,
.carousel-item-prev .deal-slide {
    transform: scale(0.8);
    opacity: 0.6;
    transition: all 0.4s;
}

.carousel-item.active .deal-slide {
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s;
}

.deal-slide {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: visible; /* بدل hidden عشان النص يخرج */
    position: relative;
}

.bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

/* Caption خارج حدود الصورة */
/* Caption خارج حدود الصورة مع عرض محدد */
.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 400px; /* العرض المطلوب للنص */
    pointer-events: none;
    white-space: normal; /* يسمح بالالتفاف داخل العرض المحدد */



    color: #fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

    /* العنوان مع gradient وshadow */
    .caption .stroke {
        font-weight: 800;
        font-size: clamp(2rem, 5vw, 3rem); /* حجم responsive */
        line-height: 1.2;
        margin-bottom: 10px;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
        display: block;
    }

    /* السعر */
    .caption span {
        font-size: clamp(1.5rem, 4vw, 2rem); /* حجم responsive */
        font-weight: 700;
        color: #ffd700;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
        display: block; 
    }


/* تكبير وتحسين شكل الأسهم */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5); /* خلفية نصف شفافة */

    border-radius: 50%; /* شكل دائري */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* أيقونات الأسهم */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 50%, 50%; /* تكبير حجم الأسهم */
    filter: invert(1); /* يجعلها بيضاء على خلفية داكنة */
}

/* عند hover */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0,0,0,0.7);
}

.static-search-icon {
    position: fixed; /* always visible on screen */
    top: 14rem; /* distance from bottom */
    left: 30px; /* distance from right */
    background-color: #007bff;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
}

body.RTL .static-search-icon {
    left: auto;
    right: 30px;
}


    .static-search-icon a {
        color: #fff;
        text-decoration: none;
    }

    .static-search-icon:hover {
        background-color: #0056b3;
    }



/* Sticky container */
.sticky-wrapper {
    position: fixed;
    top: 40%;
    right: 0px; /* stick to right edge */
    transform: translateY(-50%);
    z-index: 9999;
    /* Floating animation */
    animation: float-badge 3s ease-in-out infinite alternate;
}

@keyframes float-badge {
    from {
        transform: translateY(-50%) translateX(0);
    }

    to {
        transform: translateY(-35%) translateX(0); /* moves slightly down */
    }
}

body.RTL .sticky-wrapper {
    right: auto;
    left: 0;
}
body.RTL .accessibility-form {
    border-radius: 0 50px 50px 0; /* rounded left side only */
    padding-right: 0;
}

body.RTL .icon-circle {
   margin-left: 8px;
}

/* Badge styling */
.accessibility-form {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 50px 0 0 50px; /* rounded left side only */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 6px;
    font-family: Arial, sans-serif;
    text-decoration: none;
    transition: 0.3s;
}

    /* Hover effect */
    .accessibility-form:hover {
        transform: scale(1.05); /* small zoom effect */
        border-color : #000 !important;
    }


/* Icon */
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c19a89;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

    .icon-circle i {
        font-size: 20px;
        color: #fff;
    }

/* Text */
.text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: center;
}

    .text strong {
        font-size: 12px;
        font-weight: 700;
        color: #000;
    }

    .text span {
        font-size: 12px;
        color: #000;
    }

.nav-btn {
    border-radius: 50px; /* بيخليها كابسولة */
    font-weight: 600;
    transition: all 0.3s ease;
}

    .nav-btn i {
        font-size: 18px;
    }

    .nav-btn:hover {
        background-color: #333;
        color: #fff;
        transform: translateY(-2px);
    }

.circle-bg {
    position: relative;
}

    .circle-bg .circle-color {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 5;
    }

        .circle-bg .circle-color.fixed {
            position: fixed;
            pointer-events: none;
            opacity: .5;
        }

    .circle-bg .gradient-circle {
        position: absolute;
        left: -250px;
        top: 250px;
        right: auto;
        bottom: auto;
        z-index: -1;
        width: 500px;
        height: 500px;
        border-radius: 70%;
        background-image: -webkit-linear-gradient(45deg, #059dff, #36c6f0);
        background-image: -o-linear-gradient(45deg, #059dff, #36c6f0);
        background-image: linear-gradient(45deg, #059dff, #36c6f0);
        opacity: .25;
        -webkit-filter: blur(100px);
        filter: blur(100px);
    }

        .circle-bg .gradient-circle.two {
            left: auto;
            top: -250px;
            right: -250px;
            bottom: auto;
            background-image: -webkit-linear-gradient(45deg, #fb5343, #6549d5);
            background-image: -o-linear-gradient(45deg, #fb5343, #6549d5);
            background-image: linear-gradient(45deg, #fb5343, #6549d5);
        }