@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
    --main-color: #005ca8;
    --second-color-gold: #f1c886;
    --text-color-blue: #072638;
    --text-color-white: #E9E3D5;
    --global-font-size: 0.9rem;
}

.auth-modal .error-message.account-deleted {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #e53e3e;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.2);
}

.auth-modal .error-message.account-deleted .error-title {
    font-size: 16px;
    font-weight: 700;
    color: #e53e3e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-modal .error-message.account-deleted .error-description {
    font-size: 13px;
    color: #742a2a;
    line-height: 1.5;
}

.auth-modal .error-message.account-deleted .support-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #fed7d7;
    font-size: 12px;
    color: #553c9a;
}

/* Button disabled state for deleted accounts */
.auth-modal .verify-btn.account-deleted {
    background: #a0aec0 !important;
    cursor: not-allowed !important;
    color: #4a5568 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Add some animation for better UX */
.auth-modal .error-message.account-deleted {
    animation: errorSlideIn 0.3s ease-out;
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (min-width: 1024px) and (max-width: 1350px) {
    .navbar>.container-fluid {
    padding: 0px 10px !important;
}
#service_cards .col-md-3 {
    width: 24% !important;
}
    #newnew .slider-item {
        width: 27% !important;
    }
}

.search-drawer .search-results-container{
  max-height: unset;
}

.search-drawer .search-results{
  max-height: 100%;
}

.search-drawer .result-info p{
  color: #cfcfcf;
}

.search-drawer .result-info h4{
  color: unset;
}
.search-drawer .result-item img{
  background-color: white;
}
.search-drawer .search-results h3{
  margin-top: 0px;
}
.search-drawer .hot-searches h3{
  color: white;
  margin-bottom: 15px;
}
/* Footer Styles */
.footer-div {
    overflow: hidden;
    margin: 0px;
}

.modern-footer {
    background-color: var(--main-color);
    margin: 0px;
    padding: 40px 0 0 0;
    position: relative;
    color: white;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.1;
}

.footer-bg-lines {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}

.footer-content {
    position: relative;
    z-index: 2;
    margin: 0px;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 240px;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 5rem;
    margin-bottom: 20px;
}

.footer-description {
    color: white;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-bottom: 30px;
}


.footer-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
}

.footer-column h5 {
    color: var(--second-color-gold);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--second-color-gold);
}

.sell-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--second-color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sell-link:hover {
    color: white;
}


.rent-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--second-color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 0px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rent-link:hover {
    color: white;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.footer-phone:hover {
    color: var(--second-color-gold);
}

.footer-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background: white;
    color: var(--main-color);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-align: right;
}
#buy_places a{
    color: rgba(255, 255, 255, 0.755);
    text-decoration: none;
}
/* Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    .footer-content {
        padding: 0 20px;
        gap: 40px;
    }
    
    .footer-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .footer-actions {
        justify-content: space-around;
        gap: 15px;
    }
    
    .footer-copyright {
        text-align: center;
    }
    .footer-column:nth-child(3) {
    grid-column: 1 / -1; /* Spans from first to last column */
}
.footer-column{
    text-align: left;
}
}
.city-selector {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: white;
    transition: all 0.3s ease;
}
@media screen and (max-width: 480px) {

    
    .footer-actions {
        width: 100%;
    }
    
    .footer-btn {
        width: 100%;
        text-align: center;
    }
}

/* Keep existing social media styles */
.example-2 {
    display: flex;
    padding: 0px;
    align-items: center;
    margin-bottom: 0px;
    gap: 10px;
}

.example-2 .icon-content {
    margin: 0 6px;
    position: relative;
}

.example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}

.example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
    color: white;
}

.example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
}

.example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
    height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
    background-color: #0274b3;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
    background-color: #0044ff;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
    background: linear-gradient(45deg, #405de6, #5b51db, #b33ab4, #c135b4, #e1306c, #fd1f1f);
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
    background-color: #ff0000;
}

/* Remove the old broken dropdown styles */
#listings:hover #drop_menu,
#user:hover #drop_menu,
#developer:hover #drop_menu {
    display: none !important; /* Disable old system */
}

