html {
  font-size: 14px;
}
/* ====================== PRINT STYLES ====================== */
/* Hide print-only elements on screen */
.print-only {
    display: none !important;
}

.scrollable-table {
    max-height: 650px; /* Adjust this height as needed */
    overflow-y: auto;
}

/* ====================== PRINT STYLES ====================== */
@media print {
    /* Hide everything we don't want */
    .dont-print,
    .no-print,
    button:not(.no-print),
    .offcanvas,
    .footer,
    nav,
    .progress-barheader,
    .hero-overlay,
    .carousel,
    .accordion-button::after,
    .printBlocker,
    form input[type="checkbox"] {
        display: none !important;
    }

    /* Show only what should print */
    body.printing * {
        visibility: visible !important;
    }

    body.printing .dont-print,
    body.printing .no-print {
        display: none !important;
    }

    /* Force clean white background */
    body, .service-card,.service-cardNH, .accordion-item {
        background-color: white !important;
        color: #000 !important;
    }
    .service-cardNH{
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
   
    /* Improve tables/accordions for print */
    .accordion {
        border: 1px solid #ddd !important;
    }

    .accordion-item {
        break-inside: avoid;
        margin-bottom: 15px !important;
        border: none #ccc !important;
    }

    .accordion-button {
        background-color: #198754 !important;
        color: white !important;
        font-weight: bold !important;
        padding: 12px 15px !important;
        border: none !important;
    }

    .accordion-body {
        padding: 15px !important;
    }

   
    

    /* Print Header */
    .print-header {
        text-align: center;
        margin-bottom: 0px;
        padding-bottom: 20px;
        border-bottom: 5px solid #198754;
    }

        .print-header img {
            width: 120px;
            height: 90px;
            border-radius: 50%;
            margin-bottom: 15px;
        }

    /* Hide hero images and fancy backgrounds */
    .hero, .full-width-hero, .hero-overlay {
        display: none !important;
    }

    /* Make sure appointment details print nicely */
    .service-card {
        
        padding: 20px !important;
        margin-bottom: 25px !important;
        box-shadow: none !important
    }

    /* Page breaks */
    .accordion-item {
    page-break-inside: avoid;
    }

    .total-bar {
        page-break-inside: avoid;
    }

    .scrollable-table {
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
    }


    /* ====================== SIGNATURE AREA ====================== */
    .signature-area {
        margin-top: 60px;
        page-break-inside: avoid;
        page-break-before: auto;
    }

    .signature-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-top: 30px;
    }

    .signature-box {
        border-top: 2px solid #333;
        padding-top: 15px;
        text-align: center;
    }

        .signature-box p {
            margin: 5px 0 0 0;
            font-size: 0.95rem;
            color: #555;
        }

    .signature-label {
        font-weight: bold;
        font-size: 1.05rem;
        margin-bottom: 8px;
        color: #198754;
    }

    .date-line {
        margin-top: 25px;
        text-align: center;
        font-style: italic;
        color: #666;
    }
    /* Show print-only header & signature */
    .print-only {
        display: block !important;
        visibility: visible !important;
    }
    /* === SERVICE ITEMS PRINT FIX === */


        /* Hide everything we don't want in print */
        .dont-print,
        .no-print,
        .offcanvas,
        button:not(.no-print),
        .carousel,
        .hero,
        .custom-checkbox label span:first-child, /* "Agree?" text */
        .accordion-button::after,
        .printBlocker {
            display: none !important;
        }
        /* Make the whole accordion clean */
        .accordion.service-card,
        .accordion-item.print-service-item {
            
            
            
            background-color: white !important;
        }

    .printable-report,
    .printable-report * {
        color: #000000 !important; /* Force all text black */
        background-color: #ffffff !important; /* Force white background */
        -webkit-print-color-adjust: exact; /* Better color handling in Chrome/Edge */
        print-color-adjust: exact; /* Standard version */
    }
    /* Service Items */
    .print-service-item {
        margin: 10px 0 20px 0 !important; /* tight vertical spacing */
        page-break-inside: avoid !important;
        background-color: white !important;
    }

    /* Green Header with Label */
    .print-service-header,
    .print-service-header .accordion-button {
        background-color: #198754 !important;
        color: black !important;
        padding: 14px 18px !important;
        font-size: 1.35rem !important;
        font-weight: bold !important;
        display: block !important;
        visibility: visible !important;
        margin: 0 !important;
        border: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        margin-left: 0 !important;
    }
            .print-service-header .service-title {
                color: black !important;
                font-size: 1.35rem !important;
            }

    .disabled {
        opacity: 1 !important;
        filter: none !important;
    }

    .accordion-button[disabled] {
        opacity: 1 !important;
        color: inherit !important;
        background-color: inherit !important;
    }
        /* ==================== COST + STATUS ROW ==================== */
        .accordion-body {
            display: block !important;
            visibility: visible !important;
            background-color: #f8f9fa !important;
            padding: 20px !important;
            
        }
    /* Service Items - Tight layout */
    .print-service-item {
        border: none !important;
        margin: 12px 0 !important; /* smaller margin */
        page-break-inside: avoid !important;
        background-color: white !important;
        color: black !important;
    }
        .d-flex.align-items-center.gap-3 {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            width: 100% !important;
        }
        /* Cost */
        .cost-value {
            font-size: 1.2rem !important;
            font-weight: bold !important;
            
            display: block !important;
            margin-left: 15px !important;
        }

    .total-bar {
        font-size: 1.2rem !important;
        font-weight: bold !important;
        color: black !important;
        display: block !important;
        border: none !important;
    }
        /* Hide the actual checkbox but show status instead */
        .service-checkbox,
        .checkmark,
        input[type="checkbox"] {
            display: none !important;
        }
        /* Show nice status text instead of checkbox */
        .custom-checkbox {
            display: block !important;
        }

            .custom-checkbox::after {
                content: attr(data-status) !important; /* we'll set this with JS or Razor */
                font-weight: bold !important;
            }
        /* Better status badges */
        .badge {
            display: inline-block !important;
            padding: 6px 12px !important;
            font-size: 1rem !important;
        }
    /* Make sure items start right after header */
    .printable,
    .accordion-wrapper {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Reduce top spacing */
    .full-width-section,
    .shadow-2xl,
    .card-body,
    .accordion-wrapper,
    #checklistAccordion {
        margin-top: 0 !important;
        padding-top: 10px !important;
    }


    }


