/**
 * AnchorExchange Custom Styles
 * Nautical-inspired design with Bootstrap 5
 */

/* ============================================
   GOOGLE FONTS - OPEN SANS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   VARIABLES & ROOT STYLES
   ============================================ */
:root {
    --primary-navy: #003d5c;
    --primary-ocean: #0077be;
    --accent-gold: #f5a623;
    --accent-light: #e8f4f8;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --font-family-base: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Override Bootstrap primary color */
.bg-primary {
    background-color: var(--primary-navy) !important;
}

.btn-primary {
    background-color: var(--primary-ocean);
    border-color: var(--primary-ocean);
}

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

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

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    font-family: var(--font-family-base);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
}

main > section:first-child,
main > .hero {
    position: relative;
    z-index: 1;
}

a {
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-family-base);
    font-weight: 600;
}

input, textarea, select, button,
.form-control, .form-select, .btn {
    font-family: var(--font-family-base);
}

/* ============================================
   NAVIGATION - CUSTOM HEADER
   ============================================ */

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #002a42 100%);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links {
    display: flex;
    gap: 1.5rem;
}

.top-bar-links a,
.top-bar-actions .top-bar-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar-links a:hover,
.top-bar-actions .top-bar-link:hover {
    color: var(--accent-gold);
}

.top-bar-actions {
    display: flex;
    gap: 1.5rem;
}

/* Main Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    position: sticky;
    top: 0;
    transition: all 0.3s ease;
}

.main-header .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
    transition: all 0.3s ease;
}

/* Scrolled State */
.main-header.scrolled .header-content {
    padding: 0.35rem 0;
}

.main-header.scrolled .logo-anchor-svg {
    width: 45px;
    height: 55px;
}

.main-header.scrolled .logo-text {
    display: none;
}

.main-header.scrolled .nav-category span,
.main-header.scrolled .header-action-btn span,
.main-header.scrolled .btn-post-ad span,
.main-header.scrolled .user-menu-toggle span {
    display: none;
}

.main-header.scrolled .nav-category {
    padding: 0.5rem 0.8rem;
}

.main-header.scrolled .nav-category i {
    font-size: 1.3rem;
}

.main-header.scrolled .btn-post-ad {
    padding: 0.5rem 0.8rem;
    min-width: auto;
}

.main-header.scrolled .user-menu-toggle {
    padding: 0.5rem 0.8rem;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.5rem 0;
    text-decoration: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.header-logo:hover .logo-container {
    transform: scale(1.05);
}

/* SVG Anchor Logo */
.logo-anchor-svg {
    width: 90px;
    height: 110px;
    transition: all 0.3s ease;
    animation: anchorSwingOnLoad 1.2s ease-in-out;
}

/* Logo Text */
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    margin-top: -0.5rem;
    transition: all 0.3s ease;
}

.logo-text-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003d5c;
    letter-spacing: -0.5px;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hover Effects */
.header-logo:hover .logo-anchor-svg {
    animation: anchorSwing 0.6s ease-in-out;
}

@keyframes anchorSwing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes anchorSwingOnLoad {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(-8deg); }
    30% { transform: rotate(8deg); }
    45% { transform: rotate(-6deg); }
    60% { transform: rotate(6deg); }
    75% { transform: rotate(-3deg); }
    90% { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

/* Primary Navigation */
.primary-nav {
    display: flex;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1.25rem;  /* Reduced from 0.75rem */
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-category span,
.header-action-btn span,
.btn-post-ad span,
.user-menu-toggle span {
    transition: opacity 0.2s ease;
}

.nav-category i {
    font-size: 1.5rem;
    color: var(--primary-ocean);
    transition: all 0.25s ease;
}

.nav-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-category:hover {
    background: var(--accent-light);
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.15);
}

.nav-category:hover::after {
    width: 80%;
}

.nav-category:hover i {
    color: var(--accent-gold);
    transform: scale(1.15) rotate(5deg);
    animation: navIconBounce 0.5s ease;
}

@keyframes navIconBounce {
    0%, 100% { transform: scale(1.15) rotate(5deg) translateY(0); }
    50% { transform: scale(1.15) rotate(5deg) translateY(-3px); }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;  /* Reduced from 0.625rem */
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-navy);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-action-btn:hover {
    background: var(--accent-light);
    border-color: var(--primary-ocean);
    color: var(--primary-ocean);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 76, 153, 0.15);
}

.header-action-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.header-action-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Post Ad Button */
.btn-post-ad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;  /* Reduced from 0.625rem */
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e09615 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}

.btn-post-ad:hover {
    background: linear-gradient(135deg, #e09615 0%, #d18810 100%);
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.5);
}

.btn-post-ad i {
    transition: transform 0.3s ease;
}

.btn-post-ad:hover i {
    transform: rotate(90deg) scale(1.1);
}

