:root {
  --primary-color: #1D97C7;
  --secondary-color: #1B8AC3;
  --dark-blue: #136a96;
  --dark-text: #2c3e50;
  --light-text: #6c757d;
  --bg-light: #f8faff;
  --card-shadow: 0 10px 30px rgba(29, 150, 210, 0.08);
  --hover-shadow: 0 15px 35px rgba(29, 150, 210, 0.15);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  background-color: #ffffff;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Navbar Custom Styles */
.bst-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    will-change: padding;
    transform: translateZ(0); /* Hardware acceleration to prevent text shivering */
    -webkit-font-smoothing: antialiased;
}

.bst-header.sticky {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.bst-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.bst-navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bst-logo {
    max-height: 70px;
    width: auto;
}

/* Nav Pill */
.bst-nav-pill {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 5px 30px;
    display: flex;
    align-items: center;
}

.bst-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

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

.bst-nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.bst-nav-link:hover, .bst-nav-link.active {
    color: var(--primary-color);
    text-decoration: none;
}

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

.mobile-only {
    display: none;
}

/* Dropdown */
.bst-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    list-style: none;
    padding: 10px 0;
    z-index: 1001;
}

/* Apply transition only for Desktop to avoid mobile blink */
@media (min-width: 1201px) {
    .bst-dropdown-menu {
        transition: all 0.3s;
    }
    
    .bst-nav-item:hover .bst-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.bst-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.bst-dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* CTA Button */
.bst-cta-wrapper {
    display: block;
}

.bst-btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.bst-btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
}

/* Mobile Toggle */
.bst-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-text);
    cursor: pointer;
}

/* Responsive Navbar */
@media (max-width: 1200px) {
    .bst-mobile-toggle {
        display: block;
    }
    
    .mobile-only {
        display: block;
    }

    .bst-nav-pill {
        border: none;
        padding: 0;
        background: transparent;
        display: block;
    }

    .bst-nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .bst-nav-wrapper.active {
        display: block;
    }

    .bst-nav-list {
        flex-direction: column;
        gap: 0;
    }

    .bst-nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .bst-nav-link {
        padding: 15px 0;
        justify-content: space-between;
    }

    .bst-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        background: #f9f9f9;
        width: 100%;
        min-width: 100%;
        transition: none !important;
        height: auto !important;
    }
    
    .bst-nav-item.open .bst-dropdown-menu {
        display: block !important;
    }

    .bst-nav-item.open .bst-dropdown-menu li {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .bst-nav-item.open .bst-dropdown-menu li a {
        color: var(--dark-text) !important;
        display: block !important;
    }

    .bst-cta-wrapper {
        display: none;
    }
}


