/* ========================================
   3210.md - Google Workspace Style Design
   Refined to match actual workspace.google.com
   ======================================== */

/* ----------------------------------------
   CSS Variables - Google Workspace Palette
   ---------------------------------------- */
:root {
    /* Primary Colors */
    --gw-blue: #1a73e8;
    --gw-blue-hover: #1557b0;
    --gw-blue-light: rgba(26, 115, 232, 0.04);
    --gw-blue-badge: rgba(26, 115, 232, 0.1);

    /* Text Colors */
    --gw-text-primary: #202124;
    --gw-text-secondary: #5f6368;
    --gw-text-disabled: #80868b;

    /* Surface Colors */
    --gw-surface: #ffffff;
    --gw-background: #f8f9fa;
    --gw-border: #dadce0;
    --gw-border-light: #e8eaed;

    /* Status Colors - Google's palette */
    --gw-success: #1e8e3e;
    --gw-success-light: #e6f4ea;
    --gw-warning: #f9ab00;
    --gw-warning-light: #fef7e0;
    --gw-error: #d93025;
    --gw-error-light: #fce8e6;
    --gw-info: #1a73e8;
    --gw-info-light: #e8f0fe;

    /* Accent Colors - Complementary */
    --gw-violet: #7c3aed;
    --gw-violet-light: #ede9fe;
    --gw-orange: #ea580c;
    --gw-orange-light: #fff7ed;

    /* Shadows - Google style */
    --gw-shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --gw-shadow-md: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    --gw-shadow-lg: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);

    /* Border Radius */
    --gw-radius-sm: 4px;
    --gw-radius-md: 8px;
    --gw-radius-lg: 16px;
    --gw-radius-pill: 100px;
}

/* ----------------------------------------
   Base Styles
   ---------------------------------------- */
html {
    min-height: 100%;
    position: relative;
    overflow-x: hidden; /* Never show horizontal scrollbar */
    overflow-y: scroll; /* Always show vertical scrollbar to prevent layout shift */
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Google Sans Text", "Google Sans", Roboto, Arial, sans-serif;
    color: var(--gw-text-primary);
    background-color: var(--gw-surface);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
    background-color: var(--gw-surface);
}

/* Headings - Google Sans Display style */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Google Sans", "Google Sans Text", Roboto, Arial, sans-serif;
    font-weight: 400;
    color: var(--gw-text-primary);
    letter-spacing: -0.5px;
}

h1, .h1 { font-size: 48px; font-weight: 700; line-height: 58px; }
h2, .h2 { font-size: 36px; font-weight: 700; line-height: 44px; }
h3, .h3 { font-size: 24px; font-weight: 500; line-height: 32px; }
h4, .h4 { font-size: 20px; font-weight: 500; line-height: 28px; }
h5, .h5 { font-size: 18px; font-weight: 500; line-height: 24px; }
h6, .h6 { font-size: 16px; font-weight: 500; line-height: 22px; }

/* Links */
a {
    color: var(--gw-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* No underline for button-styled links */
a.btn:hover,
a.btn:focus,
a.btn:active {
    text-decoration: none;
}

/* ----------------------------------------
   Navbar - Google Workspace Style
   ---------------------------------------- */
.navbar {
    background-color: var(--gw-surface) !important;
    border-bottom: 1px solid var(--gw-border-light);
    padding: 0.75rem 1rem;
    box-shadow: none;
}

.navbar-brand {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--gw-text-primary) !important;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--gw-text-primary) !important;
    text-decoration: none;
}

