:root {
    --brand-primary: #1e40af; 
    --brand-dark: #1e3a8a;
    --bg-base: #ffffff;
    --bg-canvas: #f8fafc;
    --bg-surface: #0f172a;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-muted-light: #94a3b8;
    --text-light: #f8fafc;
    
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-heavy: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-float: 0 10px 30px rgba(30, 64, 175, 0.2);
    
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --blue-light: #eff6ff; --blue-icon: #2563eb;
    --green-light: #f0fdf4; --green-icon: #16a34a;
    --orange-light: #fff7ed; --orange-icon: #ea580c;
    --purple-light: #faf5ff; --purple-icon: #9333ea;
}

/* Reset & Accessibility Targets */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--text-main); background: var(--bg-base); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button, input, select, textarea { font-family: inherit; }
button { background: none; border: none; cursor: pointer; }

/* Min Touch Targets for Mobile Accessibility */
button, .nav-link, .search-item, .suggest-item { min-height: 44px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.position-relative { position: relative; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; }

/* CSS Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.6s ease-out forwards; }
.btn-pulse { animation: pulseGlow 2s infinite; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: var(--transition); }
.btn-primary { background: var(--brand-primary); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-float); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border-color); color: var(--text-main); background: #fff; }
.btn-outline:hover { border-color: var(--brand-primary); color: var(--brand-primary); background: var(--blue-light); }
.btn-ghost { color: var(--text-main); padding: 12px 16px; font-weight: 600; }
.btn-ghost:hover { background: var(--bg-canvas); border-radius: 8px; }
.btn-ghost-primary { color: var(--brand-primary); font-weight: 700; font-size: 14px;}
.full-width { width: 100%; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); z-index: 100; transition: var(--transition); }
.nav-wrapper { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 48px; display: block; object-fit: contain; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--text-muted); display: flex; align-items: center; }
.nav-links a:hover { color: var(--brand-primary); }
.nav-auth { display: flex; align-items: center; gap: 16px; }

/* Mobile Bottom App Navigation */
.mobile-bottom-nav { display: none; }

/* Hero Section with Floating Graphics */
.hero { position: relative; background: var(--bg-surface); padding: 160px 0 200px; text-align: center; overflow: hidden; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; opacity: 0.5; animation: float 10s ease-in-out infinite; }
.shape-1 { top: 10%; left: 10%; width: 300px; height: 300px; background: rgba(37, 99, 235, 0.4); }
.shape-2 { bottom: 20%; right: 5%; width: 250px; height: 250px; background: rgba(147, 51, 234, 0.3); animation-delay: -3s; }
.shape-3 { top: 40%; left: 50%; width: 200px; height: 200px; background: rgba(56, 189, 248, 0.2); animation-delay: -6s; }

.hero-content { position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--text-light); padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 700; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(4px); }
.hero-title { font-size: clamp(36px, 6vw, 64px); color: var(--text-light); line-height: 1.15; font-weight: 800; margin-bottom: 24px; }
.text-gradient { background: linear-gradient(135deg, #60A5FA, #3B82F6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: clamp(16px, 3vw, 18px); color: var(--text-muted-light); max-width: 650px; margin: 0 auto; }

/* Search Panel */
.search-section { position: relative; z-index: 10; margin-top: -80px; }
.search-panel { background: #fff; border-radius: 16px; box-shadow: var(--shadow-heavy); padding: 12px; border: 1px solid var(--border-color); }
.search-grid { display: flex; align-items: center; }
.search-input-group { flex: 1; padding: 12px 24px; display: flex; flex-direction: column; gap: 8px; }
.border-left { border-left: 1px solid var(--border-color); }
.search-input-group label { font-size: 12px; font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.5px; }
.input-with-icon { display: flex; align-items: center; gap: 12px; }
.input-with-icon i { color: var(--text-muted); width: 18px; height: 18px; }
.input-with-icon input { border: none; outline: none; font-size: 16px; width: 100%; color: var(--text-main); background: transparent; min-height: 30px; }
.btn-search { padding: 0 40px; height: 60px; font-size: 16px; border-radius: 12px; }

/* Promo Slider */
.promo-slider-section { padding: 80px 0 40px; background: var(--bg-base); }
.slider-container { position: relative; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.slide { min-width: 100%; position: relative; height: 400px; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.slide-content { position: absolute; top: 50%; left: 60px; transform: translateY(-50%); color: #fff; max-width: 500px; }
.slide-badge { display: inline-block; background: var(--brand-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 6px; text-transform: uppercase; margin-bottom: 16px; }
.slide-content h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.slide-content p { font-size: 16px; margin-bottom: 24px; color: #f1f5f9; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); transition: var(--transition); z-index: 2; }
.slider-btn:hover { background: var(--brand-primary); border-color: var(--brand-primary); }
.prev-btn { left: 24px; } .next-btn { right: 24px; }
.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.dot.active { background: #fff; width: 24px; border-radius: 8px; }

/* Sections & Typography */
.section { padding: 80px 0; }
.bg-canvas { background: var(--bg-canvas); }
.pb-large { padding-bottom: 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.5px; }

/* Enhanced Rich Entity Cards */
.grid-card-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.entity-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; display: flex; flex-direction: column; transition: var(--transition); overflow: hidden; opacity: 0; transform: translateY(30px); }
.entity-card.visible { opacity: 1; transform: translateY(0); } /* Animation Class */
.entity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-heavy); border-color: var(--brand-primary); }

/* Card Image Header (For Businesses & Products) */
.card-image { height: 160px; background-size: cover; background-position: center; position: relative; border-bottom: 1px solid var(--border-color); }
.card-icon-badge { position: absolute; bottom: -24px; left: 24px; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); border: 4px solid #fff; z-index: 2; }
/* Standard Icon Wrapper (For Jobs without images) */
.card-icon-wrapper { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 24px 0 16px 24px; }

.bg-blue-light { background: var(--blue-light); } .text-primary { color: var(--blue-icon); }
.bg-green-light { background: var(--green-light); } .text-green { color: var(--green-icon); }
.bg-orange-light { background: var(--orange-light); } .text-orange { color: var(--orange-icon); }
.bg-purple-light { background: var(--purple-light); } .text-purple { color: var(--purple-icon); }

.card-content { flex: 1; padding: 24px 24px 16px; }
.has-image .card-content { padding-top: 36px; } /* Space for overlapping badge */

.tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 6px 12px; border-radius: 100px; text-transform: uppercase; margin-bottom: 12px; background: var(--bg-canvas); color: var(--text-muted); letter-spacing: 0.5px; }
.tag-green { background: var(--green-light); color: var(--green-icon); }
.tag-orange { background: var(--orange-light); color: var(--orange-icon); }
.tag-purple { background: var(--purple-light); color: var(--purple-icon); }

.card-title { font-size: 18px; font-weight: 800; color: var(--text-main); margin-bottom: 8px; line-height: 1.3; }
.card-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.card-meta i { width: 14px; height: 14px; }
.card-price { font-size: 20px; font-weight: 800; color: var(--brand-primary); }
.card-footer { padding: 16px 24px 24px; }

/* Mobile Bottom Navigation (App-Like) */
@media (max-width: 768px) {
    .d-none-mobile { display: none !important; }
    body { padding-bottom: 80px; } /* Space for bottom nav */
    
    .mobile-bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-top: 1px solid var(--border-color); display: flex; justify-content: space-around; align-items: center; padding-bottom: env(safe-area-inset-bottom); z-index: 1000; box-shadow: 0 -4px 20px rgba(0,0,0,0.05); }
    .mobile-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 20%; padding: 10px 0; color: var(--text-muted); font-size: 11px; font-weight: 600; gap: 4px; transition: var(--transition); }
    .mobile-nav-item i { width: 22px; height: 22px; }
    .mobile-nav-item.active { color: var(--brand-primary); }
    
    .mobile-nav-action { position: relative; top: -15px; color: var(--text-main); }
    .action-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-float); margin-bottom: 4px; }
    .action-btn i { width: 24px; height: 24px; }

    /* Fix Search for Mobile */
    .search-grid { flex-direction: column; }
    .search-input-group { border-left: none; border-bottom: 1px solid var(--border-color); width: 100%; padding: 12px; }
    .btn-search { width: 100%; border-radius: 0 0 12px 12px; height: 50px; }
    .search-section { margin-top: -60px; }
    
    /* Fix Slider for Mobile */
    .slide-content { left: 24px; right: 24px; text-align: center; }
    .prev-btn, .next-btn { display: none; }
    
    /* Footer & Hero Adjustments */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .social-links { justify-content: center; }
    .hero { padding: 120px 0 140px; }
}
@media (min-width: 769px) { .d-none-desktop { display: none !important; } }

/* Modals & Auto Suggest (Kept same logic, improved mobile sizing) */
.form-control { width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: 10px; font-size: 16px; /* 16px prevents iOS zoom */ background: var(--bg-canvas); transition: var(--transition); }
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.8); backdrop-filter: blur(8px); }
.modal-window { position: relative; background: #fff; width: 95%; max-width: 440px; max-height: 90vh; overflow-y: auto; padding: 32px; border-radius: 20px; box-shadow: var(--shadow-heavy); z-index: 2001; animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.modal-lg { max-width: 600px; }
.btn-close { position: absolute; top: 16px; right: 16px; color: var(--text-muted); padding: 8px; border-radius: 50%; background: var(--bg-canvas); }
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.flex-1 { flex: 1; min-width: 200px; }

/* Auto Suggest Dropdowns */
.auto-suggest-dropdown, .search-results-dropdown { position: absolute; top: calc(100% + 8px); left: 0; width: 100%; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; box-shadow: var(--shadow-heavy); z-index: 50; max-height: 300px; overflow-y: auto; }
.suggest-item, .search-item { padding: 16px; border-bottom: 1px solid var(--bg-canvas); font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.suggest-item:hover, .search-item:hover { background: var(--bg-canvas); }

/* -------------------------------------------------------------
   SEO Professional Footer
------------------------------------------------------------- */
.footer { background: var(--bg-surface); color: var(--text-light); padding: 60px 0 30px; font-family: var(--font-sans); }

/* Newsletter Form */
.border-bottom-dark { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.border-top-dark { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.bg-dark { background: rgba(255, 255, 255, 0.05) !important; }
.border-dark { border-color: rgba(255, 255, 255, 0.1) !important; }
.text-white { color: #ffffff !important; }

.newsletter-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form .form-control { color: #fff; }
.newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form .btn { padding: 0 32px; height: 50px; }

/* Grid Layout */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { height: 48px; filter: brightness(0) invert(1); object-fit: contain; }
.footer-address { font-style: normal; line-height: 1.8; margin-top: 16px; }

/* Links & Typography */
.footer-links h4 { font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; font-weight: 700; }
.footer-links a { display: block; color: var(--text-muted-light); font-size: 14px; margin-bottom: 12px; font-weight: 500; transition: var(--transition); }
.footer-links a:hover { color: var(--brand-primary); transform: translateX(4px); }

/* Social Links */
.social-links { display: flex; gap: 12px; }
.social-links a { color: var(--text-muted-light); background: rgba(255,255,255,0.05); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-links a:hover { background: var(--brand-primary); color: #fff; transform: translateY(-4px); }
.social-links i { width: 18px; height: 18px; }

/* Bottom Bar Utilities */
.region-selector, .trust-badges { font-weight: 600; cursor: default; }
.text-dark { color: rgba(255,255,255,0.2); }

/* Flex & Utility Classes */
.flex-row { display: flex; }
.flex-1 { flex: 1; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.pb-6 { padding-bottom: 24px; }
.pt-6 { padding-top: 24px; }
.mt-8 { margin-top: 32px; }
.d-inline-block { display: inline-block; width: 24px; }

/* Responsive Overrides */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .flex-row-mobile-col { flex-direction: column; align-items: flex-start; }
    .w-100-mobile { width: 100%; }
    .newsletter-form { flex-direction: column; width: 100%; margin-top: 16px; }
    .newsletter-form .btn { width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand-col { text-align: center; }
    .footer-address { text-align: center; }
    .social-links { justify-content: center; }
    
    .mt-4-mobile { margin-top: 16px; }
}