/* ================================================================
   RajSolutions — Design System v2
   ----------------------------------------------------------------
   Tokens (color · type · spacing · radius · elevation · motion),
   followed by component layer. Legacy variables aliased at the end
   so existing markup keeps working without edits.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Tokens ---------- */
:root {
    /* Primary brand */
    --rs-deep-navy:     #003366;
    --rs-brand-blue:    #004990;   /* primary */
    --rs-action-blue:   #0066CC;
    --rs-electric-blue: #0088FF;
    --rs-sky-blue:      #40A9FF;

    /* Blue tints — surfaces & section alternates */
    --rs-ice:           #E6F0FA;
    --rs-frost:         #CCE2F5;
    --rs-mist:          #99C5EB;
    --rs-pale:          #D6EAF8;
    --rs-ghost:         #EEF6FD;

    /* Accent & semantic */
    --rs-speed-orange:  #FF6B00;
    --rs-warm-orange:   #FF8C33;
    --rs-success:       #00B67A;
    --rs-teal-confirm:  #1ABC9C;
    --rs-amber:         #FFB800;
    --rs-danger:        #E03131;

    /* Neutral scale */
    --rs-neutral-1:     #0A1628;   /* darkest — dark hero, footer */
    --rs-neutral-2:     #1B2D4A;   /* body text on light */
    --rs-neutral-3:     #2E4A6E;
    --rs-neutral-4:     #5C7FA0;   /* muted text */
    --rs-neutral-5:     #8BADC8;
    --rs-neutral-6:     #C4D8EA;   /* borders */
    --rs-neutral-7:     #F4F8FC;   /* page background */

    /* Typography */
    --rs-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --rs-text-display: 56px;
    --rs-text-h1:      40px;
    --rs-text-h2:      28px;
    --rs-text-h3:      20px;
    --rs-text-body-lg: 16px;
    --rs-text-body-sm: 13px;
    --rs-text-stat:    48px;

    --rs-w-regular: 400;
    --rs-w-medium:  500;
    --rs-w-semi:    600;
    --rs-w-bold:    700;

    --rs-track-tight:  -0.015em;
    --rs-track-h1:     -0.012em;
    --rs-track-h2:     -0.008em;
    --rs-leading-body: 1.7;

    /* Spacing — 4px grid */
    --rs-s-1:  4px;
    --rs-s-2:  8px;
    --rs-s-3:  12px;
    --rs-s-4:  16px;
    --rs-s-6:  24px;
    --rs-s-8:  32px;
    --rs-s-12: 48px;
    --rs-s-16: 64px;
    --rs-section-y:        96px;
    --rs-section-y-mobile: 64px;
    --rs-container:        1200px;
    --rs-gutter:           24px;

    /* Radius */
    --rs-r-sm:   4px;   /* inputs */
    --rs-r-md:   8px;   /* buttons */
    --rs-r-lg:   12px;  /* cards */
    --rs-r-xl:   16px;  /* hero surfaces */
    --rs-r-pill: 9999px;

    /* Elevation — soft navy-tinted shadows */
    --rs-shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06),
                    0 1px 3px rgba(10, 22, 40, 0.04);
    --rs-shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08),
                    0 2px 4px rgba(10, 22, 40, 0.05);
    --rs-shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.12),
                    0 4px 8px rgba(10, 22, 40, 0.06);
    --rs-shadow-focus: 0 0 0 3px rgba(0, 73, 144, 0.25);

    /* Motion */
    --rs-ease: cubic-bezier(.62, .01, .5, 1);
    --rs-dur-fast: 120ms;
    --rs-dur-base: 200ms;

    /* Gradients */
    --rs-gradient-dark: linear-gradient(140deg, #0A1628 0%, #102747 55%, #163358 100%);
    --rs-gradient-hero-glow: radial-gradient(60% 70% at 80% 0%,
                                rgba(64, 169, 255, 0.15) 0%,
                                transparent 60%);
    --rs-gradient-cta:  linear-gradient(135deg, var(--rs-brand-blue) 0%, var(--rs-action-blue) 100%);

    /* Legacy aliases — keep existing markup working. */
    --navy:      var(--rs-brand-blue);
    --electric:  var(--rs-neutral-2);
    --silver:    var(--rs-neutral-5);
    --gainsboro: var(--rs-neutral-6);
    --green:     var(--rs-success);
    --red:       var(--rs-danger);
    --radius:    var(--rs-r-md);
    --transition: var(--rs-dur-base) var(--rs-ease);
    --gradient-primary: var(--rs-gradient-cta);
    --gradient-overlay: linear-gradient(135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(0, 73, 144, 0.85) 100%);
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--rs-font);
    font-size:   var(--rs-text-body-lg);
    line-height: var(--rs-leading-body);
    color:       var(--rs-neutral-2);
    background:  var(--rs-neutral-7);
    overflow-x:  hidden;
    max-width:   100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--rs-brand-blue); text-decoration: none; transition: color var(--rs-dur-fast) var(--rs-ease); }
