/* =========================================
   HIDE SCROLLBAR GLOBALLY
   (Scrolling still works, bar is hidden)
   ========================================= */

/* For Firefox */
html, body, * {
    scrollbar-width: none !important;
}

/* For IE and Edge */
html, body, * {
    -ms-overflow-style: none !important;
}

/* For Chrome, Safari, and Opera */
*::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    background: transparent !important;
}
/* --- MAIN VARIABLES --- */
:root { 
    --primary-blue: #007aff; 
    --primary-blue-light: #e6f2ff; 
    --primary-green: #34c759; 
    --primary-green-light: #eaf9ed; 
    --primary-orange: #ff9500; 
    --primary-orange-light: #fff5e6; 
    --primary-red: #ff3b30; 
    --primary-red-light: #ffeb-ea; 
    --bg-color: #f4f7fc; 
    --card-bg: #ffffff; 
    --text-dark: #1c1c1e; 
    --text-light: #6b7280; 
    --border-color: #e5e7eb; 
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.07); 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-dark); font-size: 16px; }

/* --- LAYOUT --- */
.app-layout { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }

/* --- SIDEBAR --- */
.sidebar { background-color: var(--card-bg); border-right: 1px solid var(--border-color); padding: 24px; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100%; width: 280px; }
.sidebar-header { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border-color); }

.sidebar-header-icon { 
    background-color: transparent; 
    width: 40px; 
    height: 40px; 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    flex-shrink: 0; 
}
.sidebar-header-icon img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-header h1 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.sidebar-nav { flex-grow: 1; }
.sidebar-nav-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-nav-link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; text-decoration: none; color: var(--text-light); font-size: 0.95rem; font-weight: 600; transition: all 0.2s ease; }
.sidebar-nav-link:hover { background-color: var(--bg-color); color: var(--text-dark); }
.sidebar-nav-link.active { background-color: var(--primary-blue-light); color: var(--primary-blue); }
.sidebar-footer { border-top: 1px solid var(--border-color); padding-top: 16px; }

/* --- MAIN CONTENT --- */
.main-content { grid-column: 2 / 3; padding: 32px 48px; }
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.page-header { margin-bottom: 24px; }
.page-header h2 { font-size: 2rem; font-weight: 700; color: var(--text-dark); }
.page-header p { font-size: 1.1rem; color: var(--text-light); margin-top: 4px; }
.page-header-actions { display: flex; gap: 12px; margin-top: 24px; align-items: center; }

/* --- COMPONENTS --- */
.search-bar { flex-grow: 1; position: relative; }
.search-bar input { width: 100%; padding: 12px 16px 12px 40px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; }
.search-bar .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.filter-dropdown { padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; background-color: var(--card-bg); color: var(--text-dark); }

