@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

body {
    background: #f8fafc;
    /* font-family: 'Inter', sans-serif; */
    /** #6366f1 */
    /** #8b5cf6  */
    font-family: "Lexend", sans-serif;
}

.main-navbar {
    background: #fff;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.07);
    padding: 0.7rem 0;
}

.main-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #193c5b !important;
    letter-spacing: -1px;
}

.main-navbar .nav-link {
    font-weight: 500;
    color: #4b5563 !important;
    transition: color 0.15s;
}

.main-navbar .nav-link.active,
.main-navbar .nav-link:hover {
    color: #193c5b !important;
}

.main-navbar .user-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #193c5b;
}

@media (max-width: 991px) {
    .main-navbar .navbar-nav {
        text-align: center;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e1e2f, #111120);
    color: #ddd;
    padding: 60px 0 30px;
    font-family: 'Segoe UI', sans-serif;
}

.footer h5,
.footer h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.footer a {
    color: #bbb;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #fff;
    transform: translateX(4px);
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin-right: 10px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #bbb;
    transition: 0.3s ease;
}

.social-icons a:hover {
    background-color: #0d6efd;
    color: #fff;
}

.newsletter-input {
    background-color: #fff;
    /* #2c2c3a */
    ;
    border: none;
    color: #fff;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: none;
    border-color: #0d6efd;
}

.footer-bottom {
    border-top: 1px solid #2d2d3a;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

@media (max-width: 767.98px) {
    .footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/** faq page */
.faq-hero {
    background: linear-gradient(120deg, #193c5b 0%, #818cf8 100%);
    color: #fff;
    padding: 70px 0 40px 0;
    text-align: center;
}

.faq-section {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.08);
    padding: 2.5rem 2rem;
    margin-top: -40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-category {
    margin-top: 2rem;
}

.faq-category h3 {
    color: #193c5b;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 20px;
}

.faq-contact {
    background: #f3f4f6;
    border-radius: 0.9rem;
    padding: 1.2rem 1rem;
    margin-top: 2.5rem;
    text-align: center;
}

@media (max-width: 600px) {
    .faq-section {
        padding: 1.2rem 0.6rem;
    }
}

/** about us  */

.about-hero {
    background: linear-gradient(120deg, #193c5b 0%, #818cf8 100%);
    color: #fff;
    padding: 70px 0 40px 0;
    text-align: center;
}

.about-hero h1 {
    font-weight: 800;
    letter-spacing: -1.5px;
}

.about-section {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.08);
    padding: 2.5rem 2rem;
    margin-top: -40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.about-icon {
    font-size: 2.8rem;
    color: #193c5b;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .about-section {
        padding: 1.2rem 0.6rem;
    }
}


/** category page */
.category-hero {
    background: linear-gradient(135deg, #193c5b 0%, #3b5e7e 100%);
    color: #fff;
    padding: 80px 0 50px;
    text-align: center;
}

.category-hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.category-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.categories-section {
    max-width: 1200px;
    margin: -40px auto 60px;
    padding: 3rem 2rem;
}

.category-card {
    background-image: url('images/default-category.jpg');
    /* Default background image */
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 350px;
    /* Fixed height */
    position: relative;
    overflow: hidden;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
}

.category-card .category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.category-card .category-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card .category-content p {
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .category-hero h1 {
        font-size: 2.2rem;
    }

    .categories-section {
        padding: 2rem 1rem;
    }
}



/** home */

/* HERO SECTION */
.hero {
    background: linear-gradient(120deg, #193c5b 0%, #818cf8 100%);
    color: #fff;
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0.13;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 8px rgba(60, 72, 88, 0.12);
}

.search-bar {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1.2rem;
    box-shadow: 0 4px 32px rgba(60, 72, 88, 0.08);
    padding: 1.2rem 1rem 0.5rem 1rem;
    margin-top: 2rem;
}

.search-bar input,
.search-bar select {
    border-radius: 0.8rem;
    min-height: 48px;
}

.search-bar .btn-primary { 
    font-weight: 600;
    background: linear-gradient(90deg, #193c5b 0%, #818cf8 100%);
    border: none;
    transition: background 0.2s;
}

.search-bar .btn-primary:hover {
    background: linear-gradient(90deg, #101130 0%, #193c5b 100%);
}

/* CATEGORY BOXES */
.category-box {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.08);
    padding: 2rem 1rem 1rem 1rem;
    transition: transform 0.18s, box-shadow 0.18s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-box:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 32px rgba(99, 102, 241, 0.14);
    background: linear-gradient(90deg, #f3f4f6 0%, #e0e7ff 100%);
}

.category-icon {
    font-size: 2.3rem;
    color: #193c5b;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.category-box:hover .category-icon {
    color: #101130;
}

/* FEATURED LISTINGS */
.listing-card {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.07);
    transition: transform 0.16s, box-shadow 0.16s;
    background: #fff;
}

.listing-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.13);
}

.listing-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.2s;
}

.listing-card:hover img {
    transform: scale(1.05);
}

.listing-card .btn-outline-primary {
    border-radius: 0.8rem;
    font-weight: 600;
    color: #193c5b;
    border-color: #193c5b;
    transition: background 0.2s, color 0.2s;
}

.listing-card .btn-outline-primary:hover {
    background: #193c5b;
    color: #fff;
    border-color: #193c5b;
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }

    .search-bar {
        padding: 1rem 0.25rem 0.25rem 0.25rem;
    }

    .category-box {
        padding: 1.2rem 0.5rem 0.7rem 0.5rem;
    }
}

/* Sidebar */
.filter-sidebar {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.08);
    padding: 2rem 1.2rem 1.2rem 1.2rem;
    margin-bottom: 2rem;
}

.filter-sidebar h5 {
    font-weight: 700;
    color: #193c5b;
    margin-bottom: 1.2rem;
}

.filter-sidebar label {
    font-weight: 500;
    color: #4b5563;
}

.filter-sidebar .form-check-label {
    font-weight: 400;
    color: #374151;
    font-size: 0.97rem;
}

.filter-sidebar .form-range {
    accent-color: #193c5b;
}

/* Sorting */
.sort-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sort-bar label {
    font-weight: 500;
    color: #4b5563;
}

/* Listing cards */
.ad-card {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.07);
    background: #fff;
    transition: transform 0.16s, box-shadow 0.16s;
    position: relative;
}

.ad-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.13);
}

