/* style.css */
:root {
    --bg-dark: #050505;
    --card-bg: rgba(18, 18, 18, 0.75);
    --gold: #D4AF37;
    --gold-bright: #F3D268;
    --green: #25D366;
    --danger: #EF4444;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --border-light: rgba(212, 175, 55, 0.25);
    --glass-blur: blur(16px);
    
    --z-bottom-nav: 997;
    --z-header: 998;
    --z-overlay: 999;
    --z-panel: 1000;
    --z-modal: 1001;
    --z-loader: 1002;
}

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

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
    -webkit-tap-highlight-color:transparent;
}

html{
    width:100%;
    height:100%;
    overflow:hidden;
    background:#050505;
    scroll-behavior:smooth;
}

body{
    width:100%;
    height:100vh;
    margin:0;
    padding:0;
    overflow:hidden;
    background:#050505;
    color:#ffffff;
    font-family:'Inter',sans-serif;
    -webkit-font-smoothing:antialiased;
}

.app-content{
    height:calc(100vh - 140px);
    overflow-y:auto;
    overflow-x:hidden;
    padding:12px;
    -webkit-overflow-scrolling:touch;
}

.app-content::-webkit-scrollbar{
    display:none;
}

button{
    border:none;
    background:none;
    color:inherit;
    cursor:pointer;
    font-family:inherit;
}

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

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

button { border: none; background: none; color: inherit; cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* UTILS */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-main { color: var(--text-main); }
.text-sm { font-size: 12px; }
.font-bold { font-weight: 800; }
.block { display: block; }
.mt-5 { margin-top: 5px; } .mt-10 { margin-top: 10px; } .mt-15 { margin-top: 15px; } .mt-20 { margin-top: 20px; }
.mb-5 { margin-bottom: 5px; } .mb-10 { margin-bottom: 10px; } .mb-15 { margin-bottom: 15px; } .mb-20 { margin-bottom: 20px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.hidden { display: none !important; }

/* GLASSMORPHISM & EFFECTS */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
}
.glow-gold { box-shadow: 0 0 25px rgba(212, 175, 55, 0.25); border: 1px solid rgba(212, 175, 55, 0.4); }
.glow-gold-subtle { box-shadow: 0 0 15px rgba(212, 175, 55, 0.1); }

/* APP LOADER */
.app-loader { position: fixed; inset: 0; background: var(--bg-dark); z-index: var(--z-loader); display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; text-align: center; }
.loader-logo { width: 100px; height: 100px; margin: 0 auto 15px; animation: pulse 2s infinite; }
.loader-brand-name { font-size: 24px; font-weight: 800; color: var(--gold); letter-spacing: 1px; }
.loader-spinner { width: 40px; height: 40px; margin: 20px auto 0; border: 3px solid rgba(212,175,55,0.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* HEADER */
.app-header { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: rgba(5,5,5,0.95); z-index: var(--z-header); border-bottom: 1px solid var(--border-light); backdrop-filter: var(--glass-blur); }
.header-center{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}
.header-title { font-weight: 800; font-size: 18px; letter-spacing: 1px; color: var(--text-main); }
.icon-btn { font-size: 22px; color: var(--gold); position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); }
.icon-btn:active { transform: scale(0.95); }
.badge { position: absolute; top: -5px; right: -5px; background: var(--danger); color: #fff; font-size: 10px; min-width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* MAIN CONTENT (DASHBOARD) */
.app-content { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px; padding-bottom: 90px; scrollbar-width: none; }
.app-content::-webkit-scrollbar { display: none; }

/* HERO CARD */

.hero-card{
    background:#111;
    border:1px solid rgba(212,175,55,.35);
    border-radius:26px;
    overflow:hidden;
    margin:18px 0;
    box-shadow:0 0 22px rgba(212,175,55,.12);
}

/* Banner */

.hero-banner{
    width:100%;
    height:130px;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius:20px 20px 0 0;
}

/* Content */

.hero-content{
    padding:16px;
    text-align:center;
}

/* Tagline */

.hero-tagline{
    font-size:15px;
    font-weight:500;
    margin:12px 0;
}

/* Status */

.status-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 18px;
    border-radius:50px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    font-size:16px;
}

.status-badge .dot{
    width:12px;
    height:12px;
    border-radius:50%;
}

.status-badge .green{
    background:#21d75d;
    box-shadow:0 0 10px #21d75d;
}

/* Light Mode */

body.light-mode .hero-card{
    background:#fff;
    border:1px solid #ddd;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

body.light-mode .hero-tagline{
    color:#111;
}

body.light-mode .status-badge{
    background:#f5f5f5;
    color:#111;
    border:1px solid #ddd;
}

.dot { width: 8px; height: 8px; border-radius: 50%; } 
.dot.green { background: var(--green); box-shadow: 0 0 10px var(--green); }

/* WIDE BUTTONS */
.btn-primary-wide { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: #000; font-weight: 800; padding: 16px; border-radius: 12px; font-size: 16px; transition: transform 0.2s; box-shadow: 0 4px 15px rgba(212,175,55,0.3); }
.btn-primary-wide:active { transform: scale(0.98); }

/* LOGIN GRID */
.card-title { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.login-option input { display: none; }
.login-box { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 25px 10px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); transition: 0.3s; cursor: pointer; }
.login-box i { font-size: 32px; color: var(--text-muted); }
.login-box span { font-size: 14px; font-weight: 800; color: var(--text-muted); letter-spacing: 1px; }
.login-option input:checked + .login-box { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); box-shadow: 0 0 20px rgba(212, 175, 55, 0.25); }
.login-option input:checked + .login-box i, .login-option input:checked + .login-box span { color: var(--gold-bright); }
.login-section{
    margin-top:16px;
}

/* QUICK ACTIONS (4 Cards) */
.quick-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.glass-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); padding: 15px; border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--text-main); transition: 0.2s; }
.glass-btn:active { transform: scale(0.96); border-color: var(--gold); }
.action-btn i { color: var(--gold); font-size: 24px; margin-bottom: 5px; }

