/* ========================================
   NOBROKERAGE.COM - DESKTOP STYLES ONLY
   ======================================== */

/* ========================================
   SECTION 1: UTILITY CLASSES & COLORS
   ======================================== */

   body,html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
.text-orange {
color: #ff6d00;
}

.brand-text {
line-height: 1;
}

.sub-text {
font-size: 0.75rem;
color: #000;
line-height: 1;
margin-top: -4px;
}

/* ========================================
 SECTION 2: HEADER & NAVIGATION
 ======================================== */

/* Main container with max width */


/* Post Property Button */


.dropdown-toggle {
cursor: pointer;
font-weight: 500;
font-size: 0.9rem;
}

/* Main Navigation Bar */
.main-nav {
width: 100%;
background: linear-gradient(to right, #f57c1f, #f57c1f);
box-sizing: border-box;
}

.nav-list {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
padding: 0.5rem 0;
list-style: none;
gap: 32px;
}

.nav-list li a {
color: #fff;
text-decoration: none;
font-size: 1.05rem;
font-weight: 500;
position: relative;
padding: 2px 8px;
transition: background 0.2s, color 0.2s;
border-radius: 4px;
}

.nav-list li a:hover {
background: rgba(255,255,255,0.12);
color: #fff;
}

.nav-caret {
font-size: 0.8em;
margin-left: 2px;
}

/* Desktop Navigation Bar */
.main-nav-bar {
background: #f57c2a;
}

.main-nav-bar .nav-link {
color: #fff !important;
font-weight: 500;
font-size: 1.15rem;
padding: 0 22px;
}

.main-nav-bar .nav-link:hover,
.main-nav-bar .nav-link:focus {
text-decoration: underline;
color: #fff !important;
}

/* ========================================
 SECTION 3: WELCOME SECTION & SEARCH
 ======================================== */

.welcome-orange {
color: #f57c2a !important;
font-style: italic;
font-weight: 500;
}

.btn-residential {
background: #f57c2a !important;
color: #fff !important;
border: none !important;
}

.btn-residential:hover {
background: #e86c1a !important;
color: #fff !important;
}

.btn-commercial {
border-color: #f57c2a !important;
color: #f57c2a !important;
background: #fff !important;
transition: background 0.2s, color 0.2s;
}

.btn-commercial:hover, .btn-commercial:focus {
background: #f57c2a !important;
color: #fff !important;
border-color: #f57c2a !important;
}

.btn-search {
background: #f57c2a !important;
color: #fff !important;
border: none !important;
transition: background 0.2s;
}

.btn-search:hover, .btn-search:focus {
background: #e86c1a !important;
color: #fff !important;
}

/* Property Search Form Styling */
.search-form-wrapper {
    margin-top: 40px;
    padding: 20px 0;
}

.form-group.borders {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
    z-index: 10;
}

.form-group.borders:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #d1d7db;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
    z-index: 2;
    pointer-events: none;
}

.input-with-icon .form-control {
    border: none;
    border-radius: 12px;
    padding: 16px 16px 16px 48px;
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    background: transparent;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    width: 100%;
    height: 54px;
}

/* Custom dropdown arrow */
.input-with-icon select.form-control {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
}

.input-with-icon .form-control:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.input-with-icon .form-control option {
    padding: 12px 16px;
    font-size: 15px;
    color: #495057;
    background: #ffffff;
}

/* Fix for placeholder text styling */
.input-with-icon .form-control option:first-child {
    color: #6c757d;
    font-weight: 400;
}

/* Dropdown styling fixes */
.input-with-icon select.form-control {
    color: #495057;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* When no option is selected, show placeholder color */
.input-with-icon select.form-control[value=""] {
    color: #6c757d;
}

/* Dropdown menu positioning */
.input-with-icon select.form-control option {
    background: #ffffff;
    color: #495057;
    border: none;
    padding: 10px 16px;
}

.input-with-icon select.form-control:focus {
    z-index: 1000;
}

/* Active/selected state */
.form-group.borders:focus-within {
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
    z-index: 1000;
}

.form-group.borders:focus-within i {
    color: #007bff;
}

/* Ensure dropdowns appear above other elements */
.search-col:focus-within {
    z-index: 1000;
}

.search-col select:focus {
    z-index: 1001;
}

/* Search Button Styling */
.search-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    color: white !important;
    font-size: 15px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 54px;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    width: 100%;
}

.search-btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8851a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.search-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

/* Column adjustments for proper alignment */
.search-col {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 0;
}

.search-btn-col {
    padding-left: 6px;
    padding-right: 6px;
    display: flex;
    align-items: stretch;
    margin-bottom: 0;
}

.search-btn-col .form-group {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    align-items: stretch;
}

/* Remove margin-top to align all elements in one row */
.mt-3.search-col, 
.mt-3.search-btn-col {
    margin-top: 0 !important;
}

/* Ensure all form groups have same height */
.search-form-wrapper {
    display: flex;
    align-items: stretch;
}

.search-form-wrapper .col-lg-3 {
    display: flex;
    align-items: stretch;
}

.search-form-wrapper .form-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

/* Hide class for conditional display */
.hide {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .search-form-wrapper {
        padding: 10px;
    }
    
    .search-col, .search-btn-col {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 768px) {
    .search-form-wrapper {
        padding: 16px;
        flex-direction: column;
    }
    
    .search-col, .search-btn-col {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 12px;
    }
    
    .search-btn {
        width: 100%;
        min-width: unset;
    }
    
    .input-with-icon .form-control {
        height: 48px;
        padding: 14px 14px 14px 44px;
        font-size: 14px;
    }
    
    .input-with-icon i {
        left: 14px;
        font-size: 16px;
    }
    
    .input-with-icon select.form-control {
        background-position: right 14px center;
        background-size: 14px;
        padding-right: 44px;
    }
    
    .search-btn {
        height: 48px;
        padding: 14px 24px;
    }
}



@media (max-width: 576px) {
    .search-col, .search-btn-col {
        margin-bottom: 8px;
    }
    
    .input-with-icon .form-control {
        height: 44px;
        padding: 12px 36px 12px 36px;
        font-size: 14px;
    }
    
    .input-with-icon i {
        left: 10px;
        font-size: 15px;
    }
    
    .input-with-icon select.form-control {
        background-position: right 10px center;
        background-size: 12px;
    }
    
    .search-btn {
        height: 44px;
        padding: 12px 20px;
    }
}



/* ========================================
 SECTION 4: SECTION HEADERS & TITLES
 ======================================== */

.for-you-orange {
color: #f57c2a;
font-style: italic;
font-weight: 500;
}

.orange-underline {
width: 44px;
height: 3px;
background: #f57c2a;
border-radius: 2px;
margin-top: 2px;
margin-bottom: 8px;
}

.text-orange {
color: #f57c2a !important;
}

/* ========================================
 SECTION 5: PROPERTY CARDS
 ======================================== */

.property-card {
width: 260px;
min-width: 260px;
border-radius: 1.2rem;
overflow: hidden;
border: none;
box-shadow: 0 6px 32px 0 rgba(0,0,0,0.13);
transition: box-shadow 0.2s, transform 0.2s;
background: #fff;
position: relative;
}

.property-card:hover {
box-shadow: 0 12px 48px 0 rgba(245,124,42,0.22);
transform: translateY(-4px) scale(1.02);
}

.property-card .card-img-top {
height: 160px;
object-fit: cover;
}

.view-icon {
background: rgba(0,0,0,0.5);
border-radius: 50%;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(4px);
}

.property-details {
display: flex;
justify-content: space-between;
align-items: center;
}

.property-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.75rem;
}

/* Property Scroller */
.property-scroller-wrapper {
position: relative;
}

.property-scroller {
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: #f57c2a #eee;
padding-bottom: 8px;
}

