/* 
  TCS Tracking Application - Enterprise Grade Pure CSS Blueprint
  Official Branding Color: #CD1319 (TCS Brand Red)
  Fonts: Plus Jakarta Sans
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* TCS Official Brand Palette */
    --primary: #CD1319;
    --primary-hover: #b00f14;
    --primary-light: rgba(205, 19, 25, 0.08);
    --primary-rgb: 205, 19, 25;
    
    /* Neutral System Colors (Light Mode) */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    /* Functional Status Colors */
    --success: #16a34a;
    --success-bg: #f0fdf4;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --info: #2563eb;
    --info-bg: #eff6ff;
    --alert: #dc2626;
    --alert-bg: #fef2f2;
    --whatsapp: #25D366;
    --whatsapp-bg: #e8f9ee;

    /* Styling Rules */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
    --bg-main: #0b0f19;
    --bg-card: #151d30;
    --bg-subtle: #1e293b;
    --border-color: #243048;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.5);
    --primary-light: rgba(205, 19, 25, 0.2);
    --whatsapp-bg: rgba(37, 211, 102, 0.15);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Announcement Strip */
.top-bar {
    background-color: #111827;
    color: #9ca3af;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-info span {
    white-space: nowrap;
}

.live-indicator {
    color: #4ade80;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulseAnimation 1.8s infinite;
}