a:hover { color: var(--rs-action-blue); }

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

::selection { background: var(--rs-frost); color: var(--rs-neutral-1); }

/* ---------- Accessibility ---------- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--rs-brand-blue);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--rs-r-md);
    z-index: 10000;
    font-weight: var(--rs-w-semi);
}
.skip-to-content:focus { left: 8px; color: #fff; }

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

/* ---------- Typography utility classes ---------- */
.rs-display { font-size: var(--rs-text-display); font-weight: var(--rs-w-semi); letter-spacing: var(--rs-track-tight); line-height: 1.05; }
.rs-h1      { font-size: var(--rs-text-h1);      font-weight: var(--rs-w-semi); letter-spacing: var(--rs-track-h1);    line-height: 1.15; }
.rs-h2      { font-size: var(--rs-text-h2);      font-weight: var(--rs-w-medium); letter-spacing: var(--rs-track-h2);  line-height: 1.25; }
.rs-h3      { font-size: var(--rs-text-h3);      font-weight: var(--rs-w-medium); line-height: 1.3; }
.rs-body-lg { font-size: var(--rs-text-body-lg); font-weight: var(--rs-w-regular); line-height: var(--rs-leading-body); }
.rs-body-sm { font-size: var(--rs-text-body-sm); font-weight: var(--rs-w-regular); color: var(--rs-neutral-4); }

/* ---------- Layout helpers ---------- */
.section {
    padding: var(--rs-section-y) 0;
    position: relative;
}
.section--tight { padding: calc(var(--rs-section-y) * 0.66) 0; }
.section--alt   { background: var(--rs-ghost); }
.section--ice   { background: var(--rs-ice); }
.section--dark  { background: var(--rs-neutral-1); color: #fff; }

/* keep Bootstrap container width close to design spec */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: var(--rs-container);
    }
}

/* ---------- Top banner ---------- */
.top-banner {
    background: var(--rs-neutral-1);
    color: #fff;
    padding: 10px 0;
    font-size: var(--rs-text-body-sm);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-banner .container { text-align: center; }
.top-banner strong { color: var(--rs-sky-blue); }

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--rs-neutral-6);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding var(--rs-dur-base) var(--rs-ease),
                box-shadow var(--rs-dur-base) var(--rs-ease);
}
.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--rs-shadow-sm);
}
.navbar-brand {
    font-weight: var(--rs-w-bold);
    font-size: 22px;
    color: var(--rs-brand-blue);
    letter-spacing: -0.01em;
}
.navbar-brand:hover { color: var(--rs-deep-navy); }

.rs-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: var(--rs-r-md);
    background: var(--rs-gradient-cta);
    color: #fff;
    font-size: 14px;
    transform: rotate(-12deg);
    box-shadow: var(--rs-shadow-sm);
}

.navbar-nav .nav-link {
    color: var(--rs-neutral-2);
    font-weight: var(--rs-w-medium);
    padding: 8px 16px;
    margin: 0 2px;
    position: relative;
    transition: color var(--rs-dur-fast) var(--rs-ease);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 16px; right: 16px;
    height: 2px;
    background: var(--rs-brand-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--rs-dur-base) var(--rs-ease);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--rs-brand-blue); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler {
    border: 1px solid var(--rs-neutral-6);
    padding: 6px 10px;
    border-radius: var(--rs-r-md);
}
.navbar-toggler:focus { box-shadow: var(--rs-shadow-focus); }

