/* ===================================
   OTXAD - Main Stylesheet
   Bikroy.com Inspired Design
   =================================== */

/* CSS Variables - OTXAD Blue Theme */
:root {
    --primary: #005EB8;
    --primary-dark: #004a94;
    --primary-light: #e6f0fa;
    --secondary: #00b939;
    --accent: #ffc800;
    --accent-dark: #e6b400;
    --danger: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
    --info: #17a2b8;

    --text-dark: #1A1A1A;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --text-muted: #999999;

    --bg-light: #F5F7FA;
    --bg-white: #ffffff;
    --bg-dark: #1A1A1A;
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --container-max: 1100px; /* Reduced from 1320px to match Bikroy style */
    --header-height: 70px; /* Bikroy-style header height */
    --mobile-nav-height: 60px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - var(--header-height) - 400px);
    padding-bottom: 0;
}

/* ====================
   HEADER - Bikroy Style
   ==================== */
.site-header {
    background: var(--primary);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-left {
    justify-content: flex-start;
}

.header-right {
    justify-content: flex-end;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

/* Uploaded site logo image */
.site-logo-img {
    max-height: 36px; /* Restored more visibility */
    width: auto;
    transition: transform 0.3s;
}
.site-logo-img:hover {
    transform: scale(1.05);
}

.logo-triangle {
    display: inline-block;
    width: 24px;
    height: 22px;
    position: relative;
    margin: 0 4px;
    vertical-align: middle;
}

.logo-triangle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 22px solid white;
}

.logo-triangle::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 11px solid var(--primary);
}

.logo a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 1 auto;
    gap: 14px;
    min-width: 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px; /* Tight grouping for Right Zone */
    flex-shrink: 0;
}

.nav-link-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-link-text:hover {
    opacity: 0.8;
}

.location-selector {
    position: relative;
}

.dropdown-wrapper {
    position: relative;
}

