/* ========================================
   ROOT & BRAND COLORS (FROM LOGO)
   ======================================== */
:root {
    --primary: #0C3C78;
    --accent: #F28C22;
    --secondary: #2E67B1;
    --danger: #ff5252;
    --success: #28a745;
    --light: #f8fdff;
    --bg: #ffffff;
    --card: rgba(255, 255, 255, 0.92);
    --border: #bbdefb;
    --text: #555;
    --heading: #0C3C78;
    --shadow-sm: 0 4px 12px rgba(12, 60, 120, 0.15);
    --shadow-md: 0 10px 30px rgba(12, 60, 120, 0.2);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg: #0f172a;
    --card: rgba(15, 23, 42, 0.92);
    --text: #e2e8f0;
    --heading: #f1f5f9;
    --border: #334155;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: #0f172a;
    color: var(--text);
}

/* ========================================
   MARATHI FONT
   ======================================== */
.brand-tagline,
.marathi-text,
.marathi,
body:lang(mr),
[data-lang="mr"],
label:lang(mr),
h1:lang(mr),
h2:lang(mr),
h3:lang(mr),
h4:lang(mr),
button:lang(mr),
input:lang(mr),
textarea:lang(mr),
select:lang(mr) {
    font-family: 'Mukta', sans-serif !important;
    letter-spacing: 0.3px;
    font-weight: 600;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 76px;
    background: var(--card);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(12, 60, 120, 0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.top-bar:hover {
    box-shadow: 0 6px 25px rgba(12, 60, 120, 0.2);
}

/* ========================================
   BRAND
   ======================================== */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.brand img:hover {
    transform: scale(1.1) rotate(5deg);
}
.brand img.enlarged {
    transform: scale(1.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #003366 0%, #003366 45%, #f58220 45%, #f58220 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    letter-spacing: -0.5px;
}
.brand-tagline {
    font-size: 0.78rem;
    color: var(--secondary);
    margin-top: -2px;
}

/* Dark Mode Gradient */
[data-theme="dark"] .brand-name {
    background: linear-gradient(90deg, #4da6ff 0%, #4da6ff 45%, #ffb84d 45%, #ffb84d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   RIGHT SIDE CONTROLS (LANG + THEME)
   ======================================== */
.top-controls {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: flex-end;
    gap: 8px;
}

/* ========================================
   LANGUAGE TOGGLE
   ======================================== */
.lang-btn {
    background: rgba(12, 60, 120, 0.1);
    color: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.lang-btn:hover {
    background: rgba(12, 60, 120, 0.2);
    transform: translateY(-1px);
}
.lang-en, .lang-mr {
    opacity: 0.7;
    transition: opacity 0.2s;
}
[data-lang="en"] .lang-en,
[data-lang="mr"] .lang-mr {
    opacity: 1;
    font-weight: 700;
}

/* Dark Mode */
[data-theme="dark"] .lang-btn {
    background: rgba(242, 140, 34, 0.15);
    color: var(--accent);
    border-color: rgba(242, 140, 34, 0.3);
}

/* ========================================
   THEME TOGGLE
   ======================================== */
.theme-btn {
    background: rgba(12, 60, 120, 0.1);
    color: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition);
}
.theme-btn:hover {
    background: rgba(12, 60, 120, 0.2);
    transform: translateY(-1px);
}

/* Dark Mode */
[data-theme="dark"] .theme-btn {
    background: rgba(242, 140, 34, 0.15);
    color: var(--accent);
    border-color: rgba(242, 140, 34, 0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .top-bar {
        padding: 0 16px;
        height: 70px;
    }
    .brand img {
        width: 42px;
        height: 42px;
    }
    .brand-name {
        font-size: 1.3rem;
    }
    .top-controls {
        gap: 6px;
    }
}



/* ========================================
   CALL NOW POPUP (AUTO EVERY 30 SEC)
   ======================================== */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.popup-overlay.show .popup-card {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 50%;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.popup-close:hover {
    background: var(--danger);
    color: white;
}

.popup-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, #d32f2f, #f44336);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
    animation: pulse-call 2s infinite;
}

.popup-card h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.popup-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.popup-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d32f2f;
    margin: 16px 0;
}

.popup-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d32f2f, #f44336);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 16px 0;
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.3);
    transition: 0.3s;
}

.popup-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.4);
}

.popup-card small {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-top: 12px;
}

/* Mobile */
@media (max-width: 576px) {
    .popup-card {
        padding: 24px 16px;
    }
    .popup-icon {
        width: 60px; height: 60px; font-size: 1.8rem;
    }
}


/* ========================================
   RESET & BASE
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    font-family: 'Poppins', sans-serif; 
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--text); 
    line-height: 1.8; 
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease;
}
[data-theme="dark"] body {
    background: #0f172a;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 { 
    font-family: 'Playfair Display', serif; 
    color: var(--heading); 
    font-weight: 700; 
    letter-spacing: -0.5px;
}
h1 { font-size: 3rem; line-height: 1.1; }
h2 { 
    font-size: 2.3rem; 
    text-align: center; 
    margin-bottom: 48px; 
    position: relative;
}
h2::after { 
    content: ''; 
    width: 90px; height: 5px; 
    background: linear-gradient(90deg, var(--primary), var(--secondary)); 
    display: block; 
    margin: 16px auto 0; 
    border-radius: 3px; 
}
p { font-size: 1.1rem; margin-bottom: 18px; opacity: 0.9; }
.text-center { text-align: center; }

/* ========================================
   PRELOADER
   ======================================== */
.preloader { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: var(--bg); display: flex; justify-content: center; align-items: center; 
    z-index: 9999; transition: opacity 0.3s ease;
}
.preloader-logo { width: 80px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ========================================
   HAMBURGER
   ======================================== */
.hamburger-menu {
    position: fixed; top: 12px; left: 20px; font-size: 28px; color: var(--primary);
    cursor: pointer; z-index: 1001; background: var(--card); width: 50px; height: 50px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    box-shadow: var(--shadow-sm); display: none; transition: var(--transition);
}
.hamburger-menu:hover { transform: scale(1.1); }
@media (max-width: 992px) { 
    .hamburger-menu { display: flex; } 
    .brand { margin-left: 70px; } 
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
    position: fixed; top: 76px; left: 0; width: 290px; 
    height: calc(100vh - 76px); background: var(--card);
    backdrop-filter: blur(10px); box-shadow: var(--shadow-md);
    z-index: 998; padding: 28px 0; border-right: 1px solid var(--border);
    overflow-y: auto; transition: var(--transition); transform: translateX(0);
}
.sidebar-header { 
    text-align: center; margin-bottom: 24px; padding: 0 20px;
}
.sidebar-header img { 
    width: 70px; border-radius: 16px; box-shadow: var(--shadow-sm); margin-bottom: 12px; 
}
.sidebar-brand-text .brand-name {
    font-size: 1.4rem; font-weight: 800; color: var(--primary);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sidebar-brand-text .brand-tagline {
    font-family: 'Mukta', sans-serif; font-weight: 600;
    color: var(--secondary); font-size: 0.78rem; margin-top: -2px;
}



/* Menu */
#sidebarMenu a { 
    display: flex; align-items: center; padding: 16px 20px; 
    margin: 0 16px; border-radius: 14px; 
    color: var(--text); font-weight: 500; 
    transition: var(--transition); font-size: 1.05rem;
    position: relative; overflow: hidden;
}
#sidebarMenu a i { 
    width: 32px; font-size: 1.4rem; margin-right: 14px; 
    color: var(--primary); transition: var(--transition);
}
#sidebarMenu a::before {
    content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
    background: var(--primary); transform: scaleY(0); transition: var(--transition);
}
#sidebarMenu a:hover, #sidebarMenu a.active {
    background: linear-gradient(135deg, rgba(12, 60, 120, 0.1), rgba(46, 103, 177, 0.1));
    color: var(--primary); font-weight: 600; transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(12, 60, 120, 0.15);
}
#sidebarMenu a:hover::before, #sidebarMenu a.active::before { transform: scaleY(1); }
#sidebarMenu a:hover i, #sidebarMenu a.active i { transform: scale(1.2); color: var(--accent); }

