:root {
    --navy-950: #041329;
    --navy-900: #071d3a;
    --navy-800: #0b2b52;

    --blue: #0b63ce;
    --blue-light: #eaf3ff;

    --green: #078447;
    --green-light: #eaf8f1;

    --red: #c8102e;

    --gold: #c69b3c;
    --gold-light: #fbf5e8;

    --white: #ffffff;
    --off-white: #f7f9fc;
    --surface: #f1f4f8;

    --text: #122033;
    --text-soft: #5d6b7c;
    --text-muted: #8793a2;

    --border: #e3e8ef;

    --shadow-sm:
        0 6px 20px rgba(7, 29, 58, 0.06);

    --shadow-md:
        0 18px 45px rgba(7, 29, 58, 0.10);

    --shadow-lg:
        0 30px 80px rgba(7, 29, 58, 0.18);

    --container: 1240px;

    --font-primary:
        "Inter",
        sans-serif;

    --font-display:
        "Manrope",
        sans-serif;

    --font-arabic:
        "Noto Kufi Arabic",
        sans-serif;

    --transition:
        0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


body {
    min-height: 100vh;

    color: var(--text);
    background: var(--white);

    font-family: var(--font-primary);

    line-height: 1.6;

    overflow-x: hidden;
}


body.modal-open,
body.menu-open {
    overflow: hidden;
}


img {
    display: block;

    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


.container {
    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    margin-inline: auto;
}


.section {
    padding: 112px 0;
}


/* =========================================================
   LOADER
========================================================= */

.page-loader {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--navy-950);

    transition: 0.6s ease;
}


.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}


.loader-content {
    text-align: center;
}


.loader-content img {
    width: 90px;

    margin:
        0 auto
        24px;
}


.loader-line {
    width: 150px;
    height: 2px;

    overflow: hidden;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );
}


.loader-line::after {
    content: "";

    display: block;

    width: 45%;
    height: 100%;

    background: var(--gold);

    animation:
        loaderAnimation
        1s
        infinite
        ease-in-out;
}


.loader-content p {
    margin-top: 13px;

    color:
        rgba(
            255,
            255,
            255,
            0.5
        );

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 5px;
}


@keyframes loaderAnimation {

    from {
        transform:
            translateX(-100%);
    }

    to {
        transform:
            translateX(320%);
    }

}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 0;
    right: 0;
    left: 0;

    z-index: 1000;

    height: 82px;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

    background:
        rgba(
            4,
            19,
            41,
            0.12
        );

    backdrop-filter:
        blur(14px);

    transition:
        var(--transition);
}


.site-header.scrolled {
    height: 72px;

    border-color:
        var(--border);

    background:
        rgba(
            255,
            255,
            255,
            0.96
        );

    box-shadow:
        var(--shadow-sm);
}


.header-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;
}


.brand-logo {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 12px;

    background: white;
}


.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.brand-name {
    display: flex;
    flex-direction: column;

    line-height: 0.9;
}


.brand-name strong {
    color: white;

    font-family:
        var(--font-display);

    font-size: 18px;
    font-weight: 800;
}


.brand-name span {
    margin-top: 5px;

    color:
        rgba(
            255,
            255,
            255,
            0.6
        );

    font-size: 9px;

    letter-spacing: 3px;
}


.site-header.scrolled
.brand-name strong {
    color:
        var(--navy-900);
}


.site-header.scrolled
.brand-name span {
    color:
        var(--text-muted);
}


.main-navigation {
    display: flex;
    align-items: center;

    gap: 28px;
}


.nav-link {
    position: relative;

    padding: 8px 0;

    color:
        rgba(
            255,
            255,
            255,
            0.78
        );

    font-size: 12px;
    font-weight: 600;
}


.nav-link::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 2px;

    background: var(--gold);

    transform: scaleX(0);

    transition:
        var(--transition);
}


.nav-link:hover,
.nav-link.active {
    color: white;
}


.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}


.site-header.scrolled
.nav-link {
    color:
        var(--text-soft);
}


.site-header.scrolled
.nav-link:hover,
.site-header.scrolled
.nav-link.active {
    color:
        var(--navy-900);
}


.header-actions {
    display: flex;
    align-items: center;

    gap: 12px;
}


.language-switch {
    height: 37px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 10px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.2
        );

    border-radius: 10px;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );
}


.site-header.scrolled
.language-switch {
    border-color:
        var(--border);

    background: white;
}


.language-switch > span {
    width: 1px;
    height: 13px;

    background:
        rgba(
            255,
            255,
            255,
            0.25
        );
}


.language-button {
    border: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    background: transparent;

    font-size: 10px;
    font-weight: 800;
}


.language-button.active {
    color: white;
}


