:root {
    /* Colors - Earth & Ocean Palette (Vibrant Nature) */
    --bs-color-bg: #020617; 
    --bs-color-surface: #0f172a; 
    
    /* Primary Natural Accents - Refined for Vibrancy */
    --bs-color-sea: #0ea5e9;    /* Ocean Blue (Vibrant) */
    --bs-color-forest: #10b981; /* Emerald Forest (Vibrant) */
    --bs-color-soil: #d97706;   /* Rich Soil (Amber/Tan) */
    
    --bs-color-primary: var(--bs-color-forest);
    --bs-color-primary-glow: rgba(16, 185, 129, 0.4);
    
    --bs-color-text: #f1f5f9;
    --bs-color-text-muted: #94a3b8;
    --bs-color-white: #ffffff;
    
    /* Natural Ecosystem Gradients */
    --bs-gradient-sea: linear-gradient(135deg, #0ea5e9 0%, #0c4a6e 100%);
    --bs-gradient-forest: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --bs-gradient-soil: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    /* Global Primary Gradient (Forest Default) */
    --bs-gradient-primary: var(--bs-gradient-forest);
    
    --bs-glass-bg: rgba(15, 23, 42, 0.7);
    --bs-glass-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --bs-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --bs-spacing-lg: 6rem;
    --bs-container-width: 1200px;
    --bs-spacing-md: 2rem;
    
    /* Radius */
    --bs-radius-md: 12px;
    --bs-radius-lg: 24px;

    /* Premium Effects */
    --bs-glass-light: rgba(255, 255, 255, 0.05);
    --bs-glow-sea: 0 0 20px rgba(14, 165, 233, 0.3);
    --bs-glow-forest: 0 0 20px rgba(16, 185, 129, 0.3);
    --bs-glow-soil: 0 0 20px rgba(217, 119, 6, 0.3);
}

.bs-glass {
    background: var(--bs-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bs-glass-border);
}

.bs-glow-hover:hover {
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5), var(--bs-glow-sea);
}

body, 
html {
    margin: 0;
    padding: 0;
    font-family: var(--bs-font-sans);
    color: var(--bs-color-text);
    background-color: var(--bs-color-bg) !important;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container Utility */
.bs-container {
    max-width: var(--bs-container-width);
    margin: 0 auto;
    padding: 0 var(--bs-spacing-md);
    width: 100%;
}

/* Base Styles */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bs-color-white);
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

/* Header Redesign */
.bs-header {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bs-glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.bs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bs-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-color-white);
}

.bs-logo span {
    color: var(--bs-color-primary);
}

.bs-nav .menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-nav .menu-item a {
    color: var(--bs-color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.bs-nav .menu-item a:hover,
.bs-nav .menu-item.active a {
    color: var(--bs-color-primary);
}

/* Hero Section Redesign */
.bs-hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 50% -20%, var(--bs-color-sea) 0%, var(--bs-color-bg) 80%);
    overflow: hidden;
}

/* Dynamic background animations */
@keyframes heroPulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.4; }
}

.bs-hero::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, var(--bs-color-primary-glow), transparent 70%);
    filter: blur(80px);
    z-index: 0;
    animation: heroPulse 8s infinite alternate ease-in-out;
}

/* Grid Pattern Overlay */
.bs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    z-index: 0;
}

.bs-hero-business {
    background: radial-gradient(circle at 50% -20%, #78350f 0%, var(--bs-color-bg) 80%);
}

.bs-keyword-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bs-keyword-pills .bs-tag {
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: #fcd34d;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.bs-keyword-pills .bs-tag:hover {
    background: rgba(217, 119, 6, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.bs-hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.bs-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--bs-color-primary);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.bs-hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bs-hero h1 span {
    color: var(--bs-color-primary);
    background: var(--bs-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bs-hero p.bs-lead {
    font-size: 1.25rem;
    color: var(--bs-color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Buttons */
.bs-btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.bs-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bs-btn-primary {
    background: var(--bs-gradient-primary);
    color: white;
    box-shadow: 0 10px 20px -5px var(--bs-color-primary-glow);
}

.bs-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--bs-color-primary-glow);
}

.bs-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bs-glass-border);
    color: white;
}

.bs-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Stats Grid in Hero */
.bs-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 5rem;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    margin-left: auto;
    margin-right: auto;
}

.bs-stat-card {
    background: var(--bs-glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--bs-glass-border);
    padding: 2.5rem 1.5rem;
    border-radius: var(--bs-radius-md);
    text-align: center;
    transition: all 0.3s ease;
}

.bs-stat-card:hover {
    border-color: var(--bs-color-primary);
    background: rgba(14, 165, 233, 0.05);
}

.bs-stat-card .bs-icon {
    font-size: 2rem;
    color: var(--bs-color-primary);
    margin-bottom: 1.5rem;
    display: block;
}

.bs-stat-card h3 {
    font-size: 2.5rem;
    margin: 0;
    color: white;
}

.bs-stat-card p {
    color: var(--bs-color-text-muted);
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Authority Bar (Updated for Dark Theme) */
.bs-authority-bar {
  background-color: var(--bs-color-surface);
  padding: 3rem 0;
  border-bottom: 1px solid var(--bs-glass-border);
}

.bs-authority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.bs-auth-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--bs-color-white);
}