.property-scroller::-webkit-scrollbar {
height: 8px;
}

.property-scroller::-webkit-scrollbar-thumb {
background: #f57c2a;
border-radius: 4px;
}

.property-scroller::-webkit-scrollbar-track {
background: #eee;
border-radius: 4px;
}

.property-scroller-btn {
position: absolute;
right: -18px;
top: 50%;
transform: translateY(-50%);
background: #f57c2a;
color: #fff;
border: none;
border-radius: 50%;
width: 44px;
height: 44px;
font-size: 1.5rem;
box-shadow: 0 2px 8px 0 rgba(245,124,42,0.18);
z-index: 2;
cursor: pointer;
transition: background 0.2s;
}

.property-scroller-btn:hover {
background: #e86c1a;
}

/* ========================================
 SECTION 6: PROJECT CARDS
 ======================================== */

.project-card {
width: 260px;
min-width: 260px;
border-radius: 1.2rem;
overflow: hidden;
border: none;
box-shadow: 0 6px 32px 0 rgba(0,0,0,0.13);
transition: box-shadow 0.2s, transform 0.2s;
background: #fff;
position: relative;
cursor: pointer;
padding: 0 !important;
}

.project-card:hover {
box-shadow: 0 12px 48px 0 rgba(245,124,42,0.22);
transform: translateY(-4px) scale(1.02);
}

.project-card .card-img-top {
height: 160px;
object-fit: cover;
display: block;
width: 100%;
margin: 0;
}

.project-card-footer {
padding-bottom: 8px;
padding-top: 8px;
}

/* Project Scroller */
.project-scroller-wrapper {
position: relative;
}

.project-scroller {
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: #f57c2a #eee;
padding-bottom: 8px;
}

.project-scroller::-webkit-scrollbar {
height: 8px;
}

.project-scroller::-webkit-scrollbar-thumb {
background: #f57c2a;
border-radius: 4px;
}

.project-scroller::-webkit-scrollbar-track {
background: #eee;
border-radius: 4px;
}

.scroller-btn {
position: absolute;
right: -18px;
top: 50%;
transform: translateY(-50%);
background: #f57c2a;
color: #fff;
border: none;
border-radius: 50%;
width: 44px;
height: 44px;
font-size: 1.5rem;
box-shadow: 0 2px 8px 0 rgba(245,124,42,0.18);
z-index: 2;
cursor: pointer;
transition: background 0.2s;
}

.scroller-btn:hover {
background: #e86c1a;
}

/* ========================================
 SECTION 7: BADGES & ICONS
 ======================================== */

.rera-badge {
background: #00c389;
color: #fff;
font-weight: 600;
font-size: 0.95rem;
border-radius: 1.2rem;
padding: 4px 14px 4px 8px;
display: inline-flex;
align-items: center;
box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
}

.rera-check {
background: #fff;
color: #00c389;
border-radius: 50%;
width: 20px;
height: 20px;
font-size: 1rem;
margin-right: 4px;
}

.rera-check i {
font-size: 0.9rem;
font-weight: bold;
}

.icon-circle {
background: none !important;
border: none !important;
width: auto !important;
height: auto !important;
box-shadow: none !important;
padding: 0 !important;
display: flex;
align-items: center;
justify-content: center;
color: #f57c2a;
font-size: 1.2rem;
transition: color 0.2s;
cursor: pointer;
}

.icon-circle i {
color: #f57c2a;
}

.icon-circle:hover {
background: #fff;
color: #f57c2a;
border-color: #f57c2a;
}

.icon-circle:hover i {
color: #f57c2a;
}

.icon-hover {
transition: background 0.2s, color 0.2s, box-shadow 0.2s;
box-shadow: 0 2px 8px 0 rgba(245,124,42,0.10);
}

.icon-hover:hover {
background: #f57c2a !important;
color: #fff !important;
box-shadow: 0 2px 8px 0 rgba(245,124,42,0.18);
}

.icon-hover:hover i {
color: #fff !important;
}

.icon-vertical {
display: flex;
flex-direction: column;
align-items: flex-end;
z-index: 3;
}

.icon-vertical .icon-circle {
margin-bottom: 8px;
}

.icon-vertical .icon-circle:last-child {
margin-bottom: 0;
}

.icon-vertical-body {
display: flex;
flex-direction: column;
align-items: flex-end;
z-index: 3;
}

.icon-vertical-body .icon-circle {
margin-bottom: 8px;
}

.icon-vertical-body .icon-circle:last-child {
margin-bottom: 0;
}

/* ========================================
 SECTION 8: BUTTONS & ACTIONS
 ======================================== */

.btn-details {
background: #f57c2a !important;
color: #fff !important;
border-radius: 2rem !important;
font-weight: 500;
transition: background 0.2s;
text-decoration: none !important;
cursor: pointer;
}

.btn-details:hover {
background: #e86c1a !important;
color: #fff !important;
}

.view-details-hover {
opacity: 0 !important;
transform: translateY(20px) !important;
transition: all 0.3s ease !important;
}

.project-card:hover .view-details-hover,
.property-card:hover .view-details-hover {
opacity: 1 !important;
transform: translateY(0) !important;
}