.site-header.scrolled
.language-button {
    color:
        var(--text-muted);
}


.site-header.scrolled
.language-button.active {
    color:
        var(--navy-900);
}


.header-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;
}


.header-menu-button span {
    width: 21px;
    height: 2px;

    display: block;

    margin: 4px auto;

    border-radius: 4px;

    background: white;
}


.site-header.scrolled
.header-menu-button span {
    background:
        var(--navy-900);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-navigation {
    position: fixed;

    top: 0;
    right: -100%;

    z-index: 5000;

    width:
        min(
            400px,
            90%
        );

    height: 100vh;

    padding: 25px;

    background:
        var(--navy-950);

    transition:
        right
        0.4s ease;
}


.mobile-navigation.open {
    right: 0;
}


.mobile-navigation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.mobile-close {
    width: 42px;
    height: 42px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.15
        );

    border-radius: 50%;

    color: white;
    background: transparent;

    font-size: 25px;
}


.mobile-nav-links {
    display: flex;
    flex-direction: column;

    margin-top: 75px;
}


.mobile-nav-links a {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 18px 0;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    color: white;

    font-size: 20px;
}


.mobile-nav-links span {
    color: var(--gold);

    font-size: 10px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 850px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        var(--navy-950);
}


.hero-background {
    position: absolute;

    inset: 0;
}


.hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.72;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(
                4,
                19,
                41,
                0.99
            )
            0%,
            rgba(
                4,
                19,
                41,
                0.93
            )
            33%,
            rgba(
                4,
                19,
                41,
                0.65
            )
            62%,
            rgba(
                4,
                19,
                41,
                0.35
            )
            100%
        );
}


.hero-pattern {
    position: absolute;

    inset: 0;

    opacity: 0.05;

    background-image:
        linear-gradient(
            45deg,
            white 1px,
            transparent 1px
        );

    background-size:
        35px 35px;
}


.hero-container {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 65px;

    padding-top: 120px;
    padding-bottom: 100px;
}


.hero-content {
    max-width: 680px;
}


.hero-tag {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    padding: 8px 14px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.17
        );

    border-radius: 50px;

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );

    backdrop-filter:
        blur(10px);

    font-size: 11px;
}


.status-dot,
.live-button-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;

    background:
        #28d17c;

    box-shadow:
        0 0 0 5px
        rgba(
            40,
            209,
            124,
            0.12
        );
}


.hero h1 {
    margin-bottom: 28px;

    color: white;

    font-family:
        var(--font-display);

    font-size:
        clamp(
            50px,
            6vw,
            80px
        );

    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -3.7px;
}


.hero h1 em {
    color:
        var(--gold);

    font-style: normal;
}


.hero-description {
    max-width: 575px;

    margin-bottom: 34px;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    font-size: 17px;

    line-height: 1.75;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 0 23px;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    transition:
        var(--transition);
}


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


.button-primary {
    color: white;

    background:
        var(--blue);

    box-shadow:
        0 13px 32px
        rgba(
            11,
            99,
            206,
            0.30
        );
}


.button-glass {
    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.18
        );

    color: white;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    backdrop-filter:
        blur(12px);
}


.hero-stats {
    display: flex;
    align-items: center;

    gap: 22px;

    margin-top: 46px;
}


.hero-stat {
    display: flex;
    flex-direction: column;
}


.hero-stat strong {
    color: white;

    font-size: 17px;
}


.hero-stat span {
    color:
        rgba(
            255,
            255,
            255,
            0.4
        );

    font-size: 9px;
}


.hero-stat-divider {
    width: 1px;
    height: 33px;

    background:
        rgba(
            255,
            255,
            255,
            0.14
        );
}


.hero-bus-area {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-glow {
    position: absolute;

    width: 440px;
    height: 440px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(
                198,
                155,
                60,
                0.28
            ),
            transparent 67%
        );

    filter:
        blur(20px);
}


.hero-bus-image {
    position: relative;

    width: 100%;
    max-width: 620px;

    border-radius: 28px;

    object-fit: cover;

    box-shadow:
        var(--shadow-lg);
}


.hero-live-panel {
    position: absolute;

    right: -15px;
    bottom: 25px;

    width: 355px;

    padding: 21px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.7
        );

    border-radius: 18px;

    background:
        rgba(
            255,
            255,
            255,
            0.95
        );

    box-shadow:
        var(--shadow-lg);

    backdrop-filter:
        blur(18px);
}


.live-panel-header,
.live-panel-footer,
.live-main-bus {
    display: flex;
    align-items: center;
}


.live-panel-header {
    justify-content: space-between;

    padding-bottom: 15px;

    border-bottom:
        1px solid
        var(--border);
}


