@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, .menu-item, .d-cap, .timer, .sc-info h3, .sc-name h4 {
    font-family: 'Roboto', 'IBM Plex Sans Arabic', sans-serif !important;
}

/* Main Direction */
html, body {
    direction: rtl;
    text-align: right;
}

/* Alignment Utilities */
.text-left {
    text-align: right !important;
}
.text-right {
    text-align: left !important;
}

/* Float Text (social icons and tickets floating banner on the side) */
.float-text {
    left: 0 !important;
    right: auto !important;
    border-right: 1px solid rgba(255, 255, 255, .1) !important;
    border-left: none !important;
}

/* Header Adjustments */
#mainmenu {
    float: right !important;
    padding-right: 0 !important;
}

#mainmenu li {
    float: right !important;
}

#mainmenu li a {
    text-align: right !important;
}

#mainmenu ul {
    left: auto !important;
    right: 0 !important;
    text-align: right !important;
}

/* Adjust margins/paddings for navigation */
.de-flex-col {
    display: flex;
    align-items: center;
}

header.transparent .de-flex-col {
    flex-direction: row;
}

/* Form controls and input alignments */
input, textarea, select {
    text-align: right !important;
}

/* Fix timeline and schedule alignment */
.schedule-item .sc-pic {
    float: right !important;
    margin-left: 20px !important;
    margin-right: 0 !important;
}

.schedule-item .sc-name {
    float: right !important;
    text-align: right !important;
    border-left: 1px solid rgba(255,255,255,.1) !important;
    border-right: none !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
}

.schedule-item .sc-info {
    padding-right: 210px !important;
    padding-left: 0 !important;
}

@media only screen and (max-width: 768px) {
    .schedule-item .sc-pic, .schedule-item .sc-name {
        float: none !important;
        margin: 0 auto 15px auto !important;
        border: none !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .schedule-item .sc-info {
        padding: 0 !important;
        text-align: center !important;
    }
}

/* Timer counts display standard LTR digits layout */
.timer, .de_count h3 {
    direction: ltr !important;
    display: inline-block;
}

/* Owl Carousel & Slider RTL fixes */
.owl-carousel {
    direction: ltr !important;
}

.owl-carousel .owl-item {
    direction: rtl !important;
}

/* Map alignment */
.map-container iframe {
    width: 100% !important;
}

/* Back to top button position */
#back-to-top {
    left: 40px !important;
    right: auto !important;
}

/* Dotted background alignments */
.images-deco-1 .d-img-2 {
    right: auto !important;
    left: -40px !important;
}
.images-deco-1 .d-img-3 {
    right: auto !important;
    left: -20px !important;
}

/* Fix for disconnected Arabic letters caused by letter-spacing and webkit-text-stroke */
h1, h2, h3, h4, h5, h6,
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.text-line {
    letter-spacing: 0 !important;
}

.text-line,
h1.ultra-big .text-line,
h1.ultra-big-2 .text-line,
h1.ultra-big span.text-line {
    color: rgba(255, 255, 255, 0.7) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
    -webkit-text-stroke: 0px transparent !important;
}

/* Premium Service Cards Grid Styling */
.service-card-premium {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none !important;
    overflow: hidden;
    z-index: 1;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.15) 0%, rgba(var(--secondary-color-rgb), 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card-premium:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(var(--secondary-color-rgb), 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--primary-color-rgb), 0.15);
}