[data-theme="dark"] #sidebarMenu a { color: #e2e8f0; }
[data-theme="dark"] #sidebarMenu a:hover,
[data-theme="dark"] #sidebarMenu a.active {
    background: rgba(242, 140, 34, 0.15); color: var(--accent);
}
[data-theme="dark"] #sidebarMenu a i { color: var(--secondary); }
[data-theme="dark"] #sidebarMenu a:hover i,
[data-theme="dark"] #sidebarMenu a.active i { color: var(--accent); }

@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    margin-left: 290px; margin-top: 76px; min-height: calc(100vh - 76px);
    transition: margin-left 0.3s ease;
}
@media (max-width: 992px) { .main-content { margin-left: 0 !important; } }

/* ========================================
   SECTION BLOCK
   ======================================== */
.section-block {
    padding: 70px 0;
    background: transparent;
}
.section-block > * {
    max-width: 1000px;
    margin: 0 auto;
}

/* ========================================
   MODERN HERO SECTION (PREMIUM GOVT STYLE)
   ======================================== */
.hero-govt {
    position: relative;
    background: linear-gradient(135deg, #e0f2ff 0%, #f8fdff 100%);
    border-radius: 24px;
    padding: 80px 32px;
    margin: 32px auto 70px;
    max-width: 1100px;
    text-align: center;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(12, 60, 120, 0.12),
        0 0 80px rgba(0, 120, 255, 0.08);
    border: 1px solid rgba(0, 120, 255, 0.15);
    backdrop-filter: blur(12px);
}

.hero-govt::before {
    content: '';
    position: absolute;
    top: -60%; left: -60%;
    width: 220%; height: 220%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 120, 255, 0.12), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.1), transparent 50%);
    animation: float 25s infinite ease-in-out;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(60px, -40px) rotate(180deg); }
}