/* LEGAL LINKS (5 Icons) */
.section-subtitle { font-size: 15px; font-weight: 800; letter-spacing: 1px; }
.legal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.legal-item { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; color: var(--text-muted); padding: 12px 5px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-light); border-radius: 12px; }
.legal-item i { font-size: 20px; color: var(--gold); }
.legal-item:active { transform: scale(0.95); color: var(--gold); }

/* FOOTER & SOCIALS */
.footer-card { padding-bottom: 30px; }
.social-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.social-row a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); color: var(--gold); font-size: 18px; transition: 0.2s; }
.social-row a:active { transform: scale(0.9); background: var(--gold); color: #000; }
.divider { border: 0; height: 1px; background: var(--border-light); width: 100%; }
.footer-brand { font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.footer-contact { font-size: 13px; margin-bottom: 8px; color: var(--text-muted); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }

/* BOTTOM NAV */
.bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#111;
    border-top:1px solid rgba(212,175,55,.25);

    z-index:999;
}

.nav-btn{
    flex:1;
    height:72px;

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

    background:none;
    border:none;

    color:#888;

    font-size:13px;

    transition:.25s;
}

.nav-btn i{
    font-size:24px;
    margin-bottom:6px;
}

.nav-btn.active{
    color:#d4af37;
}

.nav-btn.active i{
    color:#ffd54a;
}

.nav-btn:active{
    transform:scale(.96);
}

body.light-mode .bottom-nav{
    background:#fff;
    border-top:1px solid #ddd;
}

body.light-mode .nav-btn{
    color:#666;
}

body.light-mode .nav-btn.active{
    color:#c89b1f;
}

/* GLOBAL OVERLAY */
.global-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: var(--z-overlay); opacity: 0; visibility: hidden; transition: opacity 0.3s ease; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.global-overlay.active { opacity: 1; visibility: visible; }

/* MODALS */
.modal-wrapper { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; z-index: var(--z-modal); }
.modal-wrapper.active { display: flex; }
.modal-content { width: 100%; max-width: 400px; position: relative; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.w-large { max-width: 500px; }
.large-scrollable { max-height: 80vh; overflow-y: auto; scrollbar-width: none; }
.large-scrollable::-webkit-scrollbar { display: none; }
.btn-close-modal { position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 50%; color: var(--text-main); border: 1px solid var(--border-light); font-size: 14px; display: flex; align-items: center; justify-content: center; z-index: 10; }
.btn-close-modal:active { transform: scale(0.9); background: rgba(255,255,255,0.2); }
@keyframes popIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* POPUP EXTRAS */
.popup-profile-image { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 15px; border: 3px solid var(--gold); object-fit: cover; }
.team-banner-image { width: 100%; border-radius: 16px; margin-bottom: 15px; border: 1px solid var(--border-light); }

/* CONTACT PILLS */
.btn-pill { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; border-radius: 50px; font-weight: 800; font-size: 15px; transition: 0.2s; }
.btn-pill:active { transform: scale(0.96); }
.outline-gold { border: 1px solid var(--gold); color: var(--gold); background: rgba(212,175,55,0.05); }
.outline-green { border: 1px solid var(--green); color: var(--green); background: rgba(37,211,102,0.05); }
.outline-white { border: 1px solid #fff; color: #fff; background: rgba(255,255,255,0.05); }

/* ACCORDION */
.accordion { border: 1px solid var(--border-light); border-radius: 16px; margin-bottom: 12px; background: rgba(255,255,255,0.02); text-align: left; overflow: hidden; }
.accordion summary { padding: 18px; font-weight: 800; color: var(--gold); display: flex; justify-content: space-between; align-items: center; list-style: none; outline: none; }
.accordion summary::-webkit-details-marker { display: none; }
.acc-body { padding: 18px; border-top: 1px solid var(--border-light); font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* SWIPE GALLERY */
.swipe-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; scrollbar-width: none; padding-bottom: 5px; }
.swipe-slider::-webkit-scrollbar { display: none; }
.slide-item { flex: 0 0 90%; scroll-snap-align: center; border-radius: 16px; height: 220px; object-fit: cover; border: 1px solid var(--border-light); }

/* SIDE PANELS (MENU & NOTIF) */
.side-panel { position: fixed; top: 0; height: 100vh; width: 320px; max-width: 85%; background: rgba(10,10,10,0.98); z-index: var(--z-panel); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; box-shadow: 0 0 30px rgba(0,0,0,0.9); }
.side-panel.left { left: 0; transform: translateX(-100%); border-right: 1px solid var(--border-light); }
.side-panel.left.active { transform: translateX(0); }
.side-panel.right { right: 0; transform: translateX(100%); border-left: 1px solid var(--border-light); }
.side-panel.right.active { transform: translateX(0); }

/* SIDE MENU SPECIFICS */
.menu-banner { width: 100%; height: 140px; position: relative; }
.menu-banner img { width: 100%; height: 100%; object-fit: cover; border-bottom: 2px solid var(--gold); border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
.menu-header { position: relative; padding: 0 15px 15px; border-bottom: 1px solid var(--border-light); }
.menu-overlap-logo { width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--gold); background: var(--bg-dark); position: absolute; top: -35px; left: 50%; transform: translateX(-50%); object-fit: cover; }
.menu-header h2 { margin-top: 45px; font-size: 20px; font-weight: 800; letter-spacing: 1px; }

.menu-scroll {
    flex:1;
    overflow-y:auto;
    scrollbar-width:none;
    padding-top:20px;
    padding-bottom:40px;
}
.menu-scroll::-webkit-scrollbar { display: none; }
.menu-links {
    display:flex;
    flex-direction:column;
    padding:0 15px;
    gap:12px;
}
.menu-row { display: flex; align-items: center; width: 100%; padding: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--text-main); transition: 0.2s; }
.menu-row:active { transform: scale(0.98); border-color: var(--gold); background: rgba(212,175,55,0.05); }
.menu-row i:first-child { color: var(--gold); font-size: 18px; width: 24px; text-align: center; margin-right: 12px; }
.menu-row .end { margin-left: auto; color: var(--text-muted); font-size: 12px; }

.menu-footer {
    margin-top:25px;
    padding:20px 20px 30px;
}
.version-badge { display: inline-block; padding: 8px 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); border-radius: 50px; font-size: 13px; font-weight: 800; letter-spacing: 1px; }

/* NOTIFICATION PANEL */

#notification-panel{
    width:100%;
    max-width:420px;
    height:100dvh;
    top:0;
    right:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:var(--bg-dark);
}