.navbar-light .navbar-nav .nav-link,
.navbar .nav-link {
    color: var(--gw-text-secondary) !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--gw-radius-sm);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar .nav-link:hover {
    color: var(--gw-blue) !important;
    background-color: var(--gw-blue-light);
    text-decoration: none;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar .nav-link.active {
    color: var(--gw-blue) !important;
}

/* Mobile navbar */
.navbar-toggler {
    border: 1px solid var(--gw-border);
    padding: 0.375rem 0.625rem;
    border-radius: var(--gw-radius-sm);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235f6368' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ----------------------------------------
   Buttons - Google Workspace Pill Style
   ---------------------------------------- */
.btn {
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--gw-radius-sm);
    padding: 8px 16px;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    letter-spacing: 0.25px;
    border-width: 1px;
    text-decoration: none !important;
}

.btn:hover,
.btn:focus,
.btn:active {
    text-decoration: none !important;
}

/* Primary Button - Google Blue Pill */
.btn-primary {
    background-color: var(--gw-blue);
    border-color: var(--gw-blue);
    color: white;
    border-radius: var(--gw-radius-pill);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1b66c9;
    border-color: #1b66c9;
    color: white;
    box-shadow: 0 1px 3px 1px rgba(66, 133, 244, 0.15), 0 1px 2px 0 rgba(60, 64, 67, 0.3);
}

.btn-primary:active {
    background-color: var(--gw-blue-hover);
    border-color: var(--gw-blue-hover);
}

/* Outline Primary Button - Pill */
.btn-outline-primary {
    color: var(--gw-blue);
    border-color: var(--gw-border);
    background-color: var(--gw-surface);
    border-radius: var(--gw-radius-pill);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--gw-blue);
    background-color: var(--gw-info-light);
    border-color: var(--gw-info-light);
}

/* Success Button */
.btn-success {
    background-color: var(--gw-success);
    border-color: var(--gw-success);
    border-radius: var(--gw-radius-pill);
}

.btn-success:hover,
.btn-success:focus {
    background-color: #1a7c36;
    border-color: #1a7c36;
    box-shadow: 0 1px 3px 1px rgba(30, 142, 62, 0.15), 0 1px 2px 0 rgba(60, 64, 67, 0.3);
}

/* Outline Success - Pill */
.btn-outline-success {
    color: var(--gw-success);
    border-color: var(--gw-border);
    background-color: var(--gw-surface);
    border-radius: var(--gw-radius-pill);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    color: var(--gw-success);
    background-color: var(--gw-success-light);
    border-color: var(--gw-success-light);
}

/* Secondary/Light Button */
.btn-secondary,
.btn-light {
    background-color: var(--gw-surface);
    border-color: var(--gw-border);
    color: var(--gw-text-primary);
    border-radius: var(--gw-radius-pill);
}

.btn-secondary:hover,
.btn-light:hover {
    background-color: var(--gw-background);
    border-color: var(--gw-border);
    color: var(--gw-text-primary);
}

/* Danger Button */
.btn-danger {
    background-color: var(--gw-error);
    border-color: var(--gw-error);
    border-radius: var(--gw-radius-pill);
}

.btn-danger:hover {
    background-color: #c5221f;
    border-color: #c5221f;
}

.btn-outline-danger {
    color: var(--gw-error);
    border-color: var(--gw-border);
    border-radius: var(--gw-radius-pill);
}

.btn-outline-danger:hover {
    color: var(--gw-error);
    background-color: var(--gw-error-light);
    border-color: var(--gw-error-light);
}

/* Outline Warning - Pill */
.btn-outline-warning {
    color: #b06000;
    border-color: var(--gw-border);
    background-color: var(--gw-surface);
    border-radius: var(--gw-radius-pill);
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    color: #b06000;
    background-color: var(--gw-warning-light);
    border-color: var(--gw-warning-light);
}

/* Outline Secondary - Pill */
.btn-outline-secondary {
    color: var(--gw-text-secondary);
    border-color: var(--gw-border);
    background-color: var(--gw-surface);
    border-radius: var(--gw-radius-pill);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: var(--gw-text-primary);
    background-color: var(--gw-background);
    border-color: var(--gw-border);
}

/* Outline Info - Pill */
.btn-outline-info {
    color: var(--gw-blue);
    border-color: var(--gw-border);
    background-color: var(--gw-surface);
    border-radius: var(--gw-radius-pill);
}

.btn-outline-info:hover,
.btn-outline-info:focus {
    color: var(--gw-blue);
    background-color: var(--gw-info-light);
    border-color: var(--gw-info-light);
}

/* Gradient Button - Now Pill Blue */
.btn-gradient {
    background: var(--gw-blue);
    border: none;
    color: white;
    border-radius: var(--gw-radius-pill);
}

.btn-gradient:hover {
    background: #1b66c9;
    color: white;
    box-shadow: 0 1px 3px 1px rgba(66, 133, 244, 0.15), 0 1px 2px 0 rgba(60, 64, 67, 0.3);
}

