/* OraxTrip — Design System v2 (fast, clean, RTL-native) */
:root {
    --orax-navy: #0a1628;
    --orax-navy-mid: #0d2847;
    --orax-cyan: #00bcd4;
    --orax-cyan-light: #4dd0e1;
    --orax-red: #e53935;
    --orax-text: #1a2332;
    --orax-text-muted: #5c6b7a;
    --orax-bg: #f4f7fb;
    --orax-surface: #ffffff;
    --orax-border: #e2e8f0;
    --orax-gradient: linear-gradient(135deg, #0a1628 0%, #0d3d5c 45%, #1565c0 100%);
    --orax-glow: 0 24px 80px rgba(0, 188, 212, 0.18);
    --orax-radius: 16px;
    --orax-radius-sm: 10px;
    --orax-font: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --orax-shadow-sm: 0 4px 16px rgba(10, 22, 40, 0.06);
    --orax-shadow-md: 0 12px 40px rgba(10, 22, 40, 0.1);
    --orax-shadow-lg: 0 24px 64px rgba(10, 22, 40, 0.14);
    --orax-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --orax-speed: 0.28s;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .orax-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

body.orax-body {
    font-family: var(--orax-font);
    color: var(--orax-text);
    background: var(--orax-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
}

.orax-main {
    min-height: 60vh;
}

.orax-link {
    color: #1565c0;
    text-decoration: none;
    font-weight: 600;
}

.orax-link:hover {
    color: var(--orax-cyan);
}

/* Scroll reveal */
.orax-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--orax-ease), transform 0.65s var(--orax-ease);
}

.orax-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.orax-reveal--delay-1 { transition-delay: 0.08s; }
.orax-reveal--delay-2 { transition-delay: 0.16s; }
.orax-reveal--delay-3 { transition-delay: 0.24s; }

/* Navigation */
.orax-nav {
    background: rgba(10, 22, 40, 0.88) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.65rem 0;
    border-bottom: 1px solid transparent;
    transition: background var(--orax-speed) var(--orax-ease),
        border-color var(--orax-speed) var(--orax-ease),
        box-shadow var(--orax-speed) var(--orax-ease);
}

.orax-nav.is-scrolled {
    background: rgba(10, 22, 40, 0.96) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.orax-nav .navbar-brand img {
    height: 42px;
    width: auto;
}

.orax-nav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--orax-radius-sm);
    transition: background var(--orax-speed), color var(--orax-speed);
}

.orax-nav .nav-link:hover,
.orax-nav .nav-link.active {
    color: #fff !important;
    background: rgba(0, 188, 212, 0.14);
}

.orax-nav__admin {
    background: var(--orax-red) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 0.45rem 1.1rem !important;
    margin-inline-start: 0.35rem;
}

.orax-nav__admin:hover {
    background: #c62828 !important;
    color: #fff !important;
}

.orax-nav__dropdown {
    background: #fff;
    border: 1px solid rgba(10, 22, 40, 0.08);
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.12);
    padding: 0.35rem;
}

.orax-nav__dropdown .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.5rem 0.85rem;
}

.orax-nav__dropdown .dropdown-item:hover {
    background: rgba(201, 162, 39, 0.12);
    color: var(--orax-navy);
}

.orax-nav .dropdown-toggle::after {
    margin-inline-start: 0.35rem;
}

/* Buttons */
.orax-btn-primary {
    background: #fff;
    color: var(--orax-navy) !important;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: none;
    box-shadow: var(--orax-shadow-md);
    transition: transform var(--orax-speed) var(--orax-ease), box-shadow var(--orax-speed);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.orax-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--orax-shadow-lg);
    color: var(--orax-navy) !important;
}

.orax-btn-solid {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff !important;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: var(--orax-radius-sm);
    border: none;
    transition: transform var(--orax-speed), box-shadow var(--orax-speed);
}

.orax-btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.35);
    color: #fff !important;
}

.orax-btn-ghost {
    background: transparent;
    color: #fff !important;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color var(--orax-speed), background var(--orax-speed);
}

.orax-btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.orax-btn-ghost.border {
    color: var(--orax-navy) !important;
    border-color: var(--orax-border) !important;
    background: var(--orax-surface);
}

.orax-btn-ghost.border:hover {
    border-color: #1565c0 !important;
    color: #1565c0 !important;
}

.orax-btn-whatsapp {
    background: #25d366;
    color: #fff !important;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: var(--orax-radius-sm);
    border: none;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform var(--orax-speed), box-shadow var(--orax-speed);
}

.orax-btn-whatsapp:hover {
    background: #1ebe57;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* Forms */
.orax-input,
.orax-form .form-control,
.orax-search .form-control,
.orax-search select {
    border-radius: var(--orax-radius-sm);
    border: 1px solid var(--orax-border);
    padding: 0.65rem 0.9rem;
    transition: border-color var(--orax-speed), box-shadow var(--orax-speed);
}

.orax-input:focus,
.orax-form .form-control:focus,
.orax-search .form-control:focus {
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}

.orax-tabs .nav-link {
    border-radius: 999px;
    font-weight: 600;
    color: var(--orax-text-muted);
    padding: 0.5rem 1.25rem;
}

.orax-tabs .nav-link.active {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
}

.orax-alert {
    border-radius: var(--orax-radius-sm);
    border: none;
}

.orax-alert-auto.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s, transform 0.35s;
}