#notification-panel .panel-header{
    flex:0 0 auto;
    padding:22px 20px;
    border-bottom:1px solid var(--border-light);
}

#notification-panel .panel-body{
    flex:1;
    overflow-y:auto;
    padding:20px;
    scrollbar-width:none;
}

#notification-panel .panel-body::-webkit-scrollbar{
    display:none;
}

#notification-panel .panel-footer{
    flex:0 0 auto;
    padding:18px 20px;
    border-top:1px solid var(--border-light);
    background:var(--bg-dark);
}

#notification-panel .glass-card{
    margin-bottom:15px;
    border-radius:18px;
}

#notification-panel .btn-primary-wide{
    width:100%;
}

/* ===========================
   PREMIUM LIGHT MODE
=========================== */

body.light-mode{
    --bg-dark:#f4f4f4;
    --card-bg:#ffffff;
    --text-main:#111111;
    --text-muted:#666666;
    --border-light:#e2e2e2;
    --gold:#d4af37;
}

/* Background */

body.light-mode,
body.light-mode html{
    background:var(--bg-dark);
    color:var(--text-main);
}

/* Header */

body.light-mode .app-header{
    background:#ffffff !important;
    border-bottom:1px solid #e6e6e6 !important;
    box-shadow:0 2px 12px rgba(0,0,0,.05);
}