/* Large buttons - More padding, same pill shape */
.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: var(--gw-radius-pill);
}

/* Small buttons */
.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    border-radius: var(--gw-radius-pill);
}

/* ----------------------------------------
   Cards - Clean Google Style
   ---------------------------------------- */
.card {
    background-color: var(--gw-surface);
    border: 1px solid var(--gw-border-light);
    border-radius: var(--gw-radius-md);
    box-shadow: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    box-shadow: var(--gw-shadow-sm);
    border-color: var(--gw-border);
    transform: none;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--gw-border-light);
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-weight: 500;
    padding: 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--gw-border-light);
    padding: 1rem 1.5rem;
}

.card-title {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* Border color variants */
.card.border-primary {
    border-color: var(--gw-blue);
    border-width: 2px;
}

.card.border-success {
    border-color: var(--gw-success);
    border-width: 2px;
}

/* ----------------------------------------
   Forms - Google Material Style
   ---------------------------------------- */
.form-control {
    border: 1px solid var(--gw-border);
    border-radius: var(--gw-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--gw-text-primary);
    background-color: var(--gw-surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
    border-color: var(--gw-blue);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: var(--gw-text-disabled);
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gw-text-secondary);
    margin-bottom: 0.5rem;
}

.form-text {
    font-size: 0.8125rem;
    color: var(--gw-text-secondary);
}

/* Select */
.form-select {
    border: 1px solid var(--gw-border);
    border-radius: var(--gw-radius-sm);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 1rem;
}

.form-select:focus {
    border-color: var(--gw-blue);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* Checkbox & Radio */
.form-check-input:checked {
    background-color: var(--gw-blue);
    border-color: var(--gw-blue);
}

.form-check-input:focus {
    border-color: var(--gw-blue);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* ----------------------------------------
   Badges - Soft Google Style
   ---------------------------------------- */
.badge {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--gw-radius-sm);
}

.badge.bg-primary {
    background-color: var(--gw-info-light) !important;
    color: var(--gw-blue) !important;
}

.badge.bg-success {
    background-color: var(--gw-success-light) !important;
    color: var(--gw-success) !important;
}

.badge.bg-warning {
    background-color: var(--gw-warning-light) !important;
    color: #b06000 !important;
}

.badge.bg-danger {
    background-color: var(--gw-error-light) !important;
    color: var(--gw-error) !important;
}

.badge.bg-info {
    background-color: var(--gw-info-light) !important;
    color: var(--gw-blue) !important;
}

.badge.bg-secondary {
    background-color: var(--gw-background) !important;
    color: var(--gw-text-secondary) !important;
}

/* ----------------------------------------
   Alerts
   ---------------------------------------- */
.alert {
    border-radius: var(--gw-radius-md);
    border: none;
    font-size: 0.9375rem;
    padding: 1rem 1.25rem;
}

.alert-primary,
.alert-info {
    background-color: var(--gw-info-light);
    color: #174ea6;
}

.alert-success {
    background-color: var(--gw-success-light);
    color: #137333;
}

.alert-warning {
    background-color: var(--gw-warning-light);
    color: #8a6d00;
}

.alert-danger {
    background-color: var(--gw-error-light);
    color: #a50e0e;
}

/* ----------------------------------------
   Tables
   ---------------------------------------- */
.table {
    font-size: 0.9375rem;
    color: var(--gw-text-primary);
}

.table thead th {
    font-weight: 500;
    color: var(--gw-text-secondary);
    border-bottom: 1px solid var(--gw-border);
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
    text-transform: none;
    letter-spacing: normal;
}

.table tbody td {
    border-bottom: 1px solid var(--gw-border-light);
    padding: 0.875rem 1rem;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: var(--gw-blue-light);
}

/* ----------------------------------------
   Modals
   ---------------------------------------- */
.modal-content {
    border: none;
    border-radius: var(--gw-radius-lg);
    box-shadow: var(--gw-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--gw-border-light);
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--gw-border-light);
    padding: 1rem 1.5rem;
}

/* ----------------------------------------
   Dropdowns
   ---------------------------------------- */
.dropdown-menu {
    border: 1px solid var(--gw-border-light);
    border-radius: var(--gw-radius-md);
    box-shadow: var(--gw-shadow-md);
    padding: 0.5rem 0;
}

.dropdown-item {
    font-size: 0.9375rem;
    padding: 0.625rem 1rem;
    color: var(--gw-text-primary);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--gw-blue-light);
    color: var(--gw-text-primary);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--gw-info-light);
    color: var(--gw-blue);
}

