html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}



body {
    background: #f5f7fb;
}

.app-navbar {
    min-height: 56px;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #07111f;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: 0;
}

.app-brand:hover {
    color: #07111f;
}

.app-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 30%, #ffffff 0 10%, transparent 11%),
        linear-gradient(135deg, #0ea5e9, #2563eb 48%, #f59e0b);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.estimator-page {
    padding: 60px 0 80px;
}

.estimator-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #111827;
}

.estimator-hero p {
    font-size: 18px;
    color: #4b5563;
    max-width: 720px;
    margin: 12px auto 30px;
}

.zip-pill {
    max-width: 520px;
    background: #ffffff;
    border-radius: 999px;
    padding: 22px 38px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 20px;
}

    .zip-pill strong {
        font-weight: 800;
    }

.zip-icon {
    color: #e11d48;
    font-size: 24px;
}

.estimator-card {
    max-width: 760px;
    background: #ffffff;
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    margin-bottom: 70px;
}

.estimate-btn {
    border-radius: 12px;
    font-weight: 700;
    padding: 14px;
}

.estimate-result {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 16px;
    padding: 24px;
}

    .estimate-result h4 {
        font-weight: 800;
        color: #065f46;
    }

.estimate-price {
    font-size: 32px;
    font-weight: 900;
    color: #047857;
}

.estimate-progress {
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    padding: 18px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

.estimate-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.estimate-progress-header strong {
    color: #0f172a;
    font-size: 1rem;
}

.estimate-progress-header span {
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 10px;
}

.estimate-progress-track {
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 16px;
}

.estimate-progress-fill {
    width: 18%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #22c55e);
    transition: width 0.45s ease;
}

.estimate-progress-steps {
    display: grid;
    gap: 10px;
}

.estimate-progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.estimate-progress-marker {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: all 0.2s ease;
}

.estimate-progress-step.is-active {
    color: #1d4ed8;
}

.estimate-progress-step.is-active .estimate-progress-marker {
    border-color: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.estimate-progress-step.is-active .estimate-progress-marker::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2563eb;
    animation: progressPulse 1s ease-in-out infinite;
}

.estimate-progress-step.is-complete {
    color: #047857;
}

.estimate-progress-step.is-complete .estimate-progress-marker {
    border-color: #22c55e;
    background: #22c55e;
    color: #ffffff;
}

.estimate-progress-step.is-complete .estimate-progress-marker::after {
    content: "\2713";
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

@keyframes progressPulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

.services-section h2 {
    font-size: 34px;
    font-weight: 900;
    color: #111827;
}

.service-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 28px 22px;
    min-height: 190px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
    }

.service-icon {
    font-size: 34px;
    margin-bottom: 18px;
}

.service-card h5 {
    font-weight: 800;
    color: #111827;
}

.service-card p {
    color: #4b5563;
    margin-bottom: 0;
}

.service-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 28px 22px;
    min-height: 190px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
        border-color: #0d6efd;
    }

.subcategory-card {
    cursor: pointer;
}

    .subcategory-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(15,23,42,.15);
        border-color: #2563eb;
    }

.back-link {
    color: #2563eb;
    font-weight: 600;
    font-size: 15px;
    transition: .2s;
}

    .back-link:hover {
        color: #1d4ed8;
    }


.project-capture-card {
    max-width: 720px;
    background: #ffffff;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
}

    .project-capture-card h1 {
        font-size: 2rem;
        font-weight: 700;
        color: #111827;
        line-height: 1.2;
        margin-bottom: 12px;
        text-wrap: balance;
    }

@media (max-width: 768px) {

    .project-capture-card h1 {
        font-size: 1.6rem;
    }
}

.capture-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #eef2ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.project-textarea {
    border-radius: 14px;
    resize: vertical;
}

.project-capture-card .form-control {
    border-radius: 12px;
}


.estimate-ai-output {
    white-space: pre-wrap;
    font-family: inherit;
    margin-bottom: 0;
    color: #065f46;
    font-size: 15px;
    line-height: 1.6;
}



.seo-content {
    border-top: 1px solid #e5e7eb;
    padding-top: 28px;
    text-align: left;
}

    .seo-content h2 {
        font-size: 1.4rem;
        font-weight: 800;
        color: #111827;
        margin-bottom: 14px;
    }

    .seo-content h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #111827;
        margin-top: 22px;
        margin-bottom: 12px;
    }

    .seo-content p,
    .seo-content li {
        color: #4b5563;
        line-height: 1.65;
        font-size: 0.98rem;
    }



.back-to-categories {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #374151;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
    transition: all .2s ease;
}

    .back-to-categories:hover {
        background: #f9fafb;
        border-color: #d1d5db;
        color: #111827;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(0,0,0,.08);
    }

.back-arrow {
    font-size: 14px;
    line-height: 1;
}