/* Cards */

body.light-mode .glass-card,
body.light-mode .glass-btn,
body.light-mode .login-box,
body.light-mode .menu-row,
body.light-mode .side-panel,
body.light-mode .bottom-nav{
    background:#ffffff !important;
    color:#111 !important;
    border:1px solid #e3e3e3 !important;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
}

/* Hero */

body.light-mode .hero-card{
    background:#ffffff !important;
}

body.light-mode .hero-title,
body.light-mode .header-title{
    color:#111 !important;
}

body.light-mode .hero-tagline{
    color:#666 !important;
}

/* Status */

body.light-mode .status-badge{
    background:#f8f8f8;
    border:1px solid #e5e5e5;
}

/* Text */

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode span,
body.light-mode p,
body.light-mode a,
body.light-mode label{
    color:#111 !important;
}

body.light-mode .text-gold{
    color:#d4af37 !important;
}

/* Icons */

body.light-mode i{
    color:#111;
}

body.light-mode .fa-phone,
body.light-mode .fa-car,
body.light-mode .fa-indian-rupee-sign,
body.light-mode .fa-location-crosshairs,
body.light-mode .fa-sun,
body.light-mode .fa-moon{
    color:#d4af37 !important;
}

/* Buttons */

body.light-mode .btn-primary-wide{
    color:#111 !important;
}

/* Bottom Navigation */

body.light-mode .bottom-nav{
    background:#ffffff !important;
    border-top:1px solid #e3e3e3 !important;
}

body.light-mode .bottom-nav .active{
    color:#d4af37 !important;
}

/* Side Menu */

body.light-mode .menu-header{
    background:#ffffff;
}

body.light-mode .menu-banner{
    border-bottom:1px solid #e3e3e3;
}

body.light-mode .version-badge{
    background:#ffffff;
    border:1px solid #dddddd;
}

/* Footer */

body.light-mode footer{
    color:#666;
}

/* Scrollbar */

body.light-mode ::-webkit-scrollbar-thumb{
    background:#cccccc;
}

/* RESPONSIVE DESKTOP LOCK */
@media screen and (min-width: 600px) {
    body { align-items: center; justify-content: center; background: #000; }
    .app-header, .app-content, .bottom-nav { max-width: 450px; width: 100%; border-left: 1px solid var(--border-light); border-right: 1px solid var(--border-light); background: var(--bg-dark); }
    .bottom-nav { left: 50%; transform: translateX(-50%); border-radius: 0 0 24px 24px; bottom: 0; width: 450px; border-bottom: 1px solid var(--border-light); }
    .app-header { border-radius: 24px 24px 0 0; border-top: 1px solid var(--border-light); }
    .app-content { height: 80vh; border-bottom: none; border-top: none; }
    body { height: 100vh; padding: 20px 0; }
}


.app-header{
    position:sticky;
    top:0;
    z-index:999;
    height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 18px;
    background:#0b0b0b;
    border-bottom:1px solid rgba(212,175,55,.25);
}

.header-left{
    width:50px;
}

.header-logo{
    width:46px;
    height:46px;
    border-radius:50%;
    object-fit:cover;
}

.header-center{
    flex:1;
    text-align:center;
}

.header-title{
    margin:0;
    font-size:20px;
    font-weight:800;
    color:#fff;
    letter-spacing:1px;
}

#notif-btn{
    width:50px;
    height:50px;
}