@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;
}
.accordion-wrapper.disabled {
    opacity: 0.6;
    pointer-events: none;
}

    .accordion-wrapper.disabled .accordion-button {
        cursor: not-allowed;
    }
.next-button.finish-mode::after {
    content: "Finish ✓";
}

.next-button.finish-mode {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.next-button:not(.finish-mode)::after {
    content: "Next →";
}
.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;
}
.service-wrapper {
    overflow: visible !important; /* breaks clipping chain if possible */
}

.service-card, .form-check.form-switch-lg, .card-body, .row.g-3 {
    overflow: visible !important; /* force on all likely clippers */
}

/* Your existing .hover-trigger and .hover-preview, but constrain + no growth */
.hover-preview {
    position: absolute;
    top: -9999px; /* hide off-screen by default instead of opacity (more reliable for some browsers) */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: #ffffff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    pointer-events: none;
    width: 260px;
    max-height: 400px; /* ← cap height so it doesn't push card or go crazy */
    overflow: hidden; /* or auto if you want scroll on ultra-tall */
    text-align: center;
    transition: top 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
.hover-trigger:hover .hover-preview {
    top: 2px;
    
    opacity: 1;
}

/* Arrow (adjust if needed) */
.hover-preview::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
}

/* Image - force contain, no stretching card */
.hover-preview img {
    max-width: 100%; /* keep full container width */
    max-height: 720px; /* ← bigger! (or 800px, 90vh, etc.) */
    height: auto;
    width: auto;
    display: block;
    object-fit: contain; /* preserves aspect ratio, no distortion */
    border-radius: 0.25rem;
    transition: transform 0.3s ease; /* optional smooth zoom feel */
}
@media (min-width: 768px) {
    .carousel-inner {
        display: flex;
    }

    .carousel-item {
        margin-right: 0;
        flex: 0 0 50%; /* 2 items visible */
        display: block;
    }
    /* For 3 items: flex: 0 0 33.333%; */
}
.image-container {
    height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    overflow: hidden;
}