.bs-auth-item p {
  font-size: 0.9rem;
  color: var(--bs-color-text-muted);
}

/* Sections */
.bs-section {
    padding: var(--bs-spacing-lg) 0;
}

.bs-bg-light {
    background-color: var(--bs-color-surface);
}

.bs-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.bs-section-header h2 {
    font-size: 2.5rem;
    color: var(--bs-color-white);
    margin-bottom: 1rem;
}

.bs-section-header p {
    font-size: 1.1rem;
    color: var(--bs-color-text-muted);
}

/* Grids */
.bs-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

/* Pillar Card */
.bs-card {
    background: var(--bs-color-surface);
    border: 1px solid var(--bs-glass-border);
    border-radius: var(--bs-radius-md);
    padding: 2rem;
    transition: all 0.3s ease;
    display: block;
}

.bs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 
                0 0 20px -5px var(--bs-color-primary-glow);
    border-color: var(--bs-color-primary);
}

.bs-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 99px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.bs-tag:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.bs-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--bs-color-white);
}

.bs-card p {
    font-size: 1rem;
    color: var(--bs-color-text-muted);
    margin: 0;
}

/* Region Cards */
.bs-region-card {
    height: 350px;
    border-radius: var(--bs-radius-md);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid var(--bs-glass-border);
}

.bs-region-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 1) 0%, rgba(11, 15, 25, 0) 60%);
    transition: opacity 0.3s;
}

.bs-region-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
}

.bs-region-content h3 {
    color: var(--bs-color-white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.bs-region-content p {
    font-size: 1rem;
    color: var(--bs-color-text-muted);
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .bs-hero h1 { font-size: 3.5rem; }
    .bs-hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .bs-header-inner { height: auto; padding: 1.5rem; flex-direction: column; gap: 1rem; }
    .bs-nav .menu { flex-wrap: wrap; justify-content: center; }
    .bs-hero h1 { font-size: 2.5rem; }
    .bs-hero-stats { grid-template-columns: 1fr; }
    .bs-grid-2 { grid-template-columns: 1fr; }
}

/* Footer Redesign */
.bs-footer {
    background: #06090f;
    border-top: 1px solid var(--bs-glass-border);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 6rem;
}

.bs-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bs-color-primary), transparent);
    opacity: 0.5;
}

.bs-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 6rem;
}


.bs-footer-brand .bs-logo {
    margin-bottom: 1.5rem;
}

.bs-footer-brand p {
    color: var(--bs-color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.bs-footer-column h4 {
    color: var(--bs-color-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.bs-footer-list li {
    margin-bottom: 1rem;
}

.bs-footer-list a {
    color: var(--bs-color-text-muted);
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bs-footer-list a:hover {
    color: var(--bs-color-primary);
    transform: translateX(5px);
}

.bs-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bs-footer-bottom p {
    color: #475569;
    font-size: 0.85rem;
    margin: 0;
}

.bs-footer-legal {
    display: flex;
    gap: 2rem;
}

.bs-footer-legal a {
    color: #475569;
    font-size: 0.85rem;
    text-decoration: none;
}

.bs-footer-legal a:hover {
    color: var(--bs-color-white);
}

.bs-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.bs-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bs-glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-color-text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.bs-social-link:hover {
    background: var(--bs-color-primary);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .bs-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .bs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}


@media (max-width: 768px) {
    .bs-footer-grid {
        grid-template-columns: 1fr;
    }
    .bs-footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .bs-footer-legal {
        justify-content: center;
    }
}

/* Business & Authority Components */
.bs-section-tag {
    color: var(--bs-color-primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.bs-authority-bar {
    background: var(--bs-color-surface);
    border-top: 1px solid var(--bs-glass-border);
    border-bottom: 1px solid var(--bs-glass-border);
    padding: 3rem 0;
}

.bs-authority-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.bs-auth-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bs-color-white);
}

.auth-label {
    font-size: 0.85rem;
    color: var(--bs-color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bs-card-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--bs-glass-border);
    padding-top: 1.5rem;
}

.bs-card-list li {
    font-size: 0.9rem;
    color: var(--bs-color-text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bs-card-list li::before {
    content: "•";
    color: var(--bs-color-primary);
    font-weight: bold;
}

.bs-bg-soil-gradient {
    background: var(--bs-gradient-soil);
    position: relative;
    overflow: hidden;
}

.bs-bg-soil-gradient * {
    position: relative;
    z-index: 2;
}

.bs-bg-soil-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/dark-leather.png');
    opacity: 0.1;
    z-index: 1;
}

.bs-feature-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bs-feature-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-size: 0.9rem;
}

.bs-glass-overlay-card {
    position: absolute;
    bottom: -30px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bs-glass-border);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 5;
}

.bs-glass-overlay-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: white;
}

.bs-glass-overlay-card p {
    margin: 0;
    color: var(--bs-color-primary);
    font-weight: 600;
}

.bs-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: var(--bs-radius-md);
    border-top-right-radius: var(--bs-radius-md);
}

.bs-card-body {
    padding: 2rem;
}

.bs-resource-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bs-resource-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bs-color-surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--bs-glass-border);
    transition: all 0.3s ease;
}

