@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0b132b;
    /* Deep clinical navy */
    --primary-light: #1c2541;
    /* Navy secondary */
    --primary-lightest: #3a506b;
    /* Muted steel blue */
    --secondary: #0077b6;
    /* Medical sapphire blue — single brand color */
    --secondary-light: #48a9d5;
    /* Light tint of medical blue */
    --secondary-dark: #005a8e;
    /* Dark shade of medical blue */
    --accent: #0077b6;
    /* Same as secondary — single color */
    --accent-light: #48a9d5;
    /* Light tint */
    --brand: #0077b6;
    /* Canonical single brand color */
    --brand-hover: #005a8e;
    /* Hover / active state */
    --brand-subtle: rgba(0, 119, 182, 0.1);
    --background: #f4f7f9;
    --card-bg: #ffffff;
    --text-dark: #0b132b;
    --text-light: #f4f7f9;
    --text-muted: #5c6b73;
    --border-color: #e2e8f0;
    --success: #0077b6;
    --warning: #f59e0b;
    --danger: #ef4444;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling - Header Navigation & Footer */
.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.brand-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
    filter: drop-shadow(0 2px 8px rgba(0, 119, 182, 0.25));
}

.brand-logo-text-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .brand-logo-img {
        height: 48px;
    }
    .brand-logo-text-img {
        height: 42px;
    }
}

@media (max-width: 480px) {
    .brand-logo-img {
        height: 42px;
    }
    .brand-logo-text-img {
        height: 36px;
    }
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
    filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.65)) brightness(1.25);
}

.footer-logo-text-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 180, 216, 0.6));
}

@media (max-width: 640px) {
    .footer-logo-img {
        height: 50px;
    }
    .footer-logo-text-img {
        height: 44px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    align-items: center;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 0.4rem 0.55rem;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--secondary);
    background-color: rgba(0, 180, 216, 0.08);
}

.nav-btn {
    background: #0077b6;
    color: var(--text-light) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 119, 182, 0.4) !important;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    text-align: left;
    width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0077b6;
    color: #ffffff;
    border-color: #0077b6;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.2);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1002;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    background-color: rgba(0, 119, 182, 0.08);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.2s ease;
}

.menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background-color: var(--secondary);
}

.menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background-color: var(--secondary);
}

/* Nav Backdrop Overlay */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 43, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Page Content Base */
main {
    flex: 1;
    position: relative;
}

.view-section {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.view-section.active {
    display: block;
}

/* Home Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0 6rem 0;
}

.hero-content h1 {
    font-size: clamp(2rem, 5.2vw, 3.5rem);
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: #0077b6;
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--background);
    border-color: var(--text-muted);
}

.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #0077b6;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    align-items: center;
}

.badge {
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--secondary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-card-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hero-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-card-list li svg {
    color: var(--success);
}

/* Features grid */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-bottom: 5rem;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 180, 216, 0.12), 0 10px 10px -5px rgba(0, 180, 216, 0.06);
    border-color: var(--secondary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

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

/* Partners / Credibility Bar */
.partners-bar {
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    text-align: center;
}

.partners-title {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.6;
}

.partner-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Catalog View */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Catalog Sidebar / Filters */
.catalog-sidebar {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.search-box svg {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 16px;
    height: 16px;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.925rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.filter-btn.active {
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--secondary-dark);
    font-weight: 600;
}

.filter-count {
    font-size: 0.75rem;
    background-color: rgba(15, 23, 42, 0.05);
    color: var(--text-muted);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
}

.filter-btn.active .filter-count {
    background-color: var(--secondary);
    color: var(--text-light);
}

/* Product Grid */
.catalog-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.catalog-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 180, 216, 0.12), 0 10px 10px -5px rgba(0, 180, 216, 0.06);
    border-color: var(--secondary-light);
}

.product-image-container {
    height: 190px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.04);
}

.btn-sm {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.825rem !important;
    min-height: 36px;
}

.product-placeholder-icon {
    width: 64px;
    height: 64px;
    color: var(--secondary-dark);
    opacity: 0.8;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.product-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    background-color: var(--background);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Modals (Product Details Overlay) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    padding: 2.5rem;
}

.modal-header-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.modal-image {
    width: 200px;
    height: 180px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary-dark);
}

