/* JVMR BUSINESS SERVICES – component styles (converted 1:1 from the Angular components). Host tag = component. */

/* ---- app-admin-editor  (admin/admin-editor.ts) ---- */
app-admin-editor[ngh] .panel { background: #fff; border-radius: 1rem; padding: 1.5rem; box-shadow: var(--jv-shadow-sm); }

/* ---- app-admin-login  (admin/admin-login.ts) ---- */
app-admin-login[ngh] .login-card { max-width: 420px; background: #fff; border-radius: 1.25rem; padding: 2rem; box-shadow: var(--jv-shadow); }

/* ---- app-admin-posts  (admin/admin-posts.ts) ---- */
app-admin-posts[ngh] .table-card { background: #fff; border-radius: 1rem; box-shadow: var(--jv-shadow-sm); overflow: hidden; } app-admin-posts[ngh] th { color: var(--jv-navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---- app-root  (app.ts) ---- */
app-root[ngh] main { display: block; min-height: 60vh; outline: none; }

/* ---- app-footer  (layout/footer.ts) ---- */
app-footer[ngh] .site-footer { background: var(--jv-navy); color: rgba(233, 238, 249, .82); padding: 4rem 0 0; font-size: .95rem; }
    app-footer[ngh] .footer-logo { display: inline-block; max-width: 100%; background: #fff; border-radius: 14px; padding: .6rem .9rem; }
    /* slightly larger logo (was 56px tall); aspect ratio preserved, never wider than its column */
    app-footer[ngh] .footer-logo img { width: 213px; max-width: 100%; height: auto; display: block; }
    app-footer[ngh] .footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem; }
    app-footer[ngh] .footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--jv-sky); }
    app-footer[ngh] .footer-links, app-footer[ngh] .footer-contact, app-footer[ngh] .social { list-style: none; padding: 0; margin: 0; }
    app-footer[ngh] .footer-links li { margin-bottom: .5rem; }
    app-footer[ngh] .footer-links a, app-footer[ngh] .footer-contact a { color: rgba(233, 238, 249, .82); text-decoration: none; word-break: break-word; }
    app-footer[ngh] .footer-links a:hover, app-footer[ngh] .footer-contact a:hover { color: var(--jv-sky); }
    app-footer[ngh] .footer-contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; }
    app-footer[ngh] .footer-contact i { color: var(--jv-sky); margin-top: .15rem; }
    app-footer[ngh] .social { display: flex; gap: .6rem; margin-top: 1.25rem; }
    app-footer[ngh] .social a, app-footer[ngh] .social .inactive {
      width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
      background: rgba(255,255,255,.08); color: #fff; font-size: 1.05rem; text-decoration: none; transition: background .2s;
    }
    app-footer[ngh] .social a:hover { background: var(--jv-sky); }
    app-footer[ngh] .social .inactive { opacity: .45; cursor: default; }
    app-footer[ngh] .footer-bottom {
      margin-top: 3rem; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.1);
      display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .875rem;
    }
    app-footer[ngh] .footer-bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
    app-footer[ngh] .footer-bottom a:hover { color: var(--jv-sky); }
    /* Keep the copyright row clear of the floating WhatsApp button (56px at 20px from the edge) without
       extra space below it: reserve room on the right only where the button would overlap the content,
       i.e. max(0, ~88px − distance from the content edge to the screen edge). Zero on wide screens. */
    app-footer[ngh] .footer-bottom { padding-right: max(0px, calc(88px - (100vw - 100%) / 2)); }

