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

:root {
    /* Brand Colors (Restored to legacy Navy & Teal palette for corporate identity) */
    --primary: #1a2a4a;
    --primary-hover: #121e36;
    --primary-light: #2c3e6b;
    --primary-rgb: 26, 42, 74;

    --secondary: #0ea5a9;
    --secondary-hover: #0c8c90;
    --secondary-light: #14b8b5;

    --accent: #10b981;
    --accent-light: #34d399;

    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --muted: #64748b;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #1a2a4a 0%, #2c3e6b 100%);
    --secondary-gradient: linear-gradient(135deg, #0ea5a9 0%, #14b8b5 100%);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --bg-gradient: linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%);

    /* UI tokens */
    --card-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 2px 8px rgba(26, 42, 74, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(26, 42, 74, 0.08), 0 8px 10px -6px rgba(26, 42, 74, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(26, 42, 74, 0.12), 0 12px 20px -10px rgba(26, 42, 74, 0.12);
    --radius: 20px;
    --radius-sm: 12px;
    --font: 'Outfit', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    font-family: var(--font);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #1e293b;
    overflow-x: hidden;
}

/* Glassmorphism Navbar - Dark Navy Theme */
.navbar-glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    padding: 0.85rem 0;
}

.navbar-glass .navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: #ffffff !important;
}

.navbar-glass .navbar-brand i {
    color: var(--secondary);
    margin-right: 8px;
}

.navbar-glass .nav-link {
    color: #888 !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    transition: var(--transition);
}

.navbar-glass .nav-link:hover {
    color: #333 !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.search-hero {
    padding: 3.5rem 2.5rem;
    border: 1px solid #489ED3;
    position: relative;
    overflow: hidden;
}

/* Cards */
.card-modern {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
}


.card-modern .card-header {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.5rem 1.75rem 1.5rem 0;
    color: var(--primary);
}

.table-separate {
    border-collapse: separate;
}

.card-modern .card-body {
    padding: 1.75rem;
}

.fa-solid,
.fas {
    font-weight: 900;
    align-content: center;
    margin-top: 3px;
}

/* Form Controls */
.form-select,
.form-control {
    border: 1.5px solid rgba(100, 116, 139, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 42, 74, 0.15);
    background-color: #fff;
}

.form-select:disabled,
.form-control:disabled {
    background-color: rgba(241, 245, 249, 0.6);
    border-color: rgba(100, 116, 139, 0.08);
}

/* Buttons */
.btn-primary {
    background: #333333;
    border: none;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(26, 42, 74, 0.2);
    color: #ffffff !important;
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(26, 42, 74, 0.35);
    background: var(--dark-light);
}
.btn-dark-custom {
  background-color: #333333 !important;
  border: none;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(26, 42, 74, 0.2);
    transition: var(--transition);
    color: #ffffff !important;
}
.btn-red-custom {
  background-color: #CD2522 !important;
  border: none;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(26, 42, 74, 0.2);
    transition: var(--transition);
    color: #ffffff !important;
}
.btn-outline-secondary {
    border: 1.5px solid rgba(100, 116, 139, 0.2);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    color: var(--dark-light);
    transition: var(--transition);
}

.btn-outline-secondary:hover {
    background-color: rgba(26, 42, 74, 0.05);
    border-color: rgba(26, 42, 74, 0.3);
    color: var(--primary);
    transform: translateY(-1px);
}

/* State Grid cards */
.grid-card {
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    height: 100%;
}
.grid-card-state{
    background: transparent;
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    height: 100%;
}
.grid-card-state:hover{
background-color: #F1F8F9;
}
.state-custom-hover:hover{
    background: #F1F8F9;
}
/* Tables */
.table-modern {
    overflow: hidden;
}

.table-modern thead {
    background: var(--primary);
}

.table-modern thead th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    padding: 1.2rem 1.5rem;
    background-color: #deeaf8;
    border-bottom: 1px solid black;
}