.bs-resource-item:hover {
    transform: translateX(10px);
    border-color: var(--bs-color-primary);
}

.bs-resource-item .item-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.bs-resource-item h4 {
    margin: 0 0 0.25rem 0;
    color: white;
}

.bs-resource-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--bs-color-text-muted);
}

.bs-f-form-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bs-glass-border);
    padding: 3rem;
    border-radius: var(--bs-radius-lg);
}

.bs-f-form-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
@media (max-width: 992px) {
    .bs-authority-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .bs-authority-grid {
        grid-template-columns: 1fr;
    }
    .bs-f-form-card {
        padding: 2rem;
    }
    .bs-glass-overlay-card {
        position: static;
        margin-top: 2rem;
    }
}

.bs-f-form-card p {
    color: var(--bs-color-text-muted);
    line-height: 1.6;
}

/* Modal Styles */
.bs-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bs-modal.active {
    display: flex;
    opacity: 1;
}

.bs-modal-content {
    background: var(--bs-color-surface);
    border: 1px solid var(--bs-glass-border);
    padding: 3.5rem;
    border-radius: 24px;
    max-width: 650px;
    width: 90%;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bs-modal.active .bs-modal-content {
    transform: translateY(0);
}

.bs-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--bs-color-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.bs-modal-body h2 {
    margin-bottom: 1.5rem;
    color: var(--bs-color-sea);
}

.bs-modal-body p {
    color: var(--bs-color-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.bs-modal-body ul {
    list-style: none;
    padding: 0;
}

.bs-modal-body li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--bs-glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bs-modal-body li strong {
    color: white;
}

/* Form Controls & Inputs - Global Authority Fix */
.bs-form-control {
    width: 100% !important;
    padding: 0.75rem 1.25rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--bs-glass-border) !important;
    border-radius: 12px !important;
    color: white !important;
    font-family: var(--bs-font-sans) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important; /* Fixed overlap */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    min-height: 3.5rem !important; /* Authority Height */
}

.bs-form-control:focus {
    border-color: var(--bs-color-primary) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 20px var(--bs-color-primary-glow) !important;
}

select.bs-form-control {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.25rem center !important;
    background-size: 1rem !important;
    padding-right: 3.5rem !important;
    cursor: pointer !important;
}

select.bs-form-control option {
    background: var(--bs-color-surface) !important;
    color: white !important;
    padding: 1rem !important;
}

/* Ensure global box-sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Minimal Select styling for Sort/Filter bars */
.bs-select-minimal {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.5rem 2rem 0.5rem 0.5rem !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: 1rem !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: unset !important;
}

.bs-select-minimal option {
    background: var(--bs-color-surface) !important;
    color: white !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* UX Improvements */
.bs-header.scrolled {
    background: rgba(11, 15, 25, 0.95) !important;
    height: 70px !important;
}
.bs-header.scrolled .bs-header-inner {
    height: 70px !important;
}

.bs-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--bs-color-primary);
    z-index: 2000;
    width: 0%;
    transition: width 0.1s ease-out;
}

.bs-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bs-color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.bs-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.bs-scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--bs-color-primary-glow);
}

/* Search Overlay */
.bs-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid var(--bs-glass-border);
}
.bs-search-overlay.active {
    display: flex;
}
.bs-search-form {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}
.bs-search-input-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}
.bs-search-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--bs-glass-border);
    padding: 1.2rem 2.5rem;
    border-radius: 60px;
    color: white;
    font-size: 1.25rem;
    outline: none;
    transition: all 0.3s;
}
.bs-search-input:focus {
    border-color: var(--bs-color-primary);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 30px var(--bs-color-primary-glow);
}
.bs-search-close {
    position: absolute;
    right: 2rem;
    background: none;
    border: none;
    color: var(--bs-color-text-muted);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}
.bs-search-close:hover {
    color: white;
}
.bs-search-trigger {
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--bs-glass-border);
    transition: all 0.3s;
    font-size: 1.2rem;
    color: var(--bs-color-text-muted);
}
.bs-search-trigger:hover {
    background: var(--bs-color-primary);
    border-color: var(--bs-color-primary);
    color: white;
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.bs-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2200;
}
.bs-menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 4px;
    transition: all 0.3s;
}
.bs-menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.bs-menu-toggle.active span:nth-child(2) { opacity: 0; }
.bs-menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1100px) {
    .bs-menu-toggle { display: flex; }
    .bs-nav .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 100px 40px;
        transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 2100;
        border-left: 1px solid var(--bs-glass-border);
    }
    .bs-nav .menu.active { right: 0; }
    .bs-nav .menu li { width: 100%; border-bottom: 1px solid var(--bs-glass-border); }
    .bs-nav .menu li a { padding: 1.5rem 0; font-size: 1.25rem; }
}
