body {
    font-family: 'Tajawal', sans-serif;
}


/* Hero Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1.5s ease-out forwards;
}

.animate-slideUp {
    animation: slideUp 1.5s ease-out 0.3s forwards;
    opacity: 0;
}

/* Journey Steps Animation */
@keyframes stepAppear {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-step1 {
    opacity: 0;
    animation: stepAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.8s forwards;
}

.animate-step2 {
    opacity: 0;
    animation: stepAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.4s forwards;
}

.animate-step3 {
    opacity: 0;
    animation: stepAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 2s forwards;
}

.animate-step4 {
    opacity: 0;
    animation: stepAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 2.6s forwards;
}

/* Line Animation */
.icon-path {
    position: relative;
}

.icon-path::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 15%;
    width: 0;
    height: 3px;
    background: linear-gradient(to left, #D4AF37, transparent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    animation: drawPath 2s ease-out 1.2s forwards;
    z-index: 0;
}

@keyframes drawPath {
    to {
        width: 70%;
    }
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating {
    animation: float 3s ease-in-out 3.5s infinite;
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 #f6dc53;
    }

    50% {
        box-shadow: 0 0 0 20px rgba(227, 6, 19, 0);
    }
}

.pulse-icon {
    animation: pulse 2s ease-in-out 3.5s infinite;
}

.journey-step {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .icon-path::before {
        display: none;
    }

    .journey-step::after {
        content: '';
        position: absolute;
        bottom: -25px;
        right: 50%;
        transform: translateX(50%);
        width: 3px;
        height: 0;
        background: linear-gradient(to bottom, #D4AF37, transparent);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    }

    .animate-step1::after {
        animation: drawVertical 0.4s ease-out 1.3s forwards;
    }

    .animate-step2::after {
        animation: drawVertical 0.4s ease-out 1.9s forwards;
    }

    .animate-step3::after {
        animation: drawVertical 0.4s ease-out 2.5s forwards;
    }

    @keyframes drawVertical {
        to {
            height: 25px;
        }
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: #D4AF37 !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 30px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate-slideUp {
    animation: slideUp 1s ease-out 0.3s both;
}

.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s;
}

#whatsapp-button:hover {
    transform: scale(1.1);
}

#phone-button {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s;
}

#whatsapp-button:hover {
    transform: scale(1.1);
}

#phone-button:hover {
    transform: scale(1.1);
}

.servicesSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
}

.servicesSwiper .swiper-pagination-bullet-active {
    background: #4178af;
    width: 20px;
    border-radius: 10px;
}


.show {
    display: block !important;
}

.btnClassData {
    background-color: #4178af !important;
    color: white !important;
}


/* Container for backend editor content */
.editor-content {
    /* gray-700 equivalent */
    line-height: 1.6;
}

/* Headings */
.editor-content h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #4178af;
}

.editor-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #4178af
}

.editor-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #4178af
}

/* Paragraphs */
.editor-content p {
    margin-bottom: 1em;
}

/* Links */
.editor-content a {
    color: #2563eb;
    /* blue */
    text-decoration: underline;
}

.editor-content a:hover {
    color: #1d4ed8;
}

/* Lists */
.editor-content ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.editor-content ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.editor-content li {
    margin-bottom: 0.5em;
}

/* Bold & Italic (if editor uses <strong> or <em>) */
.editor-content strong {
    font-weight: bold;
}

.editor-content em {
    font-style: italic;
}

/* Smooth fade-in and slide-up animation */
@keyframes smoothFadeSlide {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Individual card animation with stagger effect */
.animate-card,
.animate-card-h {
    opacity: 0;
}

.animate-card.in-view,
.animate-card-h.in-view {
    animation: smoothFadeSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger delays for cards */
.swiper-slide:nth-child(1) .animate-card.in-view,
.animate-card-h:nth-child(1).in-view {
    animation-delay: 0.1s;
}

.swiper-slide:nth-child(2) .animate-card.in-view,
.animate-card-h:nth-child(2).in-view {
    animation-delay: 0.2s;
}

.swiper-slide:nth-child(3) .animate-card.in-view,
.animate-card-h:nth-child(3).in-view {
    animation-delay: 0.3s;
}

.swiper-slide:nth-child(4) .animate-card.in-view,
.animate-card-h:nth-child(4).in-view {
    animation-delay: 0.4s;
}

.swiper-slide:nth-child(5) .animate-card.in-view,
.animate-card-h:nth-child(5).in-view {
    animation-delay: 0.5s;
}

.hero-custom-slider {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #000 !important;
}

.hero-slider-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}

.hero-slider-main .slide .item {
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    transition: .5s;
    z-index: 1;
}

.hero-slider-main .slide .item:nth-child(2) .content{
    display: block !important;
}

.hero-slider-main .slide .item:nth-child(1),


.hero-slider-main .slide .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 993px) {
    .hero-slider-main .slide .item:nth-child(2) .content {
        display: block;
    }
}

.hero-slider-main .slide .item:nth-child(3) {
    left: 50%;
}

.hero-slider-main .slide .item:nth-child(4) {
    left: calc(50% + 220px);
}