/* ----------------------------------------
   Pagination
   ---------------------------------------- */
.pagination {
    gap: 0.25rem;
}

.page-link {
    border: none;
    border-radius: var(--gw-radius-pill);
    color: var(--gw-text-primary);
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
    min-width: 2.25rem;
    text-align: center;
}

.page-link:hover {
    background-color: var(--gw-blue-light);
    color: var(--gw-blue);
}

.page-item.active .page-link {
    background-color: var(--gw-info-light);
    color: var(--gw-blue);
}

.page-item.disabled .page-link {
    color: var(--gw-text-disabled);
    background-color: transparent;
}

/* ----------------------------------------
   List Groups
   ---------------------------------------- */
.list-group-item {
    border-color: var(--gw-border-light);
    padding: 1rem 1.25rem;
    color: var(--gw-text-primary);
}

.list-group-item.active {
    background-color: var(--gw-info-light);
    border-color: var(--gw-info-light);
    color: var(--gw-blue);
}

.list-group-item-action:hover {
    background-color: var(--gw-blue-light);
    color: var(--gw-text-primary);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
footer {
    background-color: var(--gw-background);
    border-top: 1px solid var(--gw-border-light);
    color: var(--gw-text-secondary);
    font-size: 0.875rem;
}

/* ----------------------------------------
   Custom Utilities
   ---------------------------------------- */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Text color overrides */
.text-muted {
    color: var(--gw-text-secondary) !important;
}

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

.text-success {
    color: var(--gw-success) !important;
}

.text-danger {
    color: var(--gw-error) !important;
}

.text-warning {
    color: var(--gw-warning) !important;
}

/* Background utilities */
.bg-light {
    background-color: var(--gw-background) !important;
}

.bg-white {
    background-color: var(--gw-surface) !important;
}

/* ========================================
   Landing Page Styles
   ======================================== */

/* Hero Section - Google Workspace Style (Full Width) */
.hero-section {
    padding: 0 0 4rem;
    background: linear-gradient(135deg,
        rgba(232, 240, 254, 0.6) 0%,
        rgba(252, 232, 243, 0.4) 50%,
        rgba(232, 240, 254, 0.6) 100%);
    /* Break out of container */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-top: -1.5rem;
}

/* Tender Banner - Inside Hero Section */
.tender-banner-inline {
    background: var(--gw-blue);
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    /* Extend to full width of hero */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

/* Hero Content Area */
.hero-content {
    padding-top: 3rem;
}

.hero-section h1,
section.text-center.py-5 h1.display-4 {
    font-family: "Google Sans", "Google Sans Text", Roboto, Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    color: var(--gw-text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .hero-section h1,
    section.text-center.py-5 h1.display-4 {
        font-size: 48px;
        line-height: 58px;
    }
}

.hero-section .lead,
section.text-center.py-5 .lead {
    font-size: 1.25rem;
    color: var(--gw-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    position: relative;
}

.timeline-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--gw-surface);
    border: 1px solid var(--gw-border-light);
    border-radius: var(--gw-radius-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.timeline-step:hover {
    border-color: var(--gw-blue);
    box-shadow: var(--gw-shadow-sm);
    transform: none;
}

.timeline-step .icon {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gw-info-light);
    color: var(--gw-blue);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
}

.timeline-step h5 {
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gw-text-primary);
}

.timeline-step p {
    font-size: 0.8125rem;
    color: var(--gw-text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

.timeline-line {
    display: none;
}

@media (min-width: 992px) {
    .timeline-line {
        display: block;
        position: absolute;
        top: 3.5rem;
        left: 12%;
        right: 12%;
        height: 2px;
        background: var(--gw-border);
        z-index: 0;
    }

    .timeline-step {
        position: relative;
        z-index: 1;
    }
}

/* Category Grid */
.category-item {
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: var(--gw-radius-md);
    border: 1px solid transparent;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    cursor: default;
}

.category-item:hover {
    background: var(--gw-info-light);
    border-color: transparent;
    transform: none;
}

.category-item .small,
.category-item span:not(.icon) {
    font-size: 0.875rem;
    color: var(--gw-text-secondary);
    font-weight: 500;
}

.category-item:hover .small,
.category-item:hover span:not(.icon) {
    color: var(--gw-blue);
}

/* CTA Section - Full Width */
.cta-section {
    background: linear-gradient(135deg,
        rgba(232, 240, 254, 0.6) 0%,
        rgba(252, 232, 243, 0.4) 50%,
        rgba(232, 240, 254, 0.6) 100%);
    border: none;
    border-radius: 0;
    padding: 4rem 2rem;
    /* Break out of container */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.cta-section h2 {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.cta-section .card {
    border-width: 2px;
    border-radius: var(--gw-radius-lg);
}

.cta-section .card:hover {
    box-shadow: var(--gw-shadow-md);
}

/* ========================================
   Dashboard & Interior Page Styles
   ======================================== */

/* Stats Cards */
.stat-card {
    background: var(--gw-surface);
    border: 1px solid var(--gw-border-light);
    border-radius: var(--gw-radius-lg);
    padding: 1.5rem;
}

.stat-card:hover {
    box-shadow: var(--gw-shadow-sm);
}

.stat-value {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gw-text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gw-text-secondary);
    font-weight: 500;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gw-text-secondary);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.4;
}

.empty-state-title {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gw-text-primary);
    margin-bottom: 0.75rem;
}

.empty-state-description {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ========================================
   Responsive Adjustments
   ======================================== */

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
    }

    h1, .h1 { font-size: 32px; line-height: 40px; }
    h2, .h2 { font-size: 28px; line-height: 36px; }

    .tender-banner-inline {
        font-size: 0.8125rem;
        padding: 0.625rem 1rem;
    }

    .hero-content {
        padding-top: 2rem;
    }

    .hero-section,
    section.text-center.py-5:first-of-type {
        padding: 0 0 2.5rem;
    }

    .cta-section {
        padding: 2.5rem 1.5rem;
    }
}

/* ========================================
   SVG Timeline Icons
   ======================================== */

/* Timeline icon container with SVG */
.timeline-step .icon-svg {
    width: 48px;
    height: 48px;
    background: var(--gw-info-light);
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-step .icon-svg svg {
    width: 24px;
    height: 24px;
    fill: var(--gw-blue);
}

/* ========================================
   Why 3210.md Section
   ======================================== */

.why-section {
    padding: 5rem 0;
    background-color: var(--gw-surface);
}

.why-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.why-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--gw-info-light);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card .icon-wrapper svg {
    width: 32px;
    height: 32px;
    fill: var(--gw-blue);
}

.why-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--gw-text-primary);
}

