:root {
    --primary-color: #663399;
    --secondary-color: #f8eefa;
    --accent-color: #6a2c91;
    --bs-primary-rgb: 102, 51, 153;
    --primary-purple: var(--primary-color);
    --primary-purple-hover: var(--accent-color);
    --light-purple-bg: #fdf7ff;
    --border-color: #e1d8e9;
    --text-dark: #474747;
    --text-muted: #6c757d;
    --rainbow-pink: #ed76b3;
    --bs-body-font-family: 'Proxima Nova', sans-serif;
    --bs-border-color: var(--border-color);
    /* 2. Bootstrap 5 ke primary color utilities ko override karna */
    --bs-primary: var(--primary-color);

    /* Bootstrap ke component transparency aur opacity utilities RGB format use karte hain */
    --bs-primary-rgb: 102, 51, 153;
    /* #663399 ki RGB value (R: 102, G: 51, B: 153) */

    /* 3. Primary Button states ko override karna (Hover / Active) */
    --bs-primary-bg-subtle: #f3e5f5;
    /* Light purple tint for alerts/backgrounds */
    --bs-primary-border-subtle: #d1c4e9;

    /* Custom modification for hover behaviors if needed natively */
    --bs-link-color: var(--primary-color);
    --bs-link-hover-color: var(--secondary-color);

}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--accent-color);
    --bs-btn-hover-border-color: var(--accent-color);
    --bs-btn-active-bg: var(--accent-color);
    --bs-btn-active-border-color: var(--accent-color);
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
}

.btn-outline-primary {
    /* Default State (Bina hover ke) */
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);

    /* Hover State */
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--accent-color);
    --bs-btn-hover-border-color: var(--accent-color);

    /* Active / Checked State (Khaaskar Radio/Checkbox Buttons ke liye) */
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);

    /* Focus Ring Color */
    --bs-btn-focus-shadow-rgb: 102, 51, 153;
    /* --primary-color ki RGB value */


}

body {
    /* background-color: #f8f9fa; */
    font-family: var(--bs-body-font-family);
    color: var(--text-dark);
}