/* ---------- Button system ---------- */
.btn, .btn-login, .btn-register, .btn-track, .btn-primary, .newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--rs-font);
    font-weight: var(--rs-w-semi);
    font-size: 15px;
    line-height: 1;
    border-radius: var(--rs-r-md);
    padding: 12px 22px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color var(--rs-dur-base) var(--rs-ease),
                color var(--rs-dur-base) var(--rs-ease),
                border-color var(--rs-dur-base) var(--rs-ease),
                box-shadow var(--rs-dur-base) var(--rs-ease),
                transform var(--rs-dur-fast) var(--rs-ease);
    text-decoration: none;
    white-space: nowrap;
}
.btn:focus-visible,
.btn-login:focus-visible,
.btn-register:focus-visible,
.btn-track:focus-visible,
.btn-primary:focus-visible,
.newsletter-btn:focus-visible {
    outline: none;
    box-shadow: var(--rs-shadow-focus);
}
.btn:active,
.btn-login:active,
.btn-register:active,
.btn-track:active,
.btn-primary:active { transform: translateY(1px); }

/* Variants */
.btn--primary,
.btn-register,
.btn-track,
.btn-primary,
.newsletter-btn {
    background: var(--rs-brand-blue);
    color: #fff;
    border-color: var(--rs-brand-blue);
}
.btn--primary:hover,
.btn-register:hover,
.btn-track:hover,
.btn-primary:hover,
.newsletter-btn:hover {
    background: var(--rs-action-blue);
    border-color: var(--rs-action-blue);
    color: #fff;
    box-shadow: var(--rs-shadow-md);
}

.btn--secondary,
.btn-login {
    background: transparent;
    color: var(--rs-brand-blue);
    border-color: var(--rs-neutral-6);
}
.btn--secondary:hover,
.btn-login:hover {
    background: var(--rs-ice);
    border-color: var(--rs-brand-blue);
    color: var(--rs-brand-blue);
}

/* on-dark variant (used inside dark hero) */
.btn--ghost-dark {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
}
.btn--ghost-dark:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.45);
    color: #fff;
}

.btn--accent {
    background: var(--rs-speed-orange);
    color: #fff;
    border-color: var(--rs-speed-orange);
}
.btn--accent:hover {
    background: var(--rs-warm-orange);
    border-color: var(--rs-warm-orange);
    color: #fff;
}

.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 8px 14px;  font-size: 13px; }

.auth-hero__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: auto;
}
.auth-hero__logo img {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,.35));
    transition: transform .3s ease;
}
.auth-hero__logo:hover img { transform: scale(1.04); }

/* ---------- Hero (dark) ---------- */
.hero-section {
    position: relative;
    background: var(--rs-gradient-dark);
    color: #fff;
    padding: 120px 0 96px;
    overflow: hidden;
    isolation: isolate;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--rs-gradient-hero-glow);
    pointer-events: none;
    z-index: 0;
}
.hero-section > .container { position: relative; z-index: 1; }

.hero-content { color: #fff; }
.hero-title {
    font-size: var(--rs-text-display);
    font-weight: var(--rs-w-bold);
    line-height: 1.05;
    letter-spacing: var(--rs-track-tight);
    color: #fff;
    margin-bottom: var(--rs-s-6);
}
.hero-subtitle {
    font-size: 19px;
    font-weight: var(--rs-w-regular);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin: 0 0 var(--rs-s-6);
}
.hero-section .hero-subtitle { color: rgba(255, 255, 255, 0.82); }
.hero-highlight {
    color: var(--rs-sky-blue);
    font-weight: var(--rs-w-bold);
}

.typing-text {
    display: inline-block;
    color: var(--rs-sky-blue);
    border-right: 3px solid var(--rs-sky-blue);
    padding-right: 4px;
    animation: rs-caret 0.9s steps(1) infinite;
}
@keyframes rs-caret { 50% { border-color: transparent; } }

/* Decorative FX intentionally hidden — kept as no-ops so any existing
   markup using these classes doesn't shift layout. */
.floating-shapes,
.floating-icons,
.particles,
.shape,
.floating-icon,
.particle { display: none !important; }

/* ---------- Section headings ---------- */
.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--rs-ice);
    color: var(--rs-brand-blue);
    border-radius: var(--rs-r-pill);
    font-size: 12px;
    font-weight: var(--rs-w-semi);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--rs-s-4);
}
.section--dark .section-label {
    background: rgba(64, 169, 255, 0.12);
    color: var(--rs-sky-blue);
}