.view-details-btn {
background: linear-gradient(90deg, #f57c1f 0%, #ffb366 100%);
color: #fff !important;
border: none;
box-shadow: 0 2px 8px 0 rgba(245,124,42,0.10);
transition: background 0.2s, box-shadow 0.2s;
text-decoration: none !important;
display: inline-block;
padding: 10px 20px;
border-radius: 25px;
font-weight: bold;
text-align: center;
margin-top: 10px;
width: 100%;
}

.view-details-btn:hover, .view-details-btn:focus {
background: linear-gradient(90deg, #ff8c1a 0%, #ffb366 100%);
color: #fff !important;
box-shadow: 0 4px 16px 0 rgba(245,124,42,0.18);
}

.view-details-btn:not(.nb-view-btn) {
opacity: 0 !important;
transform: translateY(20px) !important;
transition: all 0.3s ease !important;
background: #ff6d00 !important;
width: auto !important;
}

.position-relative.rounded-4:hover .view-details-btn {
opacity: 1 !important;
transform: translateY(0) !important;
}

/* ========================================
 SECTION 9: WHY NOBROKERAGE SECTION
 ======================================== */

.why-nb-card {
transition: transform 0.3s, box-shadow 0.3s, border-color 0.2s;
cursor: pointer;
box-shadow: 0 2px 8px rgba(0,0,0,0.10);
background-color: #fff;
}

.why-nb-card:hover {
transform: translateY(-8px) scale(1.03);
box-shadow: 0 8px 20px rgba(0,0,0,0.18);
border-color: #ff7a00;
}

/* ========================================
 SECTION 10: PROJECT HERO SECTIONS
 ======================================== */

.project-hero-title {
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 2rem;
line-height: 1.1;
margin-bottom: 0;
}

.icon-orange {
color: #f57c2a;
background: #fff;
transition: box-shadow 0.2s, border-color 0.2s;
}

/* ========================================
 SECTION 11: COMMERCIAL PROJECT CARDS
 ======================================== */

.card.commercial-project-card {
width: 350px !important;
min-width: 300px;
max-width: 400px;
min-height: 440px;
height: 470px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
cursor: pointer;
transition: box-shadow 0.3s, border-color 0.2s;
position: relative;
overflow: visible;
border-radius: 16px;
}

.card.commercial-project-card:hover {
box-shadow: 0 16px 40px rgba(245,124,42,0.18), 0 2px 8px rgba(0,0,0,0.13);
border-color: #f57c2a !important;
z-index: 2;
}

.card.commercial-project-card .card-img-top {
height: 230px !important;
border-radius: 16px 16px 0 0;
}

.card.commercial-project-card .view-details-overlay {
display: none;
position: absolute;
left: 0; right: 0; bottom: 18px;
z-index: 3;
justify-content: center;
align-items: center;
width: 100%;
}

.card.commercial-project-card:hover .view-details-overlay {
display: flex;
}

.card.commercial-project-card .view-details-overlay {
left: 0;
right: 0;
bottom: 0;
top: unset;
position: absolute;
justify-content: center;
align-items: flex-end;
padding-bottom: 12px;
width: 100%;
pointer-events: none;
}

.card.commercial-project-card .view-details-overlay a {
pointer-events: auto;
}

.card:hover {
box-shadow: 0 8px 24px rgba(245,124,42,0.13), 0 1.5px 6px rgba(0,0,0,0.07);
border-color: #f57c2a !important;
}

.card {
transition: box-shadow 0.2s, border-color 0.2s;
}

/* ========================================
 SECTION 12: DEVELOPER CARDS
 ======================================== */

.developer-card {
transition: all 0.3s ease, height 0.3s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
border: 1px solid #eee;
}

.developer-card:hover {
box-shadow: 0 12px 32px rgba(255, 109, 0, 0.18), 0 4px 16px rgba(0,0,0,0.12);
transform: translateY(-4px);
border-color: #ff6d00;
}

.developer-view-btn {
opacity: 0 !important;
transform: translateY(20px) !important;
transition: all 0.3s ease !important;
}

.developer-card:hover .developer-view-btn {
opacity: 1 !important;
transform: translateY(0) !important;
}

.developer-card:hover {
box-shadow: 0 12px 32px rgba(245,124,42,0.18), 0 2px 8px rgba(0,0,0,0.13);
border-color: #f57c2a !important;
z-index: 2;
}

/* ========================================
 SECTION 13: BANK CARDS
 ======================================== */

.bank-card {
transition: box-shadow 0.3s, border-color 0.2s;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
position: relative;
overflow: visible;
}

.bank-card:hover {
box-shadow: 0 12px 32px rgba(245,124,42,0.18), 0 2px 8px rgba(0,0,0,0.13);
border-color: #f57c2a !important;
z-index: 2;
}

.bank-logo {
transition: transform 0.3s;
}

.bank-offer-overlay {
display: none;
position: absolute;
left: 0; right: 0; bottom: 0;
background: rgba(255,124,42,0.95);
color: #fff;
font-weight: 600;
font-size: 1rem;
border-radius: 0 0 16px 16px;
padding: 0.7rem 0;
letter-spacing: 0.5px;
transition: opacity 0.2s;
}

.bank-card:hover .bank-offer-overlay {
display: block;
opacity: 1;
}

/* ========================================
 SECTION 14: NEWLY LAUNCHED CARDS
 ======================================== */

.launch-card {
height: 350px;
background-size: cover;
background-position: center;
border-radius: 1rem;
overflow: hidden;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
background-repeat: no-repeat;
position: relative;
background-image: url('');
transition: all 0.3s ease-in-out;
}

.launch-card[style] {
background-size: cover !important;
background-position: center !important;
}

.launch-card:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
transform: translateY(-4px);
z-index: 1;
}

.floating-card {
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 0 1rem 1rem 1rem;
background-color: #fff;
border-radius: 12px;
padding: 1rem;
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
display: flex;
justify-content: space-between;
align-items: center;
}

.floating-card h6 {
font-size: 1rem;
}

.floating-card p {
font-size: 0.8rem;
margin-bottom: 4px;
}

.badge {
font-size: 0.75rem;
}

/* ========================================
 SECTION 15: TRENDING PROJECTS
 ======================================== */

.trend-card {
flex-shrink: 0;
scroll-snap-align: start;
border-radius: 16px;
position: relative;
overflow: hidden;
width: 30%;
min-width: 280px;
max-width: 300px;
background-color: #fff;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}

.trend-card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.trend-card img {
width: 100%;
height: 380px;
object-fit: cover;
transition: transform 0.3s ease;
}

.trend-card:hover img {
transform: scale(1.02);
}

.badge-box {
position: absolute;
top: 12px;
left: 12px;
z-index: 2;
display: flex;
gap: 6px;
flex-wrap: wrap;
}

.badge-orange {
background-color: #FF8B39;
color: white;
font-size: 11px;
padding: 2px 8px;
border-radius: 20px;
}

.badge-green {
background-color: #0ec15f;
color: white;
font-size: 11px;
padding: 2px 8px;
border-radius: 20px;
}

.trend-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 16px;
background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
color: white;
z-index: 2;
}

.trend-overlay h6 {
font-weight: bold;
margin-bottom: 4px;
}

.project-box {
border: 2px solid white;
border-radius: 4px;
padding: 6px 12px;
margin-top: 10px;
}

.trend-overlay .price {
font-weight: bold;
color:rgb(247, 106, 6);
font-size: 16px;
}

.view-btn {
margin-top: 12px;
background-color: #FF8B39;
color: white;
border: none;
border-radius: 30px;
font-size: 14px;
padding: 8px 18px;
width: 100%;
opacity: 0;
transform: translateY(20px);
transition: all 0.3s ease;
}

.trend-card:hover .view-btn {
opacity: 1;
transform: translateY(0);
}

.scroll-button-wrapper {
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
z-index: 10;
}

.scroll-btn {
background-color: #FF8B39;
width: 48px;
height: 48px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
cursor: pointer;
}

/* ========================================
 SECTION 16: NEAR BY PROJECTS
 ======================================== */

.scroll-wrapper {
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
padding-bottom: 1rem;
padding-right: 1rem;
}

.scroll-wrapper::-webkit-scrollbar {
height: 6px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
background-color: #ff6d00;
border-radius: 10px;
}

/* ========================================
 SECTION 17: RERA CONSULTANTS
 ======================================== */

.consultant-card {
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.consultant-card:hover {
box-shadow: 0 8px 24px rgba(245,124,42,0.15);
transform: translateY(-2px);
}

.consultant-header {
transition: all 0.3s ease;
}

.consultant-card:hover .consultant-header {
background: linear-gradient(135deg, #ffe5d1, #ffd4a3) !important;
}

.consultant-avatar {
transition: all 0.3s ease;
}

.consultant-card:hover .consultant-avatar {
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.consultant-actions {
display: none;
flex-direction: column;
align-items: center;
gap: 0.75rem;
margin-top: 1.2rem;
margin-bottom: 0.5rem;
transition: all 0.3s ease;
}

.consultant-card:hover {
height: 440px !important;
}

.consultant-card:hover .consultant-actions {
opacity: 1 !important;
transform: translateY(0) !important;
display: flex !important;
visibility: visible !important;
}

.consultant-card:hover .consultant-stats {
opacity: 0 !important;
visibility: hidden !important;
display: none !important;
}

.consultant-stats {
display: flex;
justify-content: space-between;
align-items: center;
border-top: 1px solid #ffe5d1;
padding-top: 15px;
margin-top: 15px;
}

.consultant-stats .stat-item {
flex: 1;
text-align: center;
position: relative;
transition: all 0.3s ease;
}

.consultant-stats .stat-item:not(:last-child)::after {
content: '';
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 1px;
height: 30px;
background-color: #e0e0e0;
}

.consultant-stats .stat-number {
display: block;
font-size: 1.5rem;
font-weight: bold;
color: #f57c2a;
margin-bottom: 4px;
}

.consultant-stats .stat-label {
display: block;
font-size: 0.75rem;
color: #666;
font-weight: normal;
}

.consultant-card:hover .consultant-stats .stat-item {
transform: scale(1.05);
}

.consultant-actions .btn {
width: 100%;
max-width: 200px;
margin: 0 auto;
font-size: 1rem;
box-shadow: 0 2px 8px rgba(245,124,42,0.08);
}

.consultant-details hr {
display: none;
}

/* ========================================
 SECTION 18: DESKTOP LAYOUT - 4 CARDS
 ======================================== */

/* Show exactly 4 cards on desktop */
@media (min-width: 992px) {
/* Recommended Projects - Show exactly 4 cards */
.project-scroller-wrapper .project-scroller {
  display: flex !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  overflow: visible !important;
}

.project-scroller-wrapper .project-card {
  flex: 0 0 calc(25% - 0.75rem) !important;
  max-width: calc(25% - 0.75rem) !important;
  width: calc(25% - 0.75rem) !important;
  min-width: calc(25% - 0.75rem) !important;
}

/* Recommended Properties - Show exactly 4 cards */
.property-scroller-wrapper .property-scroller {
  display: flex !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  overflow: visible !important;
}

.property-scroller-wrapper .property-card {
  flex: 0 0 calc(25% - 0.75rem) !important;
  max-width: calc(25% - 0.75rem) !important;
  width: calc(25% - 0.75rem) !important;
  min-width: calc(25% - 0.75rem) !important;
}

/* Hide scroll buttons on desktop */
.project-scroller-wrapper .scroller-btn,
.property-scroller-wrapper .scroller-btn {
  display: none !important;
}

/* Consultant cards - Show exactly 4 cards */
.consultant-scroller-wrapper .d-flex.overflow-auto {
  display: flex !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  overflow: visible !important;
}

.consultant-scroller-wrapper .consultant-card {
  flex: 0 0 calc(25% - 0.75rem) !important;
  max-width: calc(25% - 0.75rem) !important;
  width: calc(25% - 0.75rem) !important;
  min-width: calc(25% - 0.75rem) !important;
  height: 360px !important;
}

/* Hide scroll button on desktop */
.consultant-scroller-wrapper .scroller-btn {
  display: none !important;
}
}

/* ========================================
 SECTION 21: MOBILE RESPONSIVE STYLES
 ======================================== */

/* ========================================
 MOBILE RESPONSIVE - SECTION 1: HEADER & NAVIGATION
 ======================================== */
@media (max-width: 768px) {
/* Post Property Button - Mobile */




.dropdown-toggle {
  font-size: 0.85rem;
}


}

@media (max-width: 600px) {



}

/* ========================================
 MOBILE RESPONSIVE - SECTION 2: WELCOME SECTION & SEARCH
 ======================================== */
@media (max-width: 600px) {
.welcome-section {
  border-radius: 0 0 18px 18px;
  padding: 16px 0 0 0;
}

.welcome-content {
  padding: 0 4px;
}

.welcome-section h1 {
  font-size: 1.1rem;
  text-align: center;
}

.welcome-btns {
  flex-direction: row;
  gap: 8px;
  justify-content: center;
}

.welcome-btn {
  font-size: 0.95rem;
  padding: 8px 16px;
}

.search-card {
  top: 8px;
  border-radius: 12px 12px 8px 8px;
  max-width: 100vw;
  margin: 0 0 12px 0;
}

.search-tabs {
  gap: 8px;
  font-size: 0.95rem;
  padding: 0 2px;
  overflow-x: auto;
  white-space: nowrap;
}

.search-bar {
  flex-direction: row;
  gap: 4px;
  padding: 0 2px 8px 2px;
  align-items: center;
}

.search-type {
  min-width: 70px;
  padding: 6px 6px;
  font-size: 0.9rem;
}

.search-input {
  font-size: 0.95rem;
  padding: 8px 8px;
}

.search-btn {
  padding: 8px 12px;
  font-size: 0.95rem;
}

.browsing-history {
  font-size: 0.85rem;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  margin-left: 14rem;
  
}

.history-chip {
  padding: 4px 10px;
  font-size: 0.85rem;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 3: PROPERTY CARDS
 ======================================== */
@media (max-width: 991px) {
.property-card, .property-card .card-img-top {
  width: 200px;
  min-width: 200px;
  height: 120px;
}
}

@media (max-width: 767px) {
.property-card, .property-card .card-img-top {
  width: 180px;
  min-width: 180px;
  height: 100px;
}

/* Mobile scroller optimizations */
.property-scroller {
  padding-bottom: 12px;
  gap: 12px;
}

/* Mobile card content adjustments */
.property-card .card-body {
  padding: 8px;
}

.property-card .card-title {
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.property-card .text-secondary {
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.property-card .fw-bold.text-orange {
  font-size: 0.9rem;
}

/* Mobile icon adjustments */
.icon-vertical-body {
  top: 6px !important;
  right: 6px !important;
}

.icon-circle {
  width: 24px !important;
  height: 24px !important;
  font-size: 0.8rem !important;
}

/* Mobile RERA badge adjustments */
.rera-badge {
  font-size: 0.7rem;
  padding: 2px 8px 2px 5px;
}

.rera-check {
  width: 14px;
  height: 14px;
  font-size: 0.7rem;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 4: PROJECT CARDS
 ======================================== */
@media (max-width: 991px) {
.project-card, .project-card .card-img-top {
  width: 200px;
  min-width: 200px;
  height: 120px;
}
}

@media (max-width: 767px) {
.project-card, .project-card .card-img-top {
  width: 180px;
  min-width: 180px;
  height: 100px;
}

/* Mobile scroller optimizations */
.project-scroller {
  padding-bottom: 12px;
  gap: 12px;
}

/* Mobile card content adjustments */
.project-card .card-body {
  padding: 8px;
}

.project-card .card-title {
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.project-card .text-secondary {
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.project-card .fw-bold.text-orange {
  font-size: 0.9rem;
}
}

/* ========================================
 RECOMMENDED PROJECTS - FULL WIDTH IMAGES WITH MARGINS
 ======================================== */
@media (max-width: 767px) {
/* Recommended Projects - Full width images with proper margins */
.project-card {
  margin: 0 10px 0 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.project-card .card-img-top {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
}

.project-card .card-body {
  margin: 0 !important;
  padding: 12px !important;
  border: none !important;
}

/* Add container margins */
.project-scroller {
  gap: 10px !important;
  padding: 0 15px !important;
  margin: 0 !important;
}

/* Add card margins */
.project-card.me-3 {
  margin-right: 10px !important;
}

/* Add section container margins */
section.container {
  margin: 20px 0 !important;
  padding: 0 15px !important;
}

/* Add section heading margins */
.d-flex.justify-content-between.align-items-center.mb-3 {
  margin-bottom: 15px !important;
  padding: 0 15px !important;
}

/* Recommended Properties - Full width images with proper margins */
.property-card {
  margin: 0 10px 0 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.property-card .card-img-top {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
}

.property-card .card-body {
  margin: 0 !important;
  padding: 12px !important;
  border: none !important;
}

/* Property scroller margins */
.property-scroller {
  gap: 10px !important;
  padding: 0 15px !important;
  margin: 0 !important;
}

.property-card.me-3 {
  margin-right: 10px !important;
}

/* Brokerage Free Projects - Full width images with proper margins */
.card.commercial-project-card {
  margin: 0 10px 0 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.card.commercial-project-card .card-img-top {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
}

.card.commercial-project-card .card-body {
  margin: 0 !important;
  padding: 12px !important;
  border: none !important;
}

/* Scroll wrapper margins for property cards only */
.scroll-wrapper {
  gap: 10px !important;
  padding: 0 15px !important;
  margin: 0 !important;
}

.scroll-wrapper .property-card {
  margin-right: 10px !important;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 5: SECTION HEADERS
 ======================================== */
@media (max-width: 767px) {
/* Mobile responsive for section headers */
.d-flex.justify-content-between.align-items-center.mb-3 {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 10px;
}

.d-flex.justify-content-between.align-items-center.mb-3 {
  font-size: 1.5rem !important;
}

.d-flex.justify-content-between.align-items-center.mb-3 .text-secondary {
  font-size: 0.9rem !important;
}

.d-flex.justify-content-between.align-items-center.mb-3 a {
  font-size: 0.9rem;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 6: PROJECT HERO SECTIONS
 ======================================== */
@media (max-width: 767px) {
.project-hero-title {
  font-size: 1.3rem;
}
}

@media (max-width: 991px) {
.project-highlight-content {
  padding: 1.5rem 1rem !important;
}

.project-highlight-title {
  font-size: 1.3rem !important;
}
}

@media (max-width: 767px) {
.project-highlight-section {
  min-height: 220px !important;
}

.project-highlight-content {
  padding: 1rem 0.5rem !important;
  min-height: 220px !important;
}

.project-highlight-title {
  font-size: 1.1rem !important;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 7: COMMERCIAL PROJECT CARDS
 ======================================== */
@media (max-width: 991px) {
.card.commercial-project-card {
  width: 90vw !important;
  min-width: 220px;
  max-width: 98vw;
  min-height: 340px;
  height: 370px;
}

.card.commercial-project-card .card-img-top {
  height: 180px !important;
}

.card.commercial-project-card .view-details-overlay {
  display: flex !important;
  position: static;
  margin-top: 10px;
  width: 100%;
}
}

@media (max-width: 600px) {
.card.commercial-project-card {
  width: 65vw !important;
  min-width: 100px;
  max-width: 80vw;
  min-height: 420px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 0 auto 1rem auto;
  display: flex;
  flex-direction: column;
}

.card.commercial-project-card .card-img-top {
  height: 200px !important;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
}

.card.commercial-project-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card.commercial-project-card .view-details-overlay {
  position: static !important;
  margin-top: 12px;
  justify-content: center;
  align-items: flex-end;
  display: flex !important;
}

.card.commercial-project-card .d-flex.align-items-end.position-absolute.top-0.end-0.mt-2.me-2,
.card.commercial-project-card .d-flex.flex-column.align-items-end.position-absolute.top-0.end-0.mt-2.me-2 {
  margin-top: 18px !important;
  margin-right: 17px !important;
  gap: 8px !important;
}

.card.commercial-project-card .icon-orange {
  font-size: 1.1rem !important;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 8: DEVELOPER CARDS
 ======================================== */
@media (max-width: 600px) {
.developer-card {
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  margin-left: 0;
  margin-right: 0;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 9: BANK CARDS
 ======================================== */
@media (max-width: 600px) {
.bank-card {
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  height: 240px !important;
  min-height: 240px !important;
  max-height: 240px !important;
  margin-left: 0;
  margin-right: 0;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 10: NEWLY LAUNCHED CARDS
 ======================================== */
@media (max-width: 991px) {
.launch-card {
  width: 200px;
  min-width: 200px;
}

.launch-card .card-img-top {
  width: 100% !important;
  height: 120px;
  object-fit: cover;
  border-radius: 0;
}

/* Tablet card content adjustments - SMALLER FONTS */
.launch-card .card-body {
  padding: 6px;
}

.launch-card .card-title {
  font-size: 0.8rem;
  line-height: 1.1;
  margin-bottom: 3px;
}

.launch-card .text-secondary {
  font-size: 0.65rem;
  margin-bottom: 1px;
}

.launch-card .fw-bold.text-orange {
  font-size: 0.8rem;
}
}

@media (max-width: 767px) {
.launch-card {
  width: 180px;
  min-width: 180px;
}

.launch-card .card-img-top {
  width: 100% !important;
  height: 100px;
  object-fit: cover;
  border-radius: 0;
}

/* Mobile scroller optimizations */
.launch-scroller {
  padding-bottom: 12px;
  gap: 12px;
}

/* Mobile card content adjustments - SMALLER FONTS */
.launch-card .card-body {
  padding: 6px;
}

.launch-card .card-title {
  font-size: 0.75rem;
  line-height: 1.1;
  margin-bottom: 2px;
}

.launch-card .text-secondary {
  font-size: 0.6rem;
  margin-bottom: 1px;
}

.launch-card .fw-bold.text-orange {
  font-size: 0.75rem;
}

/* Mobile icon adjustments */
.launch-card .icon-vertical-body {
  top: 6px !important;
  right: 6px !important;
}

.launch-card .icon-circle {
  width: 24px !important;
  height: 24px !important;
  font-size: 0.8rem !important;
}

/* Mobile RERA badge adjustments */
.launch-card .rera-badge {
  font-size: 0.7rem;
  padding: 2px 8px 2px 5px;
}

.launch-card .rera-check {
  width: 14px;
  height: 14px;
  font-size: 0.7rem;
}
}

@media (max-width: 576px) {
/* Override Bootstrap grid to make horizontal scroll on mobile */
.row.g-4 {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 12px !important;
  padding-bottom: 1rem !important;
  margin: 0 !important;
}

.row.g-4::-webkit-scrollbar {
  display: none;
}

.col-12.col-md-6 {
  flex: 0 0 auto !important;
  width: 95vw !important;
  max-width: 95vw !important;
  min-width: 95vw !important;
}

.col-12.col-md-6:not(:first-child) {
  width: 80vw !important;
  max-width: 80vw !important;
  min-width: 80vw !important;
}

/* Small mobile - First card full width, second card partially visible */
.launch-card {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

.launch-card:not(:first-child) {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

/* Ensure first card takes most space */
.col-12.col-md-6:first-child {
  margin-right: 8px;
}

.floating-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.floating-card .text-end {
  align-self: flex-end;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 11: TRENDING PROJECTS
 ======================================== */
@media (max-width: 768px) {
.trend-card {
  width: 80%;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 12: NEAR BY PROJECTS
 ======================================== */
@media (max-width: 576px) {
.scroll-wrapper .property-card {
  width: 70%;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 13: RERA CONSULTANTS
 ======================================== */
@media (max-width: 991px) {
.consultant-card {
  width: 300px !important;
  min-width: 300px !important;
  height: 320px !important;
}
}

@media (max-width: 767px) {
.consultant-card {
  width: 280px !important;
  min-width: 280px !important;
  height: 300px !important;
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 14: SELL/RENT PROPERTY SECTION
 ======================================== */
@media (max-width: 768px) {
section[style*="background-color: #fff4ee"] h3 {
  font-size: 1.5rem;
}

section[style*="background-color: #fff4ee"] {
  padding: 40px 0 !important;
}

section[style*="background-color: #fff4ee"] .col-12 .p-4 {
  flex-direction: column !important;
  text-align: center;
}

section[style*="background-color: #fff4ee"] .col-12 .p-4 .text-center {
  margin-top: 1rem;
  margin-left: 0 !important;
}

section[style*="background-color: #fff4ee"] .col-12 .p-4 .flex-grow-1 {
  text-align: center;
}

section[style*="background-color: #fff4ee"] .col-12 .p-4:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
}

@media (max-width: 576px) {
section[style*="background-color: #fff4ee"] .col-12 .p-4:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
}

/* ========================================
 MOBILE RESPONSIVE - SECTION 15: GENERAL CARD RESPONSIVENESS
 ======================================== */
@media (max-width: 991px) {
.card {
  width: auto !important;
  min-width: auto;
  max-width: none;
}
}

@media (max-width: 600px) {
.card {
  width: auto !important;
  min-width: auto;
  max-width: none;
}
}

/* ========================================
 SECTION 19: UTILITY CLASSES
 ======================================== */

.play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
justify-content: center;
}

.play-icon-sm svg {
width: 22px;
height: 22px;
}

.card-img {
border-radius: 10px;
width: 100%;
object-fit: cover;
}

.object-fit-cover {
object-fit: cover;
height: 100%;
}

@media (min-width: 768px) {
.gap-5 {
  row-gap: 2.5rem !important;
}
}

/* ========================================
 SECTION 20: SELL/RENT PROPERTY SECTION
 ======================================== */

section[style*="background-color: #fff4ee"] {
display: block !important;
visibility: visible !important;
}

section[style*="background-color: #fff4ee"] .container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

section[style*="background-color: #fff4ee"] h3 {
font-size: 1.8rem;
line-height: 1.4;
}

section[style*="background-color: #fff4ee"] h3 a {
color: #ff7a00 !important;
text-decoration: none !important;
transition: color 0.2s;
}

section[style*="background-color: #fff4ee"] h3 a:hover {
color: #e86c1a !important;
}

section[style*="background-color: #fff4ee"] .col-12 .p-4 {
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
border: 1px solid transparent;
}

section[style*="background-color: #fff4ee"] .col-12 .p-4:hover {
transform: translateY(-8px);
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
border-color: #ff7a00;
}

section[style*="background-color: #fff4ee"] .col-12 .p-4:hover .me-2 {
background-color: #ff7a00 !important;
color: white !important;
transform: scale(1.05);
}

section[style*="background-color: #fff4ee"] .col-12 .p-4:hover h6 {
color: #ff7a00;
}

@media (max-width: 767px) {
.why-nb-section {
  background: #fff4ee !important;
  padding: 30px 20px !important;
  text-align: center;
}
.why-nb-title {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  margin-bottom: 25px !important;
  text-align: center !important;
  color: #000 !important;
}
.why-nb-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin: 0 auto !important;
  max-width: 600px !important;
}

/* Override any Bootstrap row/col classes */
.why-nb-grid.row,
.why-nb-grid .row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin: 0 auto !important;
  max-width: 600px !important;
  flex-wrap: nowrap !important;
}

.why-nb-grid .col-6,
.why-nb-grid .col-sm-6,
.why-nb-grid .col-md-3,
.why-nb-grid [class*="col-"] {
  width: 100% !important;
  flex: none !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Override Bootstrap grid on mobile */
.why-nb-grid .col-6,
.why-nb-grid .col-sm-6,
.why-nb-grid .col-md-3 {
  width: 100% !important;
  flex: none !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Force grid layout */
.why-nb-grid.row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin: 0 auto !important;
  max-width: 600px !important;
  flex-wrap: nowrap !important;
}

/* Remove Bootstrap flex properties */
.why-nb-grid .d-flex,
.why-nb-grid .justify-content-center {
  display: grid !important;
  justify-content: unset !important;
}
.why-nb-card {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 25px 15px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  height: auto !important;
}
.why-nb-card .icon {
  background: #ff7a00 !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 80px !important;
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}
.why-nb-card .icon span {
  font-size: 32px !important;
  color: white !important;
}
.why-nb-card .icon img {
  width: 36px !important;
  height: 36px !important;
}
.why-nb-card-title {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  color: #000 !important;
}
.why-nb-card-desc {
  font-size: 0.95rem !important;
  color: #666 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
}

/* Desktop styles to ensure icons show properly */
@media (min-width: 768px) {
.why-nb-card .icon {
  width: 90px !important;
  height: 90px !important;
  background-color: #ff7a00 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px !important;
}

.why-nb-card .icon span {
  font-size: 28px !important;
  color: white !important;
}

.why-nb-card .icon img {
  width: 36px !important;
  height: 36px !important;
}
}

@media (max-width: 767px) {
/* Only target the Real Estate Guide section */
section.container .section-title {
  font-size: 1.2rem !important;
  margin-bottom: 6px !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
section.container .section-title .for-you-orange {
  font-size: 1.1rem !important;
  font-style: italic !important;
  margin-left: 2px !important;
}
section.container .text-muted.mb-4 {
  font-size: 0.98rem !important;
  margin-bottom: 10px !important;
}
/* Video Gallery Card */
section.container .card {
  border-radius: 14px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  padding: 12px 8px 16px 8px !important;
  margin-bottom: 18px !important;
}
section.container .d-flex.align-items-center.justify-content-between {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}
section.container .d-flex.align-items-center.justify-content-between h5 {
  font-size: 1.1rem !important;
  margin-bottom: 0 !important;
  font-weight: 700 !important;
}
section.container .d-flex.align-items-center.justify-content-between .text-orange {
  font-size: 1rem !important;
  font-weight: 500 !important;
  margin-left: 8px !important;
  white-space: nowrap !important;
}
/* Main video full width */
section.container .row.g-0 > .col-12:first-child {
  width: 100% !important;
  margin-bottom: 10px !important;
}
section.container .row.g-0 > .col-12:first-child img,
section.container .row.g-0 > .col-12:first-child .card-img {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  display: block !important;
}
/* Play button overlay */
section.container .row.g-0 > .col-12:first-child .play-icon {
  width: 44px !important;
  height: 44px !important;
  font-size: 1.5rem !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
/* Two small videos side by side */
section.container .row.g-0 > .col-6 {
  width: 50% !important;
  padding: 0 4px !important;
  margin-bottom: 0 !important;
}
section.container .row.g-0 > .col-6 img,
section.container .row.g-0 > .col-6 .card-img {
  width: 100% !important;
  height: 90px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
}
section.container .row.g-0 > .col-6 .play-icon {
  width: 32px !important;
  height: 32px !important;
  font-size: 1.1rem !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
/* Video captions */
section.container .row.g-0 .text-muted {
  font-size: 0.92rem !important;
  margin-top: 4px !important;
  text-align: left !important;
}
}

@media (max-width: 767px) {
/* Hide Real Estate Insights column on mobile */
section.container .w-half,
section.container .col-md-6.m-3:last-child {
  display: none !important;
}
/* Make Video Gallery card take full width */
section.container .col-md-6.m-3:first-child {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  display: block !important;
}
/* If parent is flex, make sure it doesn't wrap */
section.container .d-flex.mt-3.justify-content-center {
  flex-wrap: nowrap !important;
  gap: 0 !important;
  justify-content: flex-start !important;
}
}

@media (max-width: 767px) {
/* Only target the Top Rera Registered Consultant Properties section */
section[style*="background-color: #fff4e6"] .property-scroller-wrapper > .d-flex.flex-nowrap {
  overflow-x: auto !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  padding-bottom: 12px !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
}
section[style*="background-color: #fff4e6"] .property-card.card {
  min-width: 90vw !important;
  max-width: 90vw !important;
  width: 90vw !important;
  margin: 0 !important;
  border-radius: 14px !important;
  border: none !important;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.13) !important;
  background: #fff !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}
section[style*="background-color: #fff4e6"] .property-card.card .card-img-top {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}
section[style*="background-color: #fff4e6"] .property-card.card .card-body {
  padding: 12px !important;
}
section[style*="background-color: #fff4e6"] .property-card.card:not(:last-child) {
  margin-right: 0 !important;
}
section[style*="background-color: #fff4e6"] .scroller-btn {
  display: none !important;
}
}

@media (max-width: 767px) {
/* Stack the two columns vertically */
.row.g-4.align-items-start {
  display: flex !important;
  flex-direction: column !important;
}
.row.g-4.align-items-start > .col-md-5,
.row.g-4.align-items-start > .col-md-7 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Show featured article first on mobile */
.row.g-4.align-items-start > .col-md-7 {
  order: -1 !important;
  margin-bottom: 18px !important;
}
.row.g-4.align-items-start > .col-md-5 {
  order: 0 !important;
}
/* Stack articles vertically in the left column */
.col-md-5 .d-flex.flex-column.gap-5 {
  gap: 0 !important;
}
.col-md-5 .d-flex.gap-3.align-items-center {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
  width: 100% !important;
}
.col-md-5 .d-flex.gap-3.align-items-center img {
  width: 90px !important;
  height: 70px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
}
.col-md-5 .d-flex.gap-3.align-items-center .fw-semibold {
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  line-height: 1.2 !important;
  color: #222 !important;
}
.col-md-5 .d-flex.gap-3.align-items-center .text-secondary {
  font-size: 0.88rem !important;
  margin-bottom: 0 !important;
  color: #888 !important;
}
/* Featured article image and overlay */
.featured-article-img-wrap {
  position: relative !important;
  width: 100% !important;
  margin-bottom: 10px !important;
}
.featured-article-img-wrap > img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  margin-bottom: 0 !important;
  display: block !important;
}
.featured-article-title {
  position: absolute !important;
  left: 0; right: 0; bottom: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 8px 14px 7px 14px !important;
  border-radius: 0 0 16px 16px !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: left !important;
  z-index: 2;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}
.featured-article-desc {
  font-size: 0.97rem !important;
  color: #444 !important;
  margin: 8px 0 2px 0 !important;
  line-height: 1.4 !important;
}
.featured-article-meta {
  font-size: 0.85rem !important;
  color: #888 !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
}

@media (max-width: 767px) {
/* Make the city row horizontally scrollable */
section:has(h2:contains('Explore Popular Cities')) .row,
section[style*="Popular Cities"] .row,
section.container .row.row-cols-2 {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 16px !important;
  padding-bottom: 12px !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
  width: 100% !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
section:has(h2:contains('Explore Popular Cities')) .row::-webkit-scrollbar,
section[style*="Popular Cities"] .row::-webkit-scrollbar,
section.container .row.row-cols-2::-webkit-scrollbar {
  display: none;
}
/* Make each city card wide for touch */
section:has(h2:contains('Explore Popular Cities')) .col,
section[style*="Popular Cities"] .col,
section.container .row.row-cols-2 > .col {
  min-width: 65vw !important;
  max-width: 65vw !important;
  width: 65vw !important;
  flex: 0 0 65vw !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
}
}

@media (max-width: 767px) {
/* Make the row of cards horizontally scrollable */
section[style*="Move in Now"] .row,
section[style*="Move in Now"] .row.align-items-center {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  overflow-x: auto !important;
  gap: 16px !important;
  padding-bottom: 12px !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
  width: 100% !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
section[style*="Move in Now"] .row::-webkit-scrollbar,
section[style*="Move in Now"] .row.align-items-center::-webkit-scrollbar {
  display: none;
}
/* Make each card wide for touch */
section[style*="Move in Now"] .col-12,
section[style*="Move in Now"] .col-md-4,
section[style*="Move in Now"] [class*="col-"] {
  min-width: 78vw !important;
  max-width: 78vw !important;
  width: 78vw !important;
  flex: 0 0 78vw !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
}
/* Remove vertical margin between cards */
section[style*="Move in Now"] .mb-4 {
  margin-bottom: 0 !important;
}
}

@media (max-width: 767px) {
/* Show mobile title, hide desktop title */
.movein-title-mobile { display: block !important; margin-bottom: 10px !important; }
.movein-title-desktop { display: none !important; }
/* Horizontally scrollable cards */
.movein-scroller {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 16px !important;
  padding-bottom: 12px !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
  width: 100% !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.movein-scroller::-webkit-scrollbar { display: none; }
.movein-scroller > .col-12,
.movein-scroller > .col-md-4 {
  flex: 0 0 78vw !important;
  max-width: 78vw !important;
  min-width: 78vw !important;
  width: 78vw !important;
  display: flex !important;
  align-items: stretch !important;
  float: none !important;
  box-sizing: border-box !important;
  margin-bottom: 0 !important;
}
}
@media (min-width: 768px) {
/* Hide mobile title, show desktop title */
.movein-title-mobile { display: none !important; }
.movein-title-desktop { display: block !important; }
}

@media (max-width: 768px) {
.project-scroller-wrapper .d-flex::-webkit-scrollbar {
  display: none;
}
.project-scroller-wrapper .d-flex {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
}

.consultant-card {
transition: all 0.3s ease, height 0.3s ease;
height: 440px !important;
}

/* Remove hover height increase */
.consultant-card:hover {
/* height: 440px !important; */
}

/* Prevent height increase on hover for Top Developer in the City cards */
.developer-scroller-wrapper .developer-card,
.developer-scroller-wrapper .developer-card:hover {
height: auto !important;
min-height: 0 !important;
max-height: none !important;
transition: box-shadow 0.2s, border 0.2s; /* Only allow shadow/border transitions */
box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
padding-bottom: 0 !important;
}
.mt-5.text-start {
display: flex;
align-items: center;
justify-content: center; /* Center horizontally */
gap: 0.5rem;             /* Optional: space between items */
width: 100%;
}

@media (max-width: 600px) {
.mt-5.text-start {
  justify-content: flex-start;      /* Align left for scroll */
  overflow-x: auto;                 /* Enable horizontal scroll */
  white-space: nowrap;              /* Prevent wrapping */
  -ms-overflow-style: none;         /* Hide scrollbar in IE/Edge */
  scrollbar-width: none;            /* Hide scrollbar in Firefox */
}
.mt-5.text-start::-webkit-scrollbar {
  display: none;                    /* Hide scrollbar in Chrome/Safari */
}
}

@media (max-width: 600px) {
.nav-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 0.5rem;
  white-space: nowrap;
  width: 100%;
  scrollbar-width: none;           /* Firefox */
  -ms-overflow-style: none;        /* IE and Edge */
}
.nav-tabs::-webkit-scrollbar {
  display: none;                   /* Chrome, Safari, Opera */
}
.nav-tabs .nav-item {
  flex: 0 0 auto !important;
  min-width: max-content !important;
}
}

@media (max-width: 600px) {
.dropdown {
  display: none !important;
}
}

@media (max-width: 600px) {
.btn-search,
.search-icons-row, /* or whatever class your old icon row uses */
.btn-location,
.btn-mic {
  display: none !important;
}
}

@media (max-width: 600px) {
.btn-location,
.btn-mic {
  display: none !important;
}
}

@media (max-width: 600px) {
.search-bar-mobile {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  padding: 0 12px;
  height: 44px;
  width: 100%;
  max-width: 100vw;
  margin: 16px 0;
  position: relative;
}
.search-bar-mobile .search-icon-left,
.search-bar-mobile .search-icon-right {
  color: #ff6600;
  font-size: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-bar-mobile .search-icon-left {
  margin-right: 8px;
}
.search-bar-mobile .search-icon-right {
  margin-left: 8px;
  cursor: pointer;
}
.search-bar-mobile input[type="text"] {
  border: none;
  outline: none;
  flex: 1;
  font-size: 15px;
  background: transparent;
  padding: 0 8px;
  min-width: 0;
}
}

@media (max-width: 600px) {
.search-bar-desktop {
  display: none !important;
}
}

@media (min-width: 601px) {
.search-bar-mobile {
  display: none !important;
}
.search-bar-desktop {
  display: block !important;
}
}
@media (max-width: 600px) {
.search-bar-mobile {
  display: flex !important;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  padding: 0 12px;
  height: 44px;
  width: 100%;
  max-width: 100vw;
  margin: 16px 0;
  position: relative;
}
.search-bar-mobile .search-icon-left,
.search-bar-mobile .search-icon-right {
  color: #ff6600;
  font-size: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-bar-mobile .search-icon-left {
  margin-right: 8px;
}
.search-bar-mobile .search-icon-right {
  margin-left: 8px;
  cursor: pointer;
}
.search-bar-mobile input[type="text"] {
  border: none;
  outline: none;
  flex: 1;
  font-size: 15px;
  background: transparent;
  padding: 0 8px;
  min-width: 0;
}
.search-bar-desktop {
  display: none !important;
}
}

@media (max-width: 600px) {
.search-icon-mobile {
  color: #ff6600 !important;      /* Orange color */
  font-size: 28px !important;     /* Adjust size as needed */
  right: 16px;                    /* Fine-tune horizontal position */
  left: auto;
  z-index: 2;
  display: block !important;
}
}
@media (min-width: 601px) {
.search-icon-mobile {
  display: none !important;       /* Hide on desktop */
}
}

@media (max-width: 600px) {
.col-md-5.position-relative {
  position: relative !important;
}
.search-icon-mobile.fa-location-dot {
  left: 16px; /* Adjust as needed for perfect alignment */
  right: auto;
  color: #ff6600 !important;
  font-size: 28px !important;
  z-index: 2;
  display: block !important;
}
.search-icon-mobile.fa-magnifying-glass {
  right: 24px; /* Increased from 16px to 24px for more space */
  left: auto;
  color: #ff6600 !important;
  font-size: 28px !important;
  z-index: 2;
  display: block !important;
  /* Optional: add a little margin-left if needed */
  margin-left: 10px;
}
.col-md-5.position-relative input[type="text"] {
  padding-left: 44px !important;  /* Make room for the left icon */
  padding-right: 52px !important; /* Match the new icon position */
  height: 44px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
}
@media (min-width: 601px) {
.search-icon-mobile {
  display: none !important;
}
}

@media (min-width: 768px) {
.navbar-toggler {
  display: none !important;
}
}

@media (max-width: 767.98px) {
.navbar-toggler {
  display: block !important;
  position: absolute;
  top: 16px;         /* Adjust as needed for vertical alignment */
  left: 16px;        /* Adjust as needed for horizontal alignment */
  width: auto !important;
  height: auto !important;
  background: transparent;
  z-index: 1051;     /* Make sure it's above navbar content */
  box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23007bff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
}
@media (min-width: 768px) {
.navbar-toggler {
  display: none !important;
}
}
@media (max-width: 600px) {

}

@media (max-width: 600px) {

}

@media (max-width: 600px) {
.navbar-mobile {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

}

.plus-jakarta {
font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 600px) {
.bhk-scroll-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 1rem;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}
.bhk-scroll-row > .col-12 {
  min-width: 220px;
  flex: 0 0 auto;
  margin-bottom: 0 !important;
}
.bhk-scroll-row::-webkit-scrollbar {
  display: none; /* Hide scrollbar for a cleaner look */
}
}

.welcome-section .welcome-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 600px) {
.welcome-section .welcome-title {
  font-size: 27px !important;
}
}
@media (max-width: 600px) {


}

@media (max-width: 600px) {

}

@media (max-width: 600px) {
.welcome{
font-size:23px

}
}

@media (max-width: 600px) {
.developer-card {
  box-shadow: 0 12px 32px rgba(255, 109, 0, 0.18), 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: #ff6d00;
  max-width:280px !important;
  max-height: 480px !important;
}

}

@media (max-width: 600px) {
h2.fw-bold {
  font-size: 1.2rem !important;
}
}

#projectScroller,
#propertyScroller,
#devScroller,
#trendScroller,
#bankScroller,
#consultantScroller,
#commercialScroller {
scrollbar-width: none;        /* Firefox */
-ms-overflow-style: none;     /* IE and Edge */
}

#projectScroller::-webkit-scrollbar,
#propertyScroller::-webkit-scrollbar,
#devScroller::-webkit-scrollbar,
#trendScroller::-webkit-scrollbar,
#bankScroller::-webkit-scrollbar,
#consultantScroller::-webkit-scrollbar,
#commercialScroller::-webkit-scrollbar {
display: none;                /* Chrome, Safari, Opera */
}

/* Responsive Search Section Styles */
.search-section {
  background: transparent;
  width: 100%;
}
.search-form {
  width: 100%;
  max-width: 1000px;
}
.input-group.input-group-lg .form-control {
  font-size: 1.1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border-radius: 1rem;
  min-height: 48px;
  border: none;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
}
.input-group.input-group-lg .input-group-text {
  background: #fff;
  border-radius: 1rem 0 0 1rem;
  border: none;
  color: #3a4a6b;
  font-size: 1.2rem;
}
.search-filters-row {
  margin-top: 0.5rem;
  gap: 1.5rem;
}
.search-filters-row .dropdown .btn {
  background: #fff;
  border: none;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  color: #3a4a6b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  min-width: 180px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: box-shadow 0.2s, border 0.2s;
  outline: none;
}
.search-filters-row .dropdown .btn:focus,
.search-filters-row .dropdown .btn:active {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.14);
  border: 1.5px solid #f27d27;
  color: #f27d27;
}
.search-filters-row .dropdown .btn i {
  color: #3a4a6b;
  font-size: 1.2rem;
  margin-right: 0.7rem;
}
.search-filters-row .dropdown .btn .ms-2 {
  color: #b0b0b0;
  font-size: 1.1rem;
  margin-left: 0.5rem;
  transition: color 0.2s;
}
.search-filters-row .dropdown .btn .ms-2:hover {
  color: #f27d27;
}
.search-filters-row .dropdown .btn.dropdown-toggle::after {
  color: #b0b0b0;
  margin-left: 1.2rem;
}
.search-filters-row .dropdown-menu {
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
  border: none;
  min-width: 180px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  background: #fff;
}
.search-filters-row .dropdown-item {
  color: #3a4a6b;
  padding: 0.7rem 1.5rem;
  border-radius: 0.7rem;
  transition: background 0.15s, color 0.15s;
  background: #fff;
}
.search-filters-row .dropdown-item:hover,
.search-filters-row .dropdown-item:focus {
  background: #f7f7fa;
  color: #f27d27;
}
.btn-orange {
  background: linear-gradient(90deg, #ff7e5f, #f27d27);
  color: #fff;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.04);
  border-radius: 1rem;
  transition: box-shadow 0.2s;
}
.btn-orange:active,
.btn-orange:focus {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
}
@media (max-width: 900px) {
  .search-form {
    max-width: 100%;
    padding: 0 1rem;
  }
  .search-filters-row {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .search-filters-row .dropdown,
  .search-filters-row .btn-orange {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    margin-left: 0 !important;
  }
}
@media (max-width: 600px) {
  .search-section {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
  }
  .search-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .search-form > .mb-3,
  .search-form > .search-filters-row {
    width: 100%;
  }
  .search-filters-row {
    flex-direction: column !important;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
  }
  .search-filters-row > * {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0.75rem;
  }
  .search-filters-row > *:last-child {
    margin-bottom: 0;
  }
  .input-group.input-group-lg .form-control {
    font-size: 1.1rem;
    min-height: 44px;
  }
}

/* jQuery UI Autocomplete Dropdown Styling (this is for the search bar) - Add this to your existing CSS */

/* Main autocomplete menu container */
.ui-autocomplete {
    max-height: 200px !important; /* Adjust this value to show ~5 items */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 9999 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e0e0e0 !important;
    background: #ffffff !important;
    margin-top: 4px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Individual menu items */
.ui-autocomplete .ui-menu-item {
    border-bottom: 1px solid #f5f5f5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ui-autocomplete .ui-menu-item:last-child {
    border-bottom: none !important;
}

/* Menu item links/content */
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #333 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: block !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

/* Hover state */
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #f8f9fa !important;
    color: #007bff !important;
    border: none !important;
}

/* Focus state */
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper:focus {
    background: #e3f2fd !important;
    color: #007bff !important;
    outline: none !important;
    border: none !important;
}

/* Custom scrollbar for webkit browsers */
.ui-autocomplete::-webkit-scrollbar {
    width: 6px;
}

.ui-autocomplete::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.ui-autocomplete::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Ensure proper positioning relative to search input */
.input-with-icon {
    position: relative !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ui-autocomplete {
        max-height: 180px !important;
        margin-top: 2px !important;
    }
    
    .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 576px) {
    .ui-autocomplete {
        max-height: 160px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}
