/* ================================================
   Alexandria Union Cab – Premium Stylesheet
   ================================================ */

/* ── CSS Custom Properties ────────────────────── */
:root {
    /* Primary palette */
    --clr-primary: #f5a623;
    --clr-primary-dark: #d4891a;
    --clr-primary-light: #ffd580;
    --clr-primary-glow: rgba(245, 166, 35, .35);

    /* Dark palette */
    --clr-dark: #0d1117;
    --clr-dark-card: #161b22;
    --clr-dark-surface: #1c2230;
    --clr-dark-border: rgba(255, 255, 255, .08);

    /* Accent */
    --clr-accent: #38bdf8;
    --clr-accent-glow: rgba(56, 189, 248, .25);

    /* Text */
    --clr-text: #e6edf3;
    --clr-text-muted: #8b949e;
    --clr-text-heading: #ffffff;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #f5a623 0%, #e67e22 100%);
    --grad-dark: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    --grad-glass: linear-gradient(135deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
    --grad-hero: linear-gradient(135deg, rgba(13,17,23,.85) 0%, rgba(13,17,23,.55) 50%, rgba(245,166,35,.15) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,.25);
    --shadow-md: 0 8px 32px rgba(0,0,0,.35);
    --shadow-lg: 0 16px 64px rgba(0,0,0,.45);
    --shadow-glow: 0 0 30px var(--clr-primary-glow);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Fonts */
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    font-family: var(--font-body);
    background: var(--clr-dark);
    color: var(--clr-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--clr-text-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color .3s var(--ease);
}
a:hover { color: var(--clr-primary-light); }

img { max-width: 100%; height: auto; }

::selection {
    background: var(--clr-primary);
    color: var(--clr-dark);
}

/* ── Preloader ────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-dark);
    transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}
.loader { text-align: center; }
.cab-icon {
    font-size: 3rem;
    color: var(--clr-primary);
    animation: bounce 1s infinite alternate;
}
.loader-bar {
    width: 120px;
    height: 4px;
    background: var(--clr-dark-surface);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}
.loader-fill {
    height: 100%;
    width: 40%;
    background: var(--grad-primary);
    border-radius: 4px;
    animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes bounce {
    to { transform: translateY(-10px); }
}
@keyframes loaderSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ── Navbar ───────────────────────────────────── */
.navbar {
    padding: 1.2rem 0;
    transition: all .4s var(--ease);
    background: transparent;
    z-index: 1050;
}
.navbar.scrolled {
    padding: .6rem 0;
    background: rgba(13, 17, 23, .92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--clr-dark-border);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}
.navbar-brand .brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--clr-dark);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.navbar-brand:hover .brand-icon {
    transform: scale(1.08);
    box-shadow: var(--shadow-glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-text-heading);
}
.brand-sub {
    font-size: .75rem;
    font-weight: 500;
    color: var(--clr-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: .95rem;
    padding: .5rem 1rem !important;
    position: relative;
    transition: color .3s var(--ease);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--clr-text-heading);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Custom Toggler */
.navbar-toggler {
    border: none;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ── Glow Button ──────────────────────────────── */
.btn-glow {
    background: var(--grad-primary);
    color: var(--clr-dark) !important;
    font-weight: 600;
    font-size: .9rem;
    padding: .65rem 1.75rem;
    border-radius: 50px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    z-index: 1;
}
.btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e67e22 0%, #f5a623 100%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    z-index: -1;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--clr-dark) !important;
}
.btn-glow:hover::before { opacity: 1; }

.btn-outline-glow {
    background: transparent;
    color: var(--clr-primary) !important;
    font-weight: 600;
    font-size: .9rem;
    padding: .65rem 1.75rem;
    border-radius: 50px;
    border: 2px solid var(--clr-primary);
    transition: all .3s var(--ease);
}
.btn-outline-glow:hover {
    background: var(--clr-primary);
    color: var(--clr-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ── Section Utilities ────────────────────────── */
.section {
    padding: 4.5rem 0;
    position: relative;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 600px;
}

/* ── Hero Section ─────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    will-change: transform;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
}
.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--clr-dark) 0%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245, 166, 35, .12);
    border: 1px solid rgba(245, 166, 35, .25);
    border-radius: 50px;
    padding: .5rem 1.25rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}
.hero-badge i { font-size: .7rem; }
.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.hero-title .highlight {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--clr-dark-border);
}
.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1;
}
.hero-stat-label {
    font-size: .85rem;
    color: var(--clr-text-muted);
    margin-top: .25rem;
}

/* Floating cards beside hero */
.hero-float-cards {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.float-card {
    position: absolute;
    background: rgba(22, 27, 34, .8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatUpDown 4s ease-in-out infinite;
    box-shadow: var(--shadow-md);
    min-width: 250px;
}
.float-card:nth-child(1) { top: 15%; right: 0; animation-delay: 0s; }
.float-card:nth-child(2) { bottom: 25%; left: 0; animation-delay: 1.5s; }
.float-card:nth-child(3) { bottom: 5%; right: 10%; animation-delay: 3s; }
.float-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.float-card-icon.gold { background: rgba(245,166,35,.15); color: var(--clr-primary); }
.float-card-icon.blue { background: rgba(56,189,248,.15); color: var(--clr-accent); }
.float-card-icon.green { background: rgba(52,211,153,.15); color: #34d399; }
.float-card-text h6 { font-size: .85rem; margin: 0; font-family: var(--font-body); font-weight: 600; }
.float-card-text p { font-size: .78rem; margin: 0; color: var(--clr-text-muted); }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-15px); }
}

/* ── Feature Cards ────────────────────────────── */
.feature-card {
    background: var(--grad-glass);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    height: 100%;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transition: transform .4s var(--ease);
    transform-origin: left;
}
.feature-card:hover {
    border-color: rgba(245, 166, 35, .2);
    box-shadow: var(--shadow-md);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: rgba(245, 166, 35, .1);
    color: var(--clr-primary);
    transition: transform .3s var(--ease), background .3s var(--ease);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(245, 166, 35, .18);
}
.feature-card h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .75rem;
}
.feature-card p {
    color: var(--clr-text-muted);
    font-size: .95rem;
    margin: 0;
}

/* ── Why Us / About Section ───────────────────── */
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image-wrapper img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.about-image-wrapper:hover img { transform: scale(1.04); }
.about-image-wrapper .badge-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(13, 17, 23, .85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.badge-overlay .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-dark);
    font-size: 1rem;
}
.badge-overlay span {
    font-weight: 600;
    font-size: .9rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--clr-dark-border);
}
.about-list li:last-child { border-bottom: none; }
.about-list li i {
    color: var(--clr-primary);
    font-size: 1rem;
    margin-top: .3rem;
    flex-shrink: 0;
}
.about-list li strong { color: var(--clr-text-heading); }

/* ── Services Cards ───────────────────────────── */
.service-card {
    background: var(--clr-dark-card);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-img .service-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--grad-primary);
    color: var(--clr-dark);
    font-size: .75rem;
    font-weight: 700;
    padding: .35rem .85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.service-card-body {
    padding: 1.75rem;
}
.service-card-body h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .75rem;
}
.service-card-body p {
    color: var(--clr-text-muted);
    font-size: .95rem;
    margin-bottom: 1.25rem;
}
.service-card-body .btn-link-glow {
    color: var(--clr-primary);
    font-weight: 600;
    font-size: .9rem;
    transition: gap .3s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.service-card-body .btn-link-glow:hover { gap: .85rem; }

/* ── CTA / Parallax Banner ───────────────────── */
.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,17,23,.9) 0%, rgba(245,166,35,.15) 100%);
}
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.cta-content p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ── Counter Section ──────────────────────────── */
.counter-section {
    background: var(--clr-dark-card);
    border-top: 1px solid var(--clr-dark-border);
    border-bottom: 1px solid var(--clr-dark-border);
    padding: 4rem 0;
}
.counter-item {
    text-align: center;
    padding: 1.5rem;
}
.counter-icon {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: .75rem;
}
.counter-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--clr-text-heading);
    line-height: 1;
}
.counter-label {
    font-size: .9rem;
    color: var(--clr-text-muted);
    margin-top: .5rem;
}