/* New Dropdown System */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    padding: 8px 0;
    z-index: 1000;
    display: block !important; /* Override Bootstrap's display:none */
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* City dropdown grid layout */
nav .city-dropdown-menu {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    min-width: 450px;
    max-width: 500px;
    max-height: 50vh;
    overflow-y: auto;
}

/* Prevent overflow - Position dropdown based on available space */
.nav-item.dropdown.dropdown-right .dropdown-menu {
    left: auto;
    right: 0;
}

/* Enhanced dropdown items */
.dropdown-item {
    padding: 10px 20px !important;
    color: #333 !important;
    transition: all 0.2s ease;
    border: none;
    background: none;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: var(--main-color) !important;
    color: white !important;
    transform: translateX(2px);
}

/* More dropdown specific styles */
.more-dropdown-menu {
    min-width: 250px;
    grid-template-columns: 1fr !important;
}

.dropdown-header {
    font-weight: 600;
    color: var(--main-color) !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px 4px;
    margin-bottom: 4px;
}

/* Hover effects for nav items */
.nav-item.dropdown:hover > .nav-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
}

/* Custom scrollbar for dropdowns */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 66, 83, 0.3);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 66, 83, 0.5);
}

/* Account dropdown positioning */
.account_drop {
    right: 0 !important;
    left: auto !important;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .city-dropdown-menu {
        grid-template-columns: 1fr !important;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid #eee;
        margin-top: 8px;
        display: none !important; /* Hidden by default on mobile */
    }
    
    .dropdown-menu.show {
        display: block !important;
    }
    .navbar>.container-fluid{
      padding: unset;
    }
}



/* Fix for account dropdown - override the old system */
#user:hover #drop_menu {
    display: none !important; /* Disable old system completely */
}

/* Account dropdown specific styles */
#user.dropdown .dropdown-menu,
#user .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0; /* Position to the right */
    left: auto;
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    padding: 8px 0;
    z-index: 1000;
    display: block !important; /* Override Bootstrap's display:none */
}

/* Show account dropdown on hover */
#user.dropdown:hover .dropdown-menu,
#user:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Account dropdown hover effect */
#user.dropdown:hover > .nav-link,
#user:hover > .nav-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
}

/* Account button specific styles */
#account_button {
    padding: 7px;
    padding-bottom: 0px;
    transition: all 0.3s ease;
}

#account_button i {
    font-size: 23px;
}

/* Ensure account dropdown items work properly */
#user .dropdown-item {
    padding: 10px 20px !important;
    color: #333 !important;
    transition: all 0.2s ease;
    border: none;
    background: none;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

#user .dropdown-item:hover {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
    transform: translateX(2px);
}






nav{
  background-color: var(--main-color) !important;
}
.nav-loc{
  margin-bottom: 0px;
  font-weight: normal !important;
  border: 1px solid #c3c3c366;
  border-radius: 25px;
  padding: 10px 12px;
  font-size: 14px;
}
.navbar-nav{
  gap: 1rem;
  align-items: center;
  margin-left: 0.8rem;
}
.navbar>.container-fluid{
  padding: 0px 40px;
}
.navbar a{
  text-decoration: none;
}
.account_drop{
  right: 0 !important;
}

#account_button{
    padding: 7px;
    padding-bottom: 0px;
}
#account_button i{
  font-size: 23px;
}


nav .city-dropdown-menu.show{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 50vh;
    overflow-y: auto;
    width: -moz-max-content;
    width: max-content;
}


.modern-search-container {
    position: relative;
    width: 22em;
    max-width: 400px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 25px;
    padding: 0px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #c3c3c366;
}