.ad-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ad-card .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #193c5b;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 0.5rem;
    padding: 0.35em 0.7em;
}

.ad-card .card-title {
    font-weight: 700;
}

.ad-card .card-text {
    color: #6b7280;
    font-size: 0.97rem;
}

.ad-card .price {
    font-weight: 700;
    color: #101130;
    font-size: 1.1rem;
}

.ad-card .location {
    font-size: 0.93rem;
    color: #193c5b;
    margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
    .filter-sidebar {
        margin-bottom: 1.5rem;
    }
}

/** subcategory */
.category-section {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.08);
    padding: 2.5rem 2rem;
    margin-top: -30px;
    /* max-width: 1100px; */
    margin-left: auto;
    margin-right: auto;
}

.subcategory-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.subcategory-card {
    background: #f8fafc;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(60, 72, 88, 0.06);
    padding: 1.4rem 1.2rem;
    width: 180px;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.12s, transform 0.12s;
    border: 2px solid transparent;
}

.subcategory-card.selected,
.subcategory-card:hover {
    border: 2px solid #193c5b;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.13);
    transform: translateY(-3px) scale(1.04);
}

.subcategory-card i {
    font-size: 2.2rem;
    color: #193c5b;
    margin-bottom: 0.5rem;
}

.subcategory-card .label {
    font-weight: 600;
    color: #101130;
    margin-top: 0.4rem;
}


body {
    background: #f8f9fa;
}

.hero-banner {
    background: linear-gradient(90deg, #1d3557 60%, #457b9d 100%);
    color: #fff;
    padding: 80px 0 80px 0;
    text-align: center;
    position: relative;
}

.hero-banner h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-banner p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.search-bar {
      background-color: #fff;
    padding: 20px !important;
    box-shadow: 0 0 15px #2a2a2a;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    padding: 25px 10px;
    transition: box-shadow 0.2s;
}

.category-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
}

.listing-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
    margin-bottom: 24px;
    transition: box-shadow 0.2s;
}

.listing-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
}

.listing-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.price-badge {
    background: #e63946;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    padding: 5px 12px;
    font-size: 1rem;
    position: absolute;
    top: 16px;
    right: 16px;
}

.pricing-card {
    border: 2px solid #457b9d;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.pricing-card.featured {
    border-color: #e63946;
    background: #f1faee;
}

.cta-section {
    background: #1d3557;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.badge {
    font-size: 0.95rem;
    padding: 0.5em 0.85em;
    border-radius: 0.5rem;
}

.navbar-brand img {
    vertical-align: middle;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #1d3557 !important;
    transition: color 0.2s;
}

.nav-link.active,
.nav-link:hover {
    color: #e63946 !important;
}

.btn-primary {
    background: #e63946;
    border: none;
}

.btn-primary:hover {
    background: #d62839;
}