/* ---- app-header  (layout/header.ts) ---- */
app-header[ngh] { display: block; position: sticky; top: 0; z-index: 1050; }
    app-header[ngh] .site-header {
      background: #fff; height: var(--jv-header-h); display: flex; align-items: center;
      border-bottom: 1px solid rgba(10, 20, 64, 0.07); transition: box-shadow .25s ease;
    }
    app-header[ngh] .site-header.scrolled { box-shadow: 0 6px 20px rgba(10, 20, 64, 0.08); }
    /* Logo: sized by width with height:auto so the file's aspect ratio (520×161) is always preserved,
       and the link may never shrink (flex-shrink:0) – previously the flex layout squeezed it horizontally. */
    app-header[ngh] .brand { flex-shrink: 0; }
    app-header[ngh] .brand img { width: 200px; max-width: none; height: auto; display: block; }
    app-header[ngh] .nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
    app-header[ngh] .nav-menu a {
      display: block; padding: .55rem .8rem; font-weight: 600; font-size: .95rem; color: var(--jv-navy);
      text-decoration: none; border-radius: 999px; position: relative; white-space: nowrap;
    }
    app-header[ngh] .nav-menu a:hover { color: var(--jv-steel); }
    app-header[ngh] .nav-menu a.active { color: var(--jv-sky-dark); }
    app-header[ngh] .nav-menu a.active::after {
      content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px;
      background: var(--jv-sky); border-radius: 2px;
    }
    /* EMI Calculator: sky-blue filled button at the far right of the menu */
    app-header[ngh] .nav-emi {
      display: inline-flex; align-items: center; gap: .45rem; margin-left: .9rem; padding: .55rem 1.05rem;
      font-weight: 700; font-size: .95rem; white-space: nowrap; color: #fff; background: var(--jv-sky);
      border: 0; border-radius: .5rem; box-shadow: 0 4px 12px rgba(1, 136, 191, .28);
      transition: background .2s, box-shadow .2s, transform .2s;
    }
    app-header[ngh] .nav-emi i { font-size: 1rem; color: #fff; }
    app-header[ngh] .nav-emi:hover, app-header[ngh] .nav-emi:focus-visible { background: var(--jv-sky-dark); box-shadow: 0 6px 16px rgba(1, 112, 170, .35); }
    app-header[ngh] .nav-emi:active { transform: translateY(1px); }
    /* A little more space between the logo and "Home" */
    @media (min-width: 1200px) { app-header[ngh] .nav-menu { margin-left: 2rem; } }
    /* 1200–1399px: slightly smaller logo and tighter menu spacing so logo + menu fit on one line.
       (Must come AFTER the base .nav-menu / .nav-emi rules so it overrides them.) */
    @media (min-width: 1200px) and (max-width: 1399.98px) {
      app-header[ngh] .brand img { width: 174px; }
      app-header[ngh] .nav-menu a { padding: .55rem .5rem; font-size: .9rem; }
      app-header[ngh] .nav-menu a.active::after { left: .5rem; right: .5rem; }
      app-header[ngh] .nav-emi { margin-left: .6rem; padding: .55rem .85rem; font-size: .9rem; }
    }
    app-header[ngh] .nav-toggle {
      width: 46px; height: 46px; border: 1px solid rgba(10,20,64,.12); border-radius: 12px; background: #fff;
      display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    }
    app-header[ngh] .nav-toggle .bar { width: 22px; height: 2px; background: var(--jv-navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
    app-header[ngh] .nav-toggle[aria-expanded='true'] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    app-header[ngh] .nav-toggle[aria-expanded='true'] .bar:nth-child(2) { opacity: 0; }
    app-header[ngh] .nav-toggle[aria-expanded='true'] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    @media (max-width: 1199.98px) {
      app-header[ngh] .brand img { width: 180px; }
      app-header[ngh] .nav-menu {
        position: fixed; top: var(--jv-header-h); left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1.25rem;
        box-shadow: 0 16px 30px rgba(10,20,64,.12); max-height: calc(100vh - var(--jv-header-h)); overflow-y: auto;
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
      }
      app-header[ngh] .nav-menu.show { transform: none; opacity: 1; visibility: visible; }
      app-header[ngh] .nav-menu a { padding: .9rem .75rem; border-radius: .5rem; border-bottom: 1px solid rgba(10,20,64,.06); }
      app-header[ngh] .nav-menu a.active { background: var(--jv-cream); }
      app-header[ngh] .nav-menu a.active::after { display: none; }
      app-header[ngh] .nav-emi { width: 100%; justify-content: center; margin: .9rem 0 0; padding: .8rem 1rem; }
      app-header[ngh] .nav-scrim { position: fixed; inset: var(--jv-header-h) 0 0 0; background: rgba(10,20,64,.35); z-index: -1; }
    }
    @media (max-width: 400px) { app-header[ngh] .brand img { width: 160px; } }

/* ---- app-about  (pages/about/about.ts) ---- */
app-about[ngh] .about-img { width: 100%; border-radius: 1.25rem; box-shadow: var(--jv-shadow); aspect-ratio: 3/2; object-fit: cover; }
    app-about[ngh] .area { display: flex; align-items: center; gap: .9rem; font-weight: 600; color: var(--jv-navy); background: var(--jv-cream); border-radius: .8rem; padding: .7rem .9rem; }
    app-about[ngh] .vm-card { background: #fff; border-radius: 1.25rem; padding: 2.25rem 2rem; height: 100%; box-shadow: var(--jv-shadow-sm); border-top: 4px solid var(--jv-steel); }
    app-about[ngh] .col-lg-6:last-child .vm-card { border-top-color: var(--jv-sky); }
    app-about[ngh] .vm-card p { color: var(--jv-muted); line-height: 1.75; }
    /* Why Choose JVMR: very light sky-blue section, white cards, sky-blue icons, navy/steel text,
       extra bottom spacing so the section separates clearly from the navy footer */
    app-about[ngh] .why { background: #eef7fc; padding-bottom: 6rem; }
    app-about[ngh] .why-item { display: flex; gap: 1rem; height: 100%; background: #fff; border: 1px solid rgba(1, 136, 191, .18); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--jv-shadow-sm); }
    app-about[ngh] .why-item i { font-size: 1.6rem; color: var(--jv-sky); line-height: 1; }
    app-about[ngh] .why-item h3 { color: var(--jv-navy); font-size: 1.08rem; margin-bottom: .35rem; }
    app-about[ngh] .why-item p { margin: 0; color: var(--jv-steel); }
    @media (max-width: 767.98px) { app-about[ngh] .why { padding-bottom: 4.5rem; } }

/* ---- app-blog-article  (pages/blog/blog-article.ts) ---- */
app-blog-article[ngh] .hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 1rem; margin-bottom: 1.5rem; }

/* ---- app-blog-card  (pages/blog/blog-card.ts) ---- */
app-blog-card[ngh] { display: block; height: 100%; }
    app-blog-card[ngh] .cat { font-size: .78rem; font-weight: 700; color: var(--jv-steel); text-transform: uppercase; letter-spacing: .06em; }
    app-blog-card[ngh] h3 a { color: var(--jv-navy); text-decoration: none; }
    app-blog-card[ngh] h3 a:hover { color: var(--jv-steel); }
    app-blog-card[ngh] .date { font-size: .85rem; color: var(--jv-muted); }

/* ---- app-blog  (pages/blog/blog.ts) ---- */
app-blog[ngh] .cat-tile {
      width: 100%; height: 100%; display: flex; gap: 1rem; align-items: flex-start; text-align: left; background: #fff;
      border: 1px solid rgba(10,20,64,.1); border-radius: 1rem; padding: 1.1rem 1.2rem; transition: border-color .2s, box-shadow .2s;
    }
    app-blog[ngh] .cat-tile:hover { border-color: var(--jv-sky); box-shadow: var(--jv-shadow-sm); }
    app-blog[ngh] .cat-tile.active { border-color: var(--jv-navy); box-shadow: inset 0 0 0 1px var(--jv-navy); background: var(--jv-cream); }
    app-blog[ngh] .cat-tile strong { display: block; color: var(--jv-navy); font-family: Poppins, sans-serif; margin-bottom: .2rem; }
    app-blog[ngh] .cat-tile small { color: var(--jv-muted); line-height: 1.5; display: block; }
    app-blog[ngh] .filters { display: flex; flex-wrap: wrap; gap: .75rem; width: 100%; max-width: 560px; }
    app-blog[ngh] .filters .input-group { flex: 1 1 240px; }
    app-blog[ngh] .filters .form-select { flex: 0 1 220px; }
    app-blog[ngh] .empty { text-align: center; padding: 3rem 1rem; color: var(--jv-muted); }
    app-blog[ngh] .empty i { font-size: 2.5rem; color: var(--jv-steel); }

/* ---- app-contact  (pages/contact/contact.ts) ---- */
app-contact[ngh] .contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
    app-contact[ngh] .contact-list li { display: flex; gap: .8rem; align-items: center; background: var(--jv-cream); border-radius: 1rem; padding: 1rem; }
    app-contact[ngh] .contact-list li > div { min-width: 0; }
    /* Email + website: fit on one line where possible; on very narrow screens they break only after
       "@" / "https://" (via <wbr>), never in the middle of a word */
    app-contact[ngh] .contact-list .email-link { font-size: .95rem; overflow-wrap: normal; word-break: normal; }
    @media (max-width: 399.98px) { app-contact[ngh] .contact-list .email-link { font-size: .9rem; } }
    app-contact[ngh] .contact-list .lbl { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--jv-muted); font-weight: 600; }
    app-contact[ngh] .contact-list a { font-weight: 600; color: var(--jv-navy); text-decoration: none; word-break: break-word; }
    app-contact[ngh] .contact-list a:hover { color: var(--jv-steel); }
    app-contact[ngh] .form-card { background: #fff; border-radius: 1.25rem; padding: 2rem; box-shadow: var(--jv-shadow); border: 1px solid rgba(10,20,64,.06); position: relative; }
    app-contact[ngh] .wa-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; background: #effaf3; border: 1px solid #c7ecd5; border-radius: 1.25rem; padding: 1.75rem 2rem; }
    app-contact[ngh] .wa-icon { width: 56px; height: 56px; border-radius: 50%; background: #1da851; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; flex: 0 0 56px; }
    @media (max-width: 575.98px) { app-contact[ngh] .form-card { padding: 1.4rem 1.1rem; } app-contact[ngh] .wa-band { padding: 1.4rem 1.2rem; } app-contact[ngh] .wa-band .btn { width: 100%; } }

/* ---- app-emi-calculator  (pages/financial/emi-calculator.ts) ---- */
app-emi-calculator[ngh] .emi-wrap { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 20px 50px rgba(10,20,64,.14); background: #fff; border: 1px solid rgba(10,20,64,.06); }
    app-emi-calculator[ngh] .emi-form { padding: 2.5rem; }
    app-emi-calculator[ngh] .unit { max-width: 130px; }
    app-emi-calculator[ngh] .emi-result {
      background: linear-gradient(150deg, var(--jv-navy) 0%, var(--jv-navy-2) 60%, var(--jv-steel) 140%); color: #fff;
      padding: 2.5rem; display: flex; flex-direction: column; justify-content: center;
    }
    app-emi-calculator[ngh] .label { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #9fdcf5; margin-bottom: .3rem; font-weight: 700; }
    app-emi-calculator[ngh] .emi-value { font-family: Poppins, sans-serif; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 800; margin-bottom: 1.5rem; word-break: break-word; }
    app-emi-calculator[ngh] .totals { margin: 0; display: grid; gap: .75rem; }
    app-emi-calculator[ngh] .totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-radius: .75rem; background: rgba(255,255,255,.08); }
    app-emi-calculator[ngh] .totals dt { font-weight: 500; color: rgba(255,255,255,.8); }
    app-emi-calculator[ngh] .totals dd { margin: 0; font-weight: 700; text-align: right; }
    app-emi-calculator[ngh] .stale { opacity: .55; }
    app-emi-calculator[ngh] .stale-msg { margin: 1rem 0 0; font-size: .9rem; color: #9fdcf5; }
    app-emi-calculator[ngh] .placeholder-result { text-align: center; color: rgba(255,255,255,.85); }
    app-emi-calculator[ngh] .placeholder-result i { font-size: 3rem; color: var(--jv-sky); }
    app-emi-calculator[ngh] .emi-note { margin: 1.75rem 0 0; font-size: .85rem; color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; }
    @media (max-width: 575.98px) { app-emi-calculator[ngh] .emi-form, app-emi-calculator[ngh] .emi-result { padding: 1.75rem 1.25rem; } }
    /* Compact layout inside the header popup */
    app-emi-calculator[ngh] .is-modal { box-shadow: none; border: 0; border-radius: 0; }
    app-emi-calculator[ngh] .is-modal .emi-form { padding: 0 0 1.25rem; }
    app-emi-calculator[ngh] .is-modal .emi-result {
      padding: 1.25rem 1.4rem; border-radius: 1rem; background: #eaf6fc; color: var(--jv-navy);
      border: 1px solid rgba(1, 136, 191, .25);
    }
    app-emi-calculator[ngh] .is-modal .label { color: var(--jv-sky-dark); }
    app-emi-calculator[ngh] .is-modal .emi-value { font-size: 2rem; margin-bottom: .9rem; color: var(--jv-navy); }
    app-emi-calculator[ngh] .is-modal .totals div { background: #fff; border: 1px solid rgba(1, 136, 191, .18); padding: .65rem .9rem; }
    app-emi-calculator[ngh] .is-modal .totals dt { color: #3b475e; }
    app-emi-calculator[ngh] .is-modal .totals dd { color: var(--jv-navy); }
    app-emi-calculator[ngh] .is-modal .stale-msg { color: var(--jv-sky-dark); }
    app-emi-calculator[ngh] .is-modal .placeholder-result { color: #3b475e; }
    app-emi-calculator[ngh] .is-modal .placeholder-result p { margin: .4rem 0 0; font-size: .95rem; }
    app-emi-calculator[ngh] .is-modal .placeholder-result i { font-size: 2.2rem; color: var(--jv-sky); }
    app-emi-calculator[ngh] .is-modal .emi-note { margin-top: 1rem; color: #4a5568; border-top-color: rgba(1, 136, 191, .2); font-size: .8rem; }

/* ---- app-financial-solutions  (pages/financial/financial-solutions.ts) ---- */
app-financial-solutions[ngh] .cat-card { display: block; position: relative; border-radius: 1rem; overflow: hidden; text-decoration: none; box-shadow: var(--jv-shadow-sm); background: #fff; border: 1px solid rgba(10,20,64,.08); transition: transform .25s, box-shadow .25s; }
    app-financial-solutions[ngh] .cat-card:hover, app-financial-solutions[ngh] .cat-card:focus-visible { transform: translateY(-4px); box-shadow: var(--jv-shadow); }
    app-financial-solutions[ngh] .cat-img { display: block; aspect-ratio: 3/2; overflow: hidden; }
    app-financial-solutions[ngh] .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
    app-financial-solutions[ngh] .cat-card:hover img { transform: scale(1.05); }
    app-financial-solutions[ngh] .cat-name { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.12rem; color: var(--jv-navy); border-top: 3px solid var(--jv-sky); }
    app-financial-solutions[ngh] .cat-name i { font-size: 1.5rem; color: var(--jv-sky); }
    app-financial-solutions[ngh] .loan-detail { background: #fff; border-radius: 1.1rem; overflow: hidden; box-shadow: var(--jv-shadow-sm); border: 1px solid rgba(10,20,64,.06); }
    app-financial-solutions[ngh] .detail-img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
    app-financial-solutions[ngh] .detail-body { padding: 2rem 2.25rem; position: relative; }
    app-financial-solutions[ngh] .detail-body h3 { font-size: 1.4rem; margin-bottom: .75rem; padding-right: 3rem; }
    app-financial-solutions[ngh] .detail-body p { color: var(--jv-muted); line-height: 1.75; margin-bottom: 1.4rem; }
    app-financial-solutions[ngh] .emi-section { background: linear-gradient(180deg, #fff 0%, #eef4fb 100%); }
    app-financial-solutions[ngh] .elig-list { margin: 0; }
    app-financial-solutions[ngh] .elig-item { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: .9rem; padding: 1rem 1.15rem; height: 100%; font-weight: 600; color: var(--jv-navy); box-shadow: var(--jv-shadow-sm); border: 1px solid rgba(10,20,64,.06); }
    app-financial-solutions[ngh] .elig-num { color: var(--jv-sky-dark); }
    @media (max-width: 767.98px) { app-financial-solutions[ngh] .detail-img img { aspect-ratio: 16/9; min-height: 0; } app-financial-solutions[ngh] .detail-body { padding: 1.5rem 1.25rem; } }

/* ---- app-hero-slider  (pages/home/hero-slider.ts) ---- */
app-hero-slider[ngh] { display: block; }
    app-hero-slider[ngh] .hero { position: relative; height: clamp(480px, 78vh, 760px); overflow: hidden; background: var(--jv-navy); }
    app-hero-slider[ngh] .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
    app-hero-slider[ngh] .slide.active { opacity: 1; visibility: visible; z-index: 1; }
    app-hero-slider[ngh] .slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
    app-hero-slider[ngh] .slide.active .slide-img { transform: scale(1); }
    /* Subtle navy overlay (stronger only on the text side for legibility) */
    app-hero-slider[ngh] .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,64,.72) 0%, rgba(10,20,64,.45) 50%, rgba(10,20,64,.15) 100%); }
    app-hero-slider[ngh] .slide-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
    app-hero-slider[ngh] .content-inner { max-width: 640px; color: #fff; }
    app-hero-slider[ngh] .slide-kicker { display: inline-block; font-size: .8rem; letter-spacing: .18em; font-weight: 700; color: #9fdcf5; margin-bottom: .9rem; border-left: 3px solid var(--jv-sky); padding-left: .7rem; }
    app-hero-slider[ngh] .slide-heading { color: #fff; font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem); font-weight: 800; letter-spacing: .01em; line-height: 1.08; margin-bottom: .9rem; }
    app-hero-slider[ngh] .slide-tagline { font-size: clamp(1.1rem, .95rem + .7vw, 1.5rem); color: rgba(255,255,255,.92); margin-bottom: 2rem; }
    app-hero-slider[ngh] .slide .content-inner > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
    app-hero-slider[ngh] .slide.active .content-inner > * { opacity: 1; transform: none; }
    app-hero-slider[ngh] .slide.active .content-inner > :nth-child(2) { transition-delay: .1s; }
    app-hero-slider[ngh] .slide.active .content-inner > :nth-child(3) { transition-delay: .2s; }
    app-hero-slider[ngh] .slide.active .content-inner > :nth-child(4) { transition-delay: .3s; }
    app-hero-slider[ngh] .nav-arrow {
      position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%;
      border: 1px solid rgba(255,255,255,.35); background: rgba(10,20,64,.35); color: #fff; font-size: 1.2rem;
      display: inline-flex; align-items: center; justify-content: center; transition: background .2s;
    }
    app-hero-slider[ngh] .nav-arrow:hover, app-hero-slider[ngh] .nav-arrow:focus-visible { background: var(--jv-sky); border-color: var(--jv-sky); }
    app-hero-slider[ngh] .prev { left: 1.25rem; } app-hero-slider[ngh] .next { right: 1.25rem; }
    app-hero-slider[ngh] .dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.6rem; display: flex; justify-content: center; gap: .6rem; }
    app-hero-slider[ngh] .dots button { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
    app-hero-slider[ngh] .dots button.active { width: 34px; background: var(--jv-sky); }
    @media (max-width: 767.98px) {
      app-hero-slider[ngh] .hero { height: auto; min-height: clamp(390px, 58vh, 470px); }
      app-hero-slider[ngh] .slide-img { object-position: center 30%; transform: none !important; }
      /* Responsive focal positioning per slide so key subjects are clearly framed */
      app-hero-slider[ngh] .slide:nth-of-type(1) .slide-img { object-position: 50% 30%; }
      app-hero-slider[ngh] .slide:nth-of-type(2) .slide-img { object-position: 28% 35%; }
      app-hero-slider[ngh] .slide:nth-of-type(3) .slide-img { object-position: 50% 45%; }
      app-hero-slider[ngh] .overlay {
        background: linear-gradient(180deg, rgba(10,20,64,.42) 0%, rgba(10,20,64,.62) 50%, rgba(10,20,64,.85) 100%);
      }
      app-hero-slider[ngh] .slide-content {
        min-height: clamp(390px, 58vh, 470px);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-top: 1.5rem;
        padding-bottom: 3.5rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
      }
      app-hero-slider[ngh] .content-inner { max-width: 100%; }
      app-hero-slider[ngh] .slide-kicker { font-size: .75rem; letter-spacing: .14em; margin-bottom: .5rem; padding-left: .5rem; border-left-width: 2.5px; }
      app-hero-slider[ngh] .slide-heading { font-size: clamp(1.6rem, 5.8vw, 2.2rem); line-height: 1.15; margin-bottom: .6rem; }
      app-hero-slider[ngh] .slide-tagline { font-size: clamp(.92rem, 3.2vw, 1.1rem); margin-bottom: 1.25rem; line-height: 1.4; }
      app-hero-slider[ngh] .btn { font-size: .92rem; padding: .6rem 1.25rem; }
      /* Mobile Slider Navigation Controls */
      app-hero-slider[ngh] .nav-arrow {
        display: inline-flex;
        top: auto;
        bottom: .9rem;
        transform: none;
        width: 36px;
        height: 36px;
        font-size: .95rem;
        background: rgba(10,20,64,.75);
        border: 1px solid rgba(255,255,255,.45);
      }
      app-hero-slider[ngh] .prev { left: 1rem; }
      app-hero-slider[ngh] .next { right: 1rem; }
      app-hero-slider[ngh] .dots { bottom: 1.25rem; }
    }
    @media (max-width: 575.98px) {
      app-hero-slider[ngh] .hero { min-height: clamp(370px, 56vh, 430px); }
      app-hero-slider[ngh] .slide-content { min-height: clamp(370px, 56vh, 430px); padding-top: 1.25rem; padding-bottom: 3.25rem; padding-left: 1rem; padding-right: 1rem; }
      app-hero-slider[ngh] .slide-heading { font-size: clamp(1.45rem, 5.4vw, 1.85rem); line-height: 1.18; }
      app-hero-slider[ngh] .slide-tagline { font-size: .92rem; margin-bottom: 1.15rem; }
      app-hero-slider[ngh] .btn { font-size: .88rem; padding: .55rem 1.1rem; }
      app-hero-slider[ngh] .nav-arrow { width: 34px; height: 34px; font-size: .9rem; bottom: .85rem; }
      app-hero-slider[ngh] .prev { left: .75rem; }
      app-hero-slider[ngh] .next { right: .75rem; }
      app-hero-slider[ngh] .dots { bottom: 1.2rem; gap: .45rem; }
      app-hero-slider[ngh] .dots button { width: 10px; height: 10px; }
      app-hero-slider[ngh] .dots button.active { width: 26px; }
    }
    @media (max-width: 359.98px) {
      app-hero-slider[ngh] .hero { min-height: 375px; }
      app-hero-slider[ngh] .slide-content { min-height: 375px; padding-left: .75rem; padding-right: .75rem; }
      app-hero-slider[ngh] .slide-heading { font-size: 1.35rem; }
      app-hero-slider[ngh] .slide-tagline { font-size: .85rem; margin-bottom: 1rem; }
      app-hero-slider[ngh] .btn { font-size: .82rem; padding: .5rem .95rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      app-hero-slider[ngh] .slide, app-hero-slider[ngh] .slide-img, app-hero-slider[ngh] .slide .content-inner > * { transition: none; }
    }

/* ---- app-home  (pages/home/home.ts) ---- */
app-home[ngh] .about-visual { position: relative; border-radius: 1.25rem; isolation: isolate; }
    app-home[ngh] .about-visual img { width: 100%; border-radius: 1.25rem; box-shadow: var(--jv-shadow); aspect-ratio: 3/2; object-fit: cover; }
    app-home[ngh] .about-visual::before { content: ''; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 3px solid var(--jv-sky); border-radius: 1.25rem; z-index: -1; }
    @media (max-width: 575.98px) { app-home[ngh] .about-visual::before { inset: 0.75rem -0.5rem -0.75rem 0.5rem; } }
    app-home[ngh] .about-chip { position: absolute; left: 1rem; bottom: 1rem; background: #fff; color: var(--jv-navy); font-weight: 600; padding: .6rem 1rem; border-radius: 999px; box-shadow: var(--jv-shadow); font-size: .9rem; }
    app-home[ngh] .about-chip i { color: var(--jv-sky); }
    app-home[ngh] .area-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .8rem; }
    app-home[ngh] .area-list li { display: flex; align-items: center; gap: .9rem; font-weight: 600; color: var(--jv-navy); }
    @media (max-width: 991.98px) { app-home[ngh] .about-visual::before { display: none; } }

/* ---- app-privacy-policy  (pages/privacy/privacy-policy.ts) ---- */
app-privacy-policy[ngh] .policy { font-size: 1.03rem; line-height: 1.8; }
    app-privacy-policy[ngh] .policy h2 { font-size: 1.35rem; margin: 2.25rem 0 .8rem; padding-top: 1.25rem; border-top: 1px solid rgba(10,20,64,.08); }
    app-privacy-policy[ngh] .contact-box { background: var(--jv-cream); border-left: 4px solid var(--jv-sky); border-radius: .75rem; padding: 1.25rem 1.5rem; font-style: normal; }
    app-privacy-policy[ngh] .contact-box a { word-break: break-word; }

/* ---- app-logo-slider  (pages/website/logo-slider.ts) ---- */
app-logo-slider[ngh] { display: block; max-width: 100%; }
    app-logo-slider[ngh] .marquee {
      position: relative; overflow: hidden; width: 100%; padding: .5rem 0;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
              mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }
    app-logo-slider[ngh] .track { display: flex; width: max-content; animation: app-logo-slider-scroll var(--dur, 40s) linear infinite; will-change: transform; }
    app-logo-slider[ngh] .marquee:hover .track, app-logo-slider[ngh] .marquee.paused .track { animation-play-state: paused; }
    app-logo-slider[ngh] .group { display: flex; list-style: none; margin: 0; padding: 0; }
    app-logo-slider[ngh] .item { flex: 0 0 auto; padding: 0 .9rem; }
    app-logo-slider[ngh] figure { margin: 0; width: 220px; text-align: center; }
    app-logo-slider[ngh] .logo-box {
      height: 120px; background: #fff; border: 1px solid rgba(10,20,64,.08); border-radius: 1rem;
      display: flex; align-items: center; justify-content: center; padding: 1rem; box-shadow: var(--jv-shadow-sm);
    }
    /* Preserve each logo's original aspect ratio */
    app-logo-slider[ngh] .logo-box img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
    app-logo-slider[ngh] figcaption { margin-top: .7rem; font-weight: 600; color: var(--jv-navy); font-size: .95rem; }
    @keyframes app-logo-slider-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
    @media (max-width: 575.98px) {
      app-logo-slider[ngh] figure { width: 170px; }
      app-logo-slider[ngh] .logo-box { height: 100px; }
      app-logo-slider[ngh] .item { padding: 0 .6rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      app-logo-slider[ngh] .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
      app-logo-slider[ngh] .track { animation: none; }
    }

/* ---- app-website-design  (pages/website/website-design.ts) ---- */
app-website-design[ngh] .projects { overflow: hidden; }

/* ---- app-emi-modal  (shared/emi-modal.ts) ---- */
app-emi-modal[ngh] .emi-dialog { max-width: 960px; position: relative; background: #fff; }
    app-emi-modal[ngh] .emi-close { position: absolute; top: .9rem; right: .9rem; z-index: 2; background: #eaf6fc; color: var(--jv-navy); }
    app-emi-modal[ngh] .emi-body { padding: 2rem 2.25rem; }
    app-emi-modal[ngh] .col-title { font-size: 1.35rem; color: var(--jv-navy); margin: 0 0 .2rem; padding-right: 2.75rem; }
    app-emi-modal[ngh] .services-col { border-left: 1px solid rgba(1, 136, 191, .2); }
    app-emi-modal[ngh] .services-col .col-title { padding-right: 0; }
    app-emi-modal[ngh] .loan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
    app-emi-modal[ngh] .loan-list li {
      display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid rgba(1, 136, 191, .25);
      border-radius: .75rem; padding: .6rem .7rem .6rem .75rem; transition: border-color .2s, box-shadow .2s;
    }
    app-emi-modal[ngh] .loan-list li:hover { border-color: var(--jv-sky); box-shadow: 0 4px 14px rgba(1, 136, 191, .12); }
    app-emi-modal[ngh] .loan-icon {
      flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center;
      justify-content: center; background: #eaf6fc; color: var(--jv-sky-dark); font-size: 1.1rem;
    }
    app-emi-modal[ngh] .loan-name { flex: 1; font-weight: 600; color: var(--jv-navy); font-size: .95rem; line-height: 1.3; }
    app-emi-modal[ngh] .apply {
      flex: 0 0 auto; display: inline-flex; align-items: center; gap: .1rem; padding: .4rem .7rem; border-radius: .5rem;
      background: var(--jv-sky-dark); color: #fff; font-weight: 700; font-size: .82rem; text-decoration: none; white-space: nowrap;
      transition: background .2s;
    }
    app-emi-modal[ngh] .apply:hover, app-emi-modal[ngh] .apply:focus-visible { background: #015e8f; color: #fff; }
    app-emi-modal[ngh] .apply i { font-size: 1.1rem; line-height: 1; }
    @media (max-width: 991.98px) {
      app-emi-modal[ngh] .services-col { border-left: 0; border-top: 1px solid rgba(1, 136, 191, .2); padding-top: 1.5rem; }
    }
    @media (max-width: 575.98px) {
      app-emi-modal[ngh] .emi-body { padding: 1.4rem 1.1rem; }
      app-emi-modal[ngh] .loan-name { font-size: .9rem; }
    }

/* ---- app-service-card  (shared/service-card.ts) ---- */
app-service-card[ngh] { display: block; height: 100%; }

/* ---- app-website-benefits  (shared/website-benefits.ts) ---- */
app-website-benefits[ngh] .benefits { background: linear-gradient(180deg, #fff 0%, var(--jv-cream) 100%); }
    app-website-benefits[ngh] .benefit {
      position: relative; height: 100%; background: #fff; border-radius: 1rem; padding: 1.75rem 1.4rem 1.5rem;
      border: 1px solid rgba(10,20,64,.08); box-shadow: var(--jv-shadow-sm); transition: transform .25s, box-shadow .25s;
    }
    app-website-benefits[ngh] .benefit:hover { transform: translateY(-4px); box-shadow: var(--jv-shadow); }
    app-website-benefits[ngh] .benefit h3 { font-size: 1.08rem; margin-bottom: .4rem; }
    app-website-benefits[ngh] .benefit p { color: var(--jv-muted); margin: 0; line-height: 1.6; }
    /* Small illustrative image in the icon position (Business Services page) */
    app-website-benefits[ngh] .benefit-img {
      display: block; width: 58px; height: 58px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem;
      border: 2px solid rgba(1, 136, 191, .25); background: #eaf6fc;
    }
    app-website-benefits[ngh] .num { position: absolute; top: 1rem; right: 1.2rem; font-family: Poppins, sans-serif; font-weight: 800; font-size: 1.6rem; color: rgba(10,20,64,.07); }

/* ---- app-whatsapp-float  (shared/whatsapp-float.ts) ---- */
app-whatsapp-float[ngh] .wa-float {
      position: fixed; right: 20px; bottom: 20px; z-index: 1040; /* below header (1050) and popups (1080) */
      width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
      background: #25d366; color: #fff; font-size: 1.75rem; text-decoration: none;
      box-shadow: 0 6px 18px rgba(10, 20, 64, .25); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    app-whatsapp-float[ngh] .wa-float:hover, app-whatsapp-float[ngh] .wa-float:focus-visible { background: #1ebe5b; color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 24px rgba(10, 20, 64, .3); }
    app-whatsapp-float[ngh] .wa-float:focus-visible { outline: 3px solid var(--jv-sky); outline-offset: 3px; }
    @media (max-width: 575.98px) { app-whatsapp-float[ngh] .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 1.6rem; } }
    @media (prefers-reduced-motion: reduce) { app-whatsapp-float[ngh] .wa-float { transition: none; } app-whatsapp-float[ngh] .wa-float:hover { transform: none; } }
    @media print { app-whatsapp-float[ngh] .wa-float { display: none; } }