.table-modern tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid black;
}

.table-modern tbody tr:nth-child(even) {
    background: rgba(26, 42, 74, 0.015);
}

.table-modern tbody tr:hover {
    background: #deeaf8;
    cursor: pointer;
}

.table-modern tbody td {
    /* padding: 1.1rem 1.5rem; */
    vertical-align: middle;
    color: #003662;
    background: transparent;
}

/* Compact Table for District and Tehsil Location Listings (Prevents horizontal scrolling) */
.table-district-locations thead th {
    padding: 0.85rem 0.65rem;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.table-district-locations tbody td {
    padding: 0.7rem 0.65rem;
    font-size: 0.85rem;
}


/* Stat Cards */
.stat-card {
    background: linear-gradient(135deg, rgba(14, 165, 169, 0.06) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1px solid rgba(14, 165, 169, 0.1);
    border-radius: var(--radius-sm);
    padding: 1.25rem 0.5rem;
}


/* Breadcrumbs */
.breadcrumb-modern {
    background: #DEEDFC;
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.breadcrumb-modern .breadcrumb-item a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-modern .breadcrumb-item a:hover {
    color: var(--secondary);
}

.breadcrumb-modern .breadcrumb-item.active {
    color: var(--muted);
    font-weight: 500;
}

/* Badges */
.badge-modern {
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
}

.badge-modern.hover-lift {
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.badge-modern.hover-lift:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
}

.table-link {
    color: #1a2a4a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
}

.table-link:hover {
    color: var(--primary) !important;
    text-decoration: underline !important;
}

/* List Groups */
.list-group-item {
    background: transparent;
    padding: 0.75rem 1rem;
    border-color: rgba(26, 42, 74, 0.05) !important;
}


/* Pagination */
.pagination .page-link {
    color: var(--primary);
    border: 1px solid rgba(100, 116, 139, 0.15);
    margin: 0 3px;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #fff;
}

.pagination .page-link:hover {
    background-color: rgba(26, 42, 74, 0.08);
    border-color: var(--primary-light);
    color: var(--secondary);
}

/* Footer - Dark Navy Gradient Theme */
.footer-premium {
    background: linear-gradient(135deg, #0f172a 0%, #1a2a4a 100%);
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-premium h5,
.footer-premium h6 {
    color: #ffffff;
    font-weight: 700;
}

.footer-premium a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-premium a:hover {
    color: var(--secondary-light);
    padding-left: 2px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(26, 42, 74, 0.4);
}

.bg-success {
    --bs-bg-opacity: 1;
    background-color: rgb(203 195 195) !important;
}

.text-success {
    --bs-text-opacity: 1;
    color: rgb(0 0 0) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}




/* CUSTOM UI */
@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1000px !important;
    }

    .navbar-expand-lg {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}


.desktop-leftG {
    display: block;
}

.desktop-rightG {
    display: block;
}

.desktop-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 970px;
    margin: 0 auto;
    height: 90px;
}

.desktop-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 970px;
    margin: 0 auto;
    height: 250px;
}

.mobile-menu {
    display: none;
}

.mobile-footer-ad {
    display: none;
}

.mobile-footer-sticky {
    display: none;
}

.display-footer-sticky {
    text-align: center;
}

.tablet-leaderboard {
    display: none;
}

.tablet-footer {
    display: none;
}

.tablet-sticky {
    display: none;
}
.outer-wrapper{
    max-width: 1001px;
    margin: 0 auto;
}
@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
        flex-direction: column;
    }
}
@media (min-width:769px) and (max-width:1024px) {
    .tablet-leaderboard {
        display: flex;
        width: 728px;
        height: 90px;
        margin: 0 auto;
    }

    .tablet-footer {
        display: block;
        max-width: 728px;
        max-height: 90px;
        margin: 0 auto;
    }

    .tablet-sticky {
        text-align: center;
        display: block;
    }

    .desktop-menu {
        display: none;
    }

    .desktop-footer {
        display: none;
    }

    .display-footer-sticky {
        display: none !important;
    }
    .left-panel-listing{
        display: none;
    }
    .hero-right-wrapper {
    width: 100% !important;
}
}
@media (min-width:1025px) and (max-width:1249px) {
.desktop-leftG {display: none !important;}
.desktop-rightG {display: none !important;}
  }