.why-card p {
    font-size: 16px;
    color: var(--gw-text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========================================
   Value Proposition Sections
   ======================================== */

.value-section {
    padding: 5rem 0;
}

.value-section.bg-light {
    background-color: var(--gw-background);
}

.value-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-section .lead {
    font-size: 18px;
    color: var(--gw-text-secondary);
    margin-bottom: 2.5rem;
}

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

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 16px;
    color: var(--gw-text-primary);
    line-height: 1.6;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-color: var(--gw-success);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Feature Cards Grid */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Feature Cards Vertical Stack */
.feature-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: var(--gw-surface);
    border: 1px solid var(--gw-border-light);
    border-radius: var(--gw-radius-lg);
    padding: 2rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    box-shadow: var(--gw-shadow-sm);
    border-color: var(--gw-border);
}

.feature-card .icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gw-info-light);
    border-radius: var(--gw-radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: var(--gw-blue);
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gw-text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--gw-text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========================================
   Multi-Column Footer
   ======================================== */

.footer-main {
    background-color: var(--gw-background);
    border-top: 1px solid var(--gw-border-light);
    padding: 4rem 0 2rem;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-column h5 {
    font-size: 14px;
    font-weight: 500;
    color: var(--gw-text-primary);
    margin-bottom: 1rem;
    text-transform: none;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 14px;
    color: var(--gw-text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--gw-blue);
    text-decoration: none;
}

.footer-bottom {
    background-color: var(--gw-background);
    border-top: 1px solid var(--gw-border-light);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-logo {
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gw-text-primary);
    text-decoration: none;
}

.footer-logo:hover {
    color: var(--gw-text-primary);
    text-decoration: none;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal a {
    font-size: 13px;
    color: var(--gw-text-secondary);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--gw-blue);
}

.footer-copyright {
    font-size: 13px;
    color: var(--gw-text-secondary);
    margin: 0;
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* ========================================
   Markdown Content Rendering
   ======================================== */

.markdown-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gw-text-primary);
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    color: var(--gw-text-primary);
    font-weight: 500;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.markdown-content h1:first-child,
.markdown-content h2:first-child,
.markdown-content h3:first-child {
    margin-top: 0;
}

.markdown-content h1 {
    font-size: 1.5em;
    border-bottom: 1px solid var(--gw-border-light);
    padding-bottom: 0.3em;
}

.markdown-content h2 {
    font-size: 1.25em;
}

.markdown-content h3 {
    font-size: 1.1em;
}

.markdown-content p {
    margin-bottom: 1em;
}

.markdown-content p:last-child {
    margin-bottom: 0;
}

.markdown-content a {
    color: var(--gw-blue);
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-content blockquote {
    border-left: 4px solid var(--gw-blue);
    margin: 1em 0;
    padding: 0.5em 1em;
    background: var(--gw-blue-light);
    color: var(--gw-text-secondary);
}

.markdown-content ul,
.markdown-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.markdown-content li {
    margin-bottom: 0.5em;
}

.markdown-content code {
    background: var(--gw-background);
    padding: 2px 6px;
    border-radius: var(--gw-radius-sm);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
}

.markdown-content pre {
    background: var(--gw-background);
    padding: 12px 16px;
    border-radius: var(--gw-radius-sm);
    overflow-x: auto;
    margin: 1em 0;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
}

.markdown-content strong {
    font-weight: 600;
}

.markdown-content em {
    font-style: italic;
}

/* ========================================
   Bidirectional Flow Section (Homepage)
   ======================================== */

.flow-column {
    background: var(--gw-surface);
    border: 1px solid var(--gw-border-light);
    border-radius: var(--gw-radius-lg);
    overflow: hidden;
    height: 100%;
}

.flow-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gw-border-light);
}

.flow-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
}