.search-input-wrapper:focus-within {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.navbar-search-input {
    flex: 1;
    border: none;
    background: none;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    color: #c1c1c1;
    position: relative;
    z-index: 2;
}

.navbar-search-input::placeholder {
    color: transparent;
}

.search-icon {
    color: #989898;
    font-size: 16px;
    margin-right: 8px;
    transition: color 0.3s ease;
}


/* Animated Placeholder for Navbar Search */
.animated-placeholder {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.navbar-search-input:focus + .animated-placeholder,
.navbar-search-input:not(:placeholder-shown) + .animated-placeholder {
    opacity: 0;
}

.static-text {
    color: #999;
}

.changing-text {
    font-weight: 500;
    border-right: 2px solid var(--main-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-right-color: var(--main-color); }
    51%, 100% { border-right-color: transparent; }
}

.clear-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    font-size: 12px;
}

.clear-btn.visible {
    opacity: 1;
    visibility: visible;
}

.clear-btn:hover {
    background: #f0f0f0;
    color: #666;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 8px;
    max-height: 50vh;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: none;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.search-dropdown-content {
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px 0;
}

/* Scrollbar styling */
.search-dropdown-content::-webkit-scrollbar {
    width: 4px;
}

.search-dropdown-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

.search-dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

/* Loading State */
.search-loading {
    text-align: center;
    padding: 40px;
    color: white;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hot Searches */
.hot-searches {
    padding: 0 10px;
}

.hot-searches h3 {
    color: black;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0px;
}

.hot-search-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.search-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
    color: white;
    text-decoration: none;
}

.search-logo {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
}

.search-item i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    font-size: 14px;
}

.search-text {
    font-size: 13px;
    font-weight: 500;
}

/* Search Results - using exact same styles as working search drawer */
.search-results {
    max-height: 50vh;
    overflow-y: auto;
}

.search-category {
    margin-bottom: 20px;
}

.search-category h3 {
    color: black;
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 0 20px 8px;
}

.search-category-header {
    color: black;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 0 20px 8px;
}

.search-category-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.result-item {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.result-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
    color: white;
    text-decoration: none;
}

.result-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.result-icon img,
.project-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.builder-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.result-info {
    flex: 1;
}

.result-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.result-details,
.result-projects,
.result-builder,
.result-count {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px;
    color: black;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.no-results p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-search-container {
        max-width: 100%;
    }

    .search-dropdown {
        left: -20px;
        right: -20px;
        border-radius: 8px;
    }

    .animated-placeholder {
        left: 30px;
        font-size: 12px;
    }

    .navbar-search-input {
        font-size: 12px;
    }
}

/* Hide old search elements */
.search-drawer {
    display: none !important;
}

/* #184166 */
body{
    font-family: "Inter", sans-serif;
}
*::-webkit-scrollbar {
    width: 10px;
    
  }
  
  *::-webkit-scrollbar-thumb {
    background-color: rgba(128, 128, 128, 0.498);
    border-radius: 20px;
  }
  *::-webkit-scrollbar-thumb:hover {
    background-color: rgb(128, 128, 128);
  }
/* General navbar styling */
#nav-logo {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}
.navbar-toggler {
    background-color: none;
    border: 1px solid white;
}
nav {
    height: 72px;
    background-color: rgba(0, 0, 0, 0);
    /* margin-left: 20px;
    margin-right: 20px;
    border-radius: 0px 0px 20px 20px; */
    transition: background-color 0.3s ease;
}

.affix {
    background-color: var(--main-color) !important;
    /* border-radius: 0px 0px 20px 20px;
    margin-left: 20px;
    margin-right: 20px; */
}

.affix .nav-link, .affix .navbar-brand {
    color: white !important;
}

.nav-link{
    color: white !important;
    font-size: var(--global-font-size);
}

#listings:hover #drop_menu {
    display: block;
    visibility: visible;
    opacity: 1;
}
#user:hover #drop_menu {
    display: block;
    visibility: visible;
    opacity: 1;
}
#developer:hover #drop_menu {
    display: block;
    visibility: visible;
    opacity: 1;
}
.dropdown-menu{
    --bs-dropdown-link-active-bg: var(--main-color) !important;
}
.dropdown-item{
    cursor: pointer; 
}
.dropdown-item:hover{
    background-color: var(--main-color);
    color: white !important;
}
/* Default hover styles */
#listings:hover {
    background-color: var(--main-color);
    border-radius: 8px 8px 0px 0px;
}
#listings a{
    color: black;
}
.dropdown-submenu a{
  color: black !important;
}
.affix .dropdown-submenu:hover .dropdown-item:first-child{
  color: white;
}
.dropdown-toggle{
    color: white !important;
}