.live-panel-header > div {
    display: flex;
    flex-direction: column;
}


.live-eyebrow {
    color:
        var(--green);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
}


.live-panel-header strong {
    color:
        var(--navy-900);

    font-size: 12px;
}


.last-update {
    padding: 6px 8px;

    border-radius: 7px;

    color:
        var(--text-muted);

    background:
        var(--surface);

    font-size: 8px;
}


.live-main-bus {
    gap: 13px;

    padding: 17px 0;
}


.live-line-badge {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: white;

    background:
        var(--blue);

    font-family:
        var(--font-display);

    font-size: 15px;
    font-weight: 800;
}


.live-main-info {
    min-width: 0;

    flex: 1;
}


.live-main-info strong {
    display: block;

    overflow: hidden;

    color:
        var(--navy-900);

    font-size: 11px;

    white-space: nowrap;

    text-overflow:
        ellipsis;
}


.live-main-info span {
    color:
        var(--text-muted);

    font-size: 8px;
}


.live-main-time {
    color:
        var(--blue);

    font-size: 15px;
}


.live-panel-footer {
    justify-content: space-between;

    padding-top: 13px;

    border-top:
        1px solid
        var(--border);

    color:
        var(--text-muted);

    font-size: 8px;
}


.live-panel-footer > span:first-child {
    display: flex;
    align-items: center;

    gap: 6px;
}


.live-panel-footer i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--green);
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    position: relative;

    z-index: 4;

    margin-top: -35px;
}


.services-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 14px;
}


.service-card {
    min-height: 118px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 22px;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background: white;

    box-shadow:
        var(--shadow-sm);

    transition:
        var(--transition);
}


.service-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-md);
}


.service-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 17px;
    font-weight: 800;
}


.service-icon.blue {
    color: var(--blue);
    background: var(--blue-light);
}


.service-icon.green {
    color: var(--green);
    background: var(--green-light);
}


.service-icon.gold {
    color: #9a721e;
    background: var(--gold-light);
}


.service-icon.red {
    color: var(--red);
    background: #fff0f2;
}


.service-card h3 {
    color:
        var(--navy-900);

    font-size: 13px;
}


.service-card p {
    color:
        var(--text-muted);

    font-size: 10px;
}


.service-arrow {
    margin-inline-start: auto;

    color:
        var(--blue);
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}