/* ── Booking / Contact Form ───────────────────── */
.form-section {
    background: var(--clr-dark-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-dark-border);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--clr-primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.form-floating .form-control,
.form-floating .form-select {
    background: var(--clr-dark-surface);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-sm);
    color: var(--clr-text);
    font-size: .95rem;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-floating .form-control:focus,
.form-floating .form-select:focus {
    background: var(--clr-dark-surface);
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px var(--clr-primary-glow);
    color: var(--clr-text);
}
.form-floating label {
    color: var(--clr-text-muted);
}

.form-control,
.form-select {
    background: var(--clr-dark-surface);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-sm);
    color: var(--clr-text);
    font-size: .95rem;
    padding: .75rem 1rem;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-control:focus,
.form-select:focus {
    background: var(--clr-dark-surface);
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px var(--clr-primary-glow);
    color: var(--clr-text);
}
.form-label {
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: .9rem;
    margin-bottom: .4rem;
}

textarea.form-control { min-height: 130px; resize: vertical; }

/* ── Page Header (Inner Pages) ────────────────── */
.page-header {
    position: relative;
    padding: 10rem 0 5rem;
    overflow: hidden;
    text-align: center;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,17,23,.85) 0%, rgba(13,17,23,.95) 100%);
}
.page-header-content {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: .75rem;
}
.page-header .breadcrumb {
    justify-content: center;
    margin: 0;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: .9rem;
    color: var(--clr-text-muted);
}
.page-header .breadcrumb-item.active { color: var(--clr-primary); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--clr-text-muted); }