/* User Menu */
.user-menu-wrapper {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-navy);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu-toggle:hover {
    background: var(--accent-light);
    border-color: var(--primary-ocean);
}

.user-menu-toggle i.bi-person-circle {
    font-size: 1.5rem;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1001;
}

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

.user-menu-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--accent-light) 0%, #f8fbfc 100%);
    border-radius: 12px 12px 0 0;
}

.user-menu-name {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.user-menu-email {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.user-menu-links {
    padding: 0.5rem 0;
}

.user-menu-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.user-menu-links a:hover {
    background: var(--accent-light);
    color: var(--primary-ocean);
}

.user-menu-links a i {
    font-size: 1.1rem;
    color: var(--primary-ocean);
    width: 20px;
}

.user-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.user-menu-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem;
    background: transparent;
    color: #dc3545;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: #fff5f5;
    color: #c82333;
}

/* Header Search */
.header-search {
    background: var(--accent-light);
    border-top: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.header-search.show {
    max-height: 100px;
    opacity: 1;
}

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

.search-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    gap: 1rem;
}

.search-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem;
    color: var(--text-dark);
}

.search-select {
    border: none;
    outline: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    background: transparent;
    cursor: pointer;
    border-left: 1px solid var(--border-color);
}

.search-submit {
    background: linear-gradient(135deg, var(--primary-ocean) 0%, var(--primary-navy) 100%);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 350px;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.show .mobile-menu-content {
    transform: translateX(0);
}

.mobile-search {
    padding: 1.5rem;
    background: var(--accent-light);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav {
    padding: 1rem 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-item:hover {
    background: var(--accent-light);
    color: var(--primary-ocean);
}

.mobile-nav-item i {
    font-size: 1.25rem;
    color: var(--primary-ocean);
    width: 24px;
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.mobile-nav-header {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .primary-nav {
        gap: 0.15rem;
    }

    .nav-category {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .nav-category i {
        font-size: 1.35rem;
    }
}

@media (max-width: 991px) {
    .top-bar-links {
        gap: 1rem;
    }

    .primary-nav {
        display: none;
    }

    .header-action-btn {
        padding: 0.5rem;
    }

    .header-action-btn span {
        display: none;
    }

    .btn-post-ad span {
        display: none;
    }

    .btn-post-ad {
        padding: 0.625rem 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.8rem;
    }

    .top-bar-links {
        gap: 0.75rem;
    }

    .top-bar-links a span,
    .top-bar-actions .top-bar-link span {
        display: none;
    }

    .logo-anchor-svg {
        width: 55px;
        height: 68px;
    }

    .logo-text-main {
        font-size: 1.2rem;
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .main-header .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Legacy Bootstrap Dropdown Support */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    z-index: 10002 !important;
}

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

/* ============================================
   HOMEPAGE - HERO SECTION
   ============================================ */
.hero-home {
    background:
        linear-gradient(135deg, rgba(0, 61, 92, 0.9) 0%, rgba(0, 119, 190, 0.85) 100%),
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.75) 0%, rgba(0, 119, 190, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Text */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(245, 166, 35, 0.2);
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
    width: fit-content;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e09615 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.5);
    color: #fff;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: #fff;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--accent-gold);
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Hero Search Card */
.hero-search-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 100%;
}

.hero-search-card h3 {
    color: var(--primary-navy);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.search-field {
    position: relative;
    margin-bottom: 1rem;
}

.search-field i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
}

.search-input-hero {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.search-input-hero:focus {
    outline: none;
    border-color: var(--primary-ocean);
    box-shadow: 0 0 0 4px rgba(0, 119, 190, 0.1);
}

.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-select,
.filter-input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-ocean);
}

.btn-search-hero {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-ocean) 0%, var(--primary-navy) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 190, 0.3);
}

.popular-searches {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.popular-searches .label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.popular-searches a {
    font-size: 0.875rem;
    color: var(--primary-ocean);
    text-decoration: none;
    padding: 0.375rem 0.875rem;
    background: var(--accent-light);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.popular-searches a:hover {
    background: var(--primary-ocean);
    color: #fff;
}

/* ============================================
   SECTIONS - SHARED STYLES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header-with-action .section-header {
    text-align: left;
    margin-bottom: 0;
}

.section-header-with-action .section-header p {
    margin: 0;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--primary-ocean);
    text-decoration: none;
    border: 2px solid var(--primary-ocean);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-view-all:hover {
    background: var(--primary-ocean);
    color: #fff;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fbfc 0%, #fff 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card-modern {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-ocean), var(--accent-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-light);
}

.category-card-modern:hover::before {
    transform: scaleX(1);
}

.category-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-light) 0%, #f0f8fc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.category-card-icon i {
    font-size: 2rem;
    color: var(--primary-ocean);
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-card-icon {
    background: linear-gradient(135deg, var(--primary-ocean) 0%, var(--primary-navy) 100%);
    transform: scale(1.1) rotate(5deg);
}

.category-card-modern:hover .category-card-icon i {
    color: #fff;
}

.category-card-modern h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.category-card-modern p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.category-card-arrow {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.category-card-arrow i {
    color: var(--primary-ocean);
}

.category-card-modern:hover .category-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Category Stats */
.category-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.category-count i {
    font-size: 0.875rem;
    color: var(--accent-gold);
}

/* Category Count Badge - Prominent display */
.category-count-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-ocean), var(--primary-navy));
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.75rem 0;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 61, 92, 0.15);
}