.section-title {
    font-size: var(--rs-text-h1);
    font-weight: var(--rs-w-semi);
    line-height: 1.15;
    letter-spacing: var(--rs-track-h1);
    color: var(--rs-neutral-1);
    text-align: center;
    margin-bottom: var(--rs-s-4);
}
.section-subtitle {
    font-size: 17px;
    font-weight: var(--rs-w-regular);
    line-height: 1.55;
    color: var(--rs-neutral-4);
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--rs-s-12);
}

/* ---------- Card ---------- */
.card,
.step-card,
.service-card,
.tracking-card,
.contact-form-card,
.feature-item,
.city-card,
.stat-card,
.stat-item {
    background: #fff;
    border: 1px solid var(--rs-neutral-6);
    border-radius: var(--rs-r-lg);
    padding: 28px;
    box-shadow: var(--rs-shadow-sm);
    transition: transform var(--rs-dur-base) var(--rs-ease),
                box-shadow var(--rs-dur-base) var(--rs-ease),
                border-color var(--rs-dur-base) var(--rs-ease);
}
.card:hover,
.step-card:hover,
.service-card:hover,
.feature-item:hover,
.city-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rs-shadow-md);
    border-color: var(--rs-frost);
}

/* ---------- How it works ---------- */
.how-it-works { padding: var(--rs-section-y) 0; background: #fff; }

.step-card {
    text-align: center;
    height: 100%;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: var(--rs-r-pill);
    background: var(--rs-ice);
    color: var(--rs-brand-blue);
    font-size: 22px;
    margin-bottom: var(--rs-s-4);
}
.step-card h4 {
    font-size: 18px;
    font-weight: var(--rs-w-semi);
    color: var(--rs-neutral-1);
    margin: 0 0 var(--rs-s-2);
}
.step-card p {
    color: var(--rs-neutral-4);
    font-size: 15px;
    margin: 0;
}

/* ---------- Services ---------- */
.services-section,
.solutions-section { padding: var(--rs-section-y) 0; background: var(--rs-neutral-7); }
.services-section .section-title,
.solutions-section .section-title { color: var(--rs-neutral-1); }

.service-card { height: 100%; }
.service-icon {
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rs-r-md);
    background: var(--rs-ice);
    color: var(--rs-brand-blue);
    font-size: 22px;
    margin-bottom: var(--rs-s-4);
}
.service-title {
    font-size: 18px;
    font-weight: var(--rs-w-semi);
    color: var(--rs-neutral-1);
    margin: 0 0 var(--rs-s-2);
}
.service-card p {
    color: var(--rs-neutral-4);
    font-size: 15px;
    margin: 0;
}

/* ---------- About / Why us ---------- */
.about-section,
.mission-vision-section,
.why-choose-section {
    padding: var(--rs-section-y) 0;
    background: #fff;
}
.about-content,
.why-content { color: var(--rs-neutral-2); }

.about-content h2,
.why-content h2 {
    font-size: var(--rs-text-h1);
    font-weight: var(--rs-w-semi);
    color: var(--rs-neutral-1);
    line-height: 1.15;
    letter-spacing: var(--rs-track-h1);
    margin: 0 0 var(--rs-s-6);
}
.about-content p,
.why-content p {
    font-size: 16px;
    color: var(--rs-neutral-3);
    margin: 0 0 var(--rs-s-4);
}
.about-image img,
.why-image img {
    border-radius: var(--rs-r-xl);
    box-shadow: var(--rs-shadow-lg);
    width: 100%;
    height: auto;
}