@keyframes pulseAnimation {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.top-divider {
    color: #374151;
}

.theme-toggle {
    background: #1f2937;
    border: 1px solid #374151;
    color: #f3f4f6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: #374151;
    color: #ffffff;
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; }

/* Navbar */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-badge {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
    font-style: italic;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 10px;
    transform: skew(-8deg);
    box-shadow: 0 4px 12px rgba(205, 19, 25, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.brand-sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Desktop Menu Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
    background-color: var(--primary-light);
}

/* Primary Highlight Button (Matching Screenshot) */
.nav-link.nav-btn-highlight {
    background-color: var(--primary);
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(205, 19, 25, 0.25);
}

.nav-link.nav-btn-highlight:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Mobile Controls Wrapper */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger Menu Button */
.mobile-menu-btn {
    display: none;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: var(--border-color);
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Card System */
main {
    flex: 1;
    padding-top: 24px;
    padding-bottom: 50px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 28px;
}

/* Hero Graphic Banner Responsive Container */
.banner-section {
    width: 100%;
    margin-bottom: 28px;
}

.hero-graphic-card, .hero-graphic-banner {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background-color: #0b0f19;
}

.hero-banner-img, .banner-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.hero-banner-img:hover, .banner-img:hover {
    transform: scale(1.008);
}

/* Hero Tracking Banner */
.hero-banner {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-main) 100%);
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-bottom: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 28px auto;
}

.tracking-search-box {
    max-width: 700px;
    margin: 0 auto;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: var(--shadow-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.search-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
}

.tracking-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 14px 14px 14px 48px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
}

.tracking-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.btn-track {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-track:hover {
    background-color: var(--primary-hover);
}

.btn-track:active {
    transform: scale(0.98);
}

.sample-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sample-cn-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sample-cn-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
    flex-wrap: wrap;
}

.feature-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Loader */
.loader-container {
    text-align: center;
    padding: 30px 0;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Error Card */
.error-card {
    background-color: var(--alert-bg);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-left: 5px solid var(--alert);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    color: var(--alert);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
}

/* Results Card */
.result-card {
    border-top: 5px solid var(--primary);
}

.results-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.cn-title-group h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.sub-updated {
    font-size: 13px;
    color: var(--text-muted);
}

.status-pill-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-badge {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-delivered {
    background-color: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.status-transit {
    background-color: var(--info-bg);
    color: var(--info);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.status-warning {
    background-color: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.btn-share {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-share:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.detail-box {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.detail-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Timeline */
.timeline-heading {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background-color: var(--border-color);
    border-radius: 2px;
}

.timeline-node {
    position: relative;
    margin-bottom: 24px;
}

.timeline-node:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 3px solid var(--text-muted);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-node.active .timeline-marker {
    border-color: var(--primary);
    background-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-node.delivered .timeline-marker {
    border-color: var(--success);
    background-color: var(--success);
    box-shadow: 0 0 0 4px var(--success-bg);
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.timeline-details h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.timeline-details p {
    font-size: 13px;
    color: var(--text-secondary);
}

.timeline-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-subtle);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Content Blocks & Typography */
.content-block h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.content-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 12px 0;
}

.content-block p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}

.intro-lead {
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-weight: 500;
}

/* Grids & Feature Layouts */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.step-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.step-num {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.step-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.sub-feature-box {
    background-color: var(--whatsapp-bg);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 24px;
}

.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--whatsapp);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.custom-list {
    margin-left: 20px;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.custom-list li {
    margin-bottom: 8px;
}

.steps-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.step-item-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
}

.step-item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.code-examples {
    list-style: none;
    margin-top: 8px;
}

.code-examples li {
    font-size: 13px;
    margin-bottom: 4px;
}

.code-examples code {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
}

.cards-3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cards-2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-box-card, .timing-card, .service-box-card, .doc-card, .problem-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.info-icon, .service-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.info-box-card h3, .timing-card h3, .service-box-card h3, .doc-card h3, .problem-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.info-box-card p, .timing-card p, .service-box-card p, .doc-card p, .problem-card p {
    font-size: 13px;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.conclusion-card {
    border-top: 5px solid var(--primary);
}

.disclaimer-alert-box {
    background-color: var(--warning-bg);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-left: 5px solid var(--warning);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    font-size: 13px;
    color: var(--warning);
    line-height: 1.7;
    margin-top: 20px;
}

/* Rate Calculator Form */
.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 6px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-primary-large {
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary-large:hover {
    background-color: var(--primary-hover);
}

.calc-result-card {
    display: none;
    margin-top: 24px;
    background-color: var(--primary-light);
    border: 1px solid rgba(205, 19, 25, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.calc-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.calc-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin: 4px 0;
}

.calc-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* Express Centers & City Filter */
.city-filter-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.city-btn {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.city-btn:hover {
    background-color: var(--border-color);
}

.city-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.office-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
}

.city-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.office-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    padding-right: 70px;
}

.office-card .address {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.office-card .phone, .office-card .hours {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

/* Status Guide Table */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.status-table th {
    background-color: var(--bg-subtle);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border-color);
}

.status-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.badge-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-booked { background: #e0f2fe; color: #0369a1; }
.status-transit { background: #fef3c7; color: #b45309; }
.status-delivery { background: #fae8ff; color: #86198f; }
.status-delivered { background: #dcfce7; color: #15803d; }
.status-alert { background: #fee2e2; color: #b91c1c; }

/* Contact Cards & FAQ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.contact-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-card);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
}

.faq-arrow {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    display: none;
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding-top: 50px;
    padding-bottom: 30px;
    border-top: 1px solid #1e293b;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.brand-col {
    grid-column: span 1;
}

.footer-logo .brand-title {
    color: #ffffff;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 12px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-contact {
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
}

.disclaimer-note {
    margin-top: 8px;
    color: #64748b;
    font-size: 11px;
}

/* 
=====================================================
  RESPONSIVE MEDIA QUERIES (Mobile & Tablet Breakpoints)
=====================================================
*/
@media (max-width: 1024px) {
    .navbar-container {
        height: 75px;
    }

    .brand-title {
        font-size: 15px;
    }

    .brand-sub {
        font-size: 9px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Drawer Menu */
    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        border-bottom: 2px solid var(--primary);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        gap: 6px;
        z-index: 999;
        animation: slideDown 0.25s ease-out;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        font-size: 15px;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.nav-btn-highlight {
        margin-bottom: 8px;
        text-align: center;
        justify-content: center;
    }

    .hide-mobile {
        display: none;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .top-bar {
        padding: 6px 0;
        font-size: 11.5px;
    }

    .top-info {
        gap: 6px 8px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .input-wrapper {
        flex-direction: column;
        padding: 8px;
    }

    .search-icon {
        top: 20px;
    }

    .tracking-input {
        padding: 12px 12px 12px 42px;
    }

    .btn-track {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .brand-sub {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 11px;
    }

    .top-info {
        gap: 4px 6px;
    }

    .hide-mobile-sm {
        display: none !important;
    }
}

/* Mobile Status Guide Table & Grid Card Transformations */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: visible;
        margin: 16px 0;
    }

    .status-table thead {
        display: none;
    }

    .status-table, 
    .status-table tbody, 
    .status-table tr, 
    .status-table td {
        display: block;
        width: 100%;
    }

    .status-table tr {
        background-color: var(--bg-subtle);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 16px 18px;
        margin-bottom: 14px;
        box-shadow: var(--shadow-sm);
    }

    .status-table td {
        padding: 0;
        border: none;
        font-size: 13.5px;
        line-height: 1.6;
    }

    .status-table td:first-child {
        margin-bottom: 10px;
    }

    .badge-status {
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
        display: inline-block;
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 6px;
    }

    .cards-2-grid, 
    .cards-3-grid, 
    .services-grid-4, 
    .problems-grid, 
    .offices-grid, 
    .contact-grid,
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .content-block.card {
        padding: 20px 16px;
    }
}