@media screen and (max-width:1024px) {
    .desktop-leftG {
        display: none;
    }

    .desktop-rightG {
        display: none;
    }

    .desktop-menu {
        display: none;
    }

    .desktop-footer {
        display: none;
    }

    .display-footer-sticky {
        display: none;
    }

    .mobile-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 320px;
        margin: 0 auto;
        height: 50px;
    }

    .mobile-footer-ad {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 300px;
        margin: 0 auto;
        height: 250px;
    }

    .mobile-footer-sticky {
        display: block;
        text-align: center;
    }

    .tablet-leaderboard {
        display: none;
    }

    .tablet-footer {
        display: none;
    }

    .tablet-sticky {
        display: none;
    }
}

.search-hero-wrapper {
    display: flex;
    justify-content: space-between;
}

.head-wrapper {
    display: flex;
    justify-content: space-around;
}

.social-icons-wrapper {
    width: 15%;
}

.hero-right-wrapper {
    width: 75%;
    display: flex;
    flex-direction: column;
}

/* Mega Menu Overlay Layout */
.mega-menu-overlay {
    position: fixed;
    /* top: 180px; */
    /* Adjust this to match your exact Navbar height */
    left: 0;
    width: 100%;
    height: calc(100vh - 56px);
    background-color: rgba(17, 17, 17, 0.98);
    /* Semi-transparent clean dark background */
    z-index: 1000 !important;
    /* Just below Bootstrap standard dropdown panels but above main page content */
    overflow-y: auto;
    display: none;
    /* Kept hidden until activated via JS toggle */
}

/* Active State Triggered via JavaScript Class Injection */
.mega-menu-overlay.active {
    display: block;
}

/* Menu Text Headings styling */
.mega-menu-overlay .menu-heading {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    border-bottom: 1px solid #444;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

/* Internal Lists Layout styling */
.mega-menu-overlay .menu-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mega-menu-overlay .menu-list li {
    margin-bottom: 8px;
}

/* Arrow & Anchor tag styles */
.mega-menu-overlay .menu-list a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease-in-out;
}

.mega-menu-overlay .menu-list a i {
    font-size: 0.75rem;
    color: #888;
}

.mega-menu-overlay .menu-list a:hover {
    color: #ffffff;
}

/* Keep navbar items aligned nicely */
.navbar-nav .btn-link {
    text-decoration: none;
    box-shadow: none !important;
}

.custom-footer {
    background-color: #0b0c0a;
    /* Dark background matching the image */
    color: #b5b5b5;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.custom-footer h5 {
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 20px;
}

.custom-footer ul li {
    margin-bottom: 6px;
}

.custom-footer a {
    color: #b5b5b5;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Yellow Badge Buttons */
.btn-yellow-badge {
    background-color: #ffc107;
    color: #000000 !important;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none !important;
}

.btn-yellow-badge:hover {
    background-color: #e0a800;
}

/* Circular Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #2c2e2a;
    color: #b5b5b5;
    border-radius: 50%;
    margin: 0 6px;
    font-size: 16px;
    transition: all 0.2s;
}

.social-icons a:hover {
    background-color: #ffffff;
    color: #0b0c0a;
    text-decoration: none;
}

.footer-logo-text {
    font-size: 13px;
    color: #b5b5b5;
    line-height: 1.4;
}

/* 4-Column Grid Container */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    width: 100%;
}

/* Card Container with matching soft border color */
.product-card {
    background-color: #f9fafb;
    border: 1px solid #adcbee;
    /* Soft blue-gray border from image_b669bd.png */
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
}