/* Trust Seal */
.govt-seal {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, #0b3d91, #42a5f5);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(11, 61, 145, 0.3);
    animation: pulse-govt 2.5s infinite;
}

@keyframes pulse-govt {
    0%, 100% { box-shadow: 0 8px 25px rgba(11, 61, 145, 0.3); }
    70% { box-shadow: 0 0 0 25px rgba(11, 61, 145, 0); }
}

/* Headline */
.hero-headline {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1b365d;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-headline .gradient-text {
    background: linear-gradient(90deg, #0078ff, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* Subtext */
.hero-subtext {
    color: #444;
    font-size: 1.2rem;
    margin-bottom: 32px;
    font-weight: 500;
    opacity: 0.9;
}

/* CTA Group */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

/* Modern Pill Buttons */
.cta {
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta.blue {
    background: linear-gradient(90deg, #0078ff, #00b4d8);
    color: white;
    box-shadow: 0 6px 16px rgba(0, 120, 255, 0.3);
}

.cta.orange {
    background: linear-gradient(90deg, #ffb703, #fb8500);
    color: white;
    box-shadow: 0 6px 16px rgba(251, 133, 0, 0.3);
}

.cta.green {
    background: linear-gradient(90deg, #00b32d, #00e676);
    color: white;
    box-shadow: 0 6px 16px rgba(0, 179, 45, 0.3);
}

.cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.cta.blue:hover { box-shadow: 0 10px 25px rgba(0, 120, 255, 0.4); }
.cta.orange:hover { box-shadow: 0 10px 25px rgba(251, 133, 0, 0.4); }
.cta.green:hover { box-shadow: 0 10px 25px rgba(0, 179, 45, 0.4); }

.cta .icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.cta:hover .icon {
    transform: translateX(4px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b365d;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 120, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trust-badge i {
    color: #00b32d;
    font-size: 1.1rem;
}

/* ========================================
   BENEFITS GRID
   ======================================== */
.benefits-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 40px;
}
.benefit {
    text-align: center; padding: 28px 20px; background: var(--card); border-radius: 18px;
    box-shadow: var(--shadow-sm); transition: var(--transition); backdrop-filter: blur(8px);
    border: 1px solid var(--border);
}
.benefit:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.benefit i { font-size: 2.8rem; color: var(--primary); margin-bottom: 16px; }
.benefit h3 { color: var(--heading); font-size: 1.3rem; margin-bottom: 8px; }

/* ========================================
   PROCESS TIMELINE
   ======================================== */
.process-timeline {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; position: relative;
}
.process-step { flex: 1; min-width: 200px; text-align: center; }
.step-circle { 
    width: 50px; height: 50px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin: 0 auto 16px; box-shadow: var(--shadow-sm);
}
.timeline-line { flex: 1; height: 4px; background: var(--border); margin: 25px 10px; display: none; }
@media (min-width: 768px) { .timeline-line { display: block; } .process-timeline { flex-wrap: nowrap; } }

/* ========================================
   CALCULATOR
   ======================================== */
#calculator { background: rgba(227, 242, 253, 0.6); border-radius: 24px; padding: 50px 20px; }
.calculator-widget {
    background: var(--card); padding: 36px; border-radius: 20px; max-width: 520px; margin: 0 auto;
    box-shadow: var(--shadow-md); border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.calc-input { margin-bottom: 20px; }
.calc-input label { display: block; margin-bottom: 8px; color: var(--primary); font-weight: 600; }
.calc-input input, .calc-input select {
    width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 12px;
    background: rgba(255, 255, 255, 0.8); font-size: 1rem; color: #333; transition: var(--transition);
}
.calc-input input:focus, .calc-input select:focus {
    border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(12, 60, 120, 0.15); outline: none;
}
.calc-result { background: white; padding: 24px; border-radius: 16px; margin-top: 24px; border: 2px solid var(--border); }
.calc-result h3 { color: var(--primary); text-align: center; margin-bottom: 16px; }
.separator { margin: 16px 0; border-color: var(--border); }

/* ========================================
   SERVICE AREAS
   ======================================== */
.areas-grid {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px;
}
.area-tag {
    background: rgba(12, 60, 120, 0.15); color: var(--primary); padding: 10px 18px;
    border-radius: 50px; font-size: 0.95rem; font-weight: 600; border: 1px solid rgba(12, 60, 120, 0.2);
}

/* ========================================
   COMPLIANCE
   ======================================== */
.compliance-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px;
}
.compliance-item {
    text-align: center; padding: 24px; background: var(--card); border-radius: 16px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.compliance-item i { font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 30px;
}
.testimonial {
    background: var(--card); padding: 28px; border-radius: 18px; font-style: italic;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.testimonial strong { display: block; margin-top: 16px; color: var(--primary); font-style: normal; font-weight: 600; }

/* ========================================
   FAQ
   ======================================== */
.faq { max-width: 800px; margin: 0 auto; }
details {
    background: var(--card); margin-bottom: 16px; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
summary {
    padding: 18px 24px; font-weight: 600; color: var(--primary); cursor: pointer;
    position: relative;
}
summary::after { content: '+'; position: absolute; right: 24px; font-weight: bold; font-size: 1.4rem; }
details[open] summary::after { content: '−'; }
details p { padding: 0 24px 24px; color: var(--text); }

/* ========================================
   AGENT SECTION
   ======================================== */
.cta.franchise {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(90deg, #0078ff, #00b4d8);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta.franchise:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,120,255,0.3);
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box tracking id */
.popup-box {
  background: #fff;
  color: #222;
  padding: 24px 32px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: popIn 0.3s ease;
}

/* Heading */
.popup-box h2 {
  color: #0077cc;
  margin-bottom: 10px;
}

/* Tracking ID text */
#popupMessage {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Close button */
#closePopup {
  background: #0077cc;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
#closePopup:hover {
  background: #005fa3;
}

/* Animation */
@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}





/* ========================================
   FOOTER CONTACT
   ======================================== */
.footer-contact {
    background: var(--card); border-radius: 24px; text-align: center; padding: 60px 30px;
    box-shadow: var(--shadow-md); border: 1px solid var(--border); margin: 40px auto;
    max-width: 900px;
}
.contact-details p { margin-bottom: 14px; font-size: 1.1rem; }
.contact-details a { color: var(--primary); font-weight: 600; }
.social-links { margin-top: 30px; }
.social-icon {
    display: inline-block; width: 50px; height: 50px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 8px; font-size: 1.4rem; transition: var(--transition);
}
.social-icon:hover { background: var(--secondary); transform: translateY(-3px); }

/* ===========================
   FLOATING CONTACT BAR (CENTERED)
   =========================== */
.floating-contact-bar {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px; /* 🔹 Increased gap between icons */
  padding: 10px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

/* Contact Buttons */
.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

/* ✅ WhatsApp */
.contact-link.whatsapp {
  background: #25D366;
  color: #fff;
  width: 50px; /* 🔹 Bigger icon area */
  height: 50px;
  border-radius: 50%;
}
.contact-link.whatsapp i {
  font-size: 1.6rem; /* 🔹 Bigger icon size */
}
.contact-link.whatsapp:hover {
  background: #1EBE5B;
  transform: scale(1.08);
}

/* ✅ Call */
.contact-link.call {
  background: #007BFF;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
}
.contact-link.call i {
  font-size: 1.2rem;
}
.contact-link.call:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* ✅ Mobile View */
@media (max-width: 768px) {
  .floating-contact-bar {
    gap: 16px; /* Slightly less gap on mobile */
    padding: 8px 16px;
    bottom: 10px;
  }

  .contact-link {
    font-size: 0.85rem;
    padding: 5px 10px;
    gap: 6px;
  }

  .contact-link.whatsapp {
    width: 44px; /* 🔹 Still larger than before */
    height: 44px;
  }

  .contact-link.whatsapp i {
    font-size: 1.4rem; /* 🔹 Bigger on mobile too */
  }

  .contact-link.call {
    padding: 6px 14px;
  }

  .contact-link.call i {
    font-size: 1rem;
  }

  .contact-link.call span {
    font-size: 0.85rem;
  }
}
/* Two call numbers inside the blue button
.call-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* Divider between two numbers — pure white gap like WhatsApp spacing */
/* .call .divider {
  width: 1px;
  height: 24px;
  background: #ffffff; /* pure white */
  /* display: block;
  margin: 0 12px;
  opacity: 0.7; /* smooth look 
} 
/* Separate call icons like WhatsApp icon */
/* Call buttons with icon + number */
.contact-link.call-full {
  background: #007BFF;
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-link.call-full i {
  font-size: 1.1rem;
}

.contact-link.call-full:hover {
  background: #0056b3;
  transform: scale(1.05);
}


/* Fix spacing like WhatsApp icon */
.floating-contact-bar {
  display: flex;
  align-items: center;
  gap: 16px; /* equal spacing */
}




/* ========================================
   AGREEMENT FORM STYLING
   ======================================== */
.agreement-form {
    background: var(--card);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 48px 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.agreement-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(12, 60, 120, 0.2);
}

/* GRID LAYOUT */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.form-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
}
[data-theme="dark"] .form-section {
    background: rgba(15, 23, 42, 0.85);
}

/* SECTION HEADINGS */
.form-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-section h3 i {
    color: var(--accent);
}

/* INPUT FIELDS */
.form-group {
    position: relative;
    margin-bottom: 20px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: var(--transition);
}
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(12, 60, 120, 0.15);
    background: #fff;
}

/* FLOATING LABELS */
.form-group label {
    position: absolute;
    top: 14px;
    left: 16px;
    color: #888;
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition);
    background: transparent;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -10px;
    left: 12px;
    background: var(--card);
    padding: 0 6px;
    font-size: 0.8rem;
    color: var(--primary);
}

/* FILE INPUTS */
.file-label {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.file-label:hover {
    background: rgba(12, 60, 120, 0.05);
    border-color: var(--primary);
}
.file-preview img {
    margin-top: 8px;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* SUBMIT SECTION */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.form-note {
    font-size: 0.95rem;
    color: var(--text);
    margin-top: 12px;
}

/* RESPONSE MESSAGE */
.response-message {
    text-align: center;
    margin-top: 24px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(12, 60, 120, 0.05);
    border-radius: 12px;
    padding: 16px;
    display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .agreement-form {
        padding: 32px 20px;
    }
    .form-section {
        padding: 20px 16px;
    }
}
/* ========================================
   MARATHI FONT STYLING (Mukta)
   ======================================== */

/* Automatic Marathi font for labels, buttons, headings */
.marathi,
body:lang(mr),
[data-lang="mr"],
label:lang(mr),
h1:lang(mr),
h2:lang(mr),
h3:lang(mr),
h4:lang(mr),
button:lang(mr),
input:lang(mr),
textarea:lang(mr),
select:lang(mr) {
    font-family: 'Mukta', sans-serif !important;
    letter-spacing: 0.3px;
}

/* Mix Marathi + English gracefully */
.hybrid-text {
    font-family: 'Mukta', 'Poppins', sans-serif;
}

/* Better spacing + weight for Marathi headlines */
.marathi-heading {
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}
/* Dark Mode Variables */
html[data-theme="dark"] {
    --bg: #1a1a1a;
    --text: #f0f0f0;
    --card-bg: #2d2d2d;
    --primary: #00d4ff;
    --border: #444;
    /* Add more as per your design */
}

html[data-theme="light"] {
    --bg: #ffffff;
    --text: #333333;
    --card-bg: #f8f9fa;
    --primary: #007bff;
    --border: #ddd;
}

/* Language Button Active Style */
.lang-toggle .lang-en,
.lang-toggle .lang-mr {
    transition: all 0.3s;
    font-weight: normal;
}
.lang-toggle .lang-en[style*="bold"],
.lang-toggle .lang-mr[style*="bold"] {
    font-weight: bold !important;
}

/* Smooth Theme Transition */
:root, [data-theme="light"], [data-theme="dark"] {
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Sticky Top Bar */
.top-bar.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 20px;
}
.top-cta { display: none; }
@media (min-width: 992px) { .top-cta { display: block; } }

/* Floating Buttons */
.whatsapp-float, .call-float, .back-to-top {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s;
}
.whatsapp-float { right: 20px; background: #25D366; }
.call-float { right: 80px; background: #007bff; }
.back-to-top { right: 20px; bottom: 80px; background: var(--primary); display: none; }
.whatsapp-float:hover, .call-float:hover, .back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Uploaded File Preview */
.uploaded-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 8px;
}
.uploaded-file img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }
.file-info { flex: 1; font-size: 0.85rem; }
.file-info span { display: block; }
.remove-file {
    background: var(--danger);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
}

/* ============ TRACK PAGE - EXACTLY LIKE YOUR SCREENSHOT (MOBILE PERFECT) ============ */
.hero-track {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary), #0056b3);
    color: white;
    border-radius: 16px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-track h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.hero-track p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.track-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

.track-form input {
    width: 100%;
    max-width: 340px;               /* exactly jaise tumhare screenshot mein hai */
    padding: 18px 20px;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    outline: none;
}

.track-form input::placeholder {
    color: #999;
    font-size: 1rem;
}

.track-form button,
.track-form .cta.blue {
    padding: 16px 40px !important;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    background: white !important;
    color: var(--primary) !important;
    border: 2px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.track-form button:hover,
.track-form .cta.blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: #f0f8ff !important;
}

/* Desktop pe side-by-side bhi dikhega (bonus) */
@media (min-width: 640px) {
    .track-form {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }
    
    .track-form input {
        max-width: 300px;
    }
    
    .track-form button,
    .track-form .cta.blue {
        padding: 18px 36px !important;
        height: 58px;
    }
}

/* Status box same rakha */
.status-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 32px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: #336699;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.status-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Header */
.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 10px;
}

.status-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00509e; /* medium light blue for header */
}

/* Badge */
.badge {
    background: #f58220;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 6px rgba(245, 130, 32, 0.3);
}

/* Steps (aligned and consistent) */
.status-timeline {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.step {
    text-align: center;
    flex: 1;
    padding: 14px 10px;
    border-radius: 10px;
    background: #f5f7fa;
    color: #336699; /* light blue for step text */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 120px;
}

.step.done {
    background: linear-gradient(135deg, #28a745, #36c24a);
    color: #fff;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Error message */
.error-msg {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ffcdd2;
    margin-top: 20px;
    font-weight: 500;
}

/* Dark Mode */
[data-theme="dark"] .status-box {
    background: #1e1f24;
    border-color: rgba(255, 255, 255, 0.08);
    color: #a0c8ff; /* light blue for dark mode text */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .status-header h3 {
    color: #cce5ff;
}

[data-theme="dark"] .step {
    background: rgba(255, 255, 255, 0.08);
    color: #a0c8ff;
}

[data-theme="dark"] .step.done {
    background: linear-gradient(135deg, #1db954, #24c965);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}
/* STATUS DETAILS - CENTERED BLOCK, LEFT-ALIGNED LABELS (STARTING LETTERS ALIGNED) */
.status-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px auto;
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left; /* Key: Left-align text for starting alignment */
}

.status-details p {
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #2c3e50;
    flex-wrap: nowrap;
    padding-left: 20px; /* Optional: indent for visual balance */
}

.status-details strong {
    font-weight: 600;
    color: #00509e;
    font-size: 0.95rem;
    white-space: nowrap;
    min-width: 135px; /* Fixed width = all labels start at same point */
    text-align: right;
    position: relative;
}

/* Colon via CSS */
.status-details strong::after {
    content: ":";
    margin-left: 6px;
    color: #00509e;
    font-weight: 600;
}

.status-details span {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
    text-align: left;
    flex: 1;
}

/* Mobile: Stack */
@media (max-width: 600px) {
    .status-details {
        text-align: center;
    }
    .status-details p {
        flex-direction: column;
        gap: 2px;
        padding-left: 0;
        text-align: center;
    }
    .status-details strong {
        min-width: auto;
        text-align: center;
    }
    .status-details strong::after {
        content: "";
    }
    .status-details span {
        text-align: center;
    }
}

/* Dark Mode */
[data-theme="dark"] .status-details strong,
[data-theme="dark"] .status-details strong::after {
    color: #cce5ff;
}
[data-theme="dark"] .status-details span {
    color: #e0e0e0;
}


/* Agent Section Center Alignment Fix */
.section-block .cta.franchise {
  display: inline-block;
  margin-top: 20px;
  text-align: center;
}

/* Center align the whole section */
.section-block[data-aos="fade-up"] {
  text-align: center;
}

/* Optional: Make button look nicer */
.cta.franchise {
  background: linear-gradient(90deg, #0078ff, #00b4d8);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta.franchise:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,120,255,0.3);
}