.card { background-color: var(--card-bg); border-radius: 12px; box-shadow: var(--shadow); padding: 24px; }
.btn { padding: 12px 18px; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: all 0.2s ease; }
.btn-primary { background-color: var(--primary-blue); color: white; }
.btn-primary:hover { opacity: 0.9; }
.btn-danger { background-color: var(--primary-red); color: white; }
.btn-secondary { background-color: var(--border-color); color: var(--text-dark); }
.btn-secondary:hover { background-color: #d1d5db; }
.btn-icon { padding: 12px; }
.icon-btn { background: none; border: none; cursor: pointer; color: var(--text-dark); padding: 4px; }
.icon-btn:hover { color: var(--primary-blue); }

.card .card-menu-btn, .vehicle-card .card-menu-btn, .service-card .card-menu-btn, .document-card .card-menu-btn { position: absolute; top: 12px; right: 12px; z-index: 20; background: rgba(255,255,255,0.85); border-radius: 8px; padding: 6px; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; color: var(--text-dark); transition: background 0.12s, transform 0.08s, color 0.12s; }
.card .card-menu-btn:hover { background: rgba(255,255,255,0.98); transform: translateY(-1px); color: var(--primary-blue); }
.card .card-menu-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* --- GRID & FORMS --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; color: var(--text-dark); }
.form-group label .required { color: var(--primary-red); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; color: var(--text-dark); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Radio Group */
.radio-icon-group { display: flex; gap: 16px; margin-top: 8px; }
.radio-icon-group label { display: block; padding: 16px; border: 2px solid var(--border-color); border-radius: 12px; text-align: center; cursor: pointer; transition: all 0.2s ease; flex-grow: 1; margin-bottom: 0; font-size: 1rem; font-weight: 400; }
.radio-icon-group label:hover { border-color: var(--primary-blue-light); background-color: var(--bg-color); }
.radio-icon-group input[type="radio"]:checked + label { border-color: var(--primary-blue); background-color: var(--primary-blue-light); box-shadow: 0 0 0 2px var(--primary-blue-light); color: var(--primary-blue); }
.radio-icon-group input[type="radio"] { display: none; }
.radio-icon-label-content img { width: 2rem; height: 2rem; display: block; margin: 0 auto 8px auto; }

/* --- DASHBOARD WIDGETS --- */
.empty-state { text-align: center; padding: 48px 24px; background-color: var(--card-bg); border-radius: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty-state .icon-wrapper { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background-color: var(--primary-blue-light); color: var(--primary-blue); overflow: hidden; }
.empty-state h3 { font-size: 1.25rem; font-weight: 600; }
.empty-state p { color: var(--text-light); max-width: 400px; }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; margin-top: 32px; }
.section-header h3 { font-size: 1.5rem; font-weight: 700; }
.section-header .view-all-link { text-decoration: none; color: var(--primary-blue); font-weight: 500; }

/* =========================================
   NEW DASHBOARD CARDS UI (With Buttons)
   ========================================= */

/* =========================================
   UPDATED DASHBOARD STATS (Clean & Functional)
   ========================================= */

.stats-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    cursor: pointer; /* पूरा कार्ड क्लिक होने लायक दिखेगा */
    position: relative;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue-light);
}

.stats-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Icon Styles */
.stats-card .icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.stats-card .icon-wrapper img { width: 28px; }
.stats-card .icon-wrapper svg { width: 24px; height: 24px; }

/* Text Area */
.stats-info {
    display: flex;
    flex-direction: column;
}

.stats-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.stats-sub {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

/* New Text Action Button (Replaces Manage/View) */
.text-action-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2; /* कार्ड के ऊपर रहे */
    position: relative;
    width: fit-content;
}

.text-action-btn:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.text-action-btn svg {
    width: 14px;
    height: 14px;
}

/* Big Number */
.stats-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