.hover-trigger:hover .image-container {
    height: auto;
    opacity: 1;
    margin-top: 1rem; /* extra space when visible */
}

.hover-trigger:hover .hover-image {
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

/* Optional: subtle card hover effect */
.service-wrapper:hover {
    background: rgba(255,255,255,0.08) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* Logo Container */
.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    animation: logoToBottomLeft 2.8s ease-out forwards;
}



/* The logo image */
.logo-animate {
    width: 380px;
    height: auto;
    max-width: 90vw;
    object-fit: contain;
    display: block;
}
.logo-fluid {
    width: clamp(320px, 60vw, 520px);
    height: clamp(320px, 60vw, 520px);
    transition: all 0.4s ease;
}
/* Animation: Center → Bottom Left */
@keyframes logoToBottomLeft {
    0% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

/* Responsive - size only (position stays bottom-left) */
@media (max-width: 992px) {
    .logo-animate {
        width: 300px !important;
    }
}

@media (max-width: 768px) {
    .logo-animate {
        width: 240px !important;
    }
}

@media (max-width: 576px) {
    .logo-animate {
        width: 190px !important;
    }
}
/* ====================== STATIC LOGO FOR CONTACT PAGE ====================== */
/* Same base size as logo-animate */
.logo-container-static {
    position: absolute;
    bottom: 0px;
   
    z-index: 2;
}

.logo-static {
    width: 380px; /* Same as .logo-animate */
    height: auto;
    max-width: 90vw;
    object-fit: contain;
    display: block;
    
    transition: transform 0.3s ease;
}

    /* Hover effect (subtle and consistent) */
    .logo-static:hover {
        transform: scale(1.05);
    }

/* Responsive sizes - EXACTLY matching your .logo-animate */
@media (max-width: 992px) {
    .logo-static {
        width: 300px !important;
    }
}

@media (max-width: 768px) {
    .logo-static {
        width: 240px !important;
        bottom: 30px !important;
        
    }
}

@media (max-width: 576px) {
    .logo-static {
        width: 190px !important;
        bottom: 25px !important;
       
    }
}

.full-width-hero {
    position: relative;
    width: 100vw; /* full viewport width */
    margin-left: calc(-50vw + 50%); /* centers it and breaks out of container */
    margin-right: calc(-50vw + 50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh; /* or 80vh, 100vh for taller hero */
    display: flex;
    align-items: center;
    justify-content: center;
}
.full-width-hero2 {
    position: relative;
    width: 100vw; /* full viewport width */
    margin-left: calc(-50vw + 50%); /* centers it and breaks out of container */
    margin-right: calc(-50vw + 50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh; /* or 80vh, 100vh for taller hero */
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .full-width-hero2 {
        min-height: 85vh; /* Slightly shorter on mobile */
    }
}
@media (min-width: 1200px) {
    .full-width-hero2 {
        min-height: 65vh; /* Taller hero on big screens */
    }
}

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45); /* dark overlay – adjust opacity */
        z-index: 1;
    }

    .full-width-hero > .container {
        z-index: 2; /* content above overlay */
    }

    /* cool header for menu*/
    .cool-link {
        position: relative;
        font-weight: 500;
        transition: color 0.3s ease;
        color: white;
    }
    /* Hover lift + glow effect */
    .nav-link2 {
        transition: all 0.25s ease;
        border-left: 4px solid transparent;
        text-decoration: none !important;
    }


        .nav-link2:hover,
        .nav-link2:focus {
            background: rgba(255, 255, 255, 0.08);
            color: white !important;
            border-left-color: #3b82f6;
            transform: translateX(6px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
        }

        .nav-link2.active {
            background: linear-gradient(90deg, rgba(59, 130, 246, 0.2) 0%, transparent 100%);
            border-left-color: #3b82f6;
            font-weight: 600;
            text-decoration: none !important;
            color: white;
        }

    /* Subtle shadow on offcanvas */
    .shadow-xl {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
    }

    /* Gradient primary (you can change color) */
    .bg-gradient-primary {
        background: linear-gradient(135deg, #3b82f6, #2563eb);
    }

    .btn-aqua {
        background: linear-gradient(90deg, #00ffff, #00c8ff);
        color: #0f172a !important; /* dark text for readability */
        border: none;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    }

        .btn-aqua:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 255, 255, 0.6);
            background: linear-gradient(90deg, #00e6ff, #00b3e6);
        }

        .btn-aqua:active {
            transform: translateY(1px);
            box-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
        }
    /* Hover text color */
    .cool-link:hover {
        color: aqua; /* Bootstrap primary */
    }



    /* Animated underline */
    .cool-link::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: aqua;
        transition: width 0.3s ease;
    }

    /* On hover expand underline */
    .cool-link:hover::after {
        width: 100%;
    }

    /* Make Decline checkbox red */
    .decline-checkbox:checked + .checkmark {
        background-color: #dc3545 !important; /* Red background when checked */
        border-color: #dc3545 !important;
    }

        .decline-checkbox:checked + .checkmark:after {
            border-color: white !important; /* White checkmark */
        }

    /* Optional: Make the label text red when checked */
    .decline-checkbox:checked ~ span:first-child {
        color: #dc3545;
        font-weight: 600;
    }


    .hamburger {
        width: 30px;
        height: 22px;
        position: relative;
        display: inline-block;
        cursor: pointer;
    }

        .hamburger span {
            background: #000; /* change color as needed */
            height: 3px;
            width: 100%;
            position: absolute;
            left: 0;
            border-radius: 3px;
            transition: all 0.3s ease;
        }

            .hamburger span:nth-child(1) {
                top: 0;
            }

            .hamburger span:nth-child(2) {
                top: 9px;
            }

            .hamburger span:nth-child(3) {
                top: 18px;
            }

    * /*Playground CSS Changes*/
    #flyoutMenu {
        width: 280px; /* adjust to your sidebar width */
    }

    #main-content {
    }

    .full-width-section {
        width: 100vw; /* full viewport width */
        margin-left: calc(-50vw + 50%); /* centers it relative to viewport */
        margin-right: calc(-50vw + 50%);
    }

    /* When offcanvas is shown */
    #flyoutMenu.show ~ #main-content {
    }

    /* Optional: if you want the button to move too */
    .btn-toggler.show ~ #main-content {
    }

    .year-item {
        background: none;
        border: none;
        color: #000000 !important;
        text-decoration: none !important;
        display: inline-block;
        width: 45px;
        text-align: center;
        padding: 2px 0;
        transition: all 0.1s ease;
        cursor: pointer;
    }

        .year-item:focus {
            outline: none;
        }

    /* This is the magic part: it simulates bolding without adding width */
    .fw-bold.text-danger {
        font-weight: 700 !important;
        /* Optional: add a slight glow instead of a jump */
        text-shadow: 0.1px 0px 0px black;
    }
    /* Keeps it black even when you hover over it */
    .year-item:hover {
        color: #000000 !important;
        text-decoration: none !important;
        background-color: #f0f0f0; /* Optional: adds a light grey box on hover instead of an underline */
        border-radius: 4px;
    }

    .year-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
        gap: 8px;
        justify-items: center; /* Keeps everything lined up in columns */
        padding: 10px;
    }

    .btn-header-match {
        background-color: #198754 !important; /* The exact Bootstrap blue from your image */
        color: white !important;
        border: none !important;
        border-radius: 0 !important; /* Makes it rectangular like the headers */
        font-weight: bold !important;
        text-transform: uppercase; /* Matches the "MOTORIZED DIESEL" look */
        padding: 15px 40px;
        font-size: 1.1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.2s;
    }

        .btn-header-match:hover {
            background-color: #198754 !important; /* Slightly darker blue on hover */
            color: white !important;
        }

    .main-category-btn:hover {
        background-color: #198754 !important; /* A slightly darker, richer blue */
        color: #ffffff !important; /* Forces text to stay pure white */
    }

    /* Update your continue button to match */
    .btn-header-match:hover {
        background-color: #0b5ed7 !important;
        color: #ffffff !important;
    }

    /* Ensure the transition is smooth for the background only */
    .main-category-btn, .btn-header-match {
        transition: background-color 0.2s ease-in-out;
    }

        .main-category-btn:hover::after {
            filter: brightness(1) !important;
        }

    .class-toggle-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
        background: #ffffff; /* Solid white background */
        border: 1px solid #ced4da; /* Slightly darker border for definition */
        border-radius: 4px;
        color: #495057; /* Darker charcoal text before selection */
        font-size: 0.95rem;
        font-weight: 600; /* Semi-bold for better readability */
        transition: all 0.2s ease-in-out;
        margin-bottom: 8px;
    }

        /* When the button is SELECTED/OPEN */
        .class-toggle-btn:not(.collapsed) {
            border-color: #198754; /* Your header blue */
            color: #198754;
            background-color: rgba(13, 110, 253, 0.08); /* Soft blue tint */
            box-shadow: inset 0 0 0 1px #0d6efd; /* Makes the border look slightly thicker when active */
        }

        /* Hover effect for unselected buttons */
        .class-toggle-btn.collapsed:hover {
            border-color: #adb5bd;
            color: #212529; /* Almost black on hover for feedback */
            background-color: #f8f9fa;
        }

    .modern-card {
        width: 100%;
        max-width: 650px;
        border-radius: 20px;
        border: 0;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(12px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }

        .modern-card:hover {
            box-shadow: 0 20px 50px rgba(0,0,0,0.12);
        }

    .form-control,
    .form-select {
        border-radius: 12px;
    }

        .form-control:focus,
        .form-select:focus {
            border-color: #198754;
            box-shadow: 0 0 0 0.25rem rgba(25,135,84,.25);
        }

    .modern-btn {
        border-radius: 12px;
        transition: all 0.3s ease;
    }

        .modern-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(25,135,84,.4);
        }

    /* Fix for link styling in header */
    .card-header .btn-link {
        text-decoration: none;
        font-size: 1.2rem;
    }
    /*Vehicle Age Selection Menu*/
    /* Custom Scrollbar to match the green theme */
    .list-group::-webkit-scrollbar {
        width: 8px;
    }

    .list-group::-webkit-scrollbar-thumb {
        background: #198754;
        border-radius: 10px;
    }

    .list-group2::-webkit-scrollbar {
        width: 8px;
    }

    .list-group2::-webkit-scrollbar-thumb {
        background: #0e2a4d;
        border-radius: 10px;
    }

    .term-item {
        color: #495057; /* Darker text for readability */
        border-left: 5px solid transparent;
        transition: all 0.2s ease;
    }


        .term-item:hover {
            background-color: #f8f9fa;
            color: #0e2a4d;
            border-left: 5px solid #198754;
            padding-left: 1.75rem; /* Subtle "push" effect */
        }

        .term-item.active {
            background-color: #198754 !important;
            color: White !important;
            border-left: 5px solid #198754 !important;
        }

    .term-item2 {
        color: white; /* Darker text for readability */
        border-left: 5px solid transparent;
        transition: all 0.2s ease;
    }

    .hover-lift {
        transition: all 0.25s ease;
    }

        .hover-lift:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
        }

    .bg-gradient-primary {
        background: linear-gradient(90deg, #0d6efd 0%, #0b5ed7 100%);
    }

    .view-more-btn[aria-expanded="true"] .bi-chevron-down {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .view-more-btn[aria-expanded="true"] .btn-text {
        content: "View Less";
        /* We update text via JS below */
    }

    .term-item2:hover {
        background-color: #f8f9fa;
        color: #495057;
        border-left: 5px solid #0e2a4d;
        padding-left: 1.75rem; /* Subtle "push" effect */
    }

    .term-item2.active {
        background-color: #0e2a4d !important;
        color: White !important;
        border-left: 5px solid #495057 !important;
    }

    .service-cardNH {
        background: linear-gradient(120deg, #e2e8f0 0%, #ffffff 100%);
        border: 1px solid rgba(59, 130, 246, 0.18);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .service-headerNH {
        background: linear-gradient(120deg, #e2e8f0 0%, #ffffff 100%);
        border: 1px solid rgba(59, 130, 246, 0.18);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .service-glowNH {
        background: #0f172a;
        position: relative;
        overflow: hidden;
    }

    .service-card {
        background: linear-gradient(120deg, #e2e8f0 0%, #ffffff 100%);
        border: 1px solid rgba(59, 130, 246, 0.18);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .service-header {
        background: linear-gradient(120deg, #e2e8f0 0%, #ffffff 100%);
        border: 1px solid rgba(59, 130, 246, 0.18);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .service-glow {
        background: #0f172a;
        position: relative;
        overflow: hidden;
    }


        .service-glow::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(120deg, #e2e8f0 0%, #ffffff 100%);
            pointer-events: none;
        }

    .service-card:hover {
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        transform: translateY(-4px);
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px); /* Safari support */
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 1.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    }

    .icon-row {
        display: flex;
        justify-content: center;
        gap: 2.5rem; /* space between icons */
        flex-wrap: wrap;
        margin: 3rem 0;
    }

    .icon-item:first-child {
        margin-right: auto;
    }

    .glass-glow-wrapper {
        background: rgba(20, 20, 50, 0.35);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 1.75rem;
        border: 1px solid rgba(100, 200, 255, 0.25);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 180, 255, 0.15);
        padding: 2.5rem 1rem;
        margin: 2.5rem auto;
        max-width: 800px;
        position: relative;
        overflow: hidden;
    }

        .glass-glow-wrapper::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 1.75rem;
            background: linear-gradient(45deg, transparent, rgba(0, 242, 254, 0.4), transparent);
            opacity: 0.6;
            filter: blur(12px);
            pointer-events: none;
        }

    .icon-item {
        text-align: center;
        transition: all 0.3s ease;
        color: white;
    }

    .icontessttingggjunk-item {
        text-align: center;
        transition: all 0.3s ease;
        color: white;
    }

    .icon-item:hover {
        transform: translateY(-10px) scale(1.15);
        color: #00d4ff; /* cyan accent for pop – change to your brand color */
    }

    .icon-item i {
        font-size: 5rem; /* large icons – adjust as needed (4rem–7rem) */
        display: block;
        margin-bottom: 1rem;
        filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
    }

    .icon-item span {
        font-size: 1.2rem;
        font-weight: 500;
        opacity: 0.9;
    }





    .hover-bg-light:hover {
        background: rgba(255,255,255,0.06) !important;
    }

    .toggle-desc-btn .bi-chevron-down,
    .toggle-desc-btn .bi-chevron-up {
        transition: transform 0.3s ease;
    }

    .search-glow-container {
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
        padding: 2px; /* creates the glowing border thickness */
    }

    .glowing-border-always {
        border: none;
        background: white;
        border-radius: 10px;
        transition: all 0.4s ease;
    }

    /* Cycling glow border */
    .search-glow-container::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 12px;
        background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
        background-size: 300% 300%;
        animation: borderGlow 8s ease infinite;
        z-index: -1;
    }


    @keyframes borderGlow {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    /* Optional: stronger glow on focus */
    .search-glow-container:has(input:focus) {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
    }

    .toggle-desc-btn .bi-chevron-up {
        transform: rotate(180deg); /* this makes the up arrow point down when in "View Less" state */
    }

    .navbarD {
        background: linear-gradient(270deg, #1e3a8a, #312e81, #4f46e5, #7c3aed);
        background-size: 800% 800%;
        animation: gradientFlow 18s ease infinite;
    }

    @keyframes gradientFlow {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    /*Calender CSS*/
    .calendar-day-cell {
        height: 80px;
        position: relative; /* Crucial for absolute positioning of children */
        cursor: pointer;
        vertical-align: top !important;
    }

    /* This wrapper stays inside the cell but pops out when expanded */
    .cell-content-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 8px;
        background-color: inherit;
        transition: all 0.2s ease-in-out;
        z-index: 1;
        border: 1px solid #dee2e6;
    }

    /* Floating Expansion Logic */
    .calendar-day-cell.expanded .cell-content-wrapper {
        position: absolute;
        height: auto;
        min-height: 240px;
        width: 250px; /* Make it wider than the column if you want */
        z-index: 100;
        background-color: white !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        border: 2px solid #198754;
        border-radius: 4px;
    }

    /* Ensure the inputs are hidden until expanded */
    .day-details {
        display: none;
        margin-top: 10px;
    }

    .expanded .day-details {
        display: block;
    }

    /* Prevent Today's text from staying white on white background when expanded */
    .calendar-day-cell.expanded.bg-success .cell-content-wrapper {
        color: #212529 !important;
    }

    .box {
        margin-left: 20px;
    }

    .bodyG {
        background: linear-gradient(45deg, rgba(15,23,42,0.95) 0%, rgba(30,41,59,0.92) 100%), repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.08) 10px, rgba(0,0,0,0.08) 20px);
        background-attachment: fixed;
    }

    .bodyG5 {
        background-color: #0e2a4d !important;
        color: White !important;
    }

    .bodyG2 {
        background: linear-gradient(135deg, #052e16 0%, #064e3b 50%, #065f46 100%), repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0,0,0,0.10) 12px, rgba(0,0,0,0.10) 24px);
        background-attachment: fixed;
    }

    .bodyG3 {
        background: linear-gradient(90deg, #0f1a2e, rgba(30,41,59,0.92));
        background-attachment: fixed;
        color: ghostwhite;
    }

    .bodyG4 {
        background: linear-gradient(135deg, #0f1a2e 0%, #0e2a4d 50%, #1a3a5f 100%);
        background: radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.06) 0%, transparent 60%), linear-gradient(135deg, #0f1a2e, #0e2a4d, #1a3a5f);
        background-attachment: fixed;
    }


    .preview-box {
        width: 100%;
        height: 300px;
        border-radius: 12px;
        border: 2px dashed #00c6ff;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.03);
        text-align: center;
    }

    .service-step {
        display: none;
    }

    .active-step {
        display: block;
    }
    /* Container for the custom checkbox */
    .custom-checkbox {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-weight: bold;
        position: relative;
    }

        /* Hide the default checkbox */
        .custom-checkbox input {
            opacity: 0;
            width: 0;
            height: 0;
        }

    /* Custom square */
    .checkmark {
        width: 24px;
        height: 24px;
        background-color: #eee;
        border-radius: 6px; /* slightly rounded */
        transition: 0.3s;
        border: 2px solid #28a745; /* green border for success theme */
        display: inline-block;
        position: relative;
    }

    /* When checked, change background */
    .custom-checkbox input:checked + .checkmark {
        background-color: #28a745;
    }

        /* Add a checkmark icon */
        .custom-checkbox input:checked + .checkmark::after {
            content: "";
            position: absolute;
            left: 6px;
            top: 2px;
            width: 6px;
            height: 12px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

    .circle {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 3px solid #ccc;
        background: white;
        margin: 0 auto 6px;
        margin-top: 7px;
    }

        .circle.filled {
            background: #e8d509;
            border-color: #e8d509;
        }

    .point span {
        font-size: 0.9rem;
        color: #555;
    }

    .progress-bar {
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        min-height: 100px;
        height: auto;
        background-size: 100% auto;
        background-position: center;
        background-repeat: no-repeat;
    }

    .progress-barheader {
        width: 100vw; /* full viewport width */
        margin-left: calc(-50vw + 50%); /* centers it and breaks out of container */
        margin-right: calc(-50vw + 50%);
        min-height: 80px;
        aspect-ratio: 13 / 1; /* example: 650:50 = 13:1 — change to match your image */
        background-image: url('/Images/DealerProgressBar1.png');
        background-size: 100% auto;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        overflow: visible !important;
    }

    .milestones .dot {
        width: 18px;
        height: 18px;
        background: linear-gradient(135deg, #0f1a2e 0%, #0e2a4d 50%, #1a3a5f 100%);
        border: 3px solid #64748b; /* gray border for visibility */
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        margin-bottom: 2px;
    }

    .milestones .finishedDot {
        width: 32px;
        height: 32px;
        background: linear-gradient(135deg, #0f1a2e 0%, #0e2a4d 50%, #1a3a5f 100%);
        border: 3px solid #64748b;
        border-radius: 50%;
        margin-bottom: 2px;
    }

    .milestones .dot.active {
        background: #22c55e; /* green for completed/active */
        border-color: #15803d;
        box-shadow: 0 0 0 4px rgba(34,197,94,0.3); /* glow effect */
    }

    .milestone-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }

    .milestone-label {
        margin-bottom: 6px; /* Space above the dot */
        font-size: 0.9rem;
        font-weight: bold;
        color: #555;
        background: rgba(0,0,0,0.6); /* Optional dark semi-transparent box */
        color: white;
        padding: 2px 8px;
        border-radius: 4px;
    }

    /* Highlight active */
    .milestone-item .dot.active ~ .milestone-label { /* Use ~ if label is after dot */
        color: #22c55e;
    }

    .milestone-image {
        width: 250px; /* Adjust size – 32–50px works well for most */
        height: 250px; /* Preserve aspect ratio */
        margin-bottom: -40px; /* Space between image and dot */
        object-fit: contain; /* Ensures no distortion */
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* Optional subtle shadow for pop */
    }

    /* Optional: Make the finished dot glow more with image */
    .milestone-item:has(.milestone-image) .finishedDot {
        box-shadow: 0 0 0 6px rgba(34,197,94,0.4); /* bigger green glow */
        border-color: #22c55e;
    }

    .progress-container {
        width: 100vw; /* full viewport width */
        margin-left: calc(-50vw + 50%); /* centers it and breaks out of container */
        margin-right: calc(-50vw + 50%);
        text-align: center;
        font-family: 'Segoe UI', sans-serif;
    }

    .progress-bar-glow {
        position: relative;
        height: 24px;
        background: #1a1a2e; /* dark background for contrast */
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
        border: 2px solid #0f0f23;
    }

    .fill {
        height: 100%;
        width: var(--progress);
        background: linear-gradient(90deg, #007bff, #00d4ff, #007bff);
        background-size: 200% 100%;
        animation: gradientFlow 3s linear infinite;
        border-radius: 10px;
        position: relative;
        transition: width 1.2s ease-out;
    }

        /* Glow effect */
        .fill::before {
            content: "";
            position: absolute;
            inset: -10px;
            background: linear-gradient(90deg, #28a745, #7fff00, #28a745);
            filter: blur(15px);
            opacity: 0.8;
        }

        /* Shine/reflection */
        .fill::after {
            content: "";
            position: absolute;
            top: -50%;
            left: -100%;
            width: 50%;
            height: 200%;
            background: linear-gradient( 120deg, transparent, rgba(255, 255, 255, 0.4), transparent );
            transform: skewX(-20deg);
            animation: shine 4s infinite;
        }

    .percentage {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-weight: bold;
        font-size: 1.1rem;
        text-shadow: 0 0 10px rgba(0, 255, 234, 0.8);
        z-index: 2;
        pointer-events: none;
    }

    .label {
        margin-top: 1rem;
        color: #a0a0ff;
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    /* Animations */
    @keyframes gradientFlow {
        0% {
            background-position: 0% 50%;
        }

        100% {
            background-position: 200% 50%;
        }
    }

    @keyframes shine {
        0% {
            transform: translateX(-100%) skewX(-20deg);
        }

        50% {
            transform: translateX(300%) skewX(-20deg);
        }

        100% {
            transform: translateX(-100%) skewX(-20deg);
        }
    }

    .service-icon {
        font-size: 1.8rem;
        color: #198754;
        cursor: pointer;
        transition: all 0.25s ease;
    }

        .service-icon:hover {
            color: #20c997;
            transform: translateY(-4px) scale(1.15);
        }