.top-header {
    padding: 8px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo,
.brand-logo-container {
    width: 170px;
}


.call-btn {
    background: #663399;
    border: 2px solid #a16cc7;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.6s;

    small {
        font-size: 14px
    }

    span {
        font-weight: 700;
    }
}

.icon-phone {
    transition: fill 0.3s ease;
    fill: var(--primary-color);
    width: 16px;
    height: 16px;
}

.top-header-section feature-box .icon-phone {
    fill: #fff
}

/* --- Header Styles --- */
.custom-navbar {
    background-color: color-mix(in oklab, #fdfdfd 80%, transparent);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-title {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    font-size: 1.15rem;
}

.brand-subtitle {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-uppercase: uppercase;
    display: block;
    margin-top: 2px;
}

/* --- Overriding Bootstrap Outline Primary Button globally --- */
.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--border-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--accent-color);
    --bs-btn-hover-border-color: var(--accent-color);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 102, 51, 153;

    border-radius: 50px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.hero-section {

    /* border: 1px solid #e8e2ec; */
}

/* --- Testimonials Real Stories Section --- */
.stories-section {
    padding: 2rem 0 4rem;
    background-color: #ffffff;
}

.section-tag {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 2.25rem;
}

/* Testimonial Card Styling matching exact layout */
.testimonial-swiper-container {
    padding: 1.5rem 1rem 3rem 1rem !important;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(106, 27, 153, 0.08);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 10px 25px rgba(102, 51, 153, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.star-rating {
    color: #ffb300;
    /* Crisp gold star rating */
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    height: 32px;
    width: 32px;
    font-size: 0;
    line-height: 1;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23fdfbfe" stroke="%23f5f0f9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-quote absolute right-5 top-5 h-8 w-8 text-primary/15" aria-hidden="true"><path d="M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"></path><path d="M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"></path></svg>');
}

.testimonial-text {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.author-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
}

/* Swiper Custom Pagination Bullets to match Purple theme */
.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

.swiper-pagination-bullet {
    background: var(--border-color);
    opacity: 1;
    transition: all 0.3s ease;
}

/* --- Footer Styles --- */
.custom-footer {
    background-color: #fdfbfe;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 1.5rem 0;
    color: #334155;
}

.footer-brand-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-heading {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}


/* Wizard Container */
.assessment-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.05);
    border: 1px solid rgba(106, 27, 154, 0.08);
    overflow: hidden;
}

/* Custom Progress Tracker */
.step-indicator-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.step-indicator-line {
    position: absolute;
    top: 18px;
    left: 0;
    height: 2px;
    background-color: var(--border-color);
    width: 100%;
    z-index: 1;
}

.step-indicator-line-progress {
    position: absolute;
    top: 18px;
    left: 0;
    height: 2px;
    background-color: var(--primary-purple);
    width: 0%;
    z-index: 2;
    transition: width 0.4s ease;
}

.step-node {
    position: relative;
    z-index: 3;
    background: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    box-shadow: 0px 0 0 14px #ffffff;
}

.step-node.active {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 700;
}

.step-node.completed {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #ffffff;
}

.step-label {
    position: absolute;
    top: 44px;
    font-size: 0.78rem;
    white-space: nowrap;
    color: var(--text-muted);
    font-weight: 500;
}

.step-node.active .step-label {
    color: var(--purple-bg);
    font-weight: 600;
}

.confirmation-box,
.rounded-box {
    padding: 1rem;
    border-radius: 20px;
    background-color: #fcf9fd;
    border: 1px solid #e8e2ec;
}

.btn-group {
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-group>.btn-group:not(:last-child)>.btn,
.btn-group>.btn.dropdown-toggle-split:first-child,
.btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.btn-group>.btn-group:not(:first-child)>.btn,
.btn-group>.btn:nth-child(n+3),
.btn-group>:not(.btn-check)+.btn {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

/* Form styling customization */
.form-control,
.form-select {
    border-radius: 20px;
    border: 1px solid #c7c7c7;
    padding: 0.65rem 1rem;
    font-size: 14px;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.25rem rgba(106, 27, 154, 0.15);
}
/* Sabhi browsers ke liye placeholder color light karna */
.form-control::placeholder {
    color: #b0bbc7 !important; /* Ekdum perfect subtle light grayish-blue color */
    opacity: 1;                /* Firefox me default opacity hoti hai, use hatane ke liye */
}

/* Agar aap specifically focus state par thoda aur light ya alag behavior chahte hain */
.form-control:focus::placeholder {
    color: #ced4da !important;
    transition: color 0.2s ease;
}

/* Custom Segmented Buttons / Pill Selectors */
.btn-outline-purple {
    color: var(--text-dark);
    border-color: var(--border-color);
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    background-color: #fff;
    transition: all 0.2s ease;
}

.btn-check+.btn:hover,
.btn-outline-purple:hover {
    background-color: var(--light-purple-bg);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.btn-check+label {
    align-content: center;
    font-size: 14px;
    /* max-width: 50%; */
    border-radius: 20px;
}
.step-3 .btn-check+label{
      max-width: 50%;
}

.btn-check:checked+.btn-outline-purple {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #ffffff;
}

/* Chip tags for Multi-select conditions */
.chip-check {
    display: inline-block;
    margin: 4px;
}

.chip-label {
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    background-color: #fff;
    transition: all 0.2s ease;
}

.btn-check:checked+.chip-label {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

/* Standard Primary Buttons */
.btn-purple-submit {
    border-radius: 50px;
    padding: 0.65rem 1rem;
}

.btn-back {
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    background: #fff;
}

.btn-back:hover {
    background-color: #f8f9fa;
    color: var(--text-dark);
}

/* Step Visibility transitions */
.form-step {
    display: none;
}

.form-step.active-step {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

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

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

/* Results Screen Styles */
.result-content-box,
.needs-validation {
    padding: 20px;
}

.result-header-box {
    background-color: #fff5f6;
    background: linear-gradient(135deg,
            color-mix(in oklab, var(--primary-color) 10%, white),
            color-mix(in oklab, var(--rainbow-pink) 12%, white));
    border-radius: 16px 16px 0 0;
    padding: 20px;
}
.result-header-box h3{color: #000;}
.risk-badge {
    color: #dc3545;
    /* background-color: #fff;
    border: 1px solid #f8d7da;
    padding: 0.4rem 1rem;
    border-radius: 8px; */
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); */
}

.progress-bar-custom {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #28a745 0%, #ffc107 50%, #dc3545 100%);
    position: relative;
}

.progress-indicator-pin {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 3px solid #dc3545;
    border-radius: 50%;
    transform: translateX(-50%);
}

.notice-tag-item {
    background-color: #fcf9fd;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-tag-item::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
    display: inline-block;
}

.disclaimer-box {
    /* background-color: #f8f9fa;
    border-radius: 12px; */
    font-size: 0.825rem;
    color: #555;
    line-height: 1.5;
    /* border: 1px solid #eef0f2; */
}

.sidebar-action-box {
    border: 1px solid var(--border-color);
    background-color: var(--light-purple-bg);
    border-radius: 20px;
}

.feature-box {
    backdrop-filter: blur(12px);

    h6 {
        color: #0c1a30;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0;
    }

    p {
        margin-bottom: 0;
    }
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background: var(--light-purple-bg);
    color: var(--bs-primary);
}

.object-fit-cover {
    object-fit: cover;
}

@media (min-width: 400px) {
    .btn-purple-submit {
        padding: 0.65rem 2rem;
    }
}

@media (min-width: 900px) {

    .result-header-box,
    .result-content-box,
    .needs-validation {
        padding: 40px;
    }

    .icon-box {
        width: 70px;
        height: 70px;

        svg {
            width: 34px;
            height: 34px;
        }
    }
}

/* testimonial */

/* SWIPER FIX */
.testimonialSlider {
    overflow: hidden;
}

.testimonialSlider .swiper-wrapper .swiper-slide {
    height: auto;
}

.testimonialSlider .swiper-slide {
    transform: scale(0.9);
    opacity: .95;
    transition: .4s ease;
}

.testimonialSlider .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

/* COMMON CARD */
.testimonialSlider .t-card {
    background: #F8F4EF;
    border: 1px solid #DDD4EE;
    border-radius: 14px;
    padding: 22px 20px;
    height: 100%;
    display: flex;
    gap: 1rem 0;
    flex-direction: column;
    justify-content: space-around;
}

.testimonialSlider .stars {
    color: #F5A623;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.testimonialSlider .review {
    font-size: 16px;
    color: #4A4A4A;
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
    max-height: 286px;
    overflow-y: auto;
}

/* USER */
.testimonialSlider .user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonialSlider .avatar {
    width: 42px;
    height: 42px;
    background: #E4D8F4;
    border: 1.5px solid #DDD4EE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonialSlider .avatar.vidBg {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .2);
}

.t-flex {
    display: flex;
    flex-direction: column;
}

.t-name {
    font-size: 13px;
    font-weight: 700;
    color: #2C2C2C;
}

.t-name.wt {
    color: #fff;
}

.t-sub {
    font-size: 11px;
    color: #7A7A9A;
    margin-top: 2px;
}

/* testimonial end */

/* --- Optimized Screenshot-Matched Progress System --- */
.progress-bar-container-new {
    width: 100%;
    margin-top: 2rem;
    position: relative;
}

.labels-track-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 6px;
}

.lbl-node {
    font-size: 0.825rem;
    color: #4a5568;
    font-weight: 600;
}

/* Base Rounded Track: Clean White Background matching your design rules */
.bar-base-track {
    width: 100%;
    height: 12px;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

/* The Animated Ribbon filled sequentially from Left to Right */
.bar-fill-track {
    height: 100%;
    width: 0%; /* Dynamic entry handled via JS */
    background: linear-gradient(to right, #28a745 0%, #ffc107 50%, #dc3545 100%);
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); /* Ultra smooth ease tracking */
}

/* Numeric text node layout alignment underneath the bar component */
.score-output-footer {
    font-size: 0.875rem;
    /* font-weight: 700;     */
    color: #2d3748;
    /* margin-top: 10px; */
    text-align: left;
}