.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 14px;

    color:
        var(--blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.eyebrow::before {
    content: "";

    width: 21px;
    height: 2px;

    background:
        currentColor;
}


.eyebrow.light {
    color:
        rgba(
            255,
            255,
            255,
            0.75
        );
}


.section-heading h2,
.about-content h2 {
    color:
        var(--navy-900);

    font-family:
        var(--font-display);

    font-size:
        clamp(
            36px,
            4vw,
            54px
        );

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -2px;
}


.section-heading h2 span,
.about-content h2 span {
    color:
        var(--blue);
}


.section-heading p {
    max-width: 620px;

    margin-top: 14px;

    color:
        var(--text-soft);

    font-size: 15px;
}


.section-number {
    color: #e2e7ed;

    font-family:
        var(--font-display);

    font-size: 68px;
    font-weight: 800;
}


/* =========================================================
   JOURNEY
========================================================= */

.journey-section {
    background: white;
}


.journey-shell {
    overflow: visible;

    border:
        1px solid
        var(--border);

    border-radius: 24px;

    background: white;

    box-shadow:
        var(--shadow-md);
}


.journey-clock {
    min-height: 145px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: white;

    border-radius:
        24px 24px 0 0;

    background:
        linear-gradient(
            120deg,
            var(--navy-950),
            var(--navy-800)
        );
}


.journey-clock span {
    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}


.journey-clock strong {
    font-family:
        var(--font-display);

    font-size: 42px;
}


.journey-clock small {
    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size: 9px;
}


.journey-search {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr
        auto;

    align-items: end;

    gap: 15px;

    padding: 28px;
}


.search-field {
    position: relative;
}


.search-field label {
    display: block;

    margin-bottom: 7px;

    color:
        var(--text-soft);

    font-size: 9px;
    font-weight: 700;
}


.input-box {
    height: 54px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 16px;

    border:
        1px solid
        var(--border);

    border-radius: 11px;

    background:
        var(--off-white);

    transition:
        var(--transition);
}


.input-box:focus-within {
    border-color:
        var(--blue);

    background: white;

    box-shadow:
        0 0 0 4px
        rgba(
            11,
            99,
            206,
            0.07
        );
}


.input-box input {
    width: 100%;

    border: 0;
    outline: 0;

    color:
        var(--text);

    background:
        transparent;

    font-size: 12px;
}


.point {
    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;
}


.point.start {
    border:
        2px solid
        var(--blue);
}


.point.end {
    background:
        var(--red);
}


.swap-button {
    width: 42px;
    height: 42px;

    margin-bottom: 6px;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    color:
        var(--blue);

    background: white;

    transition:
        var(--transition);
}


.swap-button:hover {
    color: white;

    background:
        var(--blue);

    transform:
        rotate(180deg);
}


.search-journey-button {
    height: 54px;

    display: flex;
    align-items: center;

    gap: 22px;

    padding: 0 22px;

    border: 0;

    border-radius: 11px;

    color: white;

    background:
        var(--navy-900);

    font-size: 11px;
    font-weight: 700;

    transition:
        var(--transition);
}


.search-journey-button:hover {
    background:
        var(--blue);
}


/* =========================================================
   AUTOCOMPLETE
========================================================= */

.stop-suggestions {
    position: absolute;

    top:
        calc(
            100% + 8px
        );

    right: 0;
    left: 0;

    z-index: 1500;

    display: none;

    max-height: 380px;

    overflow-y: auto;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background: white;

    box-shadow:
        0 22px 60px
        rgba(
            7,
            29,
            58,
            0.16
        );
}


.stop-suggestions.open {
    display: block;
}


.stop-suggestion {
    width: 100%;

    display: grid;

    grid-template-columns:
        30px
        1fr
        auto;

    align-items: center;

    gap: 10px;

    padding: 13px 14px;

    border: 0;

    border-bottom:
        1px solid
        var(--border);

    text-align: left;

    background: white;

    transition:
        0.2s ease;
}


.stop-suggestion:last-child {
    border-bottom: 0;
}


.stop-suggestion:hover,
.stop-suggestion.keyboard-active {
    background:
        var(--blue-light);
}


.suggestion-icon {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color:
        var(--blue);

    background:
        var(--blue-light);

    font-size: 8px;
}


.suggestion-copy {
    min-width: 0;
}


.suggestion-copy strong {
    display: block;

    overflow: hidden;

    color:
        var(--navy-900);

    font-size: 11px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.suggestion-copy small {
    display: block;

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 8px;
}


.suggestion-arrow {
    color:
        var(--blue);
}


.stop-suggestion-empty {
    padding: 18px;

    color:
        var(--text-muted);

    text-align: center;

    font-size: 10px;
}


/* =========================================================
   QUICK STOPS
========================================================= */

.quick-stops {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    padding:
        0 28px
        25px;
}


.quick-stop {
    padding:
        7px 11px;

    border:
        1px solid
        var(--border);

    border-radius: 50px;

    color:
        var(--text-soft);

    background: white;

    font-size: 9px;
}


.quick-stop:hover {
    border-color:
        var(--blue);

    color:
        var(--blue);

    background:
        var(--blue-light);
}


/* =========================================================
   JOURNEY RESULT
========================================================= */

.journey-result {
    margin:
        0 28px
        28px;

    padding: 25px;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background:
        var(--off-white);
}


.route-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 22px;
}


.route-result-label {
    display: block;

    margin-bottom: 6px;

    color:
        var(--blue);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.route-result-header h3 {
    color:
        var(--navy-900);

    font-family:
        var(--font-display);

    font-size: 21px;
}


.route-summary {
    min-width: 100px;

    padding: 12px;

    border-radius: 12px;

    color: white;

    text-align: center;

    background:
        var(--navy-900);
}


.route-summary strong {
    display: block;

    font-size: 21px;
}


.route-summary span {
    color:
        rgba(
            255,
            255,
            255,
            0.5
        );

    font-size: 7px;
}


.route-meta {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 9px;

    margin-bottom: 25px;
}


.route-meta div {
    padding: 12px;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background: white;
}


.route-meta small {
    display: block;

    color:
        var(--text-muted);

    font-size: 7px;
}


.route-meta strong {
    color:
        var(--navy-900);

    font-size: 12px;
}


.route-legs {
    display: flex;
    flex-direction: column;

    gap: 20px;
}


.journey-leg {
    padding: 20px;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background: white;
}


.journey-leg-header {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 22px;
}


.journey-leg-line {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: white;

    font-weight: 800;
}


.journey-leg-header small {
    display: block;

    color:
        var(--text-muted);

    font-size: 7px;
}


.journey-leg-header strong {
    color:
        var(--navy-900);

    font-size: 11px;
}


.journey-stop-list {
    padding-left: 5px;
}


.journey-plan-stop {
    position: relative;

    min-height: 55px;

    display: grid;

    grid-template-columns:
        26px
        1fr;

    gap: 12px;
}


.journey-plan-stop:not(:last-child)::before {
    content: "";

    position: absolute;

    top: 17px;
    left: 7px;

    width: 2px;
    height: 45px;

    background:
        #dce3eb;
}


.journey-plan-marker {
    position: relative;

    z-index: 2;
}


.journey-plan-marker span {
    width: 16px;
    height: 16px;

    display: block;

    border:
        4px solid white;

    border-radius: 50%;

    background:
        var(--blue);

    box-shadow:
        0 0 0 2px
        var(--blue);
}


.journey-plan-stop strong {
    display: block;

    color:
        var(--text);

    font-size: 10px;
}


.journey-plan-stop small {
    display: block;

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 7px;
}


.transfer-card {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 15px;

    padding: 12px;

    border-radius: 10px;

    background:
        var(--gold-light);
}


.transfer-card > span {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: white;

    background:
        var(--gold);
}


.transfer-card strong {
    display: block;

    font-size: 8px;
}


.transfer-card small {
    color:
        var(--text-soft);

    font-size: 7px;
}


.route-alternatives {
    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid
        var(--border);
}


.route-alternatives h4 {
    margin-bottom: 10px;

    color:
        var(--text-muted);

    font-size: 8px;

    letter-spacing: 1px;
}


.alternative-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 7px;

    padding: 12px;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background: white;
}


.alternative-card span {
    color:
        var(--blue);

    font-weight: 800;
}


.alternative-card strong {
    color:
        var(--text-soft);

    font-size: 8px;
}


.route-message {
    padding: 25px;

    color:
        var(--text-soft);

    text-align: center;

    background: white;

    border-radius: 12px;
}


/* =========================================================
   NETWORK SUMMARY
========================================================= */

.network-summary {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 12px;

    margin-bottom: 25px;
}


.network-summary div {
    padding: 18px;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background: white;
}


.network-summary strong {
    display: block;

    color:
        var(--navy-900);

    font-size: 22px;
}


.network-summary span {
    color:
        var(--text-muted);

    font-size: 9px;
}


/* =========================================================
   LINES
========================================================= */

.lines-section {
    background:
        var(--off-white);
}


.lines-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}


