/* ==========================================================================
   RapidLab – Digital Loan V3: Dynamic Hero (light gradient + colored shapes)
   ========================================================================== */

.dl-hero {
    position: relative;
    padding: 80px 0 100px;
    color: var(--dl-text);
    background:
        radial-gradient(ellipse at top left, #e3f2fd 0%, transparent 55%),
        radial-gradient(ellipse at top right, #fff3e0 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, #fce4ec 0%, transparent 55%),
        linear-gradient(180deg, #fafcff 0%, #f3f6fc 100%);
    overflow: hidden;
}

/* Decorative floating shapes */
.dl-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .55;
    pointer-events: none;
    z-index: 0;
    animation: dl-float 14s ease-in-out infinite;
}
.dl-hero-shape--1 {
    width: 380px; height: 380px;
    top: -120px; right: -100px;
    background: radial-gradient(circle, #ffd54f 0%, transparent 70%);
}
.dl-hero-shape--2 {
    width: 320px; height: 320px;
    bottom: -120px; left: 10%;
    background: radial-gradient(circle, #64b5f6 0%, transparent 70%);
    animation-delay: 3s;
}
.dl-hero-shape--3 {
    width: 260px; height: 260px;
    top: 40%; right: 30%;
    background: radial-gradient(circle, #f06292 0%, transparent 70%);
    animation-delay: 6s;
}
@keyframes dl-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

.dl-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 991px) {
    .dl-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.dl-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fff7e6, #ffe7c2);
    color: #b27100;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 16px;
    border: 1px solid #ffd591;
}

.dl-hero-title {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 18px;
    color: var(--dl-text);
    background: linear-gradient(135deg, #0c2758 0%, #1a3a8a 60%, #0c2758 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) { .dl-hero-title { font-size: 34px; } }

.dl-hero-sub {
    font-size: 17px;
    line-height: 1.65;
    color: #475569;
    max-width: 540px;
    margin-bottom: 28px;
}

/* Bullets: white-bg friendly with colored check icons */
.dl-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}
.dl-hero-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a2638;
    font-size: 14px;
    font-weight: 500;
}
.dl-bullet-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(16,185,129,.3);
}
.dl-bullet-icon i { color: #fff !important; }

.dl-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

.dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.2;
}
.dl-btn-primary {
    background: linear-gradient(135deg, #0c2758 0%, #1a3a8a 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(12,39,88,.25);
}
.dl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(12,39,88,.35);
    color: #fff;
}
.dl-btn-outline {
    background: #fff;
    color: var(--dl-navy);
    border-color: var(--dl-navy);
}
.dl-btn-outline:hover { background: var(--dl-navy); color: #fff; }
.dl-btn-ghost {
    background: rgba(12,39,88,.06);
    color: var(--dl-navy);
    border-color: transparent;
}
.dl-btn-ghost:hover { background: rgba(12,39,88,.12); color: var(--dl-navy); }
.dl-btn-block { width: 100%; }
.dl-btn-lg { padding: 16px 24px; font-size: 15px; }

/* Trust pills */
.dl-trustbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.dl-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,.7);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    backdrop-filter: blur(4px);
}
.dl-trust-pill i { color: #f5b834; font-size: 14px; }

/* Apply form card */
.dl-hero-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow:
        0 20px 50px rgba(12, 39, 88, 0.12),
        0 6px 16px rgba(12, 39, 88, 0.06);
    border: 1px solid #e2e8f0;
    /* overflow: visible so the nice-select dropdown can extend outside */
    overflow: visible;
}
.dl-hero-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f5b834 0%, #ff8a00 30%, #ec4899 60%, #0c2758 100%);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    z-index: 0;
}
.dl-hero-card > * { position: relative; z-index: 1; }
.dl-hero-card-stripe { display: none; }

.dl-hero-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}
.dl-hero-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5b834, #ff8a00);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245,184,52,.35);
}
.dl-hero-card-head h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 2px;
    color: var(--dl-text);
}
.dl-hero-card-head .dl-muted { font-size: 12px; color: #64748b; margin: 0; }

/* Stepper */
.dl-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    padding: 10px 14px;
    background: #f5f7fb;
    border-radius: 10px;
}
.dl-progress-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.dl-progress-step span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.dl-progress-step.is-done { color: #10b981; }
.dl-progress-step.is-done span { background: #10b981; }
.dl-progress-step.is-active { color: #0c2758; }
.dl-progress-step.is-active span { background: #0c2758; box-shadow: 0 0 0 4px rgba(12,39,88,.12); }

/* Form rows */
.dl-apply-form .dl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}
.dl-apply-form .dl-form-row .dl-field { margin-bottom: 0; }
@media (max-width: 600px) {
    .dl-apply-form .dl-form-row { grid-template-columns: 1fr; }
}

.dl-apply-form .dl-field { margin-bottom: 14px; }
.dl-apply-form .dl-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

/* High-specificity overrides for inputs/selects so template globals (material.css, bootstrap)
   do not bleed in. The .dl-apply-form prefix raises specificity above 0,1,1.
   IMPORTANT: do NOT use `overflow: hidden` here because the nice-select dropdown
   is positioned absolute and would be clipped. Instead, override the nice-select's
   `float: left` with `display: block; width: 100%` so the wrap stays full-width
   without needing a float-clear hack. */
.dl-apply-form .dl-input-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.dl-apply-form .dl-input-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
    z-index: 2;
    transition: color .15s;
    line-height: 1;
}
.dl-apply-form .dl-input-wrap input,
.dl-apply-form .dl-input-wrap select,
.dl-apply-form .dl-input-wrap .nice-select {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px;
    padding: 8px 14px 8px 42px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a2638 !important;
    background: #fff !important;
    background-image: none !important;
    transition: border-color .15s, box-shadow .15s !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    text-align: left;
    letter-spacing: 0;
}
.dl-apply-form .dl-input-wrap .nice-select {
    display: flex !important;
    align-items: center;
    padding-right: 36px !important;
    cursor: pointer;
}
.dl-apply-form .dl-input-wrap .nice-select .current {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 30px;
    color: #1a2638;
    font-weight: 500;
}
.dl-apply-form .dl-input-wrap .nice-select .list {
    display: block !important;
    width: 100%;
    max-height: 240px;
    overflow-y: auto;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
    left: 0 !important;
    right: auto !important;
    margin-top: 6px;
    padding: 0 !important;
}
.dl-apply-form .dl-input-wrap .nice-select .list .option {
    padding: 10px 14px 10px 42px;
    line-height: 1.3;
    min-height: 0;
    color: #1a2638;
    font-weight: 500;
    position: relative;
}
.dl-apply-form .dl-input-wrap .nice-select .list .option:hover,
.dl-apply-form .dl-input-wrap .nice-select .list .option.focus {
    background: #f1f5ff;
    color: #1a3a8a;
}
.dl-apply-form .dl-input-wrap .nice-select .list .option.selected {
    color: #1a3a8a;
    font-weight: 600;
    background: #f1f5ff;
}
.dl-apply-form .dl-input-wrap input::placeholder { color: #94a3b8 !important; font-weight: 400 !important; }
.dl-apply-form .dl-input-wrap input:focus,
.dl-apply-form .dl-input-wrap select:focus,
.dl-apply-form .dl-input-wrap .nice-select.open {
    outline: none !important;
    border-color: #1a3a8a !important;
    box-shadow: 0 0 0 4px rgba(26,58,138,.1) !important;
    background: #fff !important;
}
.dl-apply-form .dl-input-wrap input:focus ~ i,
.dl-apply-form .dl-input-wrap select:focus ~ i,
.dl-apply-form .dl-input-wrap .nice-select:focus ~ i,
.dl-apply-form .dl-input-wrap:focus-within > i { color: #1a3a8a; }
.dl-apply-form .dl-input-wrap .nice-select::after {
    right: 14px !important;
    left: auto !important;
    border-color: #94a3b8 transparent transparent !important;
    border-width: 6px 5px 0 !important;
    margin-top: -3px !important;
}

.dl-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #475569;
    margin: 16px 0 16px;
    line-height: 1.5;
}
.dl-terms input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: #0c2758; }
.dl-terms a { color: #1a3a8a; font-weight: 600; text-decoration: none; }
.dl-terms a:hover { text-decoration: underline; }

.dl-tc {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.dl-tc i { color: #10b981; }

/* ======================================================
   Make ALL `.dl-bullet-icon` and bullets on white sections
   also readable (override any inherited white from .dl-hero)
   ====================================================== */
.dl-bullet-icon, .dl-bullet-icon i { color: #fff !important; }
.dl-checklist li { color: #1a2638; }
.dl-checklist i { color: #f5b834 !important; }
.dl-plan-features li { color: #1a2638; }
.dl-plan-features i { color: #10b981; }

/* Ensure body lists are visible on white backgrounds */
.dl-section, .dl-section ul li, .dl-section ol li { color: #1a2638; }

/* ======================================================
   Override idfc-theme.css section background defaults.
   idfc-theme sets `.main-wrapper section { background:#fff }` which
   makes our dark sections (stats, hero overlays) invisible. We use
   very specific selectors to win the cascade.
   ====================================================== */

/* Stats / counters section - NAVY */
.main-wrapper section.dl-stats,
.dl-stats {
    background: linear-gradient(135deg, #0c2758 0%, #1a3a8a 60%, #2d4ba0 100%) !important;
    color: #fff !important;
    position: relative;
    overflow: hidden;
}
.dl-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(245, 184, 52, .12), transparent 40%),
        radial-gradient(circle at 88% 80%, rgba(56, 189, 248, .12), transparent 40%);
    pointer-events: none;
}
.dl-stats .container { position: relative; z-index: 1; }
.dl-stats .dl-stat-val { color: #f5b834 !important; }
.dl-stats .dl-stat-lbl { color: rgba(255,255,255,.85) !important; }

/* Blog section - keep soft/white, force text color */
.main-wrapper section.dl-blog,
.dl-blog {
    background: #f8fafc !important;
    color: #1a2638 !important;
}
.dl-blog .dl-section-title { color: #1a2638; }
.dl-blog .dl-section-sub { color: #64748b; }

/* Testimonial section - keep light, ensure text visible */
.main-wrapper section.dl-testimonial-section,
.dl-testimonial-section {
    background: #ffffff !important;
    color: #1a2638 !important;
}

/* Steps / How it works - keep light */
.main-wrapper section.dl-steps,
.dl-steps {
    background: #f8fafc !important;
    color: #1a2638 !important;
}

/* FAQ section - keep light */
.main-wrapper section.dl-faq,
.dl-faq {
    background: #ffffff !important;
    color: #1a2638 !important;
}

/* Features section - keep light */
.main-wrapper section.dl-features,
.dl-features {
    background: #f1f5f9 !important;
    color: #1a2638 !important;
}

/* Offers section - keep light */
.main-wrapper section.dl-offers,
.dl-offers {
    background: #ffffff !important;
    color: #1a2638 !important;
}

/* Generic safety: any other .dl-* section gets readable text */
.main-wrapper section[class*="dl-"] {
    color: #1a2638;
}
.main-wrapper section.dl-stats,
.main-wrapper section.dl-hero {
    color: #fff;
}

/* ======================================================
   Calculator page form fix - same icon padding as hero form
   ====================================================== */
.dl-calc-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.dl-calc-input:focus-within {
    border-color: #1a3a8a;
    box-shadow: 0 0 0 4px rgba(26,58,138,.1);
}
.dl-calc-input input {
    border: 0;
    outline: 0;
    width: 100%;
    font-weight: 600;
    color: #1a2638;
    background: transparent;
}
.dl-calc-input input::placeholder { color: #94a3b8; font-weight: 400; }
.dl-calc-input span {
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1;
}

/* ======================================================
   FOOTER FIX - readable text on dark background
   ====================================================== */
.dl-footer { background: #0c2758 !important; color: rgba(255,255,255,.85); }
.dl-footer, .dl-footer * {
    color: rgba(255,255,255,.85) !important;
}
.dl-footer .dl-footer-title,
.dl-footer h4, .dl-footer h5 {
    color: #fff !important;
    font-weight: 700;
}
.dl-footer a {
    color: rgba(255,255,255,.85) !important;
    transition: color .15s;
    text-decoration: none;
}
.dl-footer a:hover {
    color: #f5b834 !important;
}
.dl-footer .dl-footer-about {
    color: rgba(255,255,255,.78) !important;
    font-size: 13px;
    line-height: 1.6;
    margin: 14px 0 0;
}
.dl-footer .dl-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,.78) !important;
}
.dl-footer .dl-footer-contact li i {
    color: #f5b834 !important;
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}
.dl-footer .dl-footer-contact li span,
.dl-footer .dl-footer-contact li a { color: rgba(255,255,255,.78) !important; }
.dl-footer .dl-footer-contact li a:hover { color: #f5b834 !important; }
.dl-footer .dl-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.65) !important;
    background: rgba(0,0,0,.18) !important;
    padding: 18px 0;
    margin-top: 32px;
    font-size: 13px;
}
.dl-footer .dl-footer-bottom p { margin: 0; color: rgba(255,255,255,.65) !important; }
.dl-footer .dl-footer-bottom a { color: rgba(255,255,255,.78) !important; }
.dl-footer input[type="email"] {
    background: rgba(255,255,255,.08) !important;
    border: 1.5px solid rgba(255,255,255,.18) !important;
    color: #fff !important;
}
.dl-footer input[type="email"]::placeholder { color: rgba(255,255,255,.55) !important; }

.dl-footer-newsletter {
    margin: 12px 0 6px;
}
.dl-footer-newsletter-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.18);
    border-radius: 12px;
    padding: 4px 4px 4px 14px;
    transition: border-color .15s, background .15s;
}
.dl-footer-newsletter-row:focus-within {
    border-color: #f5b834;
    background: rgba(255,255,255,.12);
}
.dl-footer-newsletter-row > i {
    color: #f5b834 !important;
    font-size: 18px;
    margin-right: 10px;
    flex-shrink: 0;
}
.dl-footer-newsletter-row input[type="email"] {
    flex: 1;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    color: #fff !important;
    padding: 10px 0;
    font-size: 14px;
    min-width: 0;
    box-shadow: none !important;
}
.dl-footer-newsletter-row input[type="email"]::placeholder {
    color: rgba(255,255,255,.55) !important;
}
.dl-footer-newsletter-row button {
    border: 0;
    background: linear-gradient(135deg, #f5b834 0%, #f59e0b 100%);
    color: #4a2c00 !important;
    font-weight: 700;
    padding: 10px 18px;
    /* Match the row's right corner radius so the button visually
       merges with the row instead of looking like a double border */
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin: -1px -1px -1px 0; /* overlap the row's 1.5px border to remove visible seam */
    transition: transform .15s, box-shadow .15s;
}
.dl-footer-newsletter-row button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(245,184,52,.4);
}
.dl-footer-newsletter-text {
    color: rgba(255,255,255,.75) !important;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 8px;
}
.dl-footer-newsletter-tc {
    color: rgba(255,255,255,.55) !important;
    font-size: 12px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.dl-footer-newsletter-tc i { color: #10b981 !important; }

/* ======================================================
   Blog card on white section - make all elements visible
   ====================================================== */
.dl-blog-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eef0f5;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15,23,42,.04);
    transition: transform .25s, box-shadow .25s;
    color: #1a2638;
    text-decoration: none !important;
    display: block;
}
.dl-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15,23,42,.12);
}
.dl-blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 48px;
}
.dl-blog-img--fallback {
    background: linear-gradient(135deg, #1a3a8a 0%, #2d4ba0 100%);
    color: #fff;
}
.dl-blog-body { padding: 18px 20px 20px; }
.dl-blog-cat {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.dl-blog-body h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1a2638;
    margin: 6px 0 8px;
    line-height: 1.35;
}
.dl-blog-body p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 12px;
}
.dl-blog-body small {
    color: #94a3b8;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dl-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .dl-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .dl-blog-grid { grid-template-columns: 1fr; }
}

/* ======================================================
   BREADCRUMB FIX - force white text on dark gradient
   (style.css, idfc-theme.css, material.css all override h1 color)
   ====================================================== */
.dl-breadcrumb,
.dl-breadcrumb h1,
.dl-breadcrumb h2,
.dl-breadcrumb h3,
.dl-breadcrumb h4,
.dl-breadcrumb h5,
.dl-breadcrumb p,
.dl-breadcrumb a,
.dl-breadcrumb li,
.dl-breadcrumb i,
.dl-breadcrumb span,
.dl-breadcrumb .active {
    color: #fff !important;
}
.dl-breadcrumb h1 { color: #fff !important; font-size: 36px; font-weight: 800; margin: 0 0 12px; }
.dl-breadcrumb-list a, .dl-breadcrumb-list .active {
    color: rgba(255,255,255,.85) !important;
    text-decoration: none;
    font-size: 14px;
}
.dl-breadcrumb-list a:hover { color: #f5b834 !important; }
.dl-breadcrumb-list .active { color: #fff !important; font-weight: 600; }
.dl-breadcrumb i { color: rgba(255,255,255,.7) !important; }

/* ======================================================
   HERO FORM nice-select - ensure click opens dropdown
   nice-select needs the trigger to be a "click" event, but our wrap
   may absorb the click. Make the wrap pointer-events transparent for
   the icon, and allow nice-select to capture clicks.

   Also override the .nice-select base `float: left; width: auto` so it
   fills the wrap and the dropdown is not clipped.
   ====================================================== */
.dl-apply-form .dl-input-wrap .nice-select {
    pointer-events: auto !important;
    cursor: pointer !important;
    float: none !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    min-height: 48px;
    position: relative;
    z-index: 1;
}
.dl-apply-form .dl-input-wrap > i {
    pointer-events: none !important;
}

/* ======================================================
   MOBILE MENU - close button, backdrop, icon swap
   ====================================================== */

/* Close (X) button inside the mobile nav */
.dl-nav-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    background: #f1f5f9;
    color: #0c2758;
    border-radius: 10px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .15s, transform .15s;
}
.dl-nav-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}
.dl-nav-close i { line-height: 1; }

/* Dark backdrop behind the mobile nav */
.dl-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 39, 88, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    z-index: 9998;
    pointer-events: none;
    transition: opacity .25s;
}
.dl-nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Burger button: swap bars <-> times when open */
.dl-burger {
    transition: color .15s, transform .15s;
}
.dl-burger.is-active {
    color: #0c2758;
}
.dl-burger i {
    line-height: 1;
    transition: transform .2s;
}
.dl-burger:hover i {
    transform: scale(1.1);
}

/* Show close button + backdrop only on mobile when nav is open */
@media (max-width: 991px) {
    .dl-nav-close { display: flex; }
    .dl-nav-backdrop { display: block; }
    .dl-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        max-width: 90vw;
        background: #fff;
        padding: 70px 20px 24px;
        box-shadow: -4px 0 30px rgba(0, 0, 0, .15);
        transform: translateX(100%);
        transition: transform .3s ease;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        overflow-y: auto;
        z-index: 9999;
    }
    .dl-nav.is-open { transform: translateX(0); }
}