/* Hover styles when scrolled */
.navbar.scrolled #listings:hover {
    background-color: white;
    border-radius: 8px 8px 0px 0px;
}

.navbar.scrolled #listings:hover .nav-link {
    color: black !important;
}

/* Ensure that the dropdown remains hidden when not hovered */
/* #drop_menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s ease;
} */

/* SVG container styles */
.svg-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.svg-container svg {
    width: 24px;
    height: 24px;
    color: var(--main-color);
}

/* Align dropdown menu under SVG */
.svg-container #drop_menu {
    top: 100%;
    left: -20px; /* Adjust this value to center the dropdown under the SVG */
    transform: translateX(-50%);
    position: absolute;
    margin-top: 8px;
}

.svg-container .dropdown-toggle::after {
    display: none;
}

.post-container {
  background-color: white;
  border-radius: 2rem;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
  margin-right: 0px;
  position: relative;
  animation: borderAnimation 5s ease-in-out forwards;
}
@keyframes borderAnimation {
  0% {
      border: none;
  }
  15% {
      border: 3px solid #00ff00;
  }
  85% {
      border: 3px solid #00ff00;
  }
  100% {
      border: none;
  }
}
#post-container_a {
  text-decoration: none;
  color: var(--text-color-blue);
  font-weight: bold;
  font-size: var(--global-font-size);
  display: block;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 25px;
  color: black !important;
}
.post-container .tooltip span{
  font-size: 1.2rem;
  color: red;
  font-weight: bold;
}
.post-container .tooltip {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  border: 1px solid #e0e0e0;
  animation: fadeInOut 5s ease-in-out forwards;
  z-index: 1000;
}

.post-container .tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-left: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
}

@keyframes fadeInOut {
  0% {
      opacity: 0;
      transform: translateX(-50%) translateY(10px);
  }
  15% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }
  85% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }
  100% {
      opacity: 0;
      transform: translateX(-50%) translateY(10px);
      visibility: hidden;
  }
}
#nav_middle_buttons a{
    text-decoration: none;
    color: white;
}

#nav_middle_buttons{
    margin-right: 10px;
}
.fre__outerwrap {
    /* background-color: #219653; */
    background-color: rgb(255, 32, 32);
    padding: 5px 5px 4px 5px;
    font-size: 12px;
    font-weight: 700;
    line-height: 6px;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    position: relative;
    margin-left: 2px;
    margin-right: 1px;
    overflow: hidden;
}

.fre__outerwrap .fre__innerwrap {
    width: 115%;
    position: absolute;
    height: 100%;
    top: 0px;
    left: -2px;
    transform: skew(150deg);
    background: linear-gradient(to right, transparent 40%, rgb(238, 255, 0) 10%, transparent 50%);
    /* rgb(186, 221, 201) */
    background-size: 200% 200%;
    background-repeat: no-repeat;
    animation-name: fre__backplay;
    animation-duration: 3s;
    animation-delay: 0s;
    animation-iteration-count: infinite;
}


@keyframes fre__placeholderShimmer {
    0% {
        background-position: 100% 100%
    }

    100% {
        background-position: 0 0
    }
}

@keyframes fre__bgcolor {
    0% {
        background: none
    }

    100% {
        background: none
    }
}

@keyframes fre__backplay {
    0% {
        background-position: 100% 100%
    }

    50% {
        background-position: 0 0
    }

    100% {
        background-position: 100% 100%
    }
}