.modal-title-area h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.modal-title-area p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.kit-contents-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kit-components-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.component-item-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background-color: var(--background);
}

.component-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    box-shadow: var(--shadow-sm);
}

.component-details-box h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.component-details-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.component-qty-box {
    font-weight: 700;
    color: var(--secondary-dark);
    background-color: rgba(0, 119, 182, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Custom Kit Builder */
.builder-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 2rem;
}

/* Steps Progress Tracker */
.builder-steps {
    display: flex;
    background-color: var(--primary);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    justify-content: space-between;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    flex: 1;
}

.step-indicator:not(:last-child)::after {
    content: '';
    height: 2px;
    background-color: rgba(255, 255, 255, 0.15);
    flex: 1;
    margin: 0 1rem;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-light);
    border: 2px solid transparent;
}

.step-indicator.active {
    color: var(--text-light);
}

.step-indicator.active .step-num {
    background-color: var(--secondary);
    border-color: var(--secondary-light);
    box-shadow: 0 0 10px rgba(0, 119, 182, 0.5);
}

.step-indicator.completed {
    color: var(--secondary-light);
}

.step-indicator.completed .step-num {
    background-color: var(--success);
    color: var(--text-light);
}

/* Builder Form Contents */
.builder-form-body {
    padding: 2.5rem;
}

.builder-step-content {
    display: none;
}

.builder-step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.builder-step-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.builder-step-content .step-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Step 1: Category Picker Cards */
.category-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.category-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    background-color: var(--card-bg);
}

.category-card:hover {
    border-color: var(--secondary-light);
    background-color: rgba(0, 119, 182, 0.02);
}

.category-card.selected {
    border-color: var(--secondary);
    background-color: rgba(0, 119, 182, 0.05);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.1);
}

.category-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--background);
    color: var(--primary-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem auto;
    transition: var(--transition-smooth);
}

.category-card.selected .category-card-icon {
    background-color: var(--secondary);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.3);
}

.category-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Step 2: Component selector tabs and layout */
.builder-components-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background-color: var(--background);
}