/* Centered Preview Image Box */
.image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    margin-bottom: 1.25rem;
}

.image-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Middle row: Row alignment for title and price */
.details-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 0.67rem;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.4;
}

.product-price {
    font-size: 0.67rem;
    font-weight: 500;
    color: #4b5563;
    white-space: nowrap;
}

/* Footer Alignment for branding logo */
.card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.brand-logo {
    height: 24px;
    object-fit: contain;
}

/* Responsive Breakpoints */

/* Tablets (Landscape/Portrait) */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for medium screens */
        gap: 1rem;
    }
    .head-wrapper{
    flex-direction: column;
}
.social-icons-wrapper {
    width: 30%;
    margin-bottom: 2rem;
}
    nav, .mobhide {
    display: none;
}
.intro-contact-details{
    display: block !important;
}
.search {
    max-width: 325px;
    width: 60%;
    margin: 10px 0 0 10px;
}
.bt-menu {
    margin: 10px 10px 0 0;
}
.drop-down {
    padding-bottom: 20px;
    height: auto;
}
.main_top {
    width: 100%;
}
.col-md-3.dropsec {
    width: 100%;
    background: #ffffff;
    color: #000;
    padding: 5px 0;
}
.dropsec .hd3 {
    background: #484747;
    width: 94%;
    margin: 0 2%;
    padding: 1%;
}

#megaMenuToggle{
    position: absolute;
    right: 10px;
    top: 10px;
}
.mobile-nav-flex{
justify-content: space-between;
}
}
/* Force the links collapse onto its own row below, on mobile only */
@media (max-width: 991.98px) {
    .mobile-nav-flex .navbar-collapse {
        flex-basis: 100%;
        margin-top: .5rem;
    }
}
/* Mobile Screens */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
        /* 1 column for phone view */
        gap: 1.5rem;
    }
}
@media (max-width: 768px){
.left-panel-listing{
display: none;
}
.mapience-wrapper{
    flex-direction: column;
}
.hero-right-wrapper {
    width: 100%;
}
.card-modern .card-body {
    padding: 0.5rem;
}
.head-wrapper{
    flex-direction: column;
}
.social-icons-wrapper {
    width: 35%;
    margin-bottom: 2rem;
}
.image-box {
    aspect-ratio: auto;
}
.product-title {
    font-size:1rem;
}
.product-price {
    font-size:1rem;
}
.table-modern tbody td {
    padding: 0.5rem 1.5rem;
}
}

.left-panel-listing ul {
    list-style: none;
    padding: 0;
}
.left-panel-listing span a{
    text-decoration: none;
    color: #1e293b;
}

.left-panel-listing span a:hover{
    text-decoration: underline;
}
.card-header-padding {
    padding-left: 1.75rem !important;
}

.district-listing a:hover,
.state-listing a:hover {
    background-color: #deeaf8;
}

/* Breadcrumb Modern Styling */
.breadcrumb-modern {
    background-color: #f1f5f9;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb-modern .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    padding: 0 0.5rem !important;
    color: #64748b !important;
}

