@media only screen and (min-width: 1400px) and (max-width: 1599px) {
    .tp-slider-content-5 {
        margin-left:unset !important;
    }
}
.tp-slider-area {
    background-color: white;
    padding: 0px !important;
    overflow: hidden;
}

.tp-slider-item-5 {
    background-color: white;
    overflow: hidden;
    opacity: 0; /* مخفي في البداية للأنيميشن */
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.swiper-slide-active .tp-slider-item-5 {
    opacity: 1;
    transform: translateY(0);
}

.tp-slider-content-5 {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.swiper-slide-active .tp-slider-content-5 {
    opacity: 1;
    transform: translateX(0);
}

.tp-slider-title-5 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.swiper-slide-active .tp-slider-title-5 {
    opacity: 1;
    transform: translateY(0);
}

.tp-slider-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.6s;
}

.swiper-slide-active .tp-slider-description {
    opacity: 1;
    transform: translateY(0);
}

.tp-slider-btn-5 {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.8s;
}

.swiper-slide-active .tp-slider-btn-5 {
    opacity: 1;
    transform: translateY(0);
}

.tp-btn-green {
    display: inline-block;
    padding: 12px 30px;
    background-color: #28a745;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: scale(0.95);
    transition: all 0.5s ease 1s;
}

.swiper-slide-active .tp-btn-green {
    transform: scale(1);
}

.tp-btn-green:hover {
    background-color: #218838;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.tp-slider-thumb-wrapper-5 {
    position: relative;
    height: 100%;
    align-items: center;
}

.tp-slider-thumb-5 {
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    opacity: 0;
    transform: translateX(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.swiper-slide-active .tp-slider-thumb-5 {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.tp-slider-thumb-5 img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0 15px 15px 0;
    transition: all 0.8s ease 0.4s;
    transform: perspective(1000px) rotateY(-15deg);
}

.swiper-slide-active .tp-slider-thumb-5 img {
    transform: perspective(1000px) rotateY(0deg);
}

.tp-slider-thumb-5-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    opacity: 0;
    transition: opacity 0.6s ease 0.8s;
}

.swiper-slide-active .tp-slider-thumb-5-gradient {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .tp-slider-content-5 {
        padding: 20px;
    }
    
    .tp-slider-title-5 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .tp-slider-item-5 {
        flex-direction: column;
    }
    
    .tp-slider-thumb-5 img {
        border-radius: 0 0 15px 15px;
        transform: perspective(1000px) rotateX(-15deg);
    }
    
    .swiper-slide-active .tp-slider-thumb-5 img {
        transform: perspective(1000px) rotateX(0deg);
    }
    
    .tp-slider-thumb-5-gradient {
        background: linear-gradient(0deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
    }
}










/* تأثير على الصورة الأولى */
.tp-about-thumb-wrapper > .tp-about-thumb.m-img {
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
    filter: drop-shadow(8px 8px 12px rgba(0, 0, 0, 0.15));
}

/* تأثير على الصورة الثانية */
.tp-about-thumb-wrapper > .tp-about-thumb-2 {
    transform: rotate(4deg) translateX(20px);
    transition: transform 0.4s ease 0.1s;
    filter: drop-shadow(-8px 8px 12px rgba(0, 0, 0, 0.15));
}

/* تأثيرات عند التحويم */
.tp-about-thumb-wrapper:hover > .tp-about-thumb.m-img {
    transform: rotate(-1deg) scale(1.03);
}

.tp-about-thumb-wrapper:hover > .tp-about-thumb-2 {
    transform: rotate(2deg) scale(1.03) translateX(20px);
}

/* إطار تلقائي للصورة الأولى */
.tp-about-thumb-wrapper > .tp-about-thumb.m-img::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
}

/* توهج للصورة الثانية */
.tp-about-thumb-wrapper > .tp-about-thumb-2::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: 1;
    pointer-events: none;
}

.tp-about-thumb img {
    border-radius: 35% 20% 50% 20% / 30% 50% 30% 50%;
}

.tp-about-thumb-2 img {
    border-radius: 20% 50% 20% 50% / 50% 30% 50% 30%;
    transition: border-radius 1.5s ease;
}

.tp-about-thumb-2:hover img {
    border-radius: 50% 30% 50% 30% / 30% 50% 30% 50%;
}


/* حركة طفيفة للصور */
@keyframes subtleFloat {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-8px); }
}

@keyframes subtleFloat2 {
    0%, 100% { transform: rotate(4deg) translateY(0) translateX(20px); }
    50% { transform: rotate(4deg) translateY(-8px) translateX(20px); }
}

.tp-about-thumb-wrapper > .tp-about-thumb.m-img {
    animation: subtleFloat 6s ease-in-out infinite;
}

.tp-about-thumb-wrapper > .tp-about-thumb-2 {
    animation: subtleFloat2 5s ease-in-out infinite 1s;
}








.elegant-mission {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.mission-number {
    font-size: 6rem;
    font-weight: 700;
    color: #f8f8f8;
    line-height: 0.8;
    margin-right: 0;
    margin-bottom: 2rem;
    z-index: 1;
    position: relative;
    text-align: center;
}

.mission-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.mission-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.mission-content h1 span {
    color: transparent;
    background: linear-gradient(90deg, var(--tp-theme-primary), rgb(112, 197, 133));
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
}

.mission-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-style: italic;
    text-align: center;
}

.accent-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--tp-theme-primary), rgb(112, 197, 133));
    margin: 1.5rem auto;
}

.mission-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 100%;
    position: relative;
    padding-left: 1.5rem;
    text-align: center;
}

.mission-content p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--tp-theme-primary), rgb(112, 197, 133));
}

.mission-number::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248,248,248,0.8) 0%, rgba(248,248,248,0) 70%);
    z-index: -1;
}

.mission-content h1 span::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--tp-theme-primary), rgb(112, 197, 133));
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .elegant-mission {
        padding: 6rem 8%;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .mission-number {
        font-size: 8rem;
        margin-right: 3rem;
        margin-bottom: 0;
        text-align: left;
    }
    
    .mission-content {
        text-align: left;
    }
    
    .mission-content h1,
    .mission-content h2,
    .accent-line,
    .mission-content p {
        text-align: left;
    }
    
    .accent-line {
        margin: 1.5rem 0;
    }
    
    .mission-content p {
        max-width: 90%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .elegant-mission {
        padding: 8rem 10%;
    }
    
    .mission-number {
        font-size: 12rem;
        margin-right: 5rem;
    }
    
    .mission-content h1 {
        font-size: 3.5rem;
    }
    
    .mission-content h2 {
        font-size: 2rem;
    }
    
    .mission-content p {
        font-size: 1.2rem;
        max-width: 600px;
    }
    
    .accent-line {
        width: 100px;
        height: 3px;
    }
    
    .mission-number::after {
        width: 18rem;
        height: 18rem;
    }
    
    .mission-content h1 span::after {
        height: 2px;
        bottom: -5px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .mission-content p {
        max-width: 700px;
    }
}

.payment-method-item .payment-method-logo{
  width: 13rem !important;
}