.line-filters {
    display: flex;

    gap: 8px;
}


.line-filter {
    padding: 8px 15px;

    border:
        1px solid
        var(--border);

    border-radius: 50px;

    color:
        var(--text-soft);

    background: white;

    font-size: 10px;
    font-weight: 700;
}


.line-filter:hover,
.line-filter.active {
    border-color:
        var(--navy-900);

    color: white;

    background:
        var(--navy-900);
}


.line-search {
    width: 280px;
    height: 42px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 13px;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background: white;
}


.line-search input {
    width: 100%;

    border: 0;
    outline: 0;

    background:
        transparent;

    font-size: 10px;
}


.lines-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 16px;
}


.line-card {
    position: relative;

    min-height: 310px;

    padding: 23px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background: white;

    cursor: pointer;

    transition:
        var(--transition);
}


.line-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background:
        var(--line-color);
}


.line-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-md);
}


.line-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}


.line-number {
    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: white;

    font-weight: 800;
}


.line-status {
    display: flex;
    align-items: center;

    gap: 6px;

    color:
        var(--green);

    font-size: 8px;
    font-weight: 800;
}


.line-status::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        currentColor;
}


.line-card h3 {
    color:
        var(--navy-900);

    font-family:
        var(--font-display);

    font-size: 17px;
}


.line-route {
    margin:
        4px 0
        17px;

    color:
        var(--text-muted);

    font-size: 11px;
}


.stop-preview {
    display: flex;
    flex-direction: column;

    gap: 6px;
}


.stop-preview span {
    color:
        var(--text-soft);

    font-size: 9px;
}


.stop-preview span::before {
    content: "•";

    margin-inline-end: 7px;

    color:
        var(--line-color);
}


.line-live-data {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 8px;

    margin-top: 17px;
}


.line-live-data div {
    padding: 10px;

    border-radius: 10px;

    background:
        var(--off-white);
}


.line-live-data small {
    display: block;

    color:
        var(--text-muted);

    font-size: 7px;
}


.line-live-data strong {
    color:
        var(--navy-900);

    font-size: 11px;
}


.line-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 18px;

    padding-top: 14px;

    border-top:
        1px solid
        var(--border);

    color:
        var(--text-muted);

    font-size: 9px;
}


.line-card-bottom strong {
    color:
        var(--blue);
}


.no-lines {
    grid-column:
        1 / -1;

    padding: 60px;

    border:
        1px dashed
        var(--border);

    border-radius: 16px;

    text-align: center;

    background: white;
}


/* =========================================================
   CITY
========================================================= */

.city-banner {
    position: relative;

    min-height: 550px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        var(--navy-950);
}