/* Page hero (inner pages) */
.orax-page-hero {
    background: var(--orax-gradient);
    color: #fff;
    padding: 3.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.orax-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.25), transparent 50%);
    pointer-events: none;
}

.orax-page-hero h1 {
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.orax-page-hero p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0;
}

.orax-page-hero .container {
    position: relative;
    z-index: 1;
}

/* Contact cards */
.orax-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.orax-contact-card {
    background: var(--orax-surface);
    border-radius: var(--orax-radius);
    padding: 1.5rem;
    box-shadow: var(--orax-shadow-sm);
    border: 1px solid var(--orax-border);
    transition: transform var(--orax-speed) var(--orax-ease), box-shadow var(--orax-speed);
    height: 100%;
}

.orax-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--orax-shadow-md);
}

.orax-contact-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.12), rgba(0, 188, 212, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1565c0;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

/* About stats */
.orax-stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--orax-surface);
    border-radius: var(--orax-radius);
    box-shadow: var(--orax-shadow-sm);
    border: 1px solid var(--orax-border);
}

.orax-stat-card__num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1565c0;
    line-height: 1;
}

.orax-team-card {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    background: var(--orax-surface);
    border-radius: var(--orax-radius);
    padding: 1.25rem;
    box-shadow: var(--orax-shadow-sm);
    margin-bottom: 1rem;
}

.orax-team-card img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

/* Legacy alias — keep existing class names working */
body[dir="rtl"] .orax-hero__content,
body[dir="rtl"] .orax-nav {
    font-family: var(--orax-font);
}

.orax-nav .btn-admin {
    display: none;
}


/* Promo hero — ad banner */
.orax-promo {
    position: relative;
    overflow: hidden;
    background: var(--orax-gradient);
    color: #fff;
    padding: 4rem 0 5rem;
    min-height: 520px;
}