@media screen and (max-width: 768px) {
  #hide{
    display: flex;
    align-items: center;
  }
  .searchButton{
    width: 38px !important;
    height: 38px !important;
    margin-right: 0px !important;
  }
}
.search-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.searchButton {
    color: var(--main-color);
    float: right;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    border: 1px solid white;
    margin-right: 1rem;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.searchInput {
    border: none;
    background: none;
    outline: none;
    float: left;
    padding: 0;
    color: var(--main-color);
    font-size: var(--global-font-size);
    transition: 0.4s;
    line-height: 35px;
    width: 0px;
}
.configurations-section {
  margin-bottom: 20px;
}

.configurations-section .result-item i {
  font-size: 24px;
  color: #004253;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
}

@media screen and (max-width: 620px) {
    .searchBox.open .searchInput {
        width: 150px;
        padding: 0 6px;
    }
    .svg-container #drop_menu{
        left: 0;
        transform: none;
    }
    .navbar-collapse {
        padding: 1rem;
        padding-top: 0px;
        padding-bottom: 15px;
        background-color: var(--main-color);
    }
    .navbar-collapse ul:first-child{
        padding-top: 1rem;
    }
}


#call_icon{
    color: white;
    margin-right: 1.2rem;
    font-size: 1.2rem;
}

#welcome_name{
    margin-left: 5px;
    color: #747474;
}

#welcome_name span{
    color: var(--main-color);
    text-decoration: underline;
}


#navbar_logo{
    width: 4rem;
}
#signin_btn, #signin_btn_mobile, #signin_btn_desktop{
    color: var(--text-color-blue) !important;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: bold;
    background-color: white;
    font-size: var(--global-font-size);
}

#signin_btn:hover, #signin_btn_mobile:hover{
    color: var(--main-color);
    background-color: white;
}

/* footer  */

.footer-div{
    overflow: hidden;
    margin: 0px;
}
footer{
    background-color: var(--main-color);
    margin: 0px;
    padding: 0px 80px;
    padding-top: 1.5rem;
    
}
footer h5{
    color: var(--second-color-gold);
}

/* From Uiverse.io by wilsondesouza */ 
footer ul {
    list-style: none;
    margin-top: 1rem;
  }
  
  .example-2 {
    display: flex;
    padding: 0px;
    align-items: center;
  }
  .example-2 .icon-content {
    margin: 0 6px;
    position: relative;
  }
  .example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  .example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
  }
  .example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
  }
  .example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
  }
  .example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
  }
  .example-2 .icon-content a:hover {
    color: white;
  }
  .example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
  }
  .example-2 .icon-content a:hover .filled {
    height: 100%;
  }
  
  .example-2 .icon-content a[data-social="linkedin"] .filled,
  .example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
    background-color: #0274b3;
  }
  
  .example-2 .icon-content a[data-social="facebook"] .filled,
  .example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
    background-color: #0044ff;
  }
  .example-2 .icon-content a[data-social="instagram"] .filled,
  .example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
    background: linear-gradient(
      45deg,
      #405de6,
      #5b51db,
      #b33ab4,
      #c135b4,
      #e1306c,
      #fd1f1f
    );
  }
  .example-2 .icon-content a[data-social="youtube"] .filled,
  .example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
    background-color: #ff0000;
  }
#footer-img-col{
    padding: 0px 2rem;
}
#footer-img-col p{
    margin: 0px;
    color: white;
    font-size: 0.9rem;
}
footer img{
    width: 60%;
}
@media screen and (max-width: 768px) {
    footer{
        padding: 1rem;
    }
    #footer-img-col {
        padding: 0px 0.8rem;
        text-align: center;
    }
    .example-2 {
      justify-content: center;
    }
    #connect_healine{
      text-align: center;
    }
    .navbar-expand-lg .container-fluid{
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    #navbar_logo{
        margin-left: 1rem;
        width: 3.8rem;
    }
    #side_buttons{
      display: none !important;
    }
    .navbar-toggler{
        margin-right: 1rem;
    }
}


/* Loading overlay container */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(2.5px);
    z-index: 9999; /* Ensure it's above everything */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    pointer-events: all; /* Blocks interaction with elements behind */
}

/* Show the overlay when loading */
.loading-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

/* Loader container */
#loader {
    margin-top: 45px;
    margin-left: auto;
    margin-right: auto;
    width: 50px;
    animation: bounce 1s infinite;
}