.city-banner-image {
    position: absolute;

    inset: 0;
}


.city-banner-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.city-banner-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(
                4,
                19,
                41,
                0.97
            ),
            rgba(
                4,
                19,
                41,
                0.70
            )
            55%,
            rgba(
                4,
                19,
                41,
                0.2
            )
        );
}


.city-banner-content {
    position: relative;

    z-index: 2;
}


.city-banner h2 {
    max-width: 700px;

    color: white;

    font-family:
        var(--font-display);

    font-size:
        clamp(
            44px,
            5vw,
            68px
        );

    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -2px;
}


.city-banner h2 span {
    color:
        var(--gold);
}


.city-banner p {
    max-width: 530px;

    margin-top: 20px;

    color:
        rgba(
            255,
            255,
            255,
            0.63
        );
}


/* =========================================================
   MAP
========================================================= */

.live-map-layout {
    display: grid;

    grid-template-columns:
        1fr
        350px;

    gap: 18px;
}


.map-wrapper {
    position: relative;

    height: 610px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 24px;

    box-shadow:
        var(--shadow-md);
}


#liveMap {
    width: 100%;
    height: 100%;
}


.map-status {
    position: absolute;

    top: 17px;
    left: 50%;

    z-index: 500;

    display: flex;
    align-items: center;

    gap: 7px;

    padding:
        9px 13px;

    border-radius: 50px;

    color:
        var(--navy-900);

    background:
        rgba(
            255,
            255,
            255,
            0.95
        );

    box-shadow:
        var(--shadow-sm);

    font-size: 8px;
    font-weight: 700;

    transform:
        translateX(-50%);
}


.map-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--green);
}


.live-sidebar {
    min-height: 610px;

    display: flex;
    flex-direction: column;

    padding: 22px;

    border-radius: 24px;

    background:
        var(--navy-950);

    box-shadow:
        var(--shadow-md);
}


.live-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.09
        );
}


.live-sidebar-head span {
    color:
        rgba(
            255,
            255,
            255,
            0.4
        );

    font-size: 7px;
}


.live-sidebar-head strong {
    display: block;

    color: white;

    font-size: 15px;
}


.live-pulse {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background:
        #28d17c;

    box-shadow:
        0 0 0 8px
        rgba(
            40,
            209,
            124,
            0.09
        );
}


.live-bus-list {
    flex: 1;

    overflow-y: auto;
}


.live-bus-item {
    display: grid;

    grid-template-columns:
        40px
        1fr
        auto;

    align-items: center;

    gap: 10px;

    padding: 14px 0;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.07
        );
}


.live-bus-number {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: white;

    font-size: 10px;
    font-weight: 800;
}


.live-bus-item strong {
    display: block;

    color: white;

    font-size: 10px;
}


.live-bus-item small {
    color:
        rgba(
            255,
            255,
            255,
            0.38
        );

    font-size: 7px;
}


.live-bus-eta {
    color:
        var(--gold);

    font-size: 10px;
    font-weight: 800;
}


.prototype-note {
    margin-top: 15px;

    padding: 14px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius: 12px;

    background:
        rgba(
            255,
            255,
            255,
            0.04
        );
}


.prototype-note strong {
    color:
        var(--gold);

    font-size: 7px;
}


.prototype-note p {
    color:
        rgba(
            255,
            255,
            255,
            0.4
        );

    font-size: 7px;
}


.bus-marker {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        3px solid white;

    border-radius: 12px;

    color: white;

    box-shadow:
        0 6px 20px
        rgba(
            0,
            0,
            0,
            0.22
        );

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   NEWS
========================================================= */

.news-section {
    background:
        var(--off-white);
}


.news-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 16px;
}


.news-card {
    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background: white;

    transition:
        var(--transition);
}


.news-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-md);
}


.news-image {
    position: relative;

    height: 215px;

    overflow: hidden;
}


.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        0.5s ease;
}


.news-card:hover
.news-image img {
    transform:
        scale(1.05);
}


.news-category {
    position: absolute;

    top: 14px;
    left: 14px;

    padding:
        6px 9px;

    border-radius: 30px;

    color: white;

    background:
        rgba(
            4,
            19,
            41,
            0.83
        );

    font-size: 7px;
    font-weight: 800;
}


.news-content {
    padding: 21px;
}


.news-content time {
    color:
        var(--text-muted);

    font-size: 8px;
}


.news-content h3 {
    margin: 8px 0;

    color:
        var(--navy-900);

    font-family:
        var(--font-display);

    font-size: 17px;

    line-height: 1.3;
}


.news-content p {
    color:
        var(--text-soft);

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1fr;

    align-items: center;

    gap: 90px;
}