/* Category Subcategories */
.category-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.category-subcategories span {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f8f9fa;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.category-card-modern:hover .category-subcategories span {
    background: rgba(0, 61, 92, 0.08);
    color: var(--primary-navy);
}

/* Category-specific color accents - Subtle, cohesive nautical theme */
.category-card-boats:hover::before {
    background: linear-gradient(90deg, var(--primary-ocean), var(--primary-navy));
}

.category-card-boats .category-card-icon {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f2 100%);
}

.category-card-boats:hover .category-card-icon {
    background: linear-gradient(135deg, var(--primary-ocean) 0%, var(--primary-navy) 100%);
}

.category-card-parts:hover::before {
    background: linear-gradient(90deg, #5a7d8a, #6b8e9d);
}

.category-card-parts .category-card-icon {
    background: linear-gradient(135deg, #ecf1f3 0%, #dfe7eb 100%);
}

.category-card-parts:hover .category-card-icon {
    background: linear-gradient(135deg, #5a7d8a 0%, #6b8e9d 100%);
}

.category-card-services:hover::before {
    background: linear-gradient(90deg, #4a6b7c, #5a7d8e);
}

.category-card-services .category-card-icon {
    background: linear-gradient(135deg, #ebf0f2 0%, #dde5e9 100%);
}

.category-card-services:hover .category-card-icon {
    background: linear-gradient(135deg, #4a6b7c 0%, #5a7d8e 100%);
}

.category-card-properties:hover::before {
    background: linear-gradient(90deg, var(--accent-gold), #d4a574);
}

.category-card-properties .category-card-icon {
    background: linear-gradient(135deg, #faf6f0 0%, #f5eee0 100%);
}

.category-card-properties:hover .category-card-icon {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #d4a574 100%);
}

.category-card-jobs:hover::before {
    background: linear-gradient(90deg, #7a8e99, #8ba0ab);
}

.category-card-jobs .category-card-icon {
    background: linear-gradient(135deg, #eff2f4 0%, #e2e8eb 100%);
}

.category-card-jobs:hover .category-card-icon {
    background: linear-gradient(135deg, #7a8e99 0%, #8ba0ab 100%);
}

.category-card-directory:hover::before {
    background: linear-gradient(90deg, #6a7d8c, #7b8e9d);
}

.category-card-directory .category-card-icon {
    background: linear-gradient(135deg, #edf1f3 0%, #dfe6e9 100%);
}

.category-card-directory:hover .category-card-icon {
    background: linear-gradient(135deg, #6a7d8c 0%, #7b8e9d 100%);
}

/* Enhanced card animations */
@keyframes pulse-subtle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.category-card-modern:hover {
    animation: none;
}

.category-card-modern:active {
    transform: translateY(-3px) scale(0.98);
}

/* Responsive adjustments for category cards */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card-modern {
        padding: 1.5rem;
    }

    .category-stats {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
}

/* ============================================
   LISTINGS SECTIONS
   ============================================ */
.listings-section {
    padding: 5rem 0;
}

.featured-section {
    background: #fff;
}

.latest-section {
    background: linear-gradient(180deg, #f8fbfc 0%, #fff 100%);
}

/* Listings section with sidebar ads */
.listings-section {
    position: relative;
}

/* Sidebar Ads - Positioned outside container */
.sidebar-ad {
    position: fixed;
    top: 120px;
    width: 300px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    z-index: 100;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 119, 190, 0.3) transparent;
}

.sidebar-ad::-webkit-scrollbar {
    width: 6px;
}

.sidebar-ad::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-ad::-webkit-scrollbar-thumb {
    background: rgba(0, 119, 190, 0.3);
    border-radius: 3px;
}

.sidebar-ad::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 119, 190, 0.5);
}

.sidebar-ad-left {
    left: 20px;
}

.sidebar-ad-right {
    right: 20px;
}

/* Hide ads on smaller screens */
.sidebar-ad-left,
.sidebar-ad-right {
    display: none;
}

/* Show ads on large screens - outside the container */
@media (min-width: 1400px) {
    .sidebar-ad-left,
    .sidebar-ad-right {
        display: block;
        width: 200px;
    }

    .sidebar-ad-left {
        left: 10px;
    }

    .sidebar-ad-right {
        right: 10px;
    }
}

@media (min-width: 1600px) {
    .sidebar-ad-left,
    .sidebar-ad-right {
        width: 250px;
    }

    .sidebar-ad-left {
        left: 20px;
    }

    .sidebar-ad-right {
        right: 20px;
    }
}

@media (min-width: 1800px) {
    .sidebar-ad-left,
    .sidebar-ad-right {
        width: 300px;
    }

    .sidebar-ad-left {
        left: 30px;
    }

    .sidebar-ad-right {
        right: 30px;
    }
}

.ad-container {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ad-label {
    background: #f8f9fa;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.adsense-placeholder {
    /* Placeholder styling - will be removed when real ads are added */
    transition: all 0.3s ease;
}

.adsense-placeholder:hover {
    background: #e9ecef !important;
}

/* Branded Ad Placeholder */
.ad-placeholder-branded {
    background: linear-gradient(135deg, #003d5c 0%, #0077be 100%);
    border: none;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ad-placeholder-branded:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 61, 92, 0.3);
}

.ad-placeholder-content {
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

.ad-placeholder-anchor {
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.ad-placeholder-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-placeholder-price {
    font-size: 3rem;
    font-weight: 800;
    color: #f5a623;
    margin-bottom: 1rem;
    line-height: 1;
}

.ad-placeholder-price span {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.ad-placeholder-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.ad-placeholder-button {
    display: inline-block;
    background: #f5a623;
    color: #003d5c;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.ad-placeholder-button:hover {
    background: #ffc107;
    color: #003d5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.4);
}

.ad-placeholder-button i {
    margin-right: 0.5rem;
}

/* Responsive adjustments for ad placeholder */
@media (max-width: 1600px) {
    .ad-placeholder-title {
        font-size: 1.5rem;
    }

    .ad-placeholder-price {
        font-size: 2.5rem;
    }

    .ad-placeholder-text {
        font-size: 0.9rem;
    }

    .ad-placeholder-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1400px) {
    .ad-placeholder-title {
        font-size: 1.25rem;
    }

    .ad-placeholder-price {
        font-size: 2rem;
    }

    .ad-placeholder-content {
        padding: 1.5rem 1rem;
    }
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.listing-card-wrapper {
    position: relative;
}

.listing-card-new {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.listing-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.listing-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--accent-light);
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.listing-card-new:hover .listing-image img {
    transform: scale(1.08);
}

.listing-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    backdrop-filter: blur(10px);
}

.featured-badge {
    background: rgba(245, 166, 35, 0.95);
    color: #fff;
}

.new-badge {
    background: rgba(0, 119, 190, 0.95);
    color: #fff;
}

.listing-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.listing-favorite:hover {
    background: #fff;
    transform: scale(1.1);
}

.listing-favorite i {
    font-size: 1.1rem;
    color: #dc3545;
}

.listing-content {
    padding: 1.5rem;
}

.listing-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-ocean);
    margin-bottom: 1rem;
}

.listing-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.meta-item i {
    font-size: 1rem;
    color: var(--primary-ocean);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fbfc 0%, #fff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card-modern {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card-modern:hover {
    border-color: var(--accent-light);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-light) 0%, #f0f8fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-ocean);
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-ocean) 0%, var(--primary-navy) 100%);
    transform: scale(1.1);
}

.feature-card-modern:hover .feature-icon i {
    color: #fff;
}

.feature-card-modern h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.feature-card-modern p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-ocean) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1.125rem 2.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e09615 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.5);
    color: #fff;
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: #fff;
}

/* ============================================
   HOMEPAGE RESPONSIVE DESIGN
   ============================================ */

/* Tablets and below */
@media (max-width: 991px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2.25rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .hero-home {
        padding: 3rem 0;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-stat .stat-number {
        font-size: 1.75rem;
    }

    .hero-search-card {
        padding: 1.75rem;
    }

    .hero-search-card h3 {
        font-size: 1.5rem;
    }

    .search-filters {
        grid-template-columns: 1fr;
    }

    .categories-section,
    .listings-section,
    .features-section,
    .cta-section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .section-header-with-action {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .btn-view-all {
        width: 100%;
        justify-content: center;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .listings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.875rem;
    }

    .cta-content p {
        font-size: 1.05rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.875rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-search-card {
        padding: 1.5rem;
    }

    .category-card-modern {
        padding: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .feature-card-modern {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 64px;
        height: 64px;
    }

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

/* ============================================
   LISTING DETAILS PAGE
   ============================================ */

/* Breadcrumb */
.listing-breadcrumb {
    padding: 1.5rem 0;
    background: linear-gradient(180deg, #f8fbfc 0%, #fff 100%);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-modern .breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-modern .breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.75rem;
    color: var(--text-muted);
    font-size: 1.25rem;
}

.breadcrumb-modern a {
    color: var(--primary-ocean);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-modern a:hover {
    color: var(--primary-navy);
}

.breadcrumb-modern .active {
    color: var(--text-muted);
}

/* Listing Layout */
.listing-details-section {
    padding: 3rem 0;
}

.listing-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
}

.listing-main-content {
    min-width: 0;
}

/* Gallery */
.listing-gallery {
    margin-bottom: 2rem;
}

/* Image Gallery - Rebuilt from Scratch */
.gallery-main {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image-container {
    position: relative;
    background: #f8f9fa;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.main-image-slide img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.main-image-container:hover .gallery-nav-btn {
    opacity: 1;
}

.gallery-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn i {
    font-size: 1.5rem;
    color: var(--primary-navy);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

/* Overlay Controls */
.gallery-overlay-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    z-index: 10;
}

.gallery-counter {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.gallery-fullscreen-btn {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.gallery-fullscreen-btn i {
    font-size: 1rem;
}

/* Thumbnails Container */
.gallery-thumbnails-container {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbnails-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbnails-container::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.gallery-thumbnails-container::-webkit-scrollbar-thumb {
    background: var(--primary-ocean);
    border-radius: 10px;
}

.gallery-thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy);
}

.gallery-thumb {
    flex: 0 0 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: rgba(0, 119, 190, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-thumb.active {
    border-color: var(--primary-ocean);
    box-shadow: 0 0 0 2px rgba(0, 119, 190, 0.2);
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fullscreen Mode */
.main-image-container:fullscreen {
    background: #000;
}

.main-image-container:fullscreen .main-image-slide {
    padding: 0;
}

.main-image-container:fullscreen .main-image-slide img {
    max-width: 100vw;
    max-height: 100vh;
}

/* Listing Header Card */
.listing-header-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.listing-header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.listing-title-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.listing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-modern.featured {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e09615 100%);
    color: #fff;
}

.badge-modern.category {
    background: var(--accent-light);
    color: var(--primary-ocean);
}

.badge-modern.success {
    background: #d4edda;
    color: #155724;
}

.badge-modern.info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-modern.secondary {
    background: #e2e6ea;
    color: #383d41;
}

.listing-price-section {
    text-align: right;
}

.listing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-ocean);
    margin-bottom: 0.75rem;
}

.listing-meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.listing-meta-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.listing-meta-info i {
    color: var(--primary-ocean);
}

/* Section Cards */
.listing-section-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.section-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-card-title i {
    color: var(--primary-ocean);
}

.listing-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.3);
    color: #fff;
}

/* Specifications Grid */
.specifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--accent-light);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.spec-item:hover {
    background: #d4ebf5;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.spec-value {
    font-weight: 500;
    color: var(--primary-ocean);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .listing-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .listing-breadcrumb {
        padding: 1rem 0;
    }

    .breadcrumb-modern {
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .listing-details-section {
        padding: 2rem 0;
    }

    .gallery-main {
        max-height: 400px;
    }

    .gallery-main .carousel-item {
        min-height: 250px;
        max-height: 400px;
    }

    .gallery-main .carousel-item img {
        max-height: 400px;
    }

    .listing-header-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .listing-price-section {
        text-align: left;
    }

    .listing-meta-info span {
        justify-content: flex-start;
    }

    .listing-title-section h1 {
        font-size: 1.5rem;
    }

    .listing-price {
        font-size: 2rem;
    }

    .listing-header-card,
    .listing-section-card {
        padding: 1.5rem;
    }

    .specifications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .listing-header-card,
    .listing-section-card {
        padding: 1.25rem;
    }

    .section-card-title {
        font-size: 1.25rem;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    .gallery-thumbnails .thumbnail {
        height: 60px;
    }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-ocean), var(--accent-gold), var(--primary-ocean));
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-ocean), var(--primary-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.4);
}

.stat-icon svg {
    width: 35px;
    height: 35px;
    stroke: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-ocean);
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number.animated {
    animation: countUp 0.6s ease-out;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

/* Gradient overlay on hover */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.05) 0%, rgba(0, 61, 92, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 119, 190, 0.15);
    border-color: var(--primary-ocean);
}

.category-card > * {
    position: relative;
    z-index: 1;
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-ocean);
    margin-bottom: 1rem;
}

/* Category icon SVG styling */
.category-card .category-icon {
    margin-bottom: 1rem;
}

.category-card .category-icon svg {
    width: 3rem;
    height: 3rem;
    stroke: var(--primary-ocean);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon svg {
    transform: scale(1.1);
}

/* Responsive sizing for category icons */
@media (max-width: 767.98px) {
    .category-card .category-icon svg {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .category-card .category-icon svg {
        width: 2.75rem;
        height: 2.75rem;
    }
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Category card dropdown enhancements */
.category-card .bi-chevron-down {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.category-card:hover .bi-chevron-down {
    opacity: 1;
}

.dropdown-menu {
    min-width: 220px;
}

.dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item i {
    width: 20px;
    margin-right: 8px;
}

/* ============================================
   LISTING CARDS
   ============================================ */
.listing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.listing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    border: 2px solid var(--primary-ocean);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.listing-card:hover::after {
    opacity: 1;
}

.listing-card-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: var(--accent-light);
}

.listing-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-gold);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.listing-card-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.listing-card-favorite:hover {
    background: var(--accent-gold);
    color: white;
}

.listing-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card-title:hover {
    color: var(--primary-ocean);
}

.listing-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-ocean);
    margin-bottom: 0.5rem;
}

.listing-card-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: auto;
}

.listing-card-meta i {
    margin-right: 0.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-warning {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
}

.btn-warning:hover {
    background-color: #e09512;
    border-color: #e09512;
}

/* ============================================
   FORMS
   ============================================ */
.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 0.625rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-ocean);
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 190, 0.15);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.card-header {
    background-color: var(--accent-light);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    padding: 1rem 1.5rem;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    margin-top: 2rem;
}

.page-link {
    border-radius: 8px;
    margin: 0 0.25rem;
    border: 2px solid var(--border-color);
    color: var(--primary-ocean);
}

.page-link:hover {
    background-color: var(--accent-light);
    border-color: var(--primary-ocean);
}

.page-item.active .page-link {
    background-color: var(--primary-ocean);
    border-color: var(--primary-ocean);
}

/* ============================================
   FOOTER
   ============================================ */
footer a:hover {
    color: var(--accent-gold) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 3rem 0 4rem;
        min-height: 500px;
        background-position: center center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p.lead {
        font-size: 1rem;
    }

    /* Search Box */
    .search-box {
        padding: 1.5rem;
    }

    .search-box h4 {
        font-size: 1.125rem;
    }

    /* Stats Bar */
    .stats-bar {
        padding: 2rem 0;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon svg {
        width: 30px;
        height: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    /* Category Cards */
    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-card .category-icon svg {
        width: 2.5rem;
        height: 2.5rem;
    }

    .category-card h5 {
        font-size: 1.125rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    /* Feature Icons */
    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon svg,
    .feature-icon i {
        font-size: 2rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Trust Badges */
    .trust-badge-icon {
        width: 50px;
        height: 50px;
    }

    .trust-badge-icon svg {
        width: 25px;
        height: 25px;
    }

    .trust-badge h6 {
        font-size: 0.875rem;
    }

    .trust-badge p {
        font-size: 0.75rem;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    section.py-5 {
        padding: 3rem 0 !important;
    }

    .testimonials-section {
        padding: 3rem 0;
    }

    /* Listing Cards */
    .listing-card-price {
        font-size: 1.25rem;
    }

    .listing-card-title {
        font-size: 1rem;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* CTA Section */
    .bg-primary h2 {
        font-size: 1.75rem;
    }

    .bg-primary p.lead {
        font-size: 1rem;
    }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

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

/* Large desktop enhancements */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: 4rem;
    }

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

/* ============================================
   UTILITIES
   ============================================ */
.text-muted {
    color: var(--text-muted) !important;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-ocean);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-ocean), var(--primary-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-info h5 {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--accent-gold);
    margin-top: 0.5rem;
}

/* ============================================
   TRUST BADGES SECTION
   ============================================ */
.trust-badges {
    padding: 2rem 0;
    background: white;
}

.trust-badge {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
}

.trust-badge-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.1), rgba(0, 61, 92, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trust-badge:hover .trust-badge-icon {
    background: linear-gradient(135deg, var(--primary-ocean), var(--primary-navy));
}

.trust-badge-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-ocean);
    transition: all 0.3s ease;
}

.trust-badge:hover .trust-badge-icon svg {
    stroke: white;
}

.trust-badge h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.trust-badge p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   ENHANCED SECTIONS
   ============================================ */
section {
    padding: 5rem 0;
    position: static;
}

section.py-5 {
    padding: 5rem 0 !important;
}

section.bg-light {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 50%, #ffffff 100%) !important;
}

/* Why Choose Us - Professional Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 119, 190, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 119, 190, 0.15);
    border-color: rgba(0, 119, 190, 0.3);
}

.feature-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0077BE 0%, #003D5C 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 119, 190, 0.3);
}

.feature-card-icon i {
    color: white;
    font-size: 2rem;
}

.feature-card-title {
    font-weight: 600;
    color: #003D5C;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card-text {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: #0077BE;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-card-meta i {
    margin-right: 0.25rem;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: #003D5C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #0077BE;
}

.blog-card-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card-link {
    color: #0077BE;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.blog-card-link i {
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.blog-card-link:hover {
    color: #003D5C;
}

.blog-card-link:hover i {
    transform: translateX(3px);
}

/* Directory Cards */
.directory-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
}

.directory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 119, 190, 0.3);
}

.directory-card-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.directory-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.directory-card-logo-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.directory-card-logo-placeholder i {
    font-size: 2rem;
    color: #0077BE;
}

.directory-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.directory-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.directory-card-title a {
    color: #003D5C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.directory-card-title a:hover {
    color: #0077BE;
}

.directory-card-location {
    font-size: 0.8rem;
    color: #6c757d;
}

.directory-card-location i {
    margin-right: 0.25rem;
    color: #0077BE;
}

/* Sidebar Layout */
.page-layout {
    padding: 2rem 0;
    background: #f8f9fa;
}

.sidebar-sticky {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background: #0077BE;
    border-radius: 10px;
}

.sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: #003D5C;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.sidebar-widget-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #003D5C;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget-title i {
    color: #0077BE;
    font-size: 1.1rem;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    color: #495057;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.sidebar-links a:hover {
    background: #f0f9ff;
    color: #0077BE;
    padding-left: 1rem;
}

.sidebar-links a i {
    color: #0077BE;
    font-size: 1rem;
}

.sidebar-links-compact {
    gap: 0.25rem;
}

.sidebar-links-compact a {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

/* Sidebar Stats Widget */
.sidebar-widget-stats {
    background: linear-gradient(135deg, #0077BE 0%, #003D5C 100%);
    color: white;
    padding: 1rem;
}

.stat-item-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.stat-item-small:last-child {
    margin-bottom: 0;
}

.stat-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-small i {
    font-size: 1.25rem;
    color: white;
}

.stat-info {
    flex-grow: 1;
}

.stat-number-small {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-small {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Main Content Area Adjustments */
.page-layout main {
    background: transparent;
}

.page-layout section {
    margin-bottom: 0;
}

/* Responsive Sidebar */
@media (max-width: 991px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
        max-height: none;
        overflow-y: visible;
        margin-bottom: 2rem;
    }

    .page-layout {
        padding: 1rem 0;
    }
}

@media (max-width: 767px) {
    .sidebar-widget {
        padding: 1rem;
    }

    .sidebar-widget-title {
        font-size: 0.9rem;
    }
}

/* ============================================
   DIRECTORY SYSTEM STYLES
   ============================================ */

/* Directory Hero */
.directory-hero {
    background: linear-gradient(135deg, #003D5C 0%, #0077BE 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.directory-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.directory-hero .lead {
    opacity: 0.95;
    font-size: 1.1rem;
}

.directory-stats-inline {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.directory-stats-inline span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.directory-stats-inline strong {
    font-size: 1.5rem;
    display: block;
    font-weight: 700;
}

/* Directory Search Box */
.directory-search-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.directory-search-box h4 {
    color: #003D5C;
    margin-bottom: 1.5rem;
}

/* Directory Sidebar */
.directory-sidebar {
    position: sticky;
    top: 80px;
}

.filter-widget {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-widget h6 {
    font-weight: 600;
    color: #003D5C;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-widget h6 i {
    color: #0077BE;
}

.location-list, .filter-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location-item, .filter-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    color: #495057;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.location-item:hover, .filter-links a:hover {
    background: #f0f9ff;
    color: #0077BE;
}

.location-item.active, .filter-links a.active {
    background: #0077BE;
    color: white;
}

.location-item .badge {
    font-size: 0.75rem;
}

.filter-links a i {
    margin-right: 0.5rem;
}

.cta-widget {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0077BE;
}

.upgrade-widget {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f5a623;
}

.cta-widget p {
    font-size: 0.9rem;
    color: #495057;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.results-header h5 {
    margin: 0;
    color: #003D5C;
    font-size: 1.1rem;
}

/* Business Cards */
.business-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 119, 190, 0.3);
}

.business-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.business-logo {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.business-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.business-logo-placeholder i {
    font-size: 2.5rem;
    color: #0077BE;
}

.business-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.business-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.business-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.business-name a {
    color: #003D5C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.business-name a:hover {
    color: #0077BE;
}

.business-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.business-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.meta-item {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    color: #0077BE;
}

.meta-item a {
    color: #0077BE;
    text-decoration: none;
}

.meta-item a:hover {
    text-decoration: underline;
}

.business-actions {
    display: flex;
    gap: 0.5rem;
}

/* Business Profile Page */
.business-profile-header {
    padding: 3rem 0;
    background: #f8f9fa;
}

.business-profile-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.business-profile-logo {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e9ecef;
}

.business-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.business-profile-logo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #0077BE;
}

.business-profile-logo-placeholder i {
    font-size: 4rem;
    color: #0077BE;
}

.business-profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: #003D5C;
}

.business-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0;
}

.business-profile-meta .meta-item {
    font-size: 0.9rem;
}

.business-profile-description {
    margin-top: 1rem;
    color: #495057;
    line-height: 1.8;
}

/* Contact Card */
.business-contact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.business-contact-card h5 {
    color: #003D5C;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.contact-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-item strong {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.contact-item span, .contact-item a {
    color: #003D5C;
    font-size: 0.95rem;
}

.contact-item address {
    margin: 0;
    font-style: normal;
}

.trust-indicators {
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #495057;
}

.trust-item i {
    font-size: 1.25rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.no-results i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-results h4 {
    color: #495057;
    margin-bottom: 1rem;
}

.no-results p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Responsive Directory */
@media (max-width: 991px) {
    .directory-hero {
        padding: 2rem 0;
    }

    .directory-stats-inline {
        gap: 1rem;
    }

    .directory-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .business-contact-card {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .directory-hero h1 {
        font-size: 1.75rem;
    }

    .business-profile-name {
        font-size: 1.5rem;
    }

    .business-profile-logo,
    .business-profile-logo-placeholder {
        width: 100px;
        height: 100px;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .business-actions {
        flex-direction: column;
    }

    .business-actions .btn {
        width: 100%;
    }
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */

/* Pricing Hero */
.pricing-hero {
    background: linear-gradient(135deg, #003D5C 0%, #0077BE 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.pricing-hero h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.pricing-hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.pricing-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

.pricing-guarantee i {
    font-size: 1.5rem;
    color: #f5a623;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    border: 2px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #0077BE;
}

.pricing-card.popular {
    border-color: #f5a623;
    border-width: 3px;
}

.pricing-card.premium {
    border-color: #003D5C;
}

.pricing-card-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #f5a623;
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pricing-card-header {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-card.popular .pricing-card-header {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.pricing-card.premium .pricing-card-header {
    background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003D5C;
    margin-bottom: 0.75rem;
}

.pricing-card-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-badge.free {
    background: #28a745;
    color: white;
}

.pricing-card-badge.tier1 {
    background: #0077BE;
    color: white;
}

.pricing-card-badge.tier2 {
    background: #f5a623;
    color: white;
}

.pricing-card-badge.tier3 {
    background: #003D5C;
    color: white;
}

.pricing-card-price {
    text-align: center;
    padding: 1.5rem;
}

.pricing-card-price .price {
    font-size: 3rem;
    font-weight: 800;
    color: #003D5C;
    line-height: 1;
}

.pricing-card-price .period {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
}

.pricing-card-description {
    text-align: center;
    padding: 0 1.5rem 1.5rem;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid #e9ecef;
}

.pricing-card-features {
    padding: 1.5rem;
    flex-grow: 1;
}

.pricing-card-features .feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.pricing-card-features .feature:last-child {
    margin-bottom: 0;
}

.pricing-card-features .feature i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-card-features .feature.disabled {
    opacity: 0.5;
}

.pricing-card-features .feature strong {
    font-weight: 600;
    color: #003D5C;
}

.pricing-card-footer {
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Pricing card enhancements */
.pricing-card.popular {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card-price .price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Responsive pricing cards */
@media (max-width: 992px) {
    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-card-header {
        padding: 1.5rem 1rem 0.75rem;
    }

    .pricing-card-price {
        padding: 1rem;
    }

    .pricing-card-price .price {
        font-size: 2.5rem;
    }

    .pricing-card-features {
        padding: 1rem;
    }

    .pricing-card-footer {
        padding: 1rem;
    }
}

/* Pricing Comparison Table */
.pricing-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.pricing-table thead {
    background: linear-gradient(135deg, #003D5C 0%, #0077BE 100%);
    color: white;
}

.pricing-table thead th {
    padding: 1.5rem 1rem;
    font-weight: 600;
    border: none;
}

.pricing-table thead th.highlight {
    background: #f5a623;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.pricing-table tbody tr:hover {
    background: #f8f9fa;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}

.pricing-table tbody td.highlight {
    background: rgba(245, 166, 35, 0.05);
    font-weight: 600;
}

.pricing-table tbody td strong {
    color: #003D5C;
}

.pricing-table i {
    font-size: 1.5rem;
}

/* Boost Cards */
.boost-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.boost-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #0077BE;
}

.boost-card.featured {
    border-color: #f5a623;
    border-width: 3px;
}

.boost-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #f5a623;
    color: white;
    padding: 0.35rem 2.5rem;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.boost-header {
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.boost-card.featured .boost-header {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.boost-header h4 {
    color: #003D5C;
    margin-bottom: 1rem;
    font-weight: 700;
}

.boost-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0077BE;
    line-height: 1;
}

.boost-body {
    padding: 2rem 1.5rem;
}

.boost-body p {
    text-align: center;
    font-weight: 600;
    color: #003D5C;
    margin-bottom: 1.5rem;
}

.boost-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.boost-body ul li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
}

.boost-body ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

/* FAQ Section */
.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item h5 {
    color: #003D5C;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item h5 i {
    color: #0077BE;
    font-size: 1.5rem;
}

.faq-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Policy Pages */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h3 {
    color: var(--primary-navy);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.policy-content p, .policy-content li {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}