/* Your existing loader animation */
@-webkit-keyframes animate-svg-stroke-2 {
    0% {
        stroke-dashoffset: 163.78558349609375px;
        stroke-dasharray: 163.78558349609375px;
    }
    100% {
        stroke-dashoffset: 327.5711669921875px;
        stroke-dasharray: 163.78558349609375px;
    }
}

@keyframes animate-svg-stroke-2 {
    0% {
        stroke-dashoffset: 163.78558349609375px;
        stroke-dasharray: 163.78558349609375px;
    }
    100% {
        stroke-dashoffset: 327.5711669921875px;
        stroke-dasharray: 163.78558349609375px;
    }
}

/* Slight bounce animation for the loader */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Fade in animation for overlay */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.svg-elem-2 {
    -webkit-animation: animate-svg-stroke-2 0.9s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.12s both infinite;
    animation: animate-svg-stroke-2 0.9s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.12s both infinite;
}

/* Disable pointer events on body when loading */
body.loading {
    pointer-events: none;
}

/* But keep the loader interactive */
body.loading .loading-overlay {
    pointer-events: all;
}

/* Mobile Sidebar Styles */
.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }
  
  .mobile-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    display: none;
  }
  
  #mobile_sidebar_full .sidebar-header {
    padding: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
#mobile_sidebar_full .logout-container a {
  text-decoration: none;
  font-size: 14px;
  color: red !important;
}
#mobile_sidebar_full .user-section a{
  text-decoration: none;
  font-size: 14px;
  color: var(--main-color);
}
#mobile_sidebar_full .btn-close {
  border: none;
  color: #004253;
  cursor: pointer;
}
.mobile-only{
  display: none;
}
#mobile_nav_buttons{
  display: flex;
  gap: 0.7rem;
}
#mobile_sidebar_full .user-section{
  padding: 0 10px;
  margin-top: 15px;
}
#mobile_sidebar_full .profile-info > i{
  width: 30px;
  color: #004253;
  font-size: 30px;
  transition: all 0.4s ease;
}
@media screen and (max-width: 768px) {
  .mobile-only{
    display: block;
  }
}
/* Search Section */
#mobile_sidebar_full .sidebar-search {
  padding: 10px 20px;
  display: flex;
  gap: 10px;
}

#mobile_sidebar_full .sidebar-search input {
  flex: 1;
  padding: 15px 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  outline: none;
}

#mobile_sidebar_full .sidebar-search button {
  margin: 5px;
  padding: 0px 7px;
  background: #004253;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: medium;
}

/* Sidebar Navigation */
#mobile_sidebar_full .sidebar-nav {
  list-style: none;
  padding: 0 20px;
}

#mobile_sidebar_full .sidebar-nav li {
  margin: 10px 0;
}

#mobile_sidebar_full .sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 20px;
  text-decoration: none;
  color: #2c3e50;
  background-color: #0042531f;
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

#mobile_sidebar_full .sidebar-nav a::after {
  content: '\f054';  /* Font Awesome arrow icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -20px;
  color: #004253;
  transition: all 0.4s ease;
  opacity: 0;
  font-size: 14px;
}

#mobile_sidebar_full .sidebar-nav a:hover {
  transform: translateX(-5px);
  box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
  color: #004253;
  padding-right: 35px;
  background: linear-gradient(to right, #0042531f, #0042533b);
}

#mobile_sidebar_full .sidebar-nav a:hover::after {
  right: 15px;
  opacity: 1;
}

#mobile_sidebar_full .sidebar-nav a i {
  width: 20px;
  color: #004253;
  font-size: 20px;
  transition: all 0.4s ease;
}

#mobile_sidebar_full .sidebar-nav a span {
  flex: 1;
  font-size: large;
  transition: all 0.4s ease;
}

#mobile_sidebar_full .sidebar-nav a:hover i {
  transform: scale(1.1);
  color: #004253;
}

#mobile_sidebar_full .sidebar-nav a:hover span {
  transform: translateX(5px);
  font-weight: 500;
}

/* Add this for a subtle active state */
#mobile_sidebar_full .sidebar-nav a.active {
  background: linear-gradient(to right, #0042531f, #0042533b);
  padding-left: 16px;
}