.hero-slider-main .slide .item:nth-child(5) {
    left: calc(50% + 440px);
}

.hero-slider-main .slide .item:nth-child(n + 6) {
    left: calc(50% + 660px);
    opacity: 0;
}

.hero-slider-main .slide .item:nth-child(1) .content {
    display: block;
}

.item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 500px;
    text-align: right;
    color: #eee;
    transform: translate(0, -50%);
    font-family: 'Noto Kufi Arabic', system-ui;
    display: none;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content .name {
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate-slider-content 1s ease-in-out 1 forwards;
    color: #ffca18;
    margin-bottom: 15px;
}

.content .description {
    margin-top: 10px;
    margin-bottom: 30px;
    opacity: 0;
    animation: animate-slider-content 1s ease-in-out .3s 1 forwards;
    font-size: 1.2rem;
    line-height: 1.6;
}

.content .hero-btn {
    padding: 12px 35px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate-slider-content 1s ease-in-out .6s 1 forwards;
    background: var(--primary-color, #004b87);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid transparent;
}

.content .hero-btn:hover {
    background: #ffca18;
    color: #000;
    transform: scale(1.05);
}

@keyframes animate-slider-content {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.hero-slider-nav {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 50px;
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-slider-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ffca18;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    color: #ffca18;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-slider-nav button:hover {
    background: #ffca18;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 202, 24, 0.4);
}

@media (max-width: 992px) {
    .item .content {
        right: 50px;
        width: calc(100% - 100px);
    }

}

@media (max-width: 768px) {
    .item .content {
        right: 20px;
        width: calc(100% - 40px);
        padding: 25px;
    }

    .hero-slider-main .slide .item:nth-child(3),
    .hero-slider-main .slide .item:nth-child(4),
    .hero-slider-main .slide .item:nth-child(5) {
        display: none;
    }

    .content .name {
        font-size: 30px;
    }

    .content .description {
        font-size: 1rem;
    }
}

 /* Hero Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fadeIn {
            animation: fadeIn 1.5s ease-out forwards;
        }

        .animate-slideUp {
            animation: slideUp 1.5s ease-out 0.3s forwards;
            opacity: 0;
        }

        /* Journey Steps Animation */
        @keyframes stepAppear {
            from {
                opacity: 0;
                transform: translateY(40px) scale(0.8);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .animate-step1 {
            opacity: 0;
            animation: stepAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.8s forwards;
        }

        .animate-step2 {
            opacity: 0;
            animation: stepAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.4s forwards;
        }

        .animate-step3 {
            opacity: 0;
            animation: stepAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 2s forwards;
        }

        .animate-step4 {
            opacity: 0;
            animation: stepAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 2.6s forwards;
        }

        /* Line Animation */
        .icon-path {
            position: relative;
        }

        .icon-path::before {
            content: '';
            position: absolute;
            top: 40px;
            right: 15%;
            width: 0;
            height: 3px;
            background: linear-gradient(to left, #D4AF37, transparent);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
            animation: drawPath 2s ease-out 1.2s forwards;
            z-index: 0;
        }

        @keyframes drawPath {
            to {
                width: 70%;
            }
        }

        /* Floating Animation */
        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-15px);
            }
        }

        .floating {
            animation: float 3s ease-in-out 3.5s infinite;
        }

        /* Pulse Animation */
        @keyframes pulse {

            0%,
            100% {
                box-shadow: 0 0 0 0 #f6dc53;
            }

            50% {
                box-shadow: 0 0 0 20px rgba(227, 6, 19, 0);
            }
        }

        .pulse-icon {
            animation: pulse 2s ease-in-out 3.5s infinite;
        }

        .journey-step {
            position: relative;
            z-index: 1;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .icon-path::before {
                display: none;
            }

            .journey-step::after {
                content: '';
                position: absolute;
                bottom: -25px;
                right: 50%;
                transform: translateX(50%);
                width: 3px;
                height: 0;
                background: linear-gradient(to bottom, #D4AF37, transparent);
                box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
            }

            .animate-step1::after {
                animation: drawVertical 0.4s ease-out 1.3s forwards;
            }

            .animate-step2::after {
                animation: drawVertical 0.4s ease-out 1.9s forwards;
            }

            .animate-step3::after {
                animation: drawVertical 0.4s ease-out 2.5s forwards;
            }

            @keyframes drawVertical {
                to {
                    height: 25px;
                }
            }
        }

        .swiper-button-next,
        .swiper-button-prev {
            color: #D4AF37 !important;
        }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 30px !important;
        }

        .hero-swiper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }



        #whatsapp-button:hover {
            transform: scale(1.1);
        }

        /* تخصيصات إضافية لصفحة سياسة الخصوصية */
        .privacy-card {
            background: white;
            border-radius: 1rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid rgba(212, 175, 55, 0.1);
        }

        .privacy-card:hover {
            box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
            border-color: rgba(212, 175, 55, 0.3);
        }

        .section-title {
            position: relative;
            display: inline-block;
            margin-bottom: 1.5rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(to left, #D4AF37, #4178af);
            border-radius: 2px;
        }