/* ── Info Cards (About strengths) ─────────────── */
.info-card {
    background: var(--clr-dark-card);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, .2);
}
.info-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(245, 166, 35, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--clr-primary);
    margin: 0 auto 1.25rem;
    transition: transform .3s var(--ease);
}
.info-card:hover .info-card-icon { transform: scale(1.1) rotate(5deg); }
.info-card h5 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .75rem;
}
.info-card p {
    color: var(--clr-text-muted);
    font-size: .9rem;
    margin: 0;
}

/* ── Contact Info Cards ───────────────────────── */
.contact-info-card {
    background: var(--clr-dark-card);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.contact-info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, .2);
}
.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(245, 166, 35, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--clr-primary);
    margin: 0 auto 1rem;
}
.contact-info-card h5 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .5rem;
}
.contact-info-card p,
.contact-info-card a {
    color: var(--clr-text-muted);
    font-size: .9rem;
    margin: 0;
}
.contact-info-card a:hover { color: var(--clr-primary); }

/* ── Map ──────────────────────────────────────── */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-dark-border);
    height: 400px;
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(.85) contrast(1.1) saturate(.7) hue-rotate(180deg);
    transition: filter .4s var(--ease);
}
.map-wrapper:hover iframe { filter: brightness(.9) contrast(1.05) saturate(.8) hue-rotate(180deg); }

/* ── Timeline (About page) ────────────────────── */
.timeline {
    position: relative;
    padding: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--clr-dark-border);
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 3rem;
}
.timeline-item:nth-child(odd) { margin-left: 0; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; }
.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--clr-primary);
    border: 3px solid var(--clr-dark);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }

/* ── Rates Table ──────────────────────────────── */
.rates-table {
    background: var(--clr-dark-card);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.rates-table .table {
    margin: 0;
    color: var(--clr-text);
}
.rates-table .table thead th {
    background: rgba(245, 166, 35, .08);
    border-bottom: 1px solid var(--clr-dark-border);
    color: var(--clr-primary);
    font-weight: 600;
    font-size: .9rem;
    padding: 1rem 1.5rem;
}
.rates-table .table tbody td {
    border-bottom: 1px solid var(--clr-dark-border);
    padding: 1rem 1.5rem;
    font-size: .95rem;
}
.rates-table .table tbody tr:last-child td { border-bottom: none; }
.rates-table .table tbody tr:hover { background: rgba(245, 166, 35, .04); }

/* ── Footer ───────────────────────────────────── */
.site-footer {
    position: relative;
    background: var(--clr-dark-card);
    padding-top: 0;
}
.footer-wave {
    color: var(--clr-dark-card);
    margin-top: -2px;
    line-height: 0;
}
.footer-wave svg { display: block; width: 100%; height: 80px; }
.footer-content { padding: 4rem 0 2rem; }

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
}
.footer-logo .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--clr-dark);
}
.footer-desc {
    color: var(--clr-text-muted);
    font-size: .9rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}