.flow-header-publish {
    background: var(--gw-info-light);
    color: var(--gw-blue);
}

.flow-header-found {
    background: var(--gw-success-light);
    color: var(--gw-success);
}

.flow-steps {
    padding: 1.5rem;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
}

.flow-step:not(:last-child) {
    border-bottom: 1px solid var(--gw-border-light);
}

.flow-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--gw-info-light);
    color: var(--gw-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.875rem;
}

.flow-step-number-green {
    background: var(--gw-success-light);
    color: var(--gw-success);
}

.flow-step-content h5 {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gw-text-primary);
}

.flow-step-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gw-text-secondary);
}

/* ========================================
   Member Benefits Cards (Homepage)
   ======================================== */

.member-benefit-card {
    background: var(--gw-surface);
    border: 1px solid var(--gw-border-light);
    border-radius: var(--gw-radius-lg);
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.member-benefit-card:hover {
    box-shadow: var(--gw-shadow-sm);
    border-color: var(--gw-border);
}

.member-benefit-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gw-border-light);
}

.member-benefit-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
}

.member-benefit-header-blue {
    background: var(--gw-violet-light);
}

.member-benefit-header-blue svg {
    fill: var(--gw-violet);
}

.member-benefit-header-blue h4 {
    color: var(--gw-violet);
}

.member-benefit-header-green {
    background: var(--gw-orange-light);
}

.member-benefit-header-green svg {
    fill: var(--gw-orange);
}

.member-benefit-header-green h4 {
    color: var(--gw-orange);
}

.member-benefit-list {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.member-benefit-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gw-text-secondary);
    line-height: 1.5;
}

.member-benefit-list li:last-child {
    margin-bottom: 0;
}

.member-benefit-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-color: var(--gw-violet);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.member-benefit-list-violet li::before {
    background-color: var(--gw-violet);
}

.member-benefit-list-orange li::before {
    background-color: var(--gw-orange);
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }

    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
}