.why-features { display: flex; flex-direction: column; gap: 20px; margin-top: var(--rs-s-6); }
.why-feature-item,
.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--rs-neutral-6);
    border-radius: var(--rs-r-lg);
    padding: 18px 20px;
    transition: border-color var(--rs-dur-base) var(--rs-ease),
                box-shadow var(--rs-dur-base) var(--rs-ease);
}
.why-feature-item:hover,
.feature-item:hover {
    border-color: var(--rs-frost);
    box-shadow: var(--rs-shadow-sm);
}
.why-feature-item > i,
.feature-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rs-r-md);
    background: var(--rs-ice);
    color: var(--rs-brand-blue);
    font-size: 18px;
}
.why-feature-item strong,
.feature-item strong {
    display: block;
    font-size: 15px;
    color: var(--rs-neutral-1);
    margin-bottom: 4px;
    font-weight: var(--rs-w-semi);
}
.why-feature-item span,
.feature-item span {
    font-size: 14px;
    color: var(--rs-neutral-4);
    line-height: 1.55;
}

/* ---------- Stats ---------- */
.stats-section {
    padding: var(--rs-section-y) 0;
    background: var(--rs-gradient-dark);
    color: #fff;
    position: relative;
    isolation: isolate;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--rs-gradient-hero-glow);
    pointer-events: none;
    z-index: 0;
}
.stats-section > .container { position: relative; z-index: 1; }
.stats-section .section-title,
.stats-section .section-subtitle { color: #fff; }
.stats-section .section-subtitle { color: rgba(255, 255, 255, 0.78); }

.stat-item,
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--rs-r-lg);
    box-shadow: none;
}
.stat-item:hover,
.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(64, 169, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: none;
}
.stat-number {
    display: block;
    font-size: var(--rs-text-stat);
    font-weight: var(--rs-w-bold);
    font-variant-numeric: tabular-nums;
    color: var(--rs-sky-blue);
    line-height: 1;
    margin-bottom: var(--rs-s-2);
}
.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
}

/* ---------- CTA banner ---------- */
.cta-section,
.cta-banner {
    background: var(--rs-gradient-dark);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    isolation: isolate;
}
.cta-section::before,
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--rs-gradient-hero-glow);
    pointer-events: none;
    z-index: 0;
}
.cta-section > .container,
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2,
.cta-section h2 {
    font-size: var(--rs-text-h1);
    font-weight: var(--rs-w-semi);
    color: #fff;
    line-height: 1.2;
    margin-bottom: var(--rs-s-6);
}
.cta-banner p { color: rgba(255, 255, 255, 0.78); margin-bottom: var(--rs-s-6); }
.cta-banner .btn-register,
.cta-section .btn-register {
    background: #fff;
    color: var(--rs-brand-blue);
    border-color: #fff;
    padding: 14px 32px;
    font-size: 16px;
}
.cta-banner .btn-register:hover,
.cta-section .btn-register:hover {
    background: var(--rs-sky-blue);
    color: #fff;
    border-color: var(--rs-sky-blue);
}

/* ---------- Tracking card (used in hero on home + tracking page) ---------- */
.tracking-card {
    background: #fff;
    border: 1px solid var(--rs-neutral-6);
    border-radius: var(--rs-r-xl);
    padding: 28px;
    box-shadow: var(--rs-shadow-lg);
    color: var(--rs-neutral-2);
}
.tracking-card h4 {
    font-size: 18px;
    font-weight: var(--rs-w-semi);
    color: var(--rs-neutral-1);
    margin-bottom: var(--rs-s-1);
    display: flex; align-items: center;
}
.tracking-card .text-muted { color: var(--rs-neutral-4) !important; }

.tracking-input {
    width: 100%;
    padding: 7px 16px;
    font-size: 15px;
    font-family: var(--rs-font);
    color: var(--rs-neutral-1);
    background: #fff;
    border: 1px solid var(--rs-neutral-6);
    border-radius: var(--rs-r-md);
    transition: border-color var(--rs-dur-fast) var(--rs-ease),
                box-shadow var(--rs-dur-fast) var(--rs-ease);
}
.tracking-input:focus {
    outline: none;
    border-color: var(--rs-brand-blue);
    box-shadow: var(--rs-shadow-focus);
}
.tracking-input::placeholder { color: var(--rs-neutral-5); }

.btn-track {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
}