.component-tabs {
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.component-tab-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.component-tab-btn:hover {
    background-color: var(--background);
    color: var(--primary);
}

.component-tab-btn.active {
    background-color: var(--background);
    color: var(--secondary-dark);
    border-left-color: var(--secondary);
    font-weight: 600;
}

.component-tab-pane {
    display: none;
    padding: 1.5rem;
    max-height: 450px;
    overflow-y: auto;
}

.component-tab-pane.active {
    display: block;
}

.component-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.item-selection-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.item-selection-card:hover {
    border-color: rgba(0, 119, 182, 0.3);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.item-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.qty-counter {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    background-color: var(--card-bg);
}

.qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background-color: var(--background);
}

.qty-val {
    width: 40px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    outline: none;
}

/* Selected kit summary sidebar */
.builder-summary-wrapper {
    margin-top: 2rem;
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem 1.5rem;
}

.summary-heading {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-items-list {
    max-height: 150px;
    overflow-y: auto;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.summary-item-row span:last-child {
    font-weight: 600;
    color: var(--primary);
}

/* Step 3: Packaging & Configuration Options */
.options-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.radio-group-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.radio-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.radio-card:hover {
    border-color: var(--secondary-light);
}

.radio-card input[type="radio"] {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.radio-card-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.radio-card-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Step 4: Submission screen & Success summary */
.builder-actions {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2.5rem;
    background-color: #fafbfc;
}

.success-screen {
    text-align: center;
    padding: 3rem 1.5rem;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem auto;
    animation: scalePulse 0.5s ease-out;
}

.success-screen h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.success-screen p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.receipt-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--background);
    padding: 1.5rem;
    max-width: 500px;
    margin: 0 auto 2rem auto;
    text-align: left;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.receipt-line span:first-child {
    color: var(--text-muted);
}

.receipt-line span:last-child {
    font-weight: 600;
}

/* About Us View */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.about-hero-image {
    background: var(--primary);
    height: 380px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-hero-image::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.about-hero-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.about-hero-text p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Contact View */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card-details h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-card-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 3D Contact Cards & Companion Layout */
.contact-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 820px;
    margin: 0 auto 3.5rem auto;
}

.contact-card-3d {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: 0 4px 20px -2px rgba(11, 19, 43, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), #48a9d5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card-3d:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px -4px rgba(0, 119, 182, 0.16);
    border-color: rgba(0, 119, 182, 0.35);
}

.contact-card-3d:hover::before {
    opacity: 1;
}

/* 3D Inquiry Form Container */
.inquiry-card-3d {
    background: var(--card-bg);
    border: 1px solid rgba(0, 119, 182, 0.22);
    border-top: 4px solid var(--secondary);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.03),
        0 12px 28px -4px rgba(11, 19, 43, 0.06),
        0 35px 70px -15px rgba(0, 119, 182, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    max-width: 820px;
    margin: 0 auto 3rem auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.dark-theme .inquiry-card-3d {
    background: #0d1b2a;
    border-color: #1e3a5f;
    border-top-color: #0077b6;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.4),
        0 12px 28px -4px rgba(0, 0, 0, 0.5),
        0 35px 70px -15px rgba(0, 119, 182, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* 3D Glow Ambient Backlight */
.card-glow-mesh {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.15) 0%, rgba(72, 169, 213, 0.05) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulseAura 7s ease-in-out infinite alternate;
}

@keyframes pulseAura {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    100% { transform: scale(1.25) translate(-25px, 25px); opacity: 1; }
}

.inquiry-card-header {
    position: relative;
    z-index: 1;
    margin-bottom: 2.25rem;
}

.inquiry-badge-wrapper {
    margin-bottom: 1rem;
}

.inquiry-badge {
    background: rgba(0, 119, 182, 0.08);
    color: var(--secondary);
    border: 1px solid rgba(0, 119, 182, 0.25);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.42rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 2px 10px rgba(0, 119, 182, 0.08);
    text-transform: uppercase;
}

.beacon-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.6);
    animation: beaconWave 2s infinite;
    flex-shrink: 0;
}

@keyframes beaconWave {
    0% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.75); }
    70% { box-shadow: 0 0 0 8px rgba(0, 119, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0); }
}

.inquiry-card-3d h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.025em;
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.dark-theme .inquiry-card-3d h3 {
    color: #f8fafc;
}

.inquiry-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

.dark-theme .inquiry-subtitle {
    color: #94a3b8;
}

/* Form Grid */
.inquiry-form-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.inquiry-form-group.full-width {
    grid-column: 1 / -1;
}

.inquiry-form-group label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.55rem;
}

.dark-theme .inquiry-form-group label {
    color: #93c5fd;
}