#mobile_sidebar_full .sidebar-nav a.active::after {
  right: 15px;
  opacity: 1;
}

/* Action Buttons */
#mobile_sidebar_full .sidebar-actions {
  padding: 20px;
}

#mobile_sidebar_full .sidebar-actions p {
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 15px;
}

#mobile_sidebar_full .action-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

#mobile_sidebar_full .action-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: #004253;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#mobile_sidebar_full .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,66,83,0.3);
}

#mobile_sidebar_full .post-property-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: #004253;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

#mobile_sidebar_full .post-property-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,66,83,0.3);
}

/* Profile Section Styles */
#mobile_sidebar_full .profile-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(0, 66, 83, 0.05);
  border-radius: 12px;
  margin-bottom: 10px;
}

#mobile_sidebar_full .profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #004253;
}

#mobile_sidebar_full .profile-details {
  flex: 1;
}

#mobile_sidebar_full .user-name {
  font-size: 16px;
  font-weight: 600;
  color: #004253;
  margin-bottom: 4px;
}

#mobile_sidebar_full .user-email {
  font-size: 14px;
  color: #666;
  margin: 0;
}

#mobile_sidebar_full .profile-links {
  display: flex;
  gap: 15px;
}

#mobile_sidebar_full .profile-links a {
  font-size: 18px;
  color: #004253;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

#mobile_sidebar_full .profile-links a:hover {
  color: #006080;
}

#mobile_sidebar_full .logout-btn {
  display: flex;
  align-items: center;
  color: red;
  justify-content: end;
  gap: 10px;
  padding: 0px 10px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

#mobile_sidebar_full .logout-btn i {
  font-size: 18px;
}

#mobile_sidebar_full .logout-btn span {
  font-weight: 500;
  letter-spacing: 0.5px;
}
  @media (max-width: 991.98px) {
    .mobile-sidebar {
      display: block;
    }
    
    .mobile-sidebar.show {
      right: 0;
    }
    
    .mobile-sidebar-overlay.show {
      display: block;
    }
    
    body.sidebar-open {
      overflow: hidden;
    }
  }




/* search styles  */

.search-drawer {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50vh;
  background: var(--main-color);
  color: white;
  z-index: 1000;
  border-radius: 0 0 20px 20px;
  transition: top 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.search-drawer.active {
  top: 50px;
}


.search-container {
  padding: 20px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.back-button {
  background: none;
  border: none;
  font-size: 20px;
  color: white;
  padding: 8px;
  cursor: pointer;
}

.search-input-container {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 25px;
  padding: 8px 15px;
}

#searchInput {
  flex: 1;
  border: none;
  background: none;
  padding: 8px;
  font-size: 16px;
  outline: none;
}

.voice-search {
  background: none;
  border: none;
  color: white;
  padding: 8px;
  cursor: pointer;
}

.search-results-container {
  flex: 1;
  overflow-y: auto;
  max-height: 100%;

}

.hot-searches {
  margin-bottom: 20px;
}


.hot-search-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: #f5f5f5;
  border-radius: 20px;
  cursor: pointer;
}

.search-item i {
  color: #989898;
  font-size: 14px;
}

.search-text {
  font-size: 14px;
  color: #989898;
}