.about-image {
    position: relative;
}


.about-image img {
    width: 100%;
    height: 560px;

    object-fit: cover;

    border-radius: 28px;

    box-shadow:
        var(--shadow-lg);
}


.about-image-badge {
    position: absolute;

    right: -20px;
    bottom: 35px;

    min-width: 125px;

    padding: 18px;

    border-radius: 14px;

    color: white;

    background:
        var(--navy-900);

    box-shadow:
        var(--shadow-lg);
}


.about-image-badge strong {
    display: block;

    font-size: 24px;
}


.about-image-badge span {
    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size: 9px;
}


.about-content h2 {
    margin-bottom: 25px;
}


.about-content > p {
    max-width: 570px;

    margin-bottom: 14px;

    color:
        var(--text-soft);

    font-size: 14px;

    line-height: 1.8;
}


.about-features {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 27px;
}


.about-features > div {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 13px;

    border:
        1px solid
        var(--border);

    border-radius: 10px;
}


.about-features span {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color:
        var(--green);

    background:
        var(--green-light);
}


.about-features p {
    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 100px 0;

    background:
        var(--off-white);
}


.cta-card {
    position: relative;

    min-height: 480px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(
            120deg,
            var(--navy-950),
            var(--navy-800)
        );

    box-shadow:
        var(--shadow-lg);
}


.cta-pattern {
    position: absolute;

    inset: 0;

    opacity: 0.06;

    background-image:
        radial-gradient(
            white 1px,
            transparent 1px
        );

    background-size:
        22px 22px;
}


.cta-content {
    position: relative;

    z-index: 3;

    max-width: 580px;

    padding: 65px;
}


.cta-content h2 {
    margin-bottom: 20px;

    color: white;

    font-family:
        var(--font-display);

    font-size:
        clamp(
            40px,
            5vw,
            60px
        );

    line-height: 1.03;

    letter-spacing: -2px;
}


.cta-content h2 span {
    color:
        var(--gold);
}


.cta-content p {
    margin-bottom: 28px;

    color:
        rgba(
            255,
            255,
            255,
            0.52
        );
}


.button-white {
    color:
        var(--navy-900);

    background: white;
}


.cta-bus {
    position: absolute;

    top: 0;
    right: -60px;
    bottom: 0;

    width: 58%;
}


.cta-bus img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.72;
}


.cta-bus::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            var(--navy-950),
            transparent
            70%
        );
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    color: white;

    background:
        var(--navy-950);
}


.footer-main {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 60px;

    padding: 70px 0;
}


.footer-brand p {
    max-width: 300px;

    margin-top: 18px;

    color:
        rgba(
            255,
            255,
            255,
            0.4
        );

    font-size: 11px;
}


.footer-column h4 {
    margin-bottom: 18px;

    font-size: 9px;

    letter-spacing: 1px;
}


.footer-column a,
.footer-language {
    display: block;

    margin-bottom: 10px;

    border: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.43
        );

    background: transparent;

    font-size: 10px;
}


.footer-column a:hover,
.footer-language:hover {
    color: white;
}


.footer-bottom {
    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.07
        );
}