/* 3D Input Wrapper */
.inquiry-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-box {
    position: absolute;
    left: 1.1rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: color 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.inquiry-input-wrapper:focus-within .input-icon-box {
    color: var(--secondary);
    transform: scale(1.12);
}

.dark-theme .inquiry-input-wrapper:focus-within .input-icon-box {
    color: #38bdf8;
}

.inquiry-form-group input {
    width: 100%;
    height: 52px;
    padding: 0 1.1rem 0 3.1rem;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: var(--text-dark);
    box-shadow: inset 0 2px 4px rgba(11, 19, 43, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-sizing: border-box;
}

.dark-theme .inquiry-form-group input {
    background-color: #071224;
    border-color: #1e3a5f;
    color: #f8fafc;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.inquiry-form-group input::placeholder {
    color: #94a3b8;
    font-size: 0.92rem;
}

.dark-theme .inquiry-form-group input::placeholder {
    color: #475569;
}

.inquiry-form-group input:hover {
    border-color: #cbd5e1;
}

.dark-theme .inquiry-form-group input:hover {
    border-color: #334155;
}

.inquiry-form-group input:focus {
    background-color: #ffffff;
    border-color: var(--secondary);
    box-shadow:
        inset 0 1px 2px rgba(0, 119, 182, 0.06),
        0 0 0 4px rgba(0, 119, 182, 0.14),
        0 6px 16px rgba(0, 119, 182, 0.08);
    transform: translateY(-1px);
}

.dark-theme .inquiry-form-group input:focus {
    background-color: #0d1b2a;
    border-color: #38bdf8;
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(56, 189, 248, 0.2),
        0 6px 16px rgba(0, 119, 182, 0.18);
}

/* 3D Tactile Submit Button */
.btn-3d-submit {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 56px;
    background: linear-gradient(180deg, #0088cc 0%, #0077b6 50%, #005a8e 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0 1.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow:
        0 5px 0 #003e63,
        0 10px 24px rgba(0, 119, 182, 0.42),
        inset 0 1px 1px rgba(255, 255, 255, 0.45);
    transition: all 0.18s ease;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
}

.btn-3d-submit:hover .btn-shine {
    animation: shineSweep 1.2s ease-in-out infinite;
}

@keyframes shineSweep {
    0% { left: -120%; }
    100% { left: 180%; }
}

.btn-3d-submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 7px 0 #003e63,
        0 14px 30px rgba(0, 119, 182, 0.52),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-3d-submit:active {
    transform: translateY(3px);
    box-shadow:
        0 2px 0 #003e63,
        0 4px 10px rgba(0, 119, 182, 0.35),
        inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-3d-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 0 #003e63;
}

.btn-send-icon {
    transition: transform 0.25s ease;
}

.btn-3d-submit:hover .btn-send-icon {
    transform: translateX(3px) translateY(-2px);
}

/* Status Message */
.inquiry-status-msg {
    margin-top: 1.5rem;
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    font-size: 0.96rem;
    display: none;
    line-height: 1.55;
    animation: fadeIn 0.35s ease;
}

.inquiry-status-msg.success {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #065f46;
}

.dark-theme .inquiry-status-msg.success {
    background-color: rgba(16, 185, 129, 0.18);
    color: #34d399;
}

.inquiry-status-msg.error {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background-color: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #991b1b;
}

.dark-theme .inquiry-status-msg.error {
    background-color: rgba(239, 68, 68, 0.18);
    color: #f87171;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animated In-Place Success State */
.inquiry-success-state {
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    animation: successFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-wrapper {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.5rem auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark-svg {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #0077b6;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #0077b6;
    animation: fillSuccess .4s ease-in-out .4s forwards, scaleSuccess .3s ease-in-out .9s both;
}

.dark-theme .checkmark-svg {
    stroke: #38bdf8;
    box-shadow: inset 0px 0px 0px #38bdf8;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #0077b6;
    fill: rgba(0, 119, 182, 0.08);
    animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.dark-theme .checkmark-circle {
    stroke: #38bdf8;
    fill: rgba(56, 189, 248, 0.12);
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #0077b6;
    animation: strokeCheck 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.dark-theme .checkmark-check {
    stroke: #38bdf8;
}

@keyframes strokeCircle {
    100% { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
    100% { stroke-dashoffset: 0; }
}

@keyframes scaleSuccess {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fillSuccess {
    100% { box-shadow: inset 0px 0px 0px 30px transparent; }
}

@keyframes successFadeIn {
    0% { opacity: 0; transform: translateY(14px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.success-title {
    font-size: 1.7rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--primary, #0b132b);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.dark-theme .success-title {
    color: #f8fafc;
}

.success-desc {
    font-size: 1rem;
    color: var(--text-muted, #5c6b73);
    max-width: 540px;
    margin: 0 auto 1.75rem auto;
    line-height: 1.65;
}

.dark-theme .success-desc {
    color: #94a3b8;
}

.btn-send-another {
    background: transparent;
    color: var(--secondary, #0077b6);
    border: 1.5px solid var(--secondary, #0077b6);
    padding: 0.75rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.96rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-send-another:hover {
    background: var(--secondary, #0077b6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.3);
}

.dark-theme .btn-send-another {
    color: #38bdf8;
    border-color: #38bdf8;
}

.dark-theme .btn-send-another:hover {
    background: #0284c7;
    color: #ffffff;
}

@media (max-width: 680px) {
    .inquiry-card-3d {
        padding: 2.25rem 1.5rem;
        border-radius: 18px;
    }
    .inquiry-form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .inquiry-card-3d h3 {
        font-size: 1.7rem;
    }
    .contact-quick-info {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
    .success-title {
        font-size: 1.4rem;
    }
}

/* Footer style */
footer {
    background-color: #071328;
    color: #f8fafc;
    padding: 4rem 2rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

.dark-theme footer {
    background-color: #050e1e;
    border-top-color: #1e3a5f;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1.4fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--primary-lightest);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.regulatory-info p {
    margin-bottom: 0.25rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scalePulse {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================================
   COMPREHENSIVE DEVICE RESPONSIVE SYSTEM
   Mobile (320px-480px), Phablets (481px-768px), Tablets (769px-992px), Desktops (993px+)
   ========================================================= */

/* Responsive Component Classes */
.capabilities-section {
    margin-top: 5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
}

.capabilities-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.capabilities-layout h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.why-choose-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.why-choose-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.kitting-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
    align-items: center;
}

.customization-section {
    background: #ffffff;
    padding: 3.5rem 2.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 4.5rem;
    box-shadow: var(--shadow-sm);
}

.customization-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.customization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.75rem;
}

.custom-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
}

.category-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Product Detail Components */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.component-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
}

.component-qty-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-dark);
    background: rgba(0, 119, 182, 0.12);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    flex-shrink: 0;
    align-self: center;
}

.specs-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin-bottom: 2.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Footer elements */
.footer-connect {
    min-width: 0;
}

.footer-contact-list {
    color: #94a3b8;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    word-break: break-word;
}

/* 1. Large Tablets / Small Laptops (<= 992px) */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 2rem 0;
    }

    .hero-cta {
        justify-content: center;
    }

    .catalog-layout,
    .contact-layout,
    .about-hero,
    .product-detail-layout,
    .capabilities-layout,
    .kitting-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-hero-image {
        height: 280px;
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* 2. Mobile Tablets & Smartphones (<= 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0.75rem 1.25rem;
    }

    .nav-menu {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 1.25rem 1.5rem 2rem 1.5rem;
        gap: 0.4rem;
        box-shadow: 0 20px 40px rgba(11, 19, 43, 0.16);
        border-top: 1px solid var(--border-color);
        border-bottom: 3px solid var(--secondary);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
        z-index: 999;
    }

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

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 8px;
        color: var(--primary);
        border-bottom: 1px solid rgba(226, 232, 240, 0.7);
        transition: all 0.2s ease;
    }

    .nav-item a:hover,
    .nav-item.active a {
        background-color: rgba(0, 119, 182, 0.08);
        color: var(--secondary);
        border-bottom-color: transparent;
        padding-left: 1.25rem;
    }

    .view-section {
        padding: 2rem 1rem;
    }

    /* Catalog horizontal swipeable pill bar */
    .catalog-sidebar {
        padding: 1rem;
    }

    .category-filter-buttons {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.6rem;
        gap: 0.5rem;
        scrollbar-width: none;
    }

    .category-filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .category-filter-buttons .filter-btn {
        white-space: nowrap;
        width: auto;
        flex-shrink: 0;
        padding: 0.6rem 1.1rem;
        font-size: 0.88rem;
        border-radius: 50px;
        border: 1px solid rgba(0, 119, 182, 0.25);
    }

    .why-choose-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .customization-section {
        padding: 2.25rem 1.5rem;
        margin-bottom: 3.5rem;
    }

    .builder-components-layout {
        grid-template-columns: 1fr;
    }

    .component-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .component-tab-btn {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }

    .component-tab-btn.active {
        border-bottom-color: var(--secondary);
    }

    .options-form-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .regulatory-info {
        text-align: center;
    }
}

/* 3. Small Mobile Devices (<= 640px) */
@media (max-width: 640px) {
    .nav-container {
        padding: 0.6rem 1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.85rem, 7vw, 2.4rem);
        margin-bottom: 1.15rem;
    }

    .hero-content p {
        font-size: 0.98rem;
        line-height: 1.55;
        margin-bottom: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 3.5rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
    }

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

    .product-meta-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .component-item-card {
        flex-wrap: wrap;
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }

    .component-item-card .component-qty-badge {
        margin-left: auto;
    }

    /* Chatbot Bottom Sheet on Mobile */
    .chatbot-container {
        bottom: 16px;
        right: 16px;
    }

    .chatbot-bubble {
        width: 52px;
        height: 52px;
    }

    .chatbot-card {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: min(520px, 85vh);
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 40px rgba(11, 19, 43, 0.3);
        z-index: 2000;
    }
}

/* 4. Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
    .brand-logo-img {
        height: 38px !important;
    }

    .brand-logo-text-img {
        height: 32px !important;
    }

    .logo {
        gap: 0.5rem !important;
    }

    .view-section {
        padding: 1.5rem 0.75rem;
    }

    .feature-card,
    .contact-card-3d,
    .inquiry-card-3d,
    .customization-section {
        padding: 1.5rem 1rem !important;
    }
}

/* Theme Toggle Styles */
.theme-toggle-btn:hover {
    color: var(--secondary);
    border-color: var(--secondary-light);
    background-color: rgba(0, 180, 216, 0.05);
}

/* Medical Midnight Sapphire Dark Theme Variables & Styling */
.dark-theme {
    --primary: #f8fafc;
    /* High-contrast clinical ice white */
    --primary-light: #162c4b;
    /* Rich dark sapphire container fill */
    --primary-lightest: #244570;
    /* Steel sapphire accent borders */
    --background: #071328;
    /* Deep Medical Midnight Sapphire background */
    --card-bg: #0e223d;
    /* Polished clinical dark sapphire card container */
    --text-dark: #f8fafc;
    --text-light: #071328;
    --text-muted: #94a3b8;
    /* Soothing slate typography */
    --border-color: #1e3a5f;
    /* Subtle sapphire-blue border */
    --glass-bg: rgba(14, 34, 61, 0.92);
    --glass-border: rgba(0, 180, 216, 0.25);
    color-scheme: dark;
}

.dark-theme .header {
    background-color: rgba(7, 19, 40, 0.94);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.dark-theme .brand-logo-img {
    filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.6)) brightness(1.25);
}

.dark-theme .brand-logo-text-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0, 180, 216, 0.5));
}

.dark-theme .nav-menu {
    background-color: #0e223d !important;
    border-top-color: #1e3a5f !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

.dark-theme .nav-item a {
    color: #f8fafc !important;
    border-bottom-color: rgba(30, 58, 95, 0.8) !important;
}

.dark-theme .nav-item a:hover,
.dark-theme .nav-item.active a {
    background-color: rgba(0, 119, 182, 0.25) !important;
    color: #00b4d8 !important;
}

.dark-theme .nav-backdrop {
    background: rgba(4, 10, 22, 0.75) !important;
}

.dark-theme .hamburger-bar {
    background-color: #f8fafc !important;
}

.dark-theme .menu-toggle.active .hamburger-bar {
    background-color: #00b4d8 !important;
}

.dark-theme .customization-section,
.dark-theme .specs-table-wrapper {
    background-color: #0e223d !important;
    border-color: #1e3a5f !important;
}

.dark-theme .feature-card,
.dark-theme .product-card,
.dark-theme .contact-card,
.dark-theme .procedure-step-card,
.dark-theme .stat-card,
.dark-theme .location-card {
    background-color: #0e223d !important;
    border-color: #1e3a5f !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 119, 182, 0.12) !important;
}

.dark-theme .location-card-overlay {
    background: linear-gradient(180deg, rgba(14, 34, 61, 0.85), rgba(7, 19, 40, 0.95)) !important;
}

.dark-theme .location-card-overlay svg {
    stroke: #00b4d8 !important;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.5));
}

.dark-theme .feature-card:hover,
.dark-theme .product-card:hover,
.dark-theme .contact-card:hover {
    border-color: #0077b6 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 180, 216, 0.25) !important;
}

.dark-theme .trust-banner {
    background: rgba(0, 119, 182, 0.12) !important;
    border-color: rgba(0, 180, 216, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0, 119, 182, 0.15) !important;
}

.dark-theme input,
.dark-theme select,
.dark-theme textarea {
    background-color: #091a34 !important;
    color: #f8fafc !important;
    border-color: #1e3a5f !important;
}

.dark-theme input:focus,
.dark-theme select:focus,
.dark-theme textarea:focus {
    border-color: #0077b6 !important;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.3) !important;
}

.dark-theme .hero-card-list li svg {
    color: #00b4d8;
}

.dark-theme .item-selection-card {
    background-color: var(--primary-light);
}

.dark-theme .customization-section {
    background: var(--card-bg) !important;
}

.dark-theme .visual-tray-item {
    background-color: var(--primary-light);
}

/* Night Theme (Dark Mode) Chatbot Styling */
.dark-theme .chatbot-card {
    background-color: #0e223d !important;
    border-color: #1e3a5f !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 180, 216, 0.2) !important;
}

.dark-theme .chatbot-header {
    background: linear-gradient(135deg, #091a33, #0077b6) !important;
    border-bottom: 1px solid #1e3a5f !important;
}

.dark-theme .chatbot-name {
    color: #ffffff !important;
}

.dark-theme .chatbot-status {
    color: #90e0ef !important;
}

.dark-theme .chatbot-close-btn {
    color: #ffffff !important;
}

.dark-theme .chatbot-messages {
    background-color: #071328 !important;
}

.dark-theme .chat-message.bot {
    background-color: #0e223d !important;
    color: #f8fafc !important;
    border-color: #1e3a5f !important;
}

.dark-theme .chat-message.bot a {
    color: #00b4d8 !important;
}

.dark-theme .quick-reply-chip {
    background-color: #0e223d !important;
    border-color: #1e3a5f !important;
    color: #90e0ef !important;
}

.dark-theme .quick-reply-chip:hover {
    background-color: #0077b6 !important;
    color: #ffffff !important;
    border-color: #00b4d8 !important;
}

.dark-theme .chatbot-input-form {
    background-color: #0e223d !important;
    border-top-color: #1e3a5f !important;
}

.dark-theme .chatbot-input {
    color: #f8fafc !important;
}

.dark-theme .chatbot-input::placeholder {
    color: #64748b !important;
}

.dark-theme .chatbot-send-btn {
    color: #00b4d8 !important;
}

/* Step 2 Side-by-Side Layout */
.step-two-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
}

@media (max-width: 992px) {
    .step-two-container {
        grid-template-columns: 1fr;
    }
}

.visualizer-sidebar {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 90px;
    height: fit-content;
}

.visualizer-sidebar h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
}

.tray-visualizer-container {
    background-color: var(--background);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tray-visualizer-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
    width: 100%;
}

.empty-tray-msg {
    grid-column: 1/-1;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Visualization items */
.visual-tray-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.6rem 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    animation: scaleIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 0;
}

.visual-tray-item .item-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.visual-tray-item span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary);
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    line-height: 1.2;
    max-height: 2.4em;
}



@keyframes scaleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Chatbot Container Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.chatbot-bubble {
    background: #0077b6;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

.chatbot-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.4);
}

.chatbot-notification {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--danger);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

.chatbot-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 480px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-card.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, #0077b6, #005a8e);
    color: #ffffff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.chatbot-header-info {
    display: flex;
    flex-direction: column;
}

.chatbot-name {
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    color: #ffffff !important;
}

.chatbot-status {
    font-size: 0.75rem;
    color: #e0f2fe !important;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: #ffffff !important;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    opacity: 0.9;
    transition: var(--transition-fast);
}

.chatbot-close-btn:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--background);
}

.chat-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.chat-message.bot {
    background-color: var(--card-bg);
    color: var(--primary);
    border: 1px solid var(--border-color);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-message.user {
    background-color: var(--secondary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.quick-replies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.quick-reply-chip {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition-fast);
}

.quick-reply-chip:hover {
    border-color: var(--secondary);
    background-color: rgba(0, 180, 216, 0.05);
}

.chatbot-input-form {
    display: flex;
    border-top: 1px solid var(--border-color);
    background-color: var(--card-bg);
}

.chatbot-input {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    outline: none;
    background-color: transparent;
    color: var(--primary);
}

.chatbot-send-btn {
    background: none;
    border: none;
    color: var(--secondary-dark);
    padding: 0 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-send-btn:hover {
    color: var(--secondary);
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Final Chatbot Mobile Bottom Sheet Override */
@media (max-width: 768px) {
    .chatbot-container {
        position: fixed !important;
        bottom: 16px !important;
        right: 16px !important;
        z-index: 1000 !important;
    }

    .chatbot-bubble {
        width: 52px !important;
        height: 52px !important;
    }

    .chatbot-card {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: min(520px, 85vh) !important;
        max-height: 85vh !important;
        border-radius: 20px 20px 0 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        box-shadow: 0 -10px 40px rgba(11, 19, 43, 0.35) !important;
        z-index: 2000 !important;
        margin: 0 !important;
    }

    .chatbot-messages {
        padding: 1rem !important;
        max-height: calc(min(520px, 85vh) - 120px) !important;
    }

    .chat-message {
        max-width: 88% !important;
    }

    .chatbot-input {
        font-size: 16px !important; /* Prevents unwanted iOS Safari auto-zoom */
    }
}