.orax-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(229, 57, 53, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(0, 188, 212, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.orax-promo__badge {
    display: inline-block;
    background: rgba(229, 57, 53, 0.9);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.orax-promo__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.orax-promo__title em {
    font-style: normal;
    color: var(--orax-cyan-light);
}

.orax-promo__lead {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.orax-promo__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.orax-promo__features li {
    font-size: 0.95rem;
    opacity: 0.95;
}

.orax-promo__features li i {
    color: var(--orax-cyan-light);
    margin-left: 0.35rem;
}

.orax-promo__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.orax-promo__visual {
    position: relative;
    z-index: 1;
}

.orax-mockup {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--orax-radius);
    box-shadow: var(--orax-glow), 0 40px 100px rgba(0, 0, 0, 0.35);
    padding: 1.25rem;
    color: var(--orax-navy);
    max-width: 420px;
    margin: 0 auto;
}

.orax-mockup__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.orax-mockup__header img {
    height: 36px;
}

.orax-mockup__search {
    background: #f0f4f8;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.orax-mockup__search label {
    font-size: 0.7rem;
    color: #666;
    display: block;
    margin-bottom: 0.25rem;
}

.orax-mockup__search .route {
    font-weight: 700;
    font-size: 1rem;
}

.orax-mockup__tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.orax-mockup__tile {
    background: linear-gradient(145deg, var(--orax-navy-mid), var(--orax-navy));
    color: #fff;
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 0.7rem;
}

.orax-mockup__tile i {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--orax-cyan-light);
}

.orax-float-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    background: var(--orax-navy-mid);
    border: 2px solid rgba(0, 188, 212, 0.4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orax-cyan-light);
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: orax-float 4s ease-in-out infinite;
}

.orax-float-icon--1 { top: -10px; right: -20px; animation-delay: 0s; }
.orax-float-icon--2 { top: 40%; left: -30px; animation-delay: 1s; }
.orax-float-icon--3 { bottom: 10%; right: -15px; animation-delay: 2s; }

@keyframes orax-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Search bar */
.orax-search {
    background: #fff;
    border-radius: var(--orax-radius);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    padding: 1.25rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.orax-search .form-control,
.orax-search select {
    border-radius: 10px;
    border: 1px solid #dde3ea;
    height: calc(2.5em + 0.75rem);
}

.orax-search .btn-search {
    background: linear-gradient(135deg, #1565c0, var(--orax-cyan));
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    width: 100%;
    height: calc(2.5em + 0.75rem);
}

.orax-search .btn-search:hover {
    opacity: 0.92;
    color: #fff;
}

/* Trip cards */
.orax-section {
    padding: 4rem 0;
}

.orax-section__title {
    font-weight: 800;
    color: var(--orax-navy);
    margin-bottom: 0.5rem;
}

.orax-trip-card {
    border: none;
    border-radius: var(--orax-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}

.orax-trip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.12);
}

.orax-trip-card__route {
    background: var(--orax-gradient);
    color: #fff;
    padding: 1.25rem;
}

.orax-trip-card__route h5 {
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.orax-trip-card__meta {
    font-size: 0.85rem;
    opacity: 0.9;
}

.orax-trip-card__body {
    padding: 1.25rem;
}

.orax-trip-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1565c0;
}

.orax-trip-card__seats {
    font-size: 0.85rem;
    color: #666;
}

.orax-trip-card .badge-intl {
    background: var(--orax-red);
    font-size: 0.7rem;
}

/* Trust strip */
.orax-trust {
    background: #f8fafc;
    padding: 2.5rem 0;
    border-top: 1px solid #e8eef4;
}

.orax-trust__item {
    text-align: center;
    padding: 1rem;
}

.orax-trust__item i {
    font-size: 2rem;
    color: #1565c0;
    margin-bottom: 0.75rem;
}

.orax-trust__item h6 {
    font-weight: 700;
    color: var(--orax-navy);
}

.orax-trust__item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Footer */
.orax-footer {
    background: var(--orax-navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0 1.5rem;
}

.orax-footer a {
    color: var(--orax-cyan-light);
    transition: color var(--orax-speed);
}

.orax-footer a:hover {
    color: #fff;
}

.orax-footer__social a {
    font-size: 1.35rem;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background var(--orax-speed), transform var(--orax-speed);
}

.orax-footer__social a:hover {
    background: rgba(0, 188, 212, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .orax-promo {
        padding: 2.5rem 0 3rem;
        text-align: center;
    }
    .orax-promo__lead,
    .orax-promo__features {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    .orax-promo__cta {
        justify-content: center;
    }
    .orax-promo__visual {
        margin-top: 2.5rem;
    }
    .orax-float-icon {
        display: none;
    }
}

/* Booking flow */
.orax-book-page {
    background: #f4f7fb;
    min-height: 60vh;
}

.orax-book-summary {
    background: #fff;
    border-radius: var(--orax-radius);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.08);
}

.orax-book-summary h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--orax-navy);
}

.orax-book-summary li {
    padding: 0.35rem 0;
    color: #444;
}

.orax-auth-panel .nav-pills .nav-link.active {
    background: #1565c0;
}

.orax-success-icon {
    font-size: 4rem;
    color: #2e7d32;
}

.orax-notify-hints .badge {
    font-weight: 500;
    padding: 0.45rem 0.75rem;
}

.orax-book-form .form-control {
    border-radius: 10px;
}

/* Trip status timeline */
.orax-timeline__list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.5rem;
}

.orax-timeline__item {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    border-left: 3px solid #e0e7ef;
}

.orax-timeline__item:last-child {
    border-left-color: transparent;
}

.orax-timeline__dot {
    position: absolute;
    left: -9px;
    top: 1rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #cbd5e1;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e0e7ef;
}

.orax-timeline__item--done .orax-timeline__dot {
    background: #2e7d32;
    box-shadow: 0 0 0 2px #c8e6c9;
}

.orax-timeline__item--active .orax-timeline__dot {
    background: #1565c0;
    box-shadow: 0 0 0 2px #bbdefb;
}

.orax-timeline__item--active .orax-timeline__label {
    font-weight: 700;
    color: var(--orax-navy);
}

.orax-timeline__item--done {
    border-left-color: #a5d6a7;
}

.orax-timeline__item--active {
    border-left-color: #90caf9;
}

.orax-timeline__item--cancelled .orax-timeline__dot {
    background: #c62828;
}

.trip-status-form select {
    min-width: 130px;
}

/* Mobile boarding pass / ticket */
.orax-ticket-page {
    background: linear-gradient(160deg, #0a1628 0%, #1565c0 100%);
    min-height: 70vh;
}

.orax-ticket {
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.orax-ticket__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--orax-navy);
    color: #fff;
}

.orax-ticket__header img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.orax-ticket__badge {
    margin-right: auto;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.orax-ticket__route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 2px dashed #e0e7ef;
}

.orax-ticket__city {
    font-weight: 700;
    color: var(--orax-navy);
    font-size: 0.95rem;
}

.orax-ticket__arrow {
    color: #1565c0;
    font-size: 1.25rem;
}

.orax-ticket__meta {
    padding: 1rem 1.25rem;
}

.orax-ticket__seat {
    font-size: 2rem;
    font-weight: 800;
    color: #1565c0;
    line-height: 1;
}

.orax-ticket__codes {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem 1rem;
}

.orax-ticket__code {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.orax-ticket__qr {
    border-radius: 8px;
    border: 1px solid #e0e7ef;
}

.orax-ticket__footer {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #f4f7fb;
    font-size: 0.85rem;
    color: #555;
}

.orax-ticket-actions .btn {
    margin: 0.25rem;
}

@media print {
    .orax-nav, .orax-footer, .orax-ticket-actions, .breadcrumb {
        display: none !important;
    }
    .orax-ticket-page {
        background: #fff !important;
        padding: 0 !important;
    }
    .orax-ticket {
        box-shadow: none;
        max-width: 100%;
    }
}