.footer-bottom .container {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.footer-bottom p {
    color:
        rgba(
            255,
            255,
            255,
            0.28
        );

    font-size: 8px;
}


/* =========================================================
   MODAL
========================================================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 7000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 25px;
}


.modal.open {
    display: flex;
}


.modal-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(
            4,
            19,
            41,
            0.78
        );

    backdrop-filter:
        blur(9px);
}


.modal-window {
    position: relative;

    z-index: 2;

    width:
        min(
            620px,
            100%
        );

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    border-radius: 22px;

    background: white;

    box-shadow:
        var(--shadow-lg);
}


.modal-close {
    position: absolute;

    top: 16px;
    right: 17px;

    width: 35px;
    height: 35px;

    border: 0;

    border-radius: 50%;

    color:
        var(--text-soft);

    background:
        var(--surface);

    font-size: 20px;
}


.modal-header {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 25px;
}


.modal-line-number {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: white;

    font-weight: 800;
}


.modal-header span {
    color:
        var(--text-muted);

    font-size: 8px;
}


.modal-header h2 {
    color:
        var(--navy-900);

    font-size: 22px;
}


.modal-route {
    padding: 16px;

    border-radius: 12px;

    background:
        var(--off-white);
}


.modal-route strong {
    color:
        var(--navy-900);

    font-size: 12px;
}


.modal-stops {
    margin-top: 24px;
}


.modal-stop {
    position: relative;

    min-height: 47px;

    display: grid;

    grid-template-columns:
        30px
        1fr;

    gap: 12px;
}


.modal-stop-number {
    position: relative;

    z-index: 2;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        2px solid
        var(--blue);

    border-radius: 50%;

    color:
        var(--blue);

    background: white;

    font-size: 8px;
    font-weight: 800;
}


.modal-stop:not(:last-child)::before {
    content: "";

    position: absolute;

    top: 24px;
    left: 12px;

    width: 2px;
    height: 28px;

    background:
        var(--border);
}


.modal-stop strong {
    padding-top: 4px;

    font-size: 10px;
}


.modal-live {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 22px;
}


.modal-live div {
    padding: 13px;

    border-radius: 10px;

    background:
        var(--navy-900);
}


.modal-live small {
    display: block;

    color:
        rgba(
            255,
            255,
            255,
            0.4
        );

    font-size: 7px;
}


.modal-live strong {
    color: white;

    font-size: 11px;
}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] body {
    font-family:
        var(--font-arabic);
}


html[dir="rtl"] .hero h1,
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .about-content h2,
html[dir="rtl"] .cta-content h2 {
    font-family:
        var(--font-arabic);

    letter-spacing: 0;
}


html[dir="rtl"] .stop-suggestion {
    text-align: right;
}


html[dir="rtl"] .mobile-navigation {
    right: auto;
    left: -100%;
}


html[dir="rtl"] .mobile-navigation.open {
    left: 0;
}


html[dir="rtl"] .modal-close {
    right: auto;
    left: 17px;
}


html[dir="rtl"] .modal-stop:not(:last-child)::before,
html[dir="rtl"] .journey-plan-stop:not(:last-child)::before {
    left: auto;
    right: 7px;
}


html[dir="rtl"] .cta-bus {
    right: auto;
    left: -60px;
}


html[dir="rtl"] .cta-bus::after {
    background:
        linear-gradient(
            -90deg,
            var(--navy-950),
            transparent 70%
        );
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .main-navigation {
        display: none;
    }


    .header-menu-button {
        display: block;
    }


    .hero-container {
        grid-template-columns:
            1fr;
    }


    .services-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .lines-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .live-map-layout {
        grid-template-columns:
            1fr;
    }


    .news-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .about-grid {
        grid-template-columns:
            1fr;
    }


    .footer-main {
        grid-template-columns:
            2fr 1fr 1fr;
    }

}


@media (max-width: 760px) {

    .container {
        width:
            min(
                100% - 30px,
                var(--container)
            );
    }


    .section {
        padding: 75px 0;
    }


    .language-switch {
        display: none;
    }


    .hero {
        min-height: 920px;
    }


    .hero-container {
        padding-top: 100px;
    }


    .hero h1 {
        font-size: 48px;
    }


    .hero-bus-area {
        min-height: 390px;
    }


    .hero-live-panel {
        right: 10px;
        bottom: 0;

        width:
            calc(
                100% - 20px
            );
    }


    .services-section {
        margin-top: 0;

        padding: 25px 0;
    }


    .services-grid {
        grid-template-columns:
            1fr;
    }


    .section-heading {
        display: block;
    }


    .section-number {
        display: none;
    }


    .journey-search {
        grid-template-columns:
            1fr;

        padding: 20px;
    }


    .swap-button {
        margin: 0 auto;

        transform:
            rotate(90deg);
    }


    .quick-stops {
        padding:
            0 20px
            18px;
    }


    .journey-result {
        margin:
            0 20px
            20px;

        padding: 18px;
    }


    .route-result-header {
        flex-direction: column;
        align-items: flex-start;
    }


    .route-meta {
        grid-template-columns:
            1fr 1fr;
    }


    .network-summary {
        grid-template-columns:
            1fr;
    }


    .lines-toolbar {
        flex-direction: column;

        align-items: stretch;
    }


    .line-filters {
        overflow-x: auto;
    }


    .line-search {
        width: 100%;
    }


    .lines-grid {
        grid-template-columns:
            1fr;
    }


    .map-wrapper {
        height: 500px;
    }


    .news-grid {
        display: flex;

        overflow-x: auto;

        scroll-snap-type:
            x mandatory;
    }


    .news-card {
        min-width: 88%;

        scroll-snap-align:
            start;
    }


    .about-image img {
        height: 400px;
    }


    .about-features {
        grid-template-columns:
            1fr;
    }


    .cta-card {
        min-height: 650px;

        align-items:
            flex-start;
    }


    .cta-content {
        padding:
            42px 26px;
    }


    .cta-bus {
        top: auto;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 45%;
    }


    .footer-main {
        grid-template-columns:
            1fr;

        gap: 35px;
    }


    .footer-bottom .container {
        flex-direction: column;
        align-items: flex-start;

        justify-content: center;
    }

}