.footer-social {
    display: flex;
    gap: .75rem;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--clr-dark-surface);
    border: 1px solid var(--clr-dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-size: .85rem;
    transition: all .3s var(--ease);
}
.footer-social a:hover {
    background: var(--clr-primary);
    color: var(--clr-dark);
    border-color: var(--clr-primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--clr-text-heading);
    position: relative;
    padding-bottom: .75rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: var(--clr-text-muted);
    font-size: .9rem;
    transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: .5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .85rem;
    font-size: .9rem;
}
.footer-contact li i {
    color: var(--clr-primary);
    margin-top: .3rem;
    flex-shrink: 0;
}
.footer-contact a, .footer-contact span { color: var(--clr-text-muted); }
.footer-contact a:hover { color: var(--clr-primary); }

.footer-newsletter-text {
    color: var(--clr-text-muted);
    font-size: .9rem;
    margin-bottom: 1rem;
}
.footer-newsletter .input-group {
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--clr-dark-border);
}
.footer-newsletter .form-control {
    background: var(--clr-dark-surface);
    border: none;
    color: var(--clr-text);
    padding: .65rem 1.25rem;
    font-size: .9rem;
}
.footer-newsletter .form-control::placeholder { color: var(--clr-text-muted); }
.footer-newsletter .form-control:focus { box-shadow: none; }
.footer-newsletter .btn-glow {
    border-radius: 0 50px 50px 0;
    padding: .65rem 1.25rem;
}

.footer-divider {
    border-color: var(--clr-dark-border);
    margin: 2.5rem 0 1.5rem;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.footer-bottom p {
    margin: 0;
    font-size: .85rem;
    color: var(--clr-text-muted);
}
.footer-credit {
    flex-basis: 100%;
    text-align: center;
    margin-top: .35rem !important;
}
.footer-credit a {
    color: var(--clr-primary);
    font-weight: 500;
}
.footer-credit a:hover {
    color: var(--clr-primary-light);
}

/* ── Back to Top ──────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--clr-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .4s var(--ease);
    z-index: 999;
    box-shadow: var(--shadow-md);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    color: var(--clr-dark);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(13, 17, 23, .95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        padding: 1.5rem;
        margin-top: 1rem;
        border: 1px solid var(--clr-dark-border);
    }
    .navbar-nav .nav-link::after { display: none; }
    .hero-float-cards { display: none; }
    .hero-stats { gap: 1.5rem; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 3.5rem; padding-right: 0; margin-left: 0 !important; text-align: left !important; }
    .timeline-dot { left: 12px !important; right: auto !important; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 767.98px) {
    .section { padding: 4rem 0; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .form-section { padding: 2rem 1.5rem; }
    .page-header { padding: 8rem 0 3rem; }
}

/* ── Utility: Glassmorphism card ──────────────── */
.glass-card {
    background: rgba(22, 27, 34, .6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--clr-dark-border);
    border-radius: var(--radius-md);
}

/* ── Services Page – detailed section ─────────── */
.services-detail-section {
    background: var(--clr-dark-card);
}
.services-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.services-detail-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform .6s var(--ease);
}
.services-detail-img:hover img { transform: scale(1.03); }

/* ── Process Steps ────────────────────────────── */
.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.process-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245, 166, 35, .1);
    border: 2px solid var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin: 0 auto 1.25rem;
}
.process-step h5 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: .5rem;
}
.process-step p {
    color: var(--clr-text-muted);
    font-size: .9rem;
    margin: 0;
}

/* ── Divider connector between process steps ──── */
@media (min-width: 768px) {
    .process-step::after {
        content: '';
        position: absolute;
        top: calc(2rem + 28px);
        right: -10%;
        width: 20%;
        height: 2px;
        background: var(--clr-dark-border);
    }
    .process-step:last-child::after { display: none; }
}