/* ---------- Forms ---------- */
.form-label {
    display: block;
    color: var(--rs-neutral-2) !important;
    font-size: 14px;
    font-weight: var(--rs-w-semi) !important;
    margin-bottom: 6px;
}
.form-control,
.form-select {
    width: 100%;
    padding: 12px 14px !important;
    font-size: 15px;
    font-family: var(--rs-font);
    color: var(--rs-neutral-1);
    background: #fff;
    border: 1px solid var(--rs-neutral-6) !important;
    border-radius: var(--rs-r-md) !important;
    transition: border-color var(--rs-dur-fast) var(--rs-ease),
                box-shadow var(--rs-dur-fast) var(--rs-ease);
    box-shadow: none;
}
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--rs-brand-blue) !important;
    box-shadow: var(--rs-shadow-focus) !important;
}
.form-control::placeholder { color: var(--rs-neutral-5); }
.form-control.is-invalid {
    border-color: var(--rs-amber) !important;
}
.form-control.is-valid {
    border-color: var(--rs-success) !important;
}
.form-text { color: var(--rs-neutral-4); font-size: 12px; }

/* ---------- Contact section ---------- */
.contact-section,
.contact-form-section { padding: var(--rs-section-y) 0; background: #fff; }
.contact-form-card h3 {
    font-size: var(--rs-text-h3);
    font-weight: var(--rs-w-semi);
    color: var(--rs-neutral-1);
    margin-bottom: 6px;
}
.contact-info-banner {
    background: var(--rs-ice);
    border-left: 4px solid var(--rs-brand-blue);
    border-radius: var(--rs-r-md);
    padding: 18px 22px;
    margin-bottom: var(--rs-s-6);
}
.contact-info-banner h4 {
    font-size: 16px;
    font-weight: var(--rs-w-semi);
    color: var(--rs-brand-blue);
    margin: 0 0 6px;
    display: flex; align-items: center; gap: 8px;
}
.contact-info-banner p { font-size: 14px; color: var(--rs-neutral-3); margin: 0; }

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--rs-neutral-6);
    border-radius: var(--rs-r-lg);
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: var(--rs-shadow-sm);
    transition: border-color var(--rs-dur-base) var(--rs-ease);
}
.contact-item:hover { border-color: var(--rs-frost); }
.contact-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: var(--rs-r-md);
    background: var(--rs-ice);
    color: var(--rs-brand-blue);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 18px;
}
.contact-item h5 {
    font-size: 14px;
    font-weight: var(--rs-w-semi);
    color: var(--rs-neutral-1);
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.contact-item a, .contact-item p {
    font-size: 15px;
    color: var(--rs-neutral-2);
    margin: 0;
}
.contact-item a:hover { color: var(--rs-brand-blue); }
.contact-item small { color: var(--rs-neutral-4); font-size: 12px; }

.map-section-header h3 {
    font-size: var(--rs-text-h2);
    font-weight: var(--rs-w-semi);
    color: var(--rs-neutral-1);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
}
.map-section-header p { color: var(--rs-neutral-4); margin-bottom: var(--rs-s-4); }
.map-container {
    border-radius: var(--rs-r-xl);
    overflow: hidden;
    box-shadow: var(--rs-shadow-md);
    border: 1px solid var(--rs-neutral-6);
    background: var(--rs-ice);
}
.map-container iframe { display: block; width: 100%; border: 0; }
.map-directions-btn { text-align: center; margin-top: var(--rs-s-6); }

/* ---------- Footer ---------- */
.footer {
    background: var(--rs-neutral-1);
    color: rgba(255, 255, 255, 0.72);
    padding: 64px 0 24px;
}
.footer h5 {
    color: #fff;
    font-size: 14px;
    font-weight: var(--rs-w-semi);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--rs-s-4);
}
.footer p { color: rgba(255, 255, 255, 0.65); font-size: 14px; line-height: 1.65; }
.footer ul li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.55;
}
.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--rs-dur-fast) var(--rs-ease);
}
.footer a:hover { color: var(--rs-sky-blue); }
.footer i { color: var(--rs-sky-blue); }
.footer hr {
    border-color: rgba(255, 255, 255, 0.08);
    margin: var(--rs-s-8) 0 var(--rs-s-4);
}
.footer .copyright-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons a {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: var(--rs-r-pill);
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--rs-dur-base) var(--rs-ease),
                border-color var(--rs-dur-base) var(--rs-ease),
                transform var(--rs-dur-fast) var(--rs-ease);
}
.social-icons a:hover {
    background: var(--rs-brand-blue);
    border-color: var(--rs-brand-blue);
    transform: translateY(-2px);
}
.social-icons a i { color: #fff; }

/* ---------- Newsletter ---------- */
.newsletter-section {
    padding: var(--rs-section-y) 0;
    background: var(--rs-ice);
}
.newsletter-section h2 {
    font-size: var(--rs-text-h2);
    font-weight: var(--rs-w-semi);
    color: var(--rs-neutral-1);
    margin-bottom: var(--rs-s-3);
    letter-spacing: var(--rs-track-h2);
}
.newsletter-section p { color: var(--rs-neutral-4); margin-bottom: var(--rs-s-6); }
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}
.newsletter-input {
    flex: 1;
    padding: 13px 16px;
    font-size: 15px;
    font-family: var(--rs-font);
    color: var(--rs-neutral-1);
    background: #fff;
    border: 1px solid var(--rs-neutral-6);
    border-radius: var(--rs-r-md);
    transition: border-color var(--rs-dur-fast) var(--rs-ease),
                box-shadow var(--rs-dur-fast) var(--rs-ease);
}
.newsletter-input:focus {
    outline: none;
    border-color: var(--rs-brand-blue);
    box-shadow: var(--rs-shadow-focus);
}
.newsletter-btn { padding: 13px 24px; }

