/* General Body and Container Styles */
html {
    height: auto;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    background-color: #f0f2f5 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Main content wrapper */
.main-content-wrapper {
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    padding-top: 100px;
    width: 100%;
    box-sizing: border-box;
    transform: translateZ(0);
    overflow-x: hidden; /* Extra safety for horizontal overflow */
    contain: layout style paint;
}
.container{
    flex: 1;
    contain: layout style paint;
}
/* Enhanced Navbar Styles */
.navbar {
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .fa-compass {
    color: #fe424d;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover .fa-compass {
    transform: rotate(15deg);
    color: #e63946;
}

.navbar-brand span {
    background: linear-gradient(135deg, #fe424d, #e63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: #222222 !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fe424d !important;
    transform: translateY(-2px);
    background-color: rgba(254, 66, 77, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #fe424d, #e63946);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    color: #222222;
}

.dropdown-item:hover {
    background-color: rgba(254, 66, 77, 0.1);
    color: #fe424d;
    transform: translateX(1px);
}

.input-group .form-control {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.input-group .form-control:focus {
    border-color: #fe424d;
    box-shadow: 0 0 0 0.2rem rgba(254, 66, 77, 0.25);
}

.btn-outline-success {
    border: none !important;
    color: #fe424d !important;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: #fe424d !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(254, 66, 77, 0.3);
}

.navbar-toggler {
    border: none;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(254, 66, 77, 0.25);
}

/* Search Toggle Functionality */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 250px;
    opacity: 1;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    width: 0;
    opacity: 1;
    transition: all 0.3s ease;
    overflow: hidden;

 }

.search-container.active .search-input {
    width: 250px;
    opacity: 1;
    display: block !important;
}

.search-toggle {
    transition: all 0.3s ease;
    min-width: 40px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fe424d !important;
}

.search-toggle:hover {
    transform: scale(1.1);
}

/* Mobile Responsive */
/* Mobile Responsive Adjustments */
@media (max-width: 991.98px) {
    .nav-floating-wrapper {
        padding: 0 15px;
        top: 10px;
    }

    .glass-pill-nav {
        padding: 5px 10px !important;
        border-radius: 25px !important;
    }

    .navbar-brand .brand-text {
        font-size: 1.1rem;
    }

    .logo-icon-box {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 20px;
        margin-top: 10px;
        padding: 15px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        gap: 5px;
    }

    .nav-pill-link {
        padding: 10px 15px !important;
        text-align: left;
    }

    .search-pill-container {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .main-content-wrapper {
        padding-top: 80px;
    }

    .listings-header {
        padding: 20px;
        border-radius: 20px;
        margin-bottom: 2rem !important;
    }

    .glass-title {
        font-size: 2rem;
    }

    .tax-toggle-wrapper {
        text-align: left !important;
        margin-top: 15px;
    }
    
    .tax-toggle-pill {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 991.98px) {
    .detail-meta {
        flex-direction: column;
        gap: 20px !important;
        padding: 20px !important;
    }

    .meta-item.ms-auto {
        margin-left: 0 !important;
        text-align: left !important;
    }

    .price-tag {
        text-align: left !important;
    }

    .detail-btns {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .glass-input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 10px;
    }

    .glass-input-group .glass-input {
        background: rgba(255, 255, 255, 0.6);
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        width: 100%;
        margin-bottom: 5px;
    }

    .glass-btn-sm {
        width: 100%;
        padding: 12px;
    }

    .detail-body {
        padding: 25px 20px !important;
    }

    .detail-title {
        font-size: 1.8rem;
    }

    .detail-actions {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.9);
        padding: 10px;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .review-item {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .glass-listing-detail-card {
        border-radius: 25px;
    }

    .detail-img-wrapper {
        height: 35vh;
    }

    .badge-glass.lg {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .detail-description h4 {
        font-size: 1.25rem;
    }

    .detail-description p {
        font-size: 0.95rem;
    }
}


@media (max-width: 480px) {
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .row-cols-1 > * {
        padding-left: 10px;
        padding-right: 10px;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .icon-box-lg {
        width: 80px;
        height: 80px;
    }

    .icon-box-lg i {
        font-size: 2rem;
    }
}

/* Base styles cleanup and refinements */
.navbar-toggler:focus,
.mobile-more-btn:focus {
    outline: none;
    box-shadow: none;
}

.listing-link {
    text-decoration: none;
    color: inherit;
}

.listing-link:hover {
    color: inherit;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}


/* Footer */
.f-info-links a{
    text-decoration: none;
    color: #222222;
    margin: 0 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}
.f-info-links a:hover{
    color: #fe424d;
    text-decoration: underline;
}
.f-info{
    height: 10rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    padding: 2rem 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #dee2e6;
}
.f-info-links, .f-info-socials, .f-info-brand{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
}
.f-info-socials i{
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
    color: #222222;
}
.f-info-brand{
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}
.f-info-extra{
    text-align: center;
    padding: 1rem 1rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    margin-top: 1rem;
}
.f-info-extra p{
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}
.f-info-extra a{
    color: #fe424d;
    text-decoration: none;
    transition: all 0.3s ease;
}
.f-info-extra a:hover{
    color: #e63946;
    text-decoration: underline;
}

/* Listing Index & Card Styles */
.listings-header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.glass-listing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.05),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-listing-card:hover {
    background: rgba(255, 255, 255, 0.9);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    width: 100%;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-listing-card:hover .listing-img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.favorite-overlay-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.glass-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fe424d;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.glass-circle-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(254, 66, 77, 0.3);
}

.listing-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
}

.badge-glass {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.listing-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
}

.price-amount {
    font-size: 1.2rem;
    color: #1a1a1a;
}

.tax-info {
    display: none;
}

.tax-toggle-pill {
    border-radius: 100px !important;
}

.tax-input-toggle {
    cursor: pointer;
}

.tax-input-toggle:checked {
    background-color: #fe424d;
    border-color: #fe424d;
}

/* Listing Detail Page Styles */
.glass-listing-detail-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.detail-img-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
}

.detail-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.badge-glass.lg {
    padding: 10px 20px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-title {
    font-size: 3rem;
    font-weight: 800;
}

.icon-box-sm {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fe424d;
    font-size: 1.2rem;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

.icon-box-lg {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-box-lg i {
    font-size: 3rem;
}

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.hover-underline:hover {
    text-decoration: underline !important;
    color: #fe424d !important;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Authentication Pages Styles (Glassmorphism & 3D) */
.auth-page-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.auth-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    z-index: 2;
}

.auth-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #666;
    font-size: 1rem;
}

.auth-input-group label {
    font-weight: 700;
    color: #444;
    margin-left: 5px;
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 20px;
    color: #fe424d;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 10;
}

.glass-input {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 12px 20px 12px 50px !important;
    font-weight: 500;
    transition: all 0.3s ease !important;
    height: auto !important;
}

.glass-input:focus {
    background: white !important;
    border-color: #fe424d !important;
    box-shadow: 0 10px 20px rgba(254, 66, 77, 0.1) !important;
    transform: translateY(-2px);
}

.glass-toggle-btn {
    position: absolute;
    right: 10px;
    border: none !important;
    background: transparent !important;
    color: #666 !important;
    padding: 5px 15px !important;
    z-index: 10;
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-weight: 700;
    font-size: 0.85rem;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.auth-separator span {
    padding: 0 15px;
}

.auth-footer p {
    color: #666;
    font-weight: 500;
}

.auth-footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    filter: brightness(0.8);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .auth-glass-card {
        padding: 2rem 1.5rem;
        border-radius: 30px;
        margin: 0 15px;
    }
    
    .auth-title {
        font-size: 1.8rem;
    }
}

/* Navbar Filter */
    #filters {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 2rem;
      margin-top: 1rem;
    }
    .filter {
      display: flex;
      text-align: center;
      flex-direction: column;
      margin-top: 1rem;
      opacity: 0.7;
    }
    .filter:hover {
      opacity: 1;
      font-weight: bold;
      cursor: pointer;

    }
    .tax-toggle{
        font-size: 15px;
        display: flex;
        cursor: pointer;
        user-select: none;
        box-shadow: 0px 2px 5px black;
        border: 1px solid grey;
        border-radius: 10px;
        padding: 0.7rem;
        margin-left: 8rem;
    }

    .tax-info{
        display: none;
    }
    .btn-search{
        color: #fe424d !important;
        border-radius: 25px;
    }
    .btn-search:hover{
        background-color: #fe424d !important;
        color: #fe424d !important;
        box-shadow: 0px 2px 5px black;
    }

    /*Footer  */
    .facebook{
        color: #222222;
    }
    .facebook:hover{
        transform: translateY(-1px);
        color: #3b5998;
    }
    .instagram{
        color: #222222;
    }
    .instagram:hover{
        transform: translateY(-1px);
        color: #E1306C;
    }
    .linkdin{
        color: #222222;
    }
    .linkdin:hover{
        transform: translateY(-1px);
        color: #0A66C2;
    }

/* Home Page Styles */
.hero-section {
    position: relative;
    height: 80vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out;
}

.hero-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.listings-preview-section {
    padding: 80px 0;
    background: white;
}

.listings-preview-section .section-title {
    margin-bottom: 4rem;
}

.listing-card {
    border: none !important;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.listing-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover .card-img-top {
    transform: scale(1.05);
}

.listing-card .card-body {
    padding: 1.5rem !important;
    background: white;
}

.listing-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.listing-card .card-text {
    font-size: 1.1rem;
    color: #fe424d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.listing-card .text-muted {
    font-size: 0.9rem;
    color: #666;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Island Destinations Section */
.islands-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.island-item {
    margin-bottom: 2rem;
}

.island-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.island-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.island-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.island-card:hover .island-img {
    transform: scale(1.05);
}

.island-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.island-card:hover .island-overlay {
    transform: translateY(0);
}

.island-overlay h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.island-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* New Listing Form Styles */
.new-listing-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-listing-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.new-listing-container h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.new-listing-container h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #fe424d, #e63946);
    border-radius: 2px;
}

.new-listing-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.new-listing-form .form-control {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.new-listing-form .form-control:focus {
    border-color: #fe424d;
    box-shadow: 0 0 0 0.2rem rgba(254, 66, 77, 0.25);
    transform: translateY(-2px);
}

.new-listing-form .invalid-feedback {
    color: #dc3545;
    font-size: 0.9rem;
}

.new-listing-form .valid-feedback {
    color: #28a745;
    font-size: 0.9rem;
}

.new-listing-form .btn {
    background: linear-gradient(135deg, #fe424d, #e63946) !important;
    border: none !important;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 66, 77, 0.3);
    color: white !important;
    width: 100%;
    margin-top: 1rem;
}

.new-listing-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 66, 77, 0.4);
    background: linear-gradient(135deg, #e63946, #d32f3f) !important;
}

/* Responsive Design for New Listing Form */
@media (max-width: 768px) {
    .new-listing-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .new-listing-container h3 {
        font-size: 1.8rem;
    }

    .new-listing-form .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-item {
        margin-bottom: 1.5rem;
    }

    .island-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .island-overlay h4 {
        font-size: 1.25rem;
    }

    /* Footer responsive adjustments */
    .f-info {
        height: 8rem;
        padding: 0.7rem 0.8rem;
    }

    .f-info-extra {
        padding: 0.75rem 1rem 1.5rem;
    }

    .f-info-extra p {
        font-size: 0.85rem;
        margin: 0.4rem 0;
    }
}
/* Dropdown Menu Center */
.dropdown-menu-center {
    left: 30% !important;
    transform: translateX(-70%) !important;
    right: auto !important;
}
/* Mobile Navbar Responsive */
@media (max-width: 991.98px) {
    .navbar {
        background-color: white !important;
    }
    .search-container {
        order: 1;
        margin-left: 0 !important;
        margin-right: auto;
    }
    .navbar-nav.ms-auto {
        order: 2;
    }
    .navbar-toggler {
        order: 3;
    }
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        border-top: 1px solid #dee2e6;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .search-container .search-input {
        display: none !important;
    }
}
/* Desktop Search Container */
@media (min-width: 992px) {
    .search-container .search-input {
        width: 250px;
        opacity: 1;
    }

    .search-container.hidden {
        display: none !important;
    }
}
/* Responsive Design for New Listing Form */
@media (max-width: 768px) {
    .new-listing-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    .new-listing-container h3 {
        font-size: 1.8rem;
    }
    .new-listing-form .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive Design for Edit Listing Form */
@media (max-width: 768px) {
    .card-body.p-4 {
        padding: 1.5rem !important;
    }
    .form-control-lg {
        font-size: 1rem;
        padding: 0.5rem;
    }
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    .card.shadow-lg {
        margin: 1rem;
    }
}
 .filter {
      padding: 1.5rem 1.75rem !important;
    }
    .filter:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    }
    .filter:hover div:first-child {
      transform: scale(1.1);
    }
    .tax-toggle-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(254, 66, 77, 0.4);
    }
    .tax-toggle-btn:active {
      transform: translateY(0);
      box-shadow: 0 2px 10px rgba(254, 66, 77, 0.3);
    }

/* Floating 3D Blobs (Global) */
.bg-shape {
    position: fixed; /* Keep blobs in viewport while scrolling */
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* 3D Neumorphic Glass Home Page Styles - Cleaned up */
.glass-home-wrapper {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Redundant blobs removed from here since they are global now */


.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(254, 66, 77, 0.4);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(230, 57, 70, 0.3);
    bottom: 100px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background: rgba(0, 123, 255, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(30px, -50px, 0) scale(1.1); }
    66% { transform: translate3d(-20px, 20px, 0) scale(0.9); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* Glass Card Core */
.hero-glass-card, .glass-feature-card, .glass-promo {
    background: rgba(255, 255, 255, 0.7); /* More opaque background */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Lighter shadow */
    position: relative;
    z-index: 1;
    transform: translateZ(0); /* Hardware acceleration */
    contain: layout style paint;
}

/* 3D Neumorphic Depth */
.neumorphic-3d {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.neumorphic-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Hero Content */
.glass-hero {
    padding: 100px 0;
    text-align: center;
}

.hero-glass-card {
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.glass-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fe424d, #e63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-subtitle {
    font-size: 1.25rem;
    color: #4a4a4a;
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Buttons */
.glass-btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.glass-btn.primary {
    background: linear-gradient(135deg, #fe424d, #e63946);
    color: white !important;
    box-shadow: 0 10px 20px rgba(254, 66, 77, 0.3);
}

.glass-btn.secondary {
    background: rgba(255, 255, 255, 0.5);
    color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-btn:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1);
}

.glass-card-sm {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.glass-card-sm:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

/* Feature Cards */
.glass-feature-card {
    padding: 40px 30px;
    text-align: center;
    height: 100%;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fe424d;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

/* Animations */
.animate-in {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-in-delay-1 { animation: fadeInUp 1s ease-out 0.2s forwards; opacity: 0; }
.animate-in-delay-2 { animation: fadeInUp 1s ease-out 0.4s forwards; opacity: 0; }
.animate-in-delay-3 { animation: fadeInUp 1s ease-out 0.6s forwards; opacity: 0; }
.animate-in-delay-4 { animation: fadeInUp 1s ease-out 0.8s forwards; opacity: 0; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Promo Section */
.glass-promo {
    padding: 60px;
    text-align: center;
    background: rgba(254, 66, 77, 0.05);
    backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
    .glass-title { font-size: 2.5rem; }
    .hero-glass-card { padding: 30px; }
    .bg-shape { display: none; }
}

/* Footer Glass Styles */
.glass-footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: 0; /* Align perfectly with home page wrapper */
    position: relative;
    z-index: 10;
}

.glass-newsletter-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        10px 10px 30px rgba(0, 0, 0, 0.05),
        -10px -10px 30px rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.footer-glass-links li a {
    color: #4a4a4a;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 0;
    font-weight: 500;
}

.footer-glass-links li a:hover {
    color: #fe424d;
    transform: translateX(8px);
}

.social-glass-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px; /* Neumorphic squircle */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    margin: 0 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

.social-glass-btn:hover {
    background: linear-gradient(135deg, #fe424d, #e63946);
    color: white;
    transform: translateY(-8px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(254, 66, 77, 0.3);
}

.glass-input-group {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 6px;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}

.glass-input {
    background: transparent;
    border: none;
    padding: 10px 20px;
    flex: 1;
    outline: none;
    color: #1a1a1a;
    font-weight: 500;
}

.glass-btn-sm {
    background: linear-gradient(135deg, #fe424d, #e63946);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(254, 66, 77, 0.2);
}

.glass-btn-sm:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.glass-hr {
    border-top: 1px solid rgba(0,0,0,0.1);
    opacity: 0.1;
}

.footer-legal-link {
    color: #666 !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal-link:hover {
    color: #fe424d !important;
    text-shadow: 0 0 10px rgba(254, 66, 77, 0.2);
}

.footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #fe424d;
    transition: width 0.3s ease;
}

.footer-legal-link:hover::after {
    width: 100%;
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* User Dropdown Glass */
.glass-user-dropdown {
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 20px !important;
    border-radius: 50px;
    color: #1a1a1a !important;
}

.glass-dropdown {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 15px !important;
    overflow: hidden;
}

.glass-dropdown .dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
}
/* Floating Pill Navbar Redesign */
.nav-floating-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    padding: 0 5%;
}

/* Pink Shining Background Glow */
.nav-floating-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 5%;
    width: 300px;
    height: 150px;
    background: radial-gradient(circle, rgba(254, 66, 77, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: shineMove 10s infinite alternate;
    pointer-events: none;
}

@keyframes shineMove {
    from { transform: translateX(-50px); opacity: 0.6; }
    to { transform: translateX(50px); opacity: 0.9; }
}

.glass-pill-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 100px !important;
    
    /* 3D White Box Shadow & Depth - Simplified */
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.05),
        inset 0 0 10px rgba(255, 255, 255, 0.5);
    
    padding: 8px 15px !important;
    transition: all 0.4s ease;
    
    /* Performance Optimization */
    transform: translateZ(0);
    will-change: transform;
}

.nav-floating-wrapper:hover .glass-pill-nav {
    transform: translateY(2px) translateZ(0);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.03),
        0 -8px 25px rgba(255, 255, 255, 0.9),
        inset 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Logo icon box */
.logo-icon-box {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.nav-pill-link {
    font-weight: 600;
    color: #444 !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-pill-link:hover {
    color: #fe424d !important;
    background: rgba(254, 66, 77, 0.05);
}

/* Home Page specific bold navbar text */
.home-navbar-active .nav-pill-link,
.home-navbar-active .login-pill-link,
.home-navbar-active .user-pill-btn,
.home-navbar-active .brand-text {
    font-weight: 800 !important;
}

.login-pill-link {
    font-weight: 700;
    color: #1a1a1a !important;
    padding: 8px 25px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.login-pill-link:hover {
    background: rgba(254, 66, 77, 0.05);
    color: #fe424d !important;
    text-decoration: none !important;
}

.signup-pill-btn {
    background: #000 !important; /* Match black button from image */
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none !important; /* Remove underline */
}

.signup-pill-btn::before {
    display: none !important;
}

.signup-pill-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    text-decoration: none !important; /* Ensure no underline on hover */
    color: #fff !important;
}

/* User pill button */
.user-pill-btn {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 8px 20px !important;
    font-weight: 700;
    color: #1a1a1a !important;
}

/* Mobile Three Dots Btn */
.mobile-more-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #444;
    padding: 5px 15px;
    transition: 0.3s ease;
}

.mobile-more-btn:active {
    transform: scale(0.9);
    opacity: 0.7;
}

/* Premium Glass Search Pill */
.search-pill-container {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 5px 5px 5px 25px;
    width: 350px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-pill-container:focus-within {
    width: 380px;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 25px rgba(254, 66, 77, 0.15);
    border-color: rgba(254, 66, 77, 0.3) !important;
}

.search-input-pill {
    background: transparent;
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.search-input-pill::placeholder {
    color: #888;
    font-weight: 500;
}

.search-btn-pill {
    background: linear-gradient(135deg, #fe424d, #e63946);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(254, 66, 77, 0.3);
}

.search-btn-pill:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 15px rgba(254, 66, 77, 0.5);
}

/* Navbar center dropdown fix */
.glass-pill-dropdown {
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    padding: 10px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

/* Fix main content padding for floating nav */
.main-content-wrapper {
    padding-top: 100px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .nav-floating-wrapper {
        padding: 0 3%;
    }
    .glass-pill-nav {
        border-radius: 30px !important; /* Less rounded for mobile menu expansion */
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}

/* Carousel Glass Styles */
.glass-carousel-btn {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%);
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease;
}

.glass-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1);
}

.glass-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
}

.glass-indicators .active {
    width: 30px !important;
    border-radius: 10px !important;
    background-color: white !important;
}

.carousel-item {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Existing footer styles below... */