.btn-location {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-location:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-location .fa-chevron-down {
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.3s;
}

.hide-temp {
    display: none !important;
}

.btn-location.active .fa-chevron-down {
    transform: rotate(180deg);
}

.btn-language {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-language:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-language .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
}

.btn-language.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-search {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.location-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
}

.location-search-input:focus {
    border-color: var(--primary);
}

.dropdown-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 6px 0;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.dropdown-item.active {
    background: #e8f5e9;
    color: var(--primary);
    font-weight: 600;
}

.language-dropdown {
    min-width: 160px;
}

.language-dropdown .dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-dropdown .dropdown-item span:last-child {
    color: var(--text-muted);
    font-size: 12px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px; /* Tight grouping for Right Zone */
}

/* User Profile Dropdown */
.user-profile-dropdown .dropdown-toggle {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.user-profile-dropdown .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.user-profile-dropdown .user-greeting {
    font-weight: 600;
}

.user-profile-dropdown .fa-user-circle {
    font-size: 20px;
    opacity: 0.9;
}

.user-profile-dropdown .fa-chevron-down {
    font-size: 10px;
    opacity: 0.7;
}

.profile-dropdown {
    min-width: 240px;
    padding: 12px 0;
    margin-top: 10px;
}

.profile-dropdown .dropdown-header {
    padding: 8px 16px 12px;
    display: flex;
    flex-direction: column;
}

.profile-dropdown .dropdown-header strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.profile-dropdown .dropdown-header span {
    font-size: 12px;
    color: var(--text-secondary);
}

.profile-dropdown .dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.profile-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-weight: 500;
}

.profile-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.profile-dropdown .dropdown-item:hover i {
    color: var(--primary);
}

.profile-dropdown .dropdown-item.text-danger i {
    color: var(--danger);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-link i {
    font-size: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-post {
    background: var(--accent) !important;
    color: var(--text-dark) !important;
    font-weight: 700;
    padding: 7px 16px;
    font-size: 12px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
    transition: all 0.2s;
}

.btn-post:hover {
    background: #e6b400 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: white;
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.mobile-drawer.active {
    display: block;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.drawer-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: var(--bg-white);
    overflow-y: auto;
    padding: 20px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.drawer-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.drawer-user {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.drawer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: var(--text-light);
}

.drawer-user h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.drawer-user p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 15px;
}

.drawer-nav {
    margin-bottom: 10px;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-dark);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.drawer-nav-item:hover {
    background: var(--bg-light);
}

.drawer-nav-item i {
    width: 20px;
    text-align: center;
}

.badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.drawer-divider {
    height: 1px;
    background: var(--border-color);
    margin: 15px 0;
}

.drawer-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    font-size: 14px;
}

.text-danger {
    color: var(--danger) !important;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* ====================
   MOBILE BOTTOM NAV
   ==================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    height: var(--mobile-nav-height);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: var(--text-secondary);
    font-size: 11px;
    transition: all 0.3s;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item-post {
    position: relative;
}

.nav-item-post i {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 2px !important;
    font-size: 18px !important;
}

.nav-item-post span {
    font-weight: 700;
    color: var(--text-dark);
}

.nav-badge {
    position: absolute;
    top: 5px;
    right: 50%;
    transform: translateX(20px);
    background: var(--danger);
    color: white;
    padding: 1px 5px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

/* ====================
   FOOTER - Bikroy Style
   ==================== */
.site-footer {
    background: #f5f7f8;
    border-top: 1px solid var(--border-color);
    padding: 40px 0 25px;
    margin-top: 0;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    font-size: 13px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

/* Social Icons */
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-secondary);
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-social-icons a:hover {
    background: var(--primary);
    color: white;
}

/* App Download */
.footer-app-download .app-store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-btn {
    display: inline-block;
    transition: all 0.3s;
}

.store-btn:hover {
    opacity: 0.8;
}

.other-countries .country-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
}

.other-countries .country-link:hover {
    color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-left p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ====================
   CARDS & COMPONENTS
   ==================== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.card-img-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 13px;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f5e9;
    color: var(--secondary);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

/* Boost Ad slider overrides */
.bk-bst-wrapper {
    padding: 0 40px !important;
    overflow: visible !important;
}
.bk-adv-nav {
    width: 44px !important;
    height: 44px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.bk-adv-nav.prev {
    left: -30px !important;
}
.bk-adv-nav.next {
    right: -30px !important;
}
.bk-bst-slides {
    min-height: 280px !important;
    padding-top: 20px !important;
}
.bk-bst-slide {
    gap: 48px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}
.bk-bst-slide-img {
    width: 60% !important;
    padding: 24px !important;
    min-height: 250px !important;
}
.bk-bst-slide-text {
    width: 38% !important;
    min-width: 260px !important;
}
.bk-bst-slide-img svg {
    width: 100% !important;
    height: auto !important;
}
.bk-bst-slide-text h3 {
    font-size: 20px !important;
    margin-bottom: 16px !important;
}
.bk-bst-slide-text p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 18px !important;
}
.bk-bst-slide-text li {
    margin-bottom: 10px !important;
}

/* ====================
   GRID LAYOUTS
   ==================== */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ====================
   RESPONSIVE - TABLET
   ==================== */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====================
   RESPONSIVE - MOBILE
   ==================== */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .site-header {
        height: 55px !important;
    }

    .header-wrapper {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .header-left {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo {
        margin-left: 0;
    }

    .logo a {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .logo-text-bikroy {
        display: block;
        color: white;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .mobile-menu-toggle {
        display: block;
        order: -1;
        margin-left: 0;
        margin-right: 10px;
        background: none;
        border: none;
        color: white;
        font-size: 22px;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .profile-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 10px !important;
        left: auto !important;
        width: calc(100% - 20px) !important;
        max-width: 280px !important;
        margin-top: 0 !important;
        border-radius: var(--radius-lg) !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
    }

    .profile-dropdown .dropdown-item {
        padding: 12px 16px !important;
        font-size: 15px !important;
    }

    .chat-link, .profile-toggle-btn {
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
        border: none !important;
        color: white !important;
        font-size: 24px !important;
    }

    .chat-link i, .profile-toggle-btn i {
        display: block !important;
    }

    .hidden-mobile {
        display: none !important;
    }

    .site-logo-img {
        max-height: 28px;
        width: auto;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .main-content {
        padding-bottom: 0;
        min-height: auto;
    }

    .site-footer {
        margin-bottom: 60px;
        margin-top: 0;
        padding-top: 25px;
        background: #f5f7f8;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-column {
        border-bottom: 1px solid var(--border-color);
        padding: 0 !important;
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        margin-bottom: 0 !important;
        cursor: pointer;
    }

    .footer-title i {
        transition: transform 0.3s ease;
        color: var(--text-secondary);
    }

    .footer-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-bottom: 0;
    }

    .footer-column.active .footer-content {
        max-height: 500px;
        padding-bottom: 15px;
    }

    .footer-column.active .footer-title i {
        transform: rotate(180deg);
    }

    .footer-app-download {
        padding: 20px 0 !important;
        border-bottom: none;
    }

    .app-buttons {
        flex-direction: column;
    }
}

/* ====================
   UTILITY CLASSES
   ==================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-danger {
    color: var(--danger);
}

.text-success {
    color: var(--success);
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}

.visible-mobile {
    display: none;
}

@media (max-width: 768px) {
    .visible-mobile {
        display: block;
    }

    .hidden-mobile {
        display: none;
    }
}

/* ====================
   HERO SECTION - Bikroy Style
   ==================== */
.hero-section {
    background: var(--primary);
    padding: 40px 0 50px;
    text-align: center;
}

.hero-content h2 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 30px;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-wrapper input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-wrapper button {
    padding: 16px 28px;
    background: var(--accent);
    border: none;
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-wrapper button:hover {
    background: var(--accent-dark);
}

/* ====================
   CATEGORIES SECTION
   ==================== */
.categories-section {
    padding: 40px 0;
    background: white;
}

.section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categories-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.category-item-clean {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.category-item-clean:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.category-icon-clean {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2f3e4f;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 12px;
    box-shadow: none;
    flex-shrink: 0;
}

.category-icon-clean i,
.category-icon-clean svg {
    color: inherit !important;
    width: 1.2em;
    height: 1.2em;
    fill: currentColor;
    stroke: currentColor;
    line-height: 1;
}

.category-item-clean:hover .category-icon-clean {
    transform: translateY(0);
}

.category-details-clean {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-details-clean h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.category-count-clean {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}
}

.category-count-clean {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* ====================
   FEATURED ADS SECTION
   ==================== */
.featured-ads-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.featured-ads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.featured-ads-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.view-all {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

.view-all:hover {
    text-decoration: underline;
}

.featured-ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-ad-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.featured-ad-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.featured-ad-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.featured-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-ad-details {
    padding: 15px;
}

.featured-ad-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-ad-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.featured-ad-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

/* ====================
   RESPONSIVE ADJUSTMENTS
   ==================== */
@media (max-width: 1024px) {

    .categories-grid-clean,
    .featured-ads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .categories-grid-clean,
    .featured-ads-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .container {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {

    .categories-grid-clean,
    .featured-ads-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================
   FEATURED ADS CAROUSEL
   ==================== */
.featured-ads-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h3 i {
    color: var(--accent);
}

.view-all {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.view-all:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.featured-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.featured-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.slider-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    z-index: 10;
}

.slider-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-nav-btn i {
    font-size: 14px;
}

.prev-btn {
    position: relative;
}

.next-btn {
    position: relative;
}

.featured-ad-card {
    flex: 0 0 calc(33.333% - 14px);
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    scroll-snap-align: start;
    position: relative;
}

.featured-ad-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.featured-ad-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.featured-ad-images {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
}

.featured-ad-promotion-badge,
.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.featured-badge {
    background: var(--accent);
    color: var(--text-dark);
}

.featured-ad-promotion-badge {
    z-index: 5;
}

.featured-img-thumbnails {
    display: flex;
    height: 100%;
    width: 100%;
}

.featured-img-thumbnails .thumb {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.featured-img-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-ad-card:hover .featured-img-thumbnails .thumb img {
    transform: scale(1.05);
}

.featured-img-thumbnails .thumb:last-child {
    position: relative;
}

.more-photos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.featured-ad-info {
    padding: 16px;
}

.featured-ad-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-ad-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.member-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-badge {
    background: #e8f5e9;
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-ad-location {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-ad-location i {
    font-size: 10px;
}

.featured-ad-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.featured-ad-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.action-btn.boost-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.action-btn.top-ad-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.action-btn.premium-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.no-featured-ads {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-featured-ads i {
    font-size: 50px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-featured-ads h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-featured-ads p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .featured-ad-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .featured-ads-section {
        padding: 30px 0;
    }

    .section-header h3 {
        font-size: 18px;
    }

    .featured-ad-card {
        flex: 0 0 calc(100% - 10px);
    }

    .featured-ad-images {
        height: 180px;
    }

    .featured-ad-info {
        padding: 14px;
    }

    .featured-ad-title {
        font-size: 14px;
    }

    .featured-ad-price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .featured-ad-card {
        flex: 0 0 100%;
    }

    .featured-ad-images {
        height: 160px;
    }

    .featured-ad-actions {
        gap: 6px;
    }

    .action-btn {
        width: 28px;
        height: 28px;
    }
}

/* ====================
   GLOBAL FOOTER STYLES (Bikroy Inspired)
   ==================== */
.site-footer {
    background-color: #f1f4f6;
    padding: 60px 0 40px;
    border-top: 1px solid #e2e8f0;
    color: #475569;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    text-transform: none; /* Bikroy style */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-links a {
    color: #64748b;
    font-size: 18px;
    transition: color 0.2s;
}

.footer-social-links a:hover {
    color: var(--primary);
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-badges img {
    height: 36px;
    width: auto;
}

.footer-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 12px;
    color: #94a3b8;
}

.footer-logo-bottom {
    font-size: 18px;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.05em;
}

/* Mobile Adjustments for Footer */
@media (max-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-column {
        border-bottom: 1px solid #e2e8f0;
        padding: 15px 0;
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-title {
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}