:root {
    --primary-color: #0b875b;
    --primary-dark: #076143;
    --accent-color: #ff9f1c;
    --secondary-color: #f5f7fb;
    --surface-color: #ffffff;
    --border-soft: #e1e5ee;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --text-light: #ffffff;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f3f4f6;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    color: var(--text-dark);
}

h1 {
    font-size: 2.15rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4, h5, h6 {
    font-size: 1.1rem;
}

p {
    color: #000000;
    font-weight: 500;
}

small,
label {
    color: var(--text-muted);
}

.bg-springmarks {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: var(--text-light);
}

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

.btn-springmarks {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: var(--text-light);
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(11, 135, 91, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-springmarks:hover,
.btn-springmarks:focus {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-light);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(7, 97, 67, 0.4);
}

.btn-springmarks-green {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-light);
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(7, 97, 67, 0.4);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-springmarks-green:hover,
.btn-springmarks-green:focus {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(7, 97, 67, 0.5);
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger {
    border-radius: 999px;
}

.card-custom {
    border-radius: 18px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-soft);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.home-page .home-feature-card {
    background-color: #076143;
    color: #ffffff;
    border: none;
    box-shadow: 0 16px 42px rgba(7, 97, 67, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.home-page .home-feature-card h3 {
    color: #ffffff;
}

.home-page .home-feature-card p {
    color: #ffffff !important;
}

.home-page .home-feature-card .text-springmarks {
    color: var(--accent-color) !important;
}

.home-page .home-feature-card:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(148, 63, 4, 0.45);
}

.home-page .home-feature-card:hover .text-springmarks {
    color: #ffffff !important;
}

.navbar {
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: 0.04em;
}

.home-page .navbar-overlap {
    position: relative;
    z-index: 10;
    background: transparent !important;
    box-shadow: none;
}

.home-page .brand-logo-overlap {
    position: absolute;
    left: 0;
    top: 8px;
    height: 112px;
}

@media (max-width: 768px) {
    .home-page .brand-logo-overlap {
        position: static;
        top: auto;
        height: 72px;
        margin-right: 8px;
    }
}

input,
select,
textarea,
button {
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: 12px !important;
}

.form-control,
.form-select {
    border: 1px solid var(--border-soft);
    box-shadow: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(11, 135, 91, 0.65);
    box-shadow: 0 0 0 3px rgba(11, 135, 91, 0.12);
}

.hero-section {
    background: radial-gradient(circle at top left, rgba(11, 135, 91, 0.36), transparent 55%), radial-gradient(circle at bottom right, rgba(255, 159, 28, 0.25), transparent 55%), linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)), url('../img/last-mile-delivery-springmarks.webp');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 110px 0 90px;
    margin-top: 0;
    text-align: center;
}

.text-hero-heading {
    color: #f9fafb;
    text-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
}

.text-hero-subtitle {
    color: rgba(241, 245, 249, 0.92);
    font-weight: 400;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 999px;
    padding: 4px 10px;
    border: 3px solid #076143;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
}

.logo-badge img {
    display: block;
    max-height: 90px;
    height: auto;
    width: auto;
}

.home-page .brand-logo-overlap img {
    max-height: 96px;
}

.status-track {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-top: 4px;
}

.status-step {
    display: flex;
    align-items: center;
    color: #999;
}

.status-step-active {
    color: var(--primary-color);
    font-weight: 600;
}

.status-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    margin-right: 4px;
    background-color: #fff;
}

.status-step-active .status-bullet {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.status-line {
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
}

.status-line-active {
    background-color: var(--primary-color);
}

.status-track-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    margin-top: 4px;
}

.status-step-vertical {
    display: flex;
    align-items: flex-start;
    color: #999;
}

.status-step-vertical-active {
    color: var(--primary-color);
    font-weight: 600;
}

.status-bullet-vertical {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background-color: #fff;
    margin-right: 6px;
    margin-top: 3px;
}

.status-bullet-vertical-active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.status-line-vertical {
    width: 2px;
    flex-grow: 1;
    background-color: #e0e0e0;
}

.status-line-vertical-active {
    background-color: var(--primary-color);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    .card-custom {
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    }
    .navbar .container,
    .navbar .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