.breadcrumb-modern .breadcrumb-item a {
    color: var(--primary, #1e3a8a);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-modern .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-modern .breadcrumb-item.active {
    color: #475569;
    font-weight: 600;
}

/* ==========================================================================
   Custom Searchable Dropdown Styling (Bootstrap Native)
   ========================================================================== */
.custom-search-select .select-trigger {
    background-color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.6rem 0.85rem;
    color: #1e293b;
    text-align: left;
}

.custom-search-select .select-trigger:focus,
.custom-search-select .select-trigger[aria-expanded="true"] {
    border-color: var(--primary, #1e3a8a);
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.15);
}

.custom-search-select .select-trigger:disabled {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    opacity: 0.65;
    cursor: not-allowed;
    color: #64748b;
}

.custom-search-select .dropdown-menu {
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    margin-top: 4px;
    z-index: 1050;
}

.custom-search-select .search-input {
    border-radius: 0.375rem;
    border: 1px solid #cbd5e1;
    font-size: 0.88rem;
}

.custom-search-select .search-input:focus {
    border-color: var(--primary, #1e3a8a);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.15);
}

.custom-search-select .dropdown-options-list {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.custom-search-select .dropdown-options-list::-webkit-scrollbar {
    width: 6px;
}

.custom-search-select .dropdown-options-list::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
}

.custom-search-select .option-item {
    font-size: 0.92rem;
    padding: 0.5rem 0.75rem;
    transition: background-color 0.1s ease;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
    color: #1e293b;
}

.custom-search-select .option-item:hover,
.custom-search-select .option-item:focus {
    background-color: #eff6ff;
    color: var(--primary, #1e3a8a);
    font-weight: 500;
}

.custom-search-select .option-item.selected {
    background-color: var(--primary, #1e3a8a);
    color: #fff;
    font-weight: 500;
}



.collapse:not(.show) {
    display: block !important;
}
@media (max-width: 768px){
.mega-menu-overlay {
    top: 75px !important;
z-index: 999999999 !important;
}
}

@media (max-width: 1024px){
    .collapse:not(.show) ul {
    flex-direction: row;
}
.collapse:not(.show) ul .d-flex{
    display: none !important;
}
.outer-wrapper {
 width: 100%;
}
.apporv-mapience-flex{
    flex-direction: column;
}
.mega-menu-overlay {
    top: 75px;
    height: 70vmin;
}
.pagination-mob{
    display: block;
}
.head-banner-wrap-img{
    width: 100%;
    margin-top: 5vmin ;
}

.head-logo-container{
    display: flex;
    flex-direction: row !important;
    align-items: center;
    height: auto !important;
}
.navbar-toggler{
    background-color: #ffffff;
    color:#003662;
}
#pincodeSearchDropdown{
    width: 100% !important;
}
}


@media (min-width: 769px) and (max-width: 1024px){
    .search-hero {
    margin: 0 15%;
}
}



/* === Dropdown fix: overflow + stacking === */

/* 1. Let dropdown menus escape their card's boundaries */
.search-hero,
.card-modern,
.card-modern .card-body,
#frmPin,
.custom-search-select {
    overflow: visible !important;
}

/* 2. Raise the whole card above its sibling card while its dropdown is open
      (needed because backdrop-filter on .card-modern creates a stacking context) */
.card-modern:has(.dropdown-menu.show) {
    position: relative;
    z-index: 2000;
}

/* 3. Consolidate scrolling to one place (avoids nested-scroll clipping) */
.custom-search-select .dropdown-menu {
    max-height: 320px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.dropdown-options-list {
    max-height: none !important;
    overflow-y: visible !important;
}
.head-logo-container{
    height: 111px;
}
.head-banner-wrap{
    border:2px solid transparent;
}
.head-banner-wrap:hover{
border:2px solid #999;
cursor: pointer;
}
.head-banner-wrap-img{
    width: 100%;
}





body.mega-menu-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}


html {
    scrollbar-gutter: stable;
}
.mega-menu-overlay.open {
    display: block;
}


.video-ad{width: 640px;height: 440px;margin: 0 auto;}
@media screen and (max-width:768px){
.video-ad{width: 320px;height: 250px;margin: 0 auto;}
}
@media (min-width:769px) and (max-width:1024px){
.video-ad{width: 640px;height: 280px;margin: 0 auto;}
}


.view-tehsil-btn{
    background-color: #F1F8F9;
    border: 1px solid #71a8b5;
    transition: all 0.1s ease;
    font-size: 1rem;
    box-sizing: border-box;
    padding: 10px;
    color: #0f172a;
    text-decoration: none;
}

.view-tehsil-btn:hover{
    background-color: #71a8b5;
}