/* ---------- Status badges ---------- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--rs-r-pill);
    font-size: 12px;
    font-weight: var(--rs-w-semi);
    line-height: 1.4;
    border: 1px solid transparent;
    white-space: nowrap;
}
.status-badge--delivered     { background: #E6F8F1; color: #007A52; border-color: #B8EDD7; }
.status-badge--in-transit    { background: var(--rs-ice);    color: var(--rs-brand-blue); border-color: var(--rs-frost); }
.status-badge--out-for-pickup{ background: #FFF1E5; color: #B84A00; border-color: #FFD2AE; }
.status-badge--pending       { background: #FFF7E0; color: #8A6500; border-color: #FFE49A; }
.status-badge--failed        { background: #FCE6E6; color: #9A1A1A; border-color: #F6BDBD; }
.status-badge--scheduled     { background: #ECE9F8; color: #4B3F9C; border-color: #D8D3F0; }

/* ---------- Hero highlight (legacy class) ---------- */
.breadcrumb-section { padding: 24px 0; background: var(--rs-ice); }
.breadcrumb { background: transparent; padding: 0; }
.breadcrumb a { color: var(--rs-brand-blue); }
.breadcrumb .active { color: var(--rs-neutral-3); }

/* ---------- Page loader (kept for any legacy ref; hidden by default) ---------- */
.page-loader, .loader-content, .loader-spinner { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    :root {
        --rs-section-y: 72px;
        --rs-text-display: 40px;
        --rs-text-h1: 32px;
        --rs-text-h2: 24px;
        --rs-text-stat: 36px;
    }
    .hero-section { padding: 96px 0 64px; }
    .navbar { padding: 10px 0; }
    .navbar-nav { text-align: center; margin-top: 16px; }
    .navbar-nav .nav-link { padding: 10px 16px; }
    .navbar-nav .nav-link::after { display: none; }
    .navbar .d-flex { margin-top: 12px; justify-content: center; }
}
@media (max-width: 767px) {
    :root {
        --rs-section-y: 56px;
        --rs-text-display: 32px;
        --rs-text-h1: 26px;
        --rs-text-h2: 22px;
        --rs-text-stat: 32px;
    }
    .hero-section { padding: 72px 0 56px; }
    .hero-subtitle { font-size: 16px; }
    .newsletter-form { flex-direction: column; }
    .map-container iframe { height: 320px !important; }
    .step-card, .service-card, .contact-form-card { padding: 22px; }
}
@media (max-width: 480px) {
    :root {
        --rs-text-display: 28px;
        --rs-text-h1: 22px;
        --rs-text-h2: 19px;
        --rs-text-stat: 28px;
    }
    .tracking-card { padding: 20px; }
}

/* ---------- Print ---------- */
@media print {
    .navbar, .top-banner, .footer, .newsletter-section, .cta-banner { display: none; }
    body { background: #fff; color: #000; }
}