.search-results h3 {
  font-size: 14px;
  color: white;
  margin-bottom: 10px;
  margin-top: 20px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
body > .iti.iti--container {
  z-index: 1200;
  position: fixed;
}
.result-item:hover {
  background: #f5f5f5;
}
.result-item:hover h4, .result-item:hover p, .result-item:hover i{
  color: var(--main-color);
}
.result-item img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.result-info h4 {
  font-size: 14px;
  color: #565252;
  margin: 0;
}

.result-info p {
  font-size: 12px;
  color: #383535;
  margin: 0;
}

.search-results a{
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.search-results i{
  color: #2f2f2f;
}
.search-results i:hover{
  color: black;
}


/* Add to your base_styles.css */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  content: "";
  float: right;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #cccccc;
  margin-top: 5px;
  margin-right: -10px;
}

.phone-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  padding: 8px;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.phone-display span {
  font-size: 16px;
  color: #333;
}

.edit-phone {
  background: none;
  border: none;
  color: var(--main-color);
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.edit-phone:hover {
  color: #002a36;
}





.message-div {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 25;
  width: 100%;
  background-color: #004253;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: .9rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-100%); 
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 13px;
}

.message-div p {
  margin: 0;
}

#closeBtn_thanks {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 10px;
}

#closeBtn_thanks:hover {
  color: #c01f1f; 
}

@media screen and (max-width: 381px) {
  #navbar_logo{
    margin-left: 5px !important;
  }
  #mobile_nav_buttons{
    gap: 0.3rem;
  }
}






/* Mobile Bottom Navigation Styles */
.mobile-bottom-nav {
  display: none; /* Hidden by default, shown only on mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  border-radius: 12px 12px 0 0;
}


.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8e8e8e;
  text-decoration: none;
  font-size: 10px;
  position: relative;
  transition: color 0.3s ease;
  flex: 1;
}

.mobile-bottom-nav .nav-item i {
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item.active {
  color: var(--main-color);
}


.nav-item-center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.nav-item-center .plus-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 66, 83, 0.3);
  position: relative;
  top: -15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-item-center .plus-toggle:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 66, 83, 0.3);
}

.nav-item-center .plus-toggle i {
  font-size: 20px;
}

/* Mobile Drawers - Improved Smooth Animation */
.mobile-drawer {
  position: fixed;
  bottom: -100%; /* Start offscreen */
  left: 0;
  right: 0;
  background: white;
  z-index: 1001;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
  transition: 
    bottom 0.4s cubic-bezier(0.32, 0.64, 0.45, 1),
    transform 0.4s cubic-bezier(0.32, 0.64, 0.45, 1);
  max-height: 70vh;
  overflow-y: auto;
  padding-bottom: 80px; /* Space for bottom nav */
  transform: translateY(100%);
  opacity: 0;
}

.mobile-drawer.active {
  bottom: 0;
  transform: translateY(0);
  opacity: 1;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: 
    opacity 0.4s cubic-bezier(0.32, 0.64, 0.45, 1),
    visibility 0.4s;
  visibility: hidden;
}

.drawer-overlay.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Enhance plus button interaction */
.nav-item-center .plus-toggle {
  transition: 
    transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    box-shadow 0.3s ease;
}

.nav-item-center .plus-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 66, 83, 0.4);
}

.nav-item-center .plus-toggle:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 66, 83, 0.3);
}

/* Smooth drawer item entrance */
.drawer-content {
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.4s cubic-bezier(0.32, 0.64, 0.45, 1),
    transform 0.4s cubic-bezier(0.32, 0.64, 0.45, 1);
}

.mobile-drawer.active .drawer-content {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered drawer item animation */


.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.drawer-header h3 {
  margin: 0;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 600;
}

.drawer-close {
  background: none;
  border: none;
  color: #666;
  font-size: 20px;
  cursor: pointer;
}



.drawer-item {
  display: flex;
  align-items: center;
  padding: 15px;
  text-decoration: none;
  color: #333;
  border-radius: 12px;
  margin: 10px;
  transition: all 0.2s ease;
  background: #f5f5f5;
}

.drawer-item i {
  margin-right: 15px;
  font-size: 20px;
  color: var(--main-color);
  width: 24px;
  text-align: center;
}

.drawer-item:hover, .drawer-item:active {
  background: #e9f4f7;
  transform: translateY(-2px);
}



/* Only display on mobile devices */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
    .container-fluid #hidder #navbar_logo{
        display: block !important;
    }
  
}
.container-fluid #hidder #navbar_logo{
    display: none;
}
/* Hide on really small screens where height might be an issue */
@media (max-height: 500px) {
  .mobile-drawer {
    max-height: 85vh;
  }
}