/* --- NEW BUTTONS INSIDE CARDS --- */
.action-btn-embedded {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.action-btn-embedded svg { width: 18px; height: 18px; }

/* Colors for Buttons */
.btn-soft-blue {
    background-color: #eff6ff;
    color: #2563eb;
}
.btn-soft-blue:hover { background-color: #dbeafe; }

.btn-soft-green {
    background-color: #ecfdf5;
    color: #059669;
}
.btn-soft-green:hover { background-color: #d1fae5; }

.btn-soft-orange {
    background-color: #fff7ed;
    color: #ea580c;
}
.btn-soft-orange:hover { background-color: #ffedd5; }
.quick-action-card { display: flex; align-items: center; gap: 16px; padding: 16px; cursor: pointer; transition: all 0.2s ease; }
.quick-action-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.quick-action-card .icon-wrapper { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; }
.quick-action-card h4 { font-size: 1rem; font-weight: 600; }
.quick-action-card p { font-size: 0.875rem; color: var(--text-light); }

.recent-service-list { display: flex; flex-direction: column; gap: 1px; background-color: var(--border-color); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.recent-service-item { background-color: var(--card-bg); padding: 16px 24px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; }
.recent-service-item:first-child { border-top-left-radius: 11px; border-top-right-radius: 11px; }
.recent-service-item:last-child { border-bottom-left-radius: 11px; border-bottom-right-radius: 11px; }
.recent-service-item .icon-wrapper { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background-color: var(--primary-green-light); color: var(--primary-green); }
.recent-service-item-info h4 { font-size: 1rem; font-weight: 600; }
.recent-service-item-info p { font-size: 0.875rem; color: var(--text-light); }
.recent-service-item-date { text-align: right; font-size: 0.875rem; font-weight: 500; }
.recent-service-item-odo { text-align: right; font-size: 0.875rem; color: var(--text-light); width: 100px; }

/* --- LISTS & CARDS (VEHICLE, SERVICE) --- */
.vehicle-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.vehicle-card { position: relative; }
.vehicle-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.vehicle-card-header .icon-wrapper { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background-color: var(--primary-blue-light); color: var(--primary-blue); overflow: hidden; }
.vehicle-card-header .icon-wrapper img { width: 28px; height: 28px; object-fit: contain; }
.vehicle-card-header-info h3 { font-size: 1.25rem; font-weight: 700; }
.vehicle-card-header-info p { font-size: 0.875rem; color: var(--text-light); }
.vehicle-card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vehicle-card-details div { margin-top: 8px; }
.vehicle-card-details h4 { font-size: 0.9rem; font-weight: 500; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.vehicle-card-details p { font-size: 0.9rem; font-weight: 600; }
.vehicle-plate { font-family: monospace; font-size: 1rem; font-weight: 600; }

.service-list { display: flex; flex-direction: column; gap: 16px; }
.service-card { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
.service-card-header { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.service-card-header .icon-wrapper { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background-color: var(--primary-green-light); color: var(--primary-green); }
.service-card-header-info h3 { font-size: 1.25rem; font-weight: 700; }
.service-card-header-info p { font-size: 0.875rem; color: var(--text-light); }
.service-card-details h4 { font-size: 0.8rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.service-card-details p { font-size: 1rem; font-weight: 600; }
.service-card-notes { grid-column: 1 / -1; }
.service-card-notes p { font-size: 0.9rem; font-weight: 500; }

.document-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.document-card { position: relative; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; box-shadow: none; transition: all 0.2s ease; }
.document-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.document-card-thumbnail { width: 100%; height: 150px; background-color: var(--bg-color); display: grid; place-items: center; overflow: hidden; }
.document-card-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.document-card-thumbnail .icon { color: var(--text-light); }
.document-card-info { padding: 12px; background-color: var(--card-bg); }
.document-card-info h4 { font-size: 1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.document-card-info p { font-size: 0.8rem; color: var(--text-light); }

/* --- SETTINGS & MISC --- */
.settings-card { margin-bottom: 24px; }
.settings-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; padding-bottom: 8px; }
.account-info { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; margin-bottom: 24px; }
.account-signed-in h4 { font-size: 1rem; font-weight: 600; }
.account-signed-in p { font-size: 0.875rem; color: var(--text-light); margin-top: 4px; }
#logout-btn-setting { padding: 8px 16px; font-size: 0.9rem; }
.data-overview-list { display: flex; flex-direction: column; gap: 1px; background-color: var(--border-color); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.data-overview-item { display: flex; align-items: center; justify-content: space-between; background-color: var(--card-bg); padding: 16px; }
.data-overview-item-label { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.data-overview-item-label .icon-wrapper { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.data-overview-item-label .icon-wrapper img { width: 20px; height: 20px; }
.data-overview-item-count { font-size: 1rem; font-weight: 600; background-color: var(--bg-color); padding: 4px 10px; border-radius: 6px; }
.data-management-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; margin-bottom: 16px; }
.data-management-card h4 { font-size: 1.125rem; font-weight: 600; }
.data-management-card p { font-size: 0.875rem; color: var(--text-light); margin-top: 4px; max-width: 450px; line-height: 1.5; }
.data-management-card.danger { border: 1px solid var(--primary-red); background-color: var(--primary-red-light); padding: 24px; border-radius: 12px; }
.data-management-card.danger h4 { color: var(--primary-red); }
.data-management-card.danger p { color: #b91c1c; }
.about-card ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.about-card li { display: flex; align-items: center; gap: 12px; color: var(--text-light); }
.about-card li .icon { color: var(--primary-green); }

/* --- MODALS & CONTEXT MENU --- */
.context-menu { position: absolute; background-color: var(--card-bg); border-radius: 8px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); z-index: 1001; overflow: hidden; display: none; }
.context-menu.active { display: block; }
.context-menu-list { list-style: none; }
.context-menu-item { padding: 10px 16px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 500; }
.context-menu-item:hover { background-color: var(--bg-color); }
.context-menu-item.danger { color: var(--primary-red); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background-color: var(--card-bg); border-radius: 12px; box-shadow: var(--shadow-lg); width: 90%; max-width: 500px; transform: scale(0.95); transition: all 0.3s ease; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border-color); }
.modal-header h3 { font-size: 1.25rem; font-weight: 600; }
.modal-body { padding: 24px; max-height: 70vh; overflow-y: auto; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end; gap: 12px; }
#service-modal .modal-content { max-width: 700px; }
#document-view-modal .modal-content { max-width: 900px; padding: 0; }
#document-view-modal .btn { font-size: 0.9rem; }

/* --- DOCUMENT ZOOM STYLES --- */
#document-view-modal .modal-body {
    padding: 0;
    height: 60vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    position: relative;
}
#document-view-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
    transform-origin: center center;
}
.zoom-controls { display: flex; gap: 8px; margin-right: auto; }

/* --- LOGIN & LANDING --- */
#login-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg-color); display: grid; place-items: center; z-index: 2000; }
.login-card { background: white; padding: 40px; border-radius: 16px; box-shadow: var(--shadow-lg); text-align: center; max-width: 400px; width: 90%; position: relative; }
.login-close { position: absolute; top: 16px; right: 16px; cursor: pointer; color: var(--text-light); }
.login-card img { width: 80px; margin-bottom: 16px; border-radius: 50%; }
.login-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.login-card p { color: var(--text-light); margin-bottom: 24px; }
.btn-google { background-color: white; color: var(--text-dark); border: 1px solid var(--border-color); width: 100%; justify-content: center; margin-bottom: 12px; }
.btn-google:hover { background-color: #f9fafb; }
.login-form input { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; }
.divider { display: flex; align-items: center; color: var(--text-light); margin: 16px 0; font-size: 0.8rem; }
.divider::before, .divider::after { content: ""; flex: 1; border-bottom: 1px solid var(--border-color); }
.divider::before { margin-right: 10px; }
.divider::after { margin-left: 10px; }
.auth-toggle { color: var(--primary-blue); cursor: pointer; font-weight: 500; margin-top: 12px; display: inline-block; }

#landing-page { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg-color); z-index: 3000; overflow-y: auto; padding-bottom: 40px; }
.landing-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background: white; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 3001; }
.landing-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; }
.landing-logo img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.landing-hero { text-align: center; padding: 80px 20px; background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%); }
.landing-hero h1 { font-size: 3rem; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; line-height: 1.2; }
.landing-hero p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto 32px auto; }
.landing-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.landing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; padding: 60px 40px; max-width: 1200px; margin: 0 auto; }
.feature-card { background: white; padding: 32px; border-radius: 16px; box-shadow: var(--shadow); text-align: center; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-icon { width: 64px; height: 64px; background: var(--primary-blue-light); color: var(--primary-blue); border-radius: 16px; display: grid; place-items: center; margin: 0 auto 20px auto; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.feature-card p { color: var(--text-light); }
.badge-demo { background: var(--primary-orange); color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; margin-left: 8px; vertical-align: middle; }

/* Demo Banner */
.demo-banner { background-color: #fff4e5; border: 1px solid #ff9500; color: #b45309; padding: 12px 16px; border-radius: 8px; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 500; }
.demo-banner-content { display: flex; align-items: center; gap: 8px; }
.demo-banner .btn-sm { padding: 6px 12px; font-size: 0.85rem; background-color: #007aff; color: white; border: none; border-radius: 6px; cursor: pointer; text-decoration: none; }
.demo-banner .btn-sm:hover { opacity: 0.9; }

/* --- RESPONSIVE --- */
.bottom-nav { display: none; }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .recent-service-item { grid-template-columns: auto 1fr; gap: 12px 16px; }
    .recent-service-item-info { grid-column: 2 / 3; }
    .recent-service-item-date { grid-column: 2 / 3; grid-row: 2 / 3; text-align: left; }
    .recent-service-item-odo { grid-column: 2 / 3; grid-row: 3 / 3; text-align: left; }
}

@media (max-width: 768px) {
    .app-layout { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding-bottom: 70px; }
    .sidebar { display: none; }
    .main-content { grid-column: 1 / 2; padding: 16px; }
    .page-header h2 { font-size: 1.75rem; }
    .page-header p { font-size: 1rem; }
    .page-header-actions { flex-direction: column; align-items: stretch; }
    
    .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--card-bg); border-top: 1px solid var(--border-color); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); z-index: 100; }
    .bottom-nav-link { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; text-decoration: none; color: var(--text-light); font-size: 0.75rem; font-weight: 500; gap: 4px; border-top: 3px solid transparent; transition: all 0.2s ease; }
    .bottom-nav-link.active { color: var(--primary-blue); border-top-color: var(--primary-blue); }
    
    .grid-3 { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .stats-card-value { font-size: 2rem; }
    .service-card { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .data-management-card { grid-template-columns: 1fr; text-align: center; }
    .data-management-card .btn { margin-top: 12px; width: 100%; }
    
    .landing-hero h1 { font-size: 2rem; }
    .landing-nav { padding: 16px 20px; }
    .landing-features { padding: 40px 20px; }

    /* --- MOBILE ICON FIXES --- */
    
    /* 1. Vehicle Card Icon Fix */
    .vehicle-card-header .icon-wrapper {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        padding: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .vehicle-card-header .icon-wrapper img {
        width: auto !important;
        height: auto !important;
        max-width: 24px !important;
        max-height: 24px !important;
        object-fit: contain !important;
        margin: 0 !important;
    }
    
    /* 2. Service Card Icon Fix */
    .service-card-header .icon-wrapper {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 3. Bottom Nav Icon Fix (Fixed Size) */
    .bottom-nav-link img {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        object-fit: contain !important;
        margin-bottom: 2px !important;
        display: block !important;
    }
    .bottom-nav-link svg {
        width: 24px !important;
        height: 24px !important;
        margin-bottom: 2px !important;
    }
}

.hidden { display: none !important; }






/* new UI CSS code start*/
/* ==============================
   HERO KE BAAD FEATURE SECTION
   UI MATCH FIX
============================== */

.landing-features {
    padding: 90px 60px;
    background: var(--bg-main);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* CARD LOOK */
.feature-card {
    background: var(--bg-card);
    border-radius: 26px;
    padding: 36px 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

/* Hover same as UI */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* ICON WRAPPER (UI jaisa soft bubble) */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

/* ICON COLOR */
.feature-icon svg {
    stroke-width: 2;
    color: #2563eb;
}

/* TITLE */
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}





/* ==============================
   WHY HEMANTVEHICLE SECTION
============================== */

.why-section {
    padding: 100px 60px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    background: var(--bg-main);
}

.why-left h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.why-sub {
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 40px;
}

/* POINTS */
.why-points {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.why-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.why-item h4 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ICONS */
.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon.cloud {
    background: #e0f2fe;
    color: #0284c7;
}

.why-icon.offline {
    background: #fff7ed;
    color: #ea580c;
}

.why-icon.secure {
    background: #ecfeff;
    color: #0891b2;
}

/* RIGHT MOCK CARD */
.why-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 26px;
    width: 100%;
    max-width: 360px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.blue { background: #3b82f6; }
.dot.green { background: #22c55e; }

.bar {
    height: 10px;
    width: 100%;
    border-radius: 6px;
    background: var(--border);
}

.status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
}

.status.green {
    background: #dcfce7;
    color: #166534;
}

/* BADGE */
.mock-badge {
    position: absolute;
    right: -18px;
    bottom: -18px;
    background: var(--accent);
    color: #fff;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.8rem;
    text-align: center;
}



/* FIX: PERFORMANCE BADGE TEXT VISIBILITY */

.mock-badge {
    color: #000 !important;      /* Text black */
    background: #ffffff;         /* Clean white background */
    box-shadow: var(--shadow-soft);
}

/* Dark mode me bhi readable rahe */
[data-theme="dark"] .mock-badge {
    background: #f9fafb;
    color: #000 !important;
}



/* =========================================
   NEW CLASSIC HERO SECTION STYLES
   ========================================= */

/* Font Upgrade for Hero */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.landing-hero {
    background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
    padding: 80px 20px 100px;
    overflow: hidden;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Background Pattern */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- LEFT SIDE: CONTENT --- */
.hero-content {
    text-align: left;
}

.hero-badge {
    background: #dbeafe;
    color: #2563eb;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight-text {
    color: var(--primary-blue);
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: #bfdbfe;
    z-index: -1;
    opacity: 0.6;
    border-radius: 4px;
}

.landing-hero p {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 480px;
}

/* Buttons */
.landing-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.hero-btn {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #475569;
}

.btn-outline:hover {
    border-color: #cbd5e1;
    background: white;
}

/* Trust Badges */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
}

.avatar:first-child { margin-left: 0; }

.hero-trust span:last-child {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* --- RIGHT SIDE: VISUALS (3D Cards) --- */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glass Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    position: absolute;
}

/* Main Vehicle Card */
.main-card {
    width: 320px;
    padding: 24px;
    z-index: 2;
    transform: rotate(-3deg);
    transition: transform 0.3s;
    animation: float 6s ease-in-out infinite;
}

.main-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.card-header .icon-box {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header .icon-box img {
    width: 30px;
}

.card-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.card-header small {
    color: #64748b;
    font-size: 0.9rem;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
}

.stat span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat strong {
    color: #0f172a;
    font-size: 1rem;
}

/* Floating Elements */
.float-card {
    padding: 12px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 220px;
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-float {
    top: 40px;
    right: 0;
    animation: float 5s ease-in-out infinite 1s;
}

.doc-float {
    bottom: 40px;
    left: 0;
    animation: float 7s ease-in-out infinite 0.5s;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle svg { width: 18px; }
.icon-circle.green { background: #dcfce7; color: #166534; }
.icon-circle.orange { background: #ffedd5; color: #9a3412; }

.float-card strong {
    display: block;
    font-size: 0.9rem;
}

.float-card small {
    font-size: 0.75rem;
    color: #64748b;
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .landing-hero {
        padding: 40px 20px;
        text-align: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .landing-hero h1 {
        font-size: 2.5rem;
    }
    
    .landing-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .main-card {
        width: 280px;
    }
    
    .float-card {
        display: none; /* Hide floating elements on small mobile for cleanliness */
    }
}



/* =========================================
   DOWNLOAD APP SECTION (TRUST FOCUSED)
   ========================================= */

.app-download-section {
    background-color: #eff6ff; /* Soft Light Blue */
    padding: 100px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow: hidden;
}

.download-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* --- LEFT SIDE CONTENT --- */
.badge-new {
    background-color: #dbeafe;
    color: #007aff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.download-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 20px;
}

.download-content p {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.6;
}

/* Button Group */
.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 180px;
}

.store-btn svg {
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text small {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 500;
}

.btn-text span {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Play Store Button (Primary) */
.play-store {
    background-color: #007aff;
    color: white;
    border: 2px solid #007aff;
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}

.play-store:hover {
    background-color: #0062cc;
    border-color: #0062cc;
    transform: translateY(-2px);
}

/* APK Button (Secondary) */
.apk-download {
    background-color: transparent;
    color: #1e293b;
    border: 2px solid #cbd5e1;
}

.apk-download:hover {
    background-color: white;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #059669; /* Green for trust */
    font-weight: 500;
    background: #ecfdf5;
    padding: 8px 16px;
    border-radius: 8px;
    width: fit-content;
    border: 1px solid #d1fae5;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.secure-icon {
    width: 16px;
    height: 16px;
}

.dot-separator {
    width: 4px;
    height: 4px;
    background-color: #10b981;
    border-radius: 50%;
}

/* --- RIGHT SIDE VISUAL (PHONE) --- */
.download-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #fff;
    border-radius: 36px;
    border: 10px solid #1e293b;
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: floatPhone 6s ease-in-out infinite;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1e293b;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 3;
}

/* Glow Effect */
.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0,122,255,0.2) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- CSS ONLY DASHBOARD SCREEN (Inside Phone) --- */
/* =========================================
   EXACT DASHBOARD MOCKUP STYLES (MATCHING SCREENSHOT)
   ========================================= */

.phone-screen {
    background-color: #f4f7fc; /* Match App BG */
    padding: 40px 16px 70px 16px; /* Top padding for notch, Bottom for nav */
    height: 100%;
    overflow: hidden;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.mock-header {
    margin-bottom: 20px;
}
.mock-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1c1c1e;
    margin-bottom: 4px;
}
.mock-header p {
    font-size: 0.85rem;
    color: #6b7280;
}

/* CARDS LIST */
.mock-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* CARD STYLE */
.mock-card {
    background: white;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #f1f3f5;
}

.mock-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ICON WRAPPER */
.mock-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mock-icon img { width: 24px; height: 24px; object-fit: contain; }
.mock-icon svg { width: 20px; height: 20px; }

/* Icon Colors */
.blue-bg { background-color: #e6f2ff; color: #007aff; }
.green-bg { background-color: #eaf9ed; color: #34c759; }
.orange-bg { background-color: #fff5e6; color: #ff9500; }
.no-bg { background-color: transparent; color: #1c1c1e; width: 24px; padding: 0; justify-content: flex-start;}

/* INFO TEXT */
.mock-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.mock-info b {
    font-size: 0.9rem;
    color: #1c1c1e;
    font-weight: 600;
}
.mock-info span {
    font-size: 0.75rem;
    color: #6b7280;
}
.mock-info small {
    font-size: 0.75rem;
    color: #007aff;
    font-weight: 600;
    margin-top: 2px;
}

/* VALUE COUNT */
.mock-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c1c1e;
}

/* SECTION TITLE */
.mock-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c1c1e;
    margin-bottom: 12px;
}

/* ACTION CARDS SPECIFIC */
.action-card {
    justify-content: flex-start;
    gap: 12px;
    padding: 18px 16px;
}
.action-card .mock-info b { font-size: 0.95rem; }

/* BOTTOM NAV MOCKUP */
.mock-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #e5e7eb;
}

.m-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #9ca3af;
}

.m-nav-item svg { width: 20px; height: 20px; }
.m-nav-item span { font-size: 0.6rem; font-weight: 500; }

.m-nav-item.active {
    color: #007aff;
    border-top: 2px solid #007aff;
    padding-top: 2px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .app-download-section {
        padding: 60px 20px;
        text-align: center;
    }

    .download-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .download-content p {
        margin: 0 auto 32px auto;
    }

    .download-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .trust-badge {
        margin: 0 auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}

/* =========================================
   FIX: HIDE WHY SECTION VISUAL ON MOBILE
   ========================================= */

@media (max-width: 768px) {
    /* 1. Grid ko Single Column Karein */
    .why-section {
        grid-template-columns: 1fr !important; /* Ek ke neeche ek */
        padding: 60px 20px !important;
        gap: 0 !important;
        text-align: center !important; /* Text center mein sundar lagega */
    }

    /* 2. Right Side (Visual/Animation) ko CHUPA dein */
    .why-right {
        display: none !important; 
    }

    /* 3. Text Content ko thoda adjust karein */
    .why-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .why-points {
        gap: 30px !important;
    }

    /* 4. Icons aur Text ko center karein */
    .why-item {
        flex-direction: column; /* Icon upar, text neeche */
        align-items: center !important;
    }

    .why-icon {
        margin-bottom: 12px;
    }
}



/* =========================================
   SHARE BUTTON & POPUP STYLES
   ========================================= */

/* Header Layout Fix */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

/* Share Wrapper (Relative for positioning popup) */
.share-wrapper {
    position: relative;
    z-index: 50; /* Ensure it stays above other content */
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.share-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Popup Menu */
.share-popup {
    position: absolute;
    top: 110%;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    padding: 20px;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.share-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* Copy Link Box */
.copy-link-box {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px 4px 4px 12px;
    margin-bottom: 6px;
}

.copy-link-box input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-light);
    outline: none;
}

#copy-link-btn {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

#copy-link-btn:hover {
    background: var(--primary-blue-light);
    color: var(--primary-blue);
    border-color: var(--primary-blue-light);
}

#copy-feedback {
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
    display: block;
    text-align: right;
    margin-bottom: 12px;
}

.divider-sm {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

/* Social Grid */
.social-share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: background 0.2s;
    background: #f9fafb;
}

.social-btn:hover {
    background: #eef2ff;
}

/* Brand Colors on Hover */
.social-btn.whatsapp:hover { color: #25D366; background: #dcfce7; }
.social-btn.facebook:hover { color: #1877F2; background: #dbeafe; }
.social-btn.instagram:hover { color: #E4405F; background: #fce7f3; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: row; /* Keep row on mobile for this specific layout */
        align-items: center;
    }
    .share-popup {
        width: 280px;
        right: -10px; /* Slight adjustment for mobile margins */
    }
    .share-btn span {
        display: none; /* Hide "Share" text on small screens, show icon only */
    }
}
/* =========================================
   FONT & TEXT STYLING UPDATES
   ========================================= */

/* 1. Vehicle Name & Model (Verdana Font) */
.text-vehicle-name, 
.text-vehicle-model {
    font-family: 'Verdana', sans-serif !important;
    text-transform: capitalize !important; /* First letter capital */
    font-weight: 580; /* Thoda bold taki alag dikhe */
    color: #1e293b;   /* Dark color for readability */
}

/* 2. Service Center (Different Readable Font) */
.text-service-center {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif !important;
    text-transform: capitalize !important; /* First letter capital */
    font-weight: 500;
    color: #64748b; /* Thoda light color styling ke liye */
    font-style: italic; /* Optional: Alag dikhane ke liye */
}

/* Fix for recent service item alignment */
.recent-service-item-info p {
    margin-top: 2px;
}
/* =========================================
   TECH STYLE PROMO BANNER (UPDATED - COMPACT)
   ========================================= */

.promo-container {
    background-color: #1e293b;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 20%);
    border-radius: 16px;
    padding: 20px; /* Reduced from 40px (Height reduced) */
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.25);
}

/* Inner Box - Flexbox for Desktop */
.promo-inner {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 20px 30px; /* Reduced padding */
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    
    /* Layout: Row for Desktop */
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 20px;
}

/* Hindi Text Styling */
.promo-inner h2 {
    font-size: 1.25rem; /* Slightly smaller for compact look */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0; /* Margin removed for desktop row layout */
    color: #ffffff;
    letter-spacing: 0.5px;
    max-width: 70%; /* Text won't overlap button */
}

/* Share Button */
.btn-glow {
    background: #ffffff;
    color: #1e293b;
    border: none;
    padding: 10px 24px; /* More compact button */
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    white-space: nowrap; /* Button text won't break */
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    background: #f8fafc;
}

/* --- TECH LINES (Adjusted for smaller height) --- */
.tech-line {
    position: absolute;
    background: rgba(56, 189, 248, 0.2);
    border-radius: 2px;
}

.line-1 {
    width: 150px;
    height: 2px;
    top: 15px;
    left: -30px;
    transform: rotate(45deg);
}

.line-2 {
    width: 200px;
    height: 2px;
    bottom: 20px;
    right: -50px;
    transform: rotate(-30deg);
}

.line-3 {
    width: 1px;
    height: 100%;
    top: 0;
    right: 25%;
    opacity: 0.3;
}

/* --- MOBILE RESPONSIVE (Stack Content) --- */
@media (max-width: 768px) {
    .promo-container { 
        padding: 16px; 
    }
    
    .promo-inner { 
        padding: 20px 16px; 
        flex-direction: column; /* Mobile mein ek ke neeche ek */
        text-align: center;
        justify-content: center;
    }
    
    .promo-inner h2 { 
        font-size: 1.1rem; 
        margin-bottom: 16px; /* Space between text and button on mobile */
        max-width: 100%;
    }

    .btn-glow {
        width: 100%; /* Full width button on mobile looks better */
        justify-content: center;
    }
}