.service-card-premium:hover::before {
    opacity: 1;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.service-icon-box-premium {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.service-icon-box-premium i {
    font-size: 26px;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.service-card-premium:hover .service-icon-box-premium {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: transparent;
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
}

.service-card-premium:hover .service-icon-box-premium i {
    color: #ffffff;
}

.service-number-badge {
    font-size: 32px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.service-card-premium:hover .service-number-badge {
    color: rgba(var(--secondary-color-rgb), 0.25);
    transform: scale(1.1);
}

.service-title-premium {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.service-card-premium:hover .service-title-premium {
    color: var(--secondary-color);
}

.service-desc-premium {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-card-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.service-link-premium {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link-premium i {
    transition: transform 0.3s ease;
}

.service-card-premium:hover .service-link-premium {
    color: #ffffff;
}

.service-card-premium:hover .service-link-premium i {
    transform: translateX(-5px);
}

.service-card-glow-premium {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(var(--secondary-color-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transition: all 0.5s ease;
}

.service-card-premium:hover .service-card-glow-premium {
    transform: scale(2);
    opacity: 1;
}

/* Wallet Ticket Pass Style */
.ticket-container {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .ticket-container {
    transform: scale(1);
}

.ticket-header-pass {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(var(--primary-color-rgb), 0.6) 100%);
    padding: 30px 25px 25px 25px;
    text-align: center;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.12);
    position: relative;
}

/* Circular Cutouts on the sides */
.ticket-header-pass::after,
.ticket-header-pass::before {
    content: '';
    position: absolute;
    bottom: -12px;
    width: 24px;
    height: 24px;
    background: #0b0b0b; /* matches overlay blur color */
    border-radius: 50%;
    z-index: 10;
}
.ticket-header-pass::before {
    left: -13px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.ticket-header-pass::after {
    right: -13px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-body-pass {
    padding: 30px 25px;
    background: #151515;
}

.ticket-footer-pass {
    background: #111111;
    padding: 20px 25px;
    text-align: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Custom CSS Barcode */
.barcode-mock {
    width: 220px;
    height: 50px;
    margin: 15px auto 5px auto;
    background: repeating-linear-gradient(
        90deg,
        #ffffff,
        #ffffff 2px,
        transparent 2px,
        transparent 6px,
        #ffffff 6px,
        #ffffff 8px,
        transparent 8px,
        transparent 12px
    );
    opacity: 0.75;
}

/* Premium Form Styling additions */
.booking-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(10px);
}

.btn-main.w-100 {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border: none !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.2);
    transition: all 0.3s ease !important;
}

.btn-main.w-100:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--secondary-color-rgb), 0.4);
    opacity: 0.95;
}

/* Glowing Checklist styling */
.bullet-list-custom li {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 15px 40px 15px 15px !important;
    transition: all 0.3s ease;
}

.bullet-list-custom li:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(var(--secondary-color-rgb), 0.15);
    transform: translateX(-5px);
}

.bullet-list-custom li i {
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Custom Benefits Section Styling */
.benefit-card-custom {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 30px 20px !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.benefit-card-custom:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(var(--secondary-color-rgb), 0.2) !important;
}

.benefit-icon-box {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto !important;
    background: rgba(var(--primary-color-rgb), 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2) !important;
    transition: all 0.3s ease !important;
}

.benefit-card-custom:hover .benefit-icon-box {
    background: var(--secondary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(var(--secondary-color-rgb), 0.3) !important;
}

.benefit-icon-box i {
    font-size: 24px !important;
    color: var(--secondary-color) !important;
    transition: all 0.3s ease !important;
}

.benefit-card-custom:hover .benefit-icon-box i {
    color: #ffffff !important;
}

/* Pricing Table RTL overrides for Arabic Services */
.de-pricing-s1 {
    background: #0f1115 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    height: 100%;
}

.de-pricing-s1:hover {
    transform: translateY(-10px) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(var(--primary-color-rgb), 0.2) !important;
}

.de-pricing-s1 .d-deco-top {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.75) 0%, transparent 60%) !important;
    width: 200px !important;
    height: 200px !important;
}

.de-pricing-s1 .d-deco-bottom {
    background: linear-gradient(-45deg, rgba(56, 189, 248, 0.6) 0%, transparent 60%) !important;
    width: 200px !important;
    height: 200px !important;
}

.de-pricing-s1 .d-content {
    padding: 35px 30px !important;
    text-align: right !important;
}

.de-pricing-s1 h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: right !important;
    margin-bottom: 20px !important;
}

.de-pricing-s1 h3 span {
    font-size: 14px !important;
    color: #38bdf8 !important;
    margin-top: 5px !important;
}

.de-pricing-s1 .d-price {
    font-size: 55px !important;
    color: #eab308 !important;
    text-align: right !important;
    letter-spacing: -1px !important;
    margin-bottom: 25px !important;
    padding-right: 0 !important;
    font-weight: 800 !important;
}

.de-pricing-s1 .d-price:before,
.de-pricing-s1 .d-price span {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #eab308 !important;
    vertical-align: middle !important;
    margin-left: 8px !important;
}

.de-pricing-s1 .d-list {
    text-align: right !important;
    padding-right: 0 !important;
    margin-bottom: 30px !important;
}

.de-pricing-s1 .d-list li {
    position: relative !important;
    padding-right: 25px !important;
    padding-left: 0 !important;
    text-align: right !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

.de-pricing-s1 .d-list li:before {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    color: #38bdf8 !important;
    font-family: "FontAwesome" !important;
    content: "\f00c" !important;
    margin-right: 0 !important;
}

.de-pricing-s1 .d-list li.no {
    text-decoration: line-through !important;
    opacity: 0.4 !important;
}

.de-pricing-s1 .d-list li.no:before {
    content: "\f00d" !important;
    color: rgba(255, 255, 255, 0.25) !important;
}

.de-pricing-s1 .btn-main {
    background: #eab308 !important;
    border: 2px solid #eab308 !important;
    border-radius: 30px !important;
    padding: 10px 28px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0c101d !important;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.de-pricing-s1 .btn-main:hover {
    background: #facc15 !important;
    border-color: #facc15 !important;
    color: #0c101d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.5) !important;
    opacity: 1 !important;
}

/* Hero Section Overlay and Blue Gradient Theme Override */
#section-hero {
    position: relative !important;
    overflow: hidden !important;
}

/* Background gradient to mask the green shape in background/1.jpg and make it blue */
#section-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.8) 0%, rgba(30, 58, 138, 0.6) 50%, rgba(0, 191, 255, 0.6) 100%) !important;
    z-index: 2 !important;
    mix-blend-mode: color !important;
    pointer-events: none !important;
}

/* Make sure the container content stays above overlay */
#section-hero .container, 
#section-hero .de-gradient-edge-bottom {
    position: relative !important;
    z-index: 5 !important;
}

/* Override text-gradient to be blue-to-cyan instead of blue-to-gold */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color) 0%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* Make the title text white */
#section-hero h1 {
    color: #ffffff !important;
}

#section-hero h1 span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
}

/* Global Button Style Override - Pure Shades of Blue & Cyan */
a.btn-main, 
.btn-main,
.btn-main.w-100 {
    background: linear-gradient(90deg, var(--primary-color) 0%, #38bdf8 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

a.btn-main:hover, 
.btn-main:hover,
.btn-main.w-100:hover {
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Mobile adjustments for back-to-top button */
@media (max-width: 991.98px) {
    #back-to-top {
        bottom: 75px !important;
        left: 15px !important;
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        z-index: 99990 !important;
    }
}