.section-heading-underline {
    width: 60px;
    height: 4px;
        background: linear-gradient(81.57deg, #EE0979 29.59%, #FC5B11 94.75%) !important;
    border-radius: 2px;
}

.listing-card-fullimg {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    overflow: hidden;
}

.listing-card-fullimg:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.listing-title a:hover {
    color: #e63946;
    text-decoration: underline;
}

.card-img-top {
    object-fit: cover;
    height: 220px;
}

.badge {
    font-size: 0.85rem;
    padding: 0.35em 0.75em;
}

.promo-section {
    background: linear-gradient(90deg, #e63946 60%, #457b9d 100%);
}



.promo-ads-section-light {
    background: linear-gradient(135deg, #f9f7f6 0%, #faf3e5 100%);
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.1);
}

.promo-ads-section-soft {
   background: linear-gradient(135deg, #0a0a29 0%, #0a0a29b5 100%);
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 8px 32px rgba(76, 117, 146, 0.25);
    color: white;
    border-radius: 0px;    margin: 0 !important;
}

.pattern-overlay {
    background-image:
        radial-gradient(circle 15px at 20px 20px, rgba(255, 255, 255, 0.15) 98%, transparent 99%),
        radial-gradient(circle 15px at 50px 50px, rgba(255, 255, 255, 0.15) 98%, transparent 99%);
    background-size: 70px 70px;
    pointer-events: none;
    z-index: 0;
}

.promo-heading-underline-light {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2196f3 60%, #64b5f6 100%);
    border-radius: 2px;
}

.promo-icon-circle-light {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 1.2rem;
    color: #2196f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-ads-section-light .btn-primary {
    background-color: #2196f3;
    border: none;
    transition: background-color 0.3s ease;
}

.promo-ads-section-light .btn-primary:hover,
.promo-ads-section-light .btn-primary:focus {
    background-color: #1976d2;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.5);
}

@media (max-width: 767.98px) {
    .promo-ads-section-light {
        border-radius: 1rem;
        padding: 3rem 1.5rem;
    }

    .promo-icon-circle-light {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
}


.footer-modern {
    background: linear-gradient(120deg, #181c24 60%, #222c38 100%);
    font-family: 'Inter', Arial, sans-serif;
    letter-spacing: 0.01em;
}

.footer-link {
    display: block;
    color: #bfc9d1;
    text-decoration: none;
    padding: 3px 0;
    transition: color 0.2s;
    font-size: 1rem;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-modern h6,
.footer-modern .footer-heading {
    color: #fff;
    letter-spacing: 0.08em;
    font-weight: 700;
    position: relative;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
}

.footer-modern .footer-heading::after {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
  background: linear-gradient(81.57deg, #EE0979 29.59%, #FC5B11 94.75%) !important; 
    border-radius: 2px;
    margin-top: 0.5rem;
    position: absolute;
    left: 0;
    bottom: 0;
}

.footer-social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1b1d3f;
    color: #bfc9d1;
    font-size: 1.35rem;
    margin-right: 10px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(30, 40, 90, 0.03);
    border: 2px solid transparent;
}

.footer-social-circle:hover {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.12);
}

.footer-modern .btn-danger {
    background: #e63946;
    border: none;
}
.footer-social-circle i {
    line-height: 0;
    font-size: 18px;
}
.footer-modern .btn-danger:hover {
    background: #d62839;
}

.footer-modern input[type="email"] {
    border: none;
    background: #232b36;
    color: #fff;
}

.footer-modern input[type="email"]:focus {
    background: #232b36;
    color: #fff;
    outline: none;
    box-shadow: none;
}

.footer-modern hr {
    opacity: 0.15;
}



.categories-with-images-section .category-card-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.categories-with-images-section .category-card-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.category-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.category-overlay {
        background: linear-gradient(180deg, transparent 40%, rgb(3 34 59 / 97%) 100%);
    border-radius: 0 0 1rem 1rem;
}


.hero-banner-bg {
    background: url('./../img/hero-bg.jpg') center center/cover no-repeat;
    position: relative;
    min-height: 520px;
}

.hero-overlay {
    background: linear-gradient(90deg, rgb(4 39 89 / 35%) 60%, rgb(4 29 45 / 40%) 100%);
    z-index: 1;
}

.text-shadow {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-search-form input,
.hero-search-form select {
    background: transparent;
}

.hero-search-form input:focus,
.hero-search-form select:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.hero-search-form .form-control,
.hero-search-form .form-select {
    border: none;
    background: transparent;
}

.hero-search-form .form-control:focus,
.hero-search-form .form-select:focus {
    border: none;
    box-shadow: none;
}

.hero-search-form .btn-danger {
    background: #e63946;
    border: none;
}

.hero-search-form .btn-danger:hover {
    background: #d62839;
}

@media (max-width: 767.98px) {
    .hero-banner-bg {
        min-height: 400px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-search-form {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem !important;
    }
}


.search-form-navbar {
    background: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 50rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    z-index: 1050;
}

.search-form-navbar input {
    border-radius: 50rem !important;
    transition: width 0.4s cubic-bezier(.7, .2, .4, 1);
}

@media (max-width: 991.98px) {
    .search-form-navbar {
        right: 0;
        left: auto;
        top: 110%;
    }
}


.announce-bar {
    font-size: 1rem;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, #e63946 70%, #f1faee 100%);
    z-index: 1030;
}

.navbar-brand img {
    vertical-align: middle;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #1d3557 !important;
    transition: color 0.2s;
}

.nav-link.active,
.nav-link:hover {
    color: #e63946 !important;
}

.btn-danger {
    background: #e63946;
    border: none;
}

.btn-danger:hover {
    background: #d62839;
}

.btn-outline-primary {
    border: 2px solid #457b9d;
    color: #457b9d;
    background: #fff;
}

.btn-outline-primary:hover {
    background: #457b9d;
    color: #fff;
}

@media (max-width: 991.98px) {

    .navbar-nav .btn,
    .navbar-nav .btn-outline-primary {
        width: 100%;
        margin-top: 8px;
    }
}

.promo-ads-section-soft {
    background: linear-gradient(135deg, #204057 0%, #6a8ca7 100%);
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 8px 32px rgba(76, 117, 146, 0.25);
    color: white;
}

.promo-bg-vector {
    pointer-events: none;
}

.promo-heading-underline-soft {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #a8c0d8 60%, #d0e1f9 100%);
    border-radius: 2px;
}

.promo-icon-circle-soft {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    margin-bottom: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.promo-ads-section-soft .btn-light {
   background-color: #f0f4f8;
    border: none;
    color: #ffffff !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    background: linear-gradient(81.57deg, #EE0979 29.59%, #FC5B11 94.75%) !important;
    min-height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    margin: auto;
    font-weight: 300 !important;
}

.promo-ads-section-soft .btn-light:hover,
.promo-ads-section-soft .btn-light:focus {
    background-color: #d0e1f9;
    color: #3a5a70;
    box-shadow: 0 4px 12px rgba(58, 90, 112, 0.4);
}

@media (max-width: 767.98px) {
    .promo-ads-section-soft {
        border-radius: 1rem;
        padding: 3rem 1.5rem;
    }

    .promo-icon-circle-soft {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
}

.auth-card {
    animation: fadeInUp 0.6s cubic-bezier(.7, .2, .4, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.form-floating>.form-control:focus {
    border-color: #4c7592;
    box-shadow: 0 0 0 0.15rem rgba(76, 117, 146, .15);
}

.btn-primary {
    background: #4c7592;
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #395a70;
}

.btn-primary {
    background: linear-gradient(90deg, #193c5b 0%, #818cf8 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.auth-card h2 {
    font-weight: 700;
    letter-spacing: -1px;
    color: #101130 !important;

}

.category-hero-section {
    background: linear-gradient(120deg, #f1f7fa 0%, #e6ecf3 100%);
    position: relative;
    overflow: hidden;
}

.category-heading-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4c7592 60%, #6a8ca7 100%);
    border-radius: 2px;
}

.category-card-image {
    transition: transform 0.22s cubic-bezier(.7, .2, .4, 1), box-shadow 0.22s;
    min-height: 240px;
    display: flex;
    align-items: stretch;
}

.category-card-image:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px rgba(76, 117, 146, 0.13), 0 2px 8px rgba(0, 0, 0, 0.10);
    text-decoration: none;
}

.category-img {
    height: 240px;
    object-fit: cover;
    width: 100%;
    display: block;
    transition: filter 0.3s;
}

.category-card-image:hover .category-img {
    filter: brightness(0.85);
}

.category-card-overlay {
    background: linear-gradient(180deg, rgba(76, 117, 146, 0.0) 40%, rgba(76, 117, 146, 0.78) 100%);
    border-radius: 0 0 1rem 1rem;
    transition: background 0.3s;
    background: linear-gradient(180deg, transparent 40%, rgb(3 34 59 / 97%) 100%);
    border-radius: 0 0 1rem 1rem;
}
aside.sidebar-ui { 
    background: linear-gradient(135deg, #0a0b29 0%, #1b1d3f 100%);
    height: 100%;
}
.flex-grow-1.main-content-ui.p-0 .card-header.bg-secondary.border-bottom-0.py-3.px-4 {
    background: #0f1130 !important;
    color: #fff;
}

@media (max-width: 767.98px) {
    .category-img {
        height: 180px;
    }
}

/* Drawer overlay */
.drawer-overlay {
    display: none;
    position: fixed;
    z-index: 1040;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 62, 80, 0.18);
    transition: opacity 0.2s;
}

/* Drawer collapse (mobile only) */
@media (max-width: 991.98px) {
    .drawer-collapse {
        padding: 15px;
        position: fixed !important;
        top: 0;
        right: 0;
        height: 100vh;
        width: 370px;
        max-width: 370px;
        background: #fff;
        box-shadow: -2px 0 16px rgba(44, 62, 80, 0.08);
        z-index: 1050;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(.7, .2, .4, 1);
        border-top-left-radius: 1.2rem;
        border-bottom-left-radius: 1.2rem;
        padding-top: 2rem;
    }

    .accountdrop {
        display: none;
    }

    .drawer-collapse.show {
        transform: translateX(0);
    }

    .drawer-overlay.active {
        display: block;
        opacity: 1;
    }

    body.menu-open {
        overflow: hidden;
    }
}


.sidebar-toggle {
    z-index: 1202;
    background: #fff;
    border: none;
    border-radius: 0.7rem;
    box-shadow: 0 2px 10px rgba(76, 117, 146, 0.09);
    padding: 0.5rem 0.8rem;
    color: #4c7592;
    transition: background 0.15s;
}

.sidebar-toggle:active,
.sidebar-toggle:focus {
    background: #e3edf7;
}

/* Sidebar Drawer */
.sidebar-ui {
    width: 280px;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    border-right: 1.5px solid #e3edf7;
    box-shadow: 0 8px 32px rgba(76, 117, 146, 0.07);
    z-index: 1201;
    transition: transform 0.32s cubic-bezier(.7, .2, .4, 1), box-shadow 0.2s;
}

.drawer-ui {
    /* Desktop: visible, Mobile: hidden by default, slides in */
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transform: translateX(-110%);
}

@media (min-width: 992px) {
    .drawer-ui {
        position: static;
        transform: none !important;
        box-shadow: 0 8px 32px rgba(76, 117, 146, 0.07);
    }

    #sidebarOverlay {
        display: none !important;
    }

    .sidebar-toggle {
        display: none !important;
    }
}

/* Drawer open state */
.drawer-ui.open {
    transform: translateX(0);
    box-shadow: 0 0 0 9999px rgba(44, 62, 80, 0.18);
}

/* Overlay for mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 62, 80, 0.18);
    transition: opacity 0.2s;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.bg-dashboard {
    background: linear-gradient(120deg, #f7fafc 0%, #e3edf7 100%);
}

/* Sidebar */
.sidebar-ui {
    width: 280px;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    border-right: 1.5px solid #e3edf7;
    box-shadow: 0 8px 32px rgba(76, 117, 146, 0.07);
    z-index: 2;
}

.status-indicator {
    width: 14px;
    height: 14px;
    border: 2.5px solid #fff;
    box-shadow: 0 0 0 2px #e3edf7;
    right: 2px;
    bottom: 2px;
}

.nav-link-ui {
    padding: 0.85rem 1.2rem;
    color: #495057;
    font-weight: 500;
    border-radius: 0.7rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: flex;
    align-items: center;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    border: none;
    margin-bottom: 0.15rem;
}

.nav-link-ui.active,
.nav-link-ui:hover {
    background: linear-gradient(90deg, #e3edf7 60%, #f7fafc 100%);
    color: #0d6efd;
    box-shadow: 0 2px 10px rgba(76, 117, 146, 0.06);
    text-decoration: none;
}

.nav-link-ui.text-danger {
    color: #dc3545 !important;
}

/* Welcome Banner */
.welcome-banner-ui {
    background: linear-gradient(120deg, #e3edf7 0%, #f7fafc 100%);
    border-radius: 1.5rem;
    box-shadow: 0 6px 24px rgba(76, 117, 146, 0.07);
    min-height: 120px;
}

.wave-emoji {
    font-size: 1.2em;
    vertical-align: middle;
    animation: wave 2s infinite;
    display: inline-block;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Quick Actions */
.quick-action-ui {
    background: rgba(255, 255, 255, 0.97) !important;
    border: none;
    transition: box-shadow 0.2s, transform 0.18s;
    cursor: pointer;
}

.quick-action-ui:hover {
    box-shadow: 0 12px 32px rgba(76, 117, 146, 0.13), 0 2px 8px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px) scale(1.03);
}

.icon-circle-ui {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(76, 117, 146, 0.07);
}

/* Responsive */
@media (max-width: 991.98px) {
    .sidebar-ui {
        width: 100%;
        min-height: unset;
        border-right: none;
        border-bottom: 1.5px solid #e3edf7;
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.2rem;
        position: sticky;
        top: 0;
        z-index: 99;
    }

    .bg-dashboard {
        flex-direction: column;
    }
}

/* Hero Section */
.terms-hero {
    background: linear-gradient(135deg, #193c5b 0%, #3b5e7e 100%);
    color: #fff;
    padding: 80px 0 50px;
    text-align: center;
}

.terms-hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.terms-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content */
.terms-content {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    padding: 3rem 2.5rem;
    max-width: 900px;
    margin: -40px auto 60px;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.terms-content h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #343a40;
}

.terms-content p,
.terms-content ul {
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .terms-hero h1 {
        font-size: 2.2rem;
    }

    .terms-content {
        padding: 2rem 1.2rem;
    }
}


/* Hero Section */
.page-hero {
    background: linear-gradient(135deg, #193c5b 0%, #3b5e7e 100%);
    color: #fff;
    padding: 80px 0 50px;
    text-align: center;background: linear-gradient(135deg, #0a0b29 0%, #1b1d3f 100%);
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Card */
.contact-section {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    padding: 3rem 2.5rem;
    max-width: 700px;
    margin: -40px auto 60px;
    position: relative;
    z-index: 2;
}

/* Form Fields */
.contact-section .form-control {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .form-control:focus {
    border-color: #193c5b;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.contact-section .btn {
    padding: 0.6rem 2.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

/* Contact Info */
.contact-info {
    font-size: 0.95rem;
    color: #6c757d;
    text-align: center;
}

.contact-info i {
    color: #193c5b;
}

@media (max-width: 600px) {
    .contact-section {
        padding: 2rem 1rem;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* Content section */
.privacy-content {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    padding: 3rem 2.5rem;
    max-width: 900px;
    margin: -40px auto 60px;
    position: relative;
    z-index: 2;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.privacy-content h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #343a40;
}

.privacy-content p {
    margin-bottom: 1rem;
}

@media (max-width: 600px) {


    .privacy-content {
        padding: 2rem 1.2rem;
    }
}

.job-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    margin-bottom: 1.5rem;
}

.job-card:hover {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
}

.job-card h4 {
    font-weight: 600;
}

.job-card .btn {
    margin-top: 1rem;
}

.careers-section {
    max-width: 960px;
    margin: -40px auto 60px;
    padding: 3rem 2rem;
}

@media (max-width: 600px) {


    .careers-section {
        padding: 2rem 1rem;
    }
}


/* --- Sidebar Styles --- */
.sidebar-ui {
    background: linear-gradient(135deg, #f8fafc 0%, #e2eafc 100%);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    min-width: 280px;
    transition: left 0.3s;
}

.sidebar-ui .nav-link {
    transition: background 0.2s, color 0.2s;
    border-radius: .75rem;
    padding: .75rem 1rem;
}

.sidebar-ui .nav-link.active,
.sidebar-ui .nav-link[aria-current="page"],
.sidebar-ui .nav-link:hover {
    background: #e2eafc;
    color: #1a73e8;
    font-weight: 600;
}

.sidebar-ui img {
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- Quick Action Cards --- */
.card.quick-action-ui {
    transition: transform 0.15s, box-shadow 0.15s;
}

.card.quick-action-ui:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px rgba(26, 115, 232, 0.07);
}

.icon-circle-ui {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    background: #e2eafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- Welcome Banner --- */
.welcome-banner-ui {
    background: linear-gradient(90deg, #e2eafc 60%, #f8fafc 100%);
    border: none;
}

/* --- Sidebar Overlay for Mobile --- */
.sidebar-overlay-ui {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 42, 73, 0.25);
    z-index: 1040;
}

.sidebar-overlay-ui.active {
    display: block;
}

@media (max-width: 991px) {
    .sidebar-ui {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        z-index: 1050;
        transition: left 0.3s;
    }

    .sidebar-ui.open {
        left: 0;
    }

    .sidebar-overlay-ui {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(30, 42, 73, 0.25);
        z-index: 1040;
    }

    .sidebar-overlay-ui.active {
        display: block;
    }

    .main-content-ui {
        padding-left: 0 !important;
    }
}

.wave-emoji {
    animation: wave 1.5s infinite;
    display: inline-block;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


.my-ads-header {
    font-weight: 900;
    color: #101130;
    letter-spacing: 0.02em;
    margin-bottom: 2.2rem; 
}

.my-ads-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-bottom: 1px solid #f1f5f9;
    transition: filter 0.18s;
}

.status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.87rem;
    padding: 0.38em 1em;
    border-radius: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.09);
    z-index: 2;
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.status-badge.inactive {
    background: linear-gradient(90deg, #d1d5db 0%, #e5e7eb 100%);
    color: #374151;
}

.card-title {
    font-weight: 800;
    color: #101130;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 800;
    color: #6366f1;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.location {
    font-size: 0.95rem;
    color: #818cf8;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 0.4em;
}

.card-actions .btn {
    border-radius: 0.7rem;
    font-size: 0.97rem;
    font-weight: 600;
    padding: 0.5em 0.6em;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.04);
}

.card-actions .btn-outline-primary:hover,
.card-actions .btn-outline-primary:focus {
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
    color: #fff;
    border-color: #6366f1;
}

.card-actions .btn-outline-secondary:hover,
.card-actions .btn-outline-secondary:focus {
    background: #e0e7ff;
    color: #101130;
    border-color: #818cf8;
}

.card-actions .btn-outline-danger:hover,
.card-actions .btn-outline-danger:focus {
    background: #fee2e2;
    color: #dc2626;
    border-color: #ef4444;
}

@media (max-width: 991px) {
    .my-ads-section {
        padding: 1.2rem 0 0.8rem 0;
    }
}

@media (max-width: 767px) {
    .my-ads-header {
        font-size: 1.4rem;
    }

    .my-ads-card img {
        height: 130px;
    }
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-ads-card img {
    background: #f9fafb;
}


.user-list-card .status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35em 0.75em;
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
    border-radius: 50rem;
}

.user-list-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.user-list-card .card-body .btn {
    font-size: 0.9rem;
}


:root {
    --primary: #6366f1;
    --primary-dark: #121212;
    --bg-light: #f8fafc;
    --bg-card: #fff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-radius: 1.3rem;
    --shadow: 0 4px 32px rgba(60, 72, 88, 0.12);
    --transition: 0.18s cubic-bezier(.4, 0, .2, 1);
}


/* --- Gallery --- */
.ad-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e0e7ef;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: box-shadow var(--transition);
}

.ad-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
    background: #e5e7eb;
    transition: transform var(--transition);
}

.ad-gallery-main:hover {
    box-shadow: 0 8px 48px rgba(99, 102, 241, 0.12);
}

.ad-gallery-main img:focus {
    outline: 3px solid var(--primary);
    outline-offset: -3px;
}

.ad-gallery-thumbs {
    display: flex;
    gap: 0.7rem;
    padding: 0.2rem 0;
    margin-bottom: 2rem;
}

.ad-gallery-thumbs img {
    height: 64px;
    width: 104px;
    object-fit: cover;
    border-radius: 0.7rem;
    cursor: pointer;
    border: 2px solid transparent;
    background: #e5e7eb;
    transition: border var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 1px 6px rgba(60, 72, 88, 0.06);
}

.ad-gallery-thumbs img.active,
.ad-gallery-thumbs img:focus,
.ad-gallery-thumbs img:hover {
    border: 2px solid var(--primary);
    transform: scale(1.07);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.10);
}

@media (max-width: 767px) {
    .ad-gallery-main {
        aspect-ratio: 4 / 3;
    }

    .ad-gallery-thumbs img {
        width: 60px;
        height: 40px;
    }
}

/* --- Grid Layout --- */
.ad-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 991px) {
    .ad-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Ad Content --- */
.ad-title {
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
    letter-spacing: -1px;
    line-height: 1.18;
}

.ad-price {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 1.5rem;
}

.ad-location {
    color: var(--primary);
    font-size: 1.13rem;
    margin-right: 1.2rem;
    display: flex;
    align-items: center;
}

.ad-date {
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.ad-details-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin: 1.2rem 0 2rem 0;
    padding: 0;
    list-style: none;
}

.ad-details-list li {
    background: #f1f5f9;
    border-radius: 0.7rem;
    padding: 0.5rem 1rem;
    font-size: 1.07rem;
    color: var(--text-main);
    flex: 1 1 180px;
    min-width: 140px;
    border: 1px solid #e0e7ef;
    box-shadow: 0 1px 3px rgba(60, 72, 88, 0.03);
}

.ad-description {
    background: #f8fafc;
    border-radius: 0.8rem;
    padding: 1.2rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 6px rgba(60, 72, 88, 0.04);
}

.ad-description h5 {
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--primary-dark);
}

/* --- Seller Card --- */
.seller-card {
    background: linear-gradient(135deg, #f8fafc 60%, #eef2ff 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.6rem 1.2rem 1.2rem 1.2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: stretch;
}

.seller-header {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    background: #e0e7ff;
    box-shadow: 0 1px 6px rgba(99, 102, 241, 0.10);
}

.seller-info .fw-bold {
    font-size: 1.14rem;
    color: var(--primary-dark);
}

.seller-info .text-muted {
    font-size: 1.01rem;
    color: var(--text-muted);
}

.seller-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.seller-card .btn {
    border-radius: 0.9rem;
    font-weight: 700;
    font-size: 1.06rem;
    padding: 0.7rem 0;
    background: var(--primary);
    border: none;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: 0 1px 8px rgba(99, 102, 241, 0.08);
}

.seller-card .btn:hover,
.seller-card .btn:focus {
    background: var(--primary-dark);
    box-shadow: 0 2px 16px rgba(99, 102, 241, 0.16);
}




/* --- Sticky Mobile Contact Button --- */
@media (max-width: 991px) {
    .mobile-contact-btn {
        position: fixed;
        bottom: 18px;
        left: 0;
        right: 0;
        z-index: 1050;
        margin: 0 auto;
        width: 92%;
        max-width: 420px;
        box-shadow: 0 2px 16px rgba(99, 102, 241, 0.13);
        border-radius: 1rem;
    }
}

/* --- Accessibility Focus --- */
.ad-gallery-thumbs img:focus {
    outline: 2.5px solid var(--primary-dark);
    outline-offset: 2px;
}

.message-list-card {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 2px 16px rgba(60, 72, 88, 0.07);
    padding: 2rem 1.2rem 1.2rem 1.2rem;
    max-width: 700px;
    margin: 2rem auto;
}

.message-list-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
    cursor: pointer;
}

.message-list-item:last-child {
    border-bottom: none;
}

.message-list-item:hover {
    background: #f8fafc;
}

.message-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid #6366f1;
}

.message-info {
    flex: 1;
}

.message-ad-title {
    color: #6366f1;
    font-size: 1.02rem;
    font-weight: 600;
}

.message-last {
    color: #4b5563;
    font-size: 1.01rem;
}

.message-time {
    color: #9ca3af;
    font-size: 0.97rem;
}

.unread-badge {
    background: #6366f1;
    color: #fff;
    border-radius: 0.7em;
    font-size: 0.82rem;
    padding: 0.2em 0.7em;
    margin-left: 0.6em;
    font-weight: 600;
}

.list-group-item {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: #f8f9fc;
}

.list-group-item img {
    object-fit: cover;
}

.badge.bg-primary {
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    border-radius: 0.6rem;
}


.ads-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px; /* or adjust to your desired height */
  overflow: hidden;
  background-color: #f9f9f9; /* fallback background */
  border-radius: 8px;
}

.ads-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bg-light{
    background-color:rgb(238 240 241) !important;
}
body {
    background:  rgb(238 240 241) !important;
}
.footer-modern,.announce-bar {
    background: #0a0a29 !important; 
    
} 
.sidebar-ui{
    background: linear-gradient(135deg, #6c757d 0%, #6c757d 100%);
}
.sidebar-ui {
    background: linear-gradient(135deg, #142b3d 0%, #35404a 100%);
}
.sidebar-ui .nav-link{
    color: #e5ecf6 !important;
}
.sidebar-ui .nav-link.active, .sidebar-ui .nav-link[aria-current="page"], .sidebar-ui .nav-link:hover{
    color:#333 !important;
}
.welcome-banner-ui {
    background: linear-gradient(90deg, #6c757d 60%, #828c94 100%);
     background: linear-gradient(135deg, #142b3d 0%, #35404a 100%);
    border: none;
}
.btn-primary, .btn-danger {
    background: linear-gradient(81.57deg, #EE0979 29.59%, #FC5B11 94.75%) !important;
}

.btn-primary:hover, .btn-danger:hover {
    background: linear-gradient(81.57deg, #FC5B11 29.59%, #EE0979 94.75%) !important;
}

.search-bar .btn-primary { 
    height: 45px;
}
.btn-outline-primary {
    border: 1px solid #EE0979;
    color: #EE0979;
    background: #fff;
}
.btn-outline-primary:hover{
background: linear-gradient(81.57deg, #EE0979 29.59%, #FC5B11 94.75%) !important; border: 1px solid #EE0979;
}

button#search-toggle .fs-5 {
    font-size: 17px !important;
}

button#search-toggle {
    border: 1px solid #EE0979 !important;
    color: #EE0979;
    background: #fff;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    font-size: 11px !important;
}
section.categories-with-images-section.py-5.bg-light {
    background-color: rgb(255 255 255) !important;
}

section.ads.container.py-4 {
    background: #ffffff;
    max-width: 100%;
    padding: 50px 50px !important;
}

 .footer-modern {
      background-color: #0a0b29 !important;
      color: #fff !important;
      padding: 50px 20px;
    }
    .footer-modern .footer-link {
      color: #ccc !important;     font-size: 15px;
      text-decoration: none;
    }
    .footer-modern .footer-link:hover {
      color: #fff !important;
    }
    
    .footer-modern input[type="email"] {
    border: none;
    background: #ffffff;
    color: #0a0b29;
}
    
   .footer-social-circle { 
    background: #1b1d3f;
    color: #ffffff; 
} 
 .footer-modern input[type="email"]:focus {
    background: #ffffff;
    color: #a1a1a1;
    outline: none;
    box-shadow: none;
}   
    
 .sub-footer {
    background: #1b1d3f;
    border-top: solid 1px rgb(59 63 67 / 43%) !important;
}   
.listing-card-fullimg.shadow-sm {
    box-shadow: 0 .225rem .55rem rgb(0 0 0 / 24%) !important;
}    
    
    
    section.hero-banner-bg h1 {
    font-size: 45px !important;
}
    section.hero-banner-bg  .lead
 {
       font-size: 19px;
    color: #fff !important;
 }
    
    .promo-ads-section-soft {
    background: linear-gradient(135deg, #0a0b29 0%, #1b1d3f 100%); 
}
     .promo-ads-section-soft .display-5 {
        font-size: 45px;
    }
   .promo-ads-section-soft .lead {
    font-size: 16px; 
}
    
    .promo-ads-section-soft .btn-light {
    font-size: 18px;
    width: 191px;
    padding: 0 !important;
}
    
    .promo-card {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    position: relative;
}
    .promo-text h4 {
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    margin-top: 9px;
}

.section-promo .carousel-control-next, .section-promo .carousel-control-prev {

    width: 50px; 
}
.section-promo .carousel-control-next, .section-promo .carousel-control-prev {
    width: 45px;
    height: 45px;
    margin: auto;
    background: linear-gradient(81.57deg, #FC5B11 29.59%, #EE0979 94.75%) !important;
    border-radius: 100%;
    opacity: 1;
}
 
.section-promo  .bg-dark {
    --bs-bg-opacity: 1;
    background-color: #000 !important;
    background-size: 23px;
}


.section-promo .carousel-control-next, .section-promo .carousel-control-prev {opacity:0.2}

.section-promo:hover .carousel-control-next, .section-promo:hover .carousel-control-prev {opacity:1.2}


.section-promo .carousel-item { 
    padding: 10px;
}
.seller-card .btn { 
    color: #fff;
}
.ad-price {
    font-size: 1.2rem; 
}

.contact-section h2 {
    font-size: 1.6rem;
}

section.section-promo .category-card-image { 
    padding-bottom: 10px;
    min-height:auto;
}
.listing-card-fullimg .btn-light {
    background: linear-gradient(81.57deg, #EE0979 29.59%, #FC5B11 94.75%) !important;
    color: #fff;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.listing-card-fullimg .btn-light .text-danger{color:#fff !important}

nav.navbar.navbar-expand-lg.navbar-light.bg-white.shadow-sm.py-3.position-relative {
    padding: 0 !important;
}
nav.navbar.navbar-expand-lg.navbar-light.bg-white.shadow-sm.py-3.position-relative a.navbar-brand.fw-bold.text-primary img {
    width: 200px;
}
.section-promo .carousel-item > .row {
      display: flex;
    }

.section-promo .carousel-item img {
      height: 200px;
      object-fit: cover;
    }

    /* Desktop: show all 3 */
.section-promo .carousel-item .col-md-3 {
      display: block;
    }

p, li, a, div {font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";}

.fw-bold {
    font-weight: 500!important;
}
    /* Mobile: show only 1 (first) */
    @media (max-width: 767.98px) {
.section-promo .carousel-item .col-md-3:not(:first-child) {
        display: none !important;
      }
    }
    
@media (min-width: 1200px) {
.h4, h4 {
    font-size: 1.2rem;
}
.about-section p {
    font-size: 14px;
}
}

 body {
    background: rgb(255 255 255) !important;
  }

  .section-promo img {
    /*height: 200px;*/
    object-fit: cover;
    margin-right: 5px;
  }

  .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Allows arrows to sit outside clickable areas */
  }

  .owl-nav button.owl-prev,
  .owl-nav button.owl-next {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.7);
    /* optional style */
    border: none;
    padding: 10px;
    font-size: 20px;
    position: relative;
  }


