/* Custom CSS for banner */
body , html, * {
    direction: rtl;
}

.banner-one-swiper--wrapper-area {
    position: relative; /* Needed for absolute positioning of shapes */
    overflow: hidden; /* Hide shapes that might extend outside */
}

.banner-shape-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensure shapes are behind content */
}

.banner-shape-area .shape {
    position: absolute;
    /* You might need to adjust these based on the original design */
}

.banner-shape-area .shape-1 { /* Example positioning */
    top: 10%;
    left: 5%;
}

.banner-shape-area .shape-2 { /* Example positioning */
    bottom: 10%;
    right: 5%;
}

.banner-shape-area .shape-4 { /* Example positioning */
    top: 20%;
    right: 15%;
}

.swiper-slide .banner-one-start {
    width: 100%;
    min-height: 600px; /* Adjust as needed, or use 100vh for full viewport height */
    display: flex;
    align-items: center; /* Vertically center content */
    position: relative; /* For z-index stacking if needed */
    z-index: 1; /* Ensure slide content is above shapes */
}

.banner-main-wrapper-one .title,
.banner-main-wrapper-one .disc {
    color: #ffffff !important;
    direction: rtl;
    text-align: right;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.banner-main-wrapper-one .title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-main-wrapper-one .disc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.banner-main-wrapper-one .pre-title {
    text-align: right;
    direction: rtl;
}

.banner-main-wrapper-one .button-area {
    direction: rtl;
    text-align: right;
}

/* RTL specific styles */
.rtl {
    direction: rtl;
    text-align: right;
}

/* Header RTL fixes */
.rtl .header-right-area {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rtl .header-right-area > div {
    margin-left: 30px;
}

.rtl .header-right-area > div:last-child {
    margin-left: 0;
}

/* Navigation menu RTL fixes */
.rtl .header-nav nav ul {
    display: flex;
    justify-content: flex-end;
}

.rtl .single-info-contact i {
    margin-right: 0;
    margin-left: 10px;
}

.rtl .with-arrow i {
    margin-right: 0;
    margin-left: 8px;
    transform: rotate(180deg);
}

/* Footer RTL fixes */
.rtl .footer-one-single-wized .wized-title {
    text-align: right;
}

.rtl .footer-one-single-wized .links li a i {
    transform: rotate(180deg);
    margin-right: 0;
    margin-left: 10px;
}

.rtl .newsletter-area-one form button {
    right: auto;
    left: 0;
}

.rtl .newsletter-area-one form input {
    padding-right: 15px;
    padding-left: 140px;
}

/* Services section RTL fixes */
.rtl .service-one-inner {
    text-align: right;
}

.rtl .service-wrapper-one-about .title-service {
    text-align: right;
}

.rtl .rts-contact-form .title {
    text-align: right;
}

/* Testimonials RTL fixes */
.rtl .testimonials-wrapper .testimonials-header .test-header {
    flex-direction: row-reverse;
}

.rtl .testimonials-wrapper .testimonials-header .test-header img {
    margin-right: 0;
    margin-left: 15px;
}

/* Media queries for responsive RTL layout */
@media (max-width: 991px) {
    .rtl .header-nav nav ul {
        text-align: right;
    }
    
    .rtl .mean-container .mean-nav ul li a {
        text-align: right;
        float: right;
    }
    
    .rtl .header-right-area {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .rtl .header-right-area > div {
        margin-left: 0;
        margin-bottom: 15px;
    }
}

/* Specific RTL fixes for services.blade.php */
[dir="rtl"] .rts-service-area-one .title-area-left,
[dir="rtl"] .rts-service-area-one .title-area-left p.pre,
[dir="rtl"] .rts-service-area-one .title-area-left h2.title {
    text-align: right;
}

/* Fix service tabs */
[dir="rtl"] .nav-pills {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-pills .nav-link {
    text-align: right;
}

[dir="rtl"] .tab-content p,
[dir="rtl"] .tab-content h2,
[dir="rtl"] .tab-content h3,
[dir="rtl"] .tab-content h4,
[dir="rtl"] .tab-content li {
    text-align: right;
}

/* Fix services cards and icons */
[dir="rtl"] .service-one-inner .icon,
[dir="rtl"] .service-one-inner .content {
    text-align: right;
}

/* Fix icon boxes and info sections */
[dir="rtl"] .single-info-contact {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-one-inner .icon {
    margin-right: 0;
    margin-left: 20px;
}

/* Fix buttons with icon alignment */
[dir="rtl"] .rts-btn.btn-primary i {
    margin-left: 0;
    margin-right: 8px;
}

/* Fix images and thumbnails in RTL */
[dir="rtl"] .service-image-right {
    float: left;
}

[dir="rtl"] .service-image-left {
    float: right;
} 

.btn-main-wrapper-service-one .info-main{
    margin-right: 23px;
}

header.header-one .header--one-main .header-right-area {
    justify-content: flex-start !important;
}
.title-area-left
{
    text-align: right !important;
}
.appoinment-deal-area {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-right: 0;
}

.appoinment-form-m {
    background: #fff;
    padding: 45px;
    border-radius: 7px;
    margin-left: 0;
}

.blog-single-one .body a .title {
    text-align: right !important;
}

.bg-cta-footer-one .single-cta-area .contact-info {
    margin-right: 15px;
    margin-left: 0;
    text-align: right;
}

.bg-cta-footer-one .single-cta-area .contact-info .content {
    text-align: right;
}
.single-footer-one-wrapper .single-footer-component .title-area::after {
    position: absolute;
    background-image: url(../images/footer/02.png);
    background-size: cover;
    content: "";
    right: 0;
    left: auto;
    bottom: -15px;
    height: 2px;
    width: 61px;
    background-repeat: no-repeat;
}
.title-area-center
{
    text-align: center !important;
}
.text-start
{
    text-align: right !important;
}
.blog-single-one .head .single-info p {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #6E777D;
    margin-right: 8px;
    margin-left: 0;
    margin-bottom: -2px;
}
.blog-single-one .head .single-info.date-area {
    margin-left: 30px;
    margin-right: 0;
}

.btn-main-wrapper-service-one .icon {
    width: 130px;
    height: 70px;
}
.pages-footer ul li a i {
    margin-left: 15px;
    margin-right: 0;
}

.cta-main-wrapper-one .icon {
    margin-left: 20px;
    margin-top: 0;

}


.slider-banner {
    @media (max-width: 1000px) {
        max-height: 500px;
    }
    /* Enhanced Responsive Styles */
    .banner-one-swiper--wrapper-area {
        position: relative;
        overflow: hidden;
    }

.swiper.mySwiper-banner {
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.banner-shape-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.banner-shape-area .shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    border-radius: 50%;
}

.shape-1 {
    top: 15%;
    right: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.shape-2 {
    top: 65%;
    right: 15%;
    width: 50px;
    height: 50px;
    animation-delay: 2s;
}

.shape-4 {
    top: 40%;
    left: 8%;
    width: 70px;
    height: 70px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(180deg); 
    }
}

.banner-one-start {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-one-start::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.row {
    min-height: 70vh;
}

.banner-main-wrapper-one {
    background: rgba(189, 123, 23, 0.95);
    padding: 50px 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: translateX(-30px);
    opacity: 0;
    animation: slideInFromLeft 1s ease-out 0.3s forwards;
}

.banner-image-wrapper {
    position: relative;
    text-align: center;
    transform: translateX(30px);
    opacity: 0;
    animation: slideInFromRight 1s ease-out 0.6s forwards;
}

.image-container {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.service-featured-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.image-container:hover .service-featured-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.3), rgba(40, 167, 69, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.pre-title {
    margin-bottom: 25px;
}

.pre-title span {
    display: inline-block;
    padding: 10px 25px;
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.disc {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
}

.rts-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(45deg, #007bff, #28a745);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rts-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.rts-btn:hover::before {
    left: 100%;
}

.rts-btn:hover {
    transform: translateY(-3px);
}

.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.swiper-pagination-bullet-active {
    background: #007bff;
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
}

/* Animation Keyframes */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1199px) {
    .title {
        font-size: 36px;
    }
    
    .service-featured-image {
        height: 350px;
    }
    
    .banner-main-wrapper-one {
        padding: 40px 30px;
    }
}

@media (max-width: 991px) {
    .swiper.mySwiper-banner {
        height: auto;
        min-height: 100vh;
    }
    
    .row {
        min-height: auto;
    }
    
    .banner-main-wrapper-one {
        margin-bottom: 30px;
        transform: none;
        animation: fadeInUp 1s ease-out forwards;
    }
    
    .banner-image-wrapper {
        transform: none;
        animation: fadeInUp 1s ease-out 0.3s forwards;
    }
    
    .service-featured-image {
        max-width: 100%;
        height: 300px;
    }
}

@media (max-width: 767px) {
    .swiper.mySwiper-banner {
        min-height: 100vh;
    }
    
    .banner-main-wrapper-one {
        padding: 30px 25px;
        margin-bottom: 25px;
    }
    
    .title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .disc {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .rts-btn {
        padding: 14px 35px;
        font-size: 15px;
    }
    
    .service-featured-image {
        height: 250px;
    }
    
    .swiper-button-prev, 
    .swiper-button-next {
        display: none !important;
    }
    
    .swiper-pagination {
        display: block !important;
        bottom: 20px !important;
    }
    
    .pre-title span {
        font-size: 12px;
        padding: 8px 20px;
    }
}

@media (max-width: 575px) {
    .banner-main-wrapper-one {
        padding: 25px 20px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .disc {
        font-size: 15px;
    }
    
    .service-featured-image {
        height: 200px;
    }
    
    .rts-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* RTL Support */
[dir="rtl"] .banner-main-wrapper-one {
    transform: translateX(30px);
}

[dir="rtl"] .banner-image-wrapper {
    transform: translateX(-30px);
}

[dir="rtl"] .swiper-button-prev i {
    transform: rotate(180deg);
}

[dir="rtl"] .swiper-button-next i {
    transform: rotate(180deg);
}

/* Enhanced hover effects for better interaction */
.banner-main-wrapper-one:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.2);
}

/* Loading animation for images */
.service-featured-image {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
}


