/* ==========================================================================
   YourBrand — Tax | Compliance | Advisory
   Custom stylesheet (layered on top of Bootstrap 5)
   ========================================================================== */

:root {
    /* Brand palette */
    --navy:        #16244f;
    --navy-2:      #1c2f66;
    --navy-3:      #223a7e;
    --navy-dark:   #0e1836;
    --green:       #2e9e5b;
    --green-dark:  #24824a;
    --orange:      #e08a2b;
    --orange-dark: #c9791f;

    /* Neutrals */
    --ink:         #1f2a44;
    --body:        #5a6272;
    --muted:       #8a90a0;
    --line:        #e7eaf1;
    --bg:          #ffffff;
    --bg-soft:     #f6f8fc;
    --bg-blue:     #eef4fd;
    --bg-green:    #eaf6ef;
    --bg-orange:   #fdf3e6;

    --shadow-sm:   0 2px 10px rgba(22, 36, 79, .06);
    --shadow:      0 10px 30px rgba(22, 36, 79, .08);
    --shadow-lg:   0 18px 45px rgba(22, 36, 79, .14);

    --radius:      14px;
    --radius-sm:   10px;
    --radius-lg:   20px;

    --nav-h:       74px;
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }

a { text-decoration: none; color: inherit; }

.container-xxl { max-width: 1240px; }

.text-green  { color: var(--green)  !important; }
.text-orange { color: var(--orange) !important; }
.text-navy   { color: var(--navy)   !important; }

/* Eyebrow / section headings ---------------------------------------------- */
.section { padding: 68px 0; }
.section-tight { padding: 46px 0; }

.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--navy);
    position: relative;
    padding-bottom: 12px;
}
.section-head .eyebrow::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 54px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--green), var(--navy));
}
.section-head p { color: var(--muted); margin: 12px auto 0; max-width: 640px; font-size: .96rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { font-weight: 600; border-radius: 9px; padding: .62rem 1.15rem; transition: all .22s ease; }
.btn:focus-visible { outline: 3px solid rgba(46,158,91,.4); outline-offset: 2px; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22,36,79,.28); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46,158,91,.32); }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(224,138,43,.32); }

.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-outline-light-navy { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.btn-outline-light-navy:hover { background: #fff; color: var(--navy); }

.link-arrow { font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow i { transition: transform .22s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.86);
    font-size: .8rem;
}
.topbar a { color: rgba(255,255,255,.86); }
.topbar .sep { color: rgba(255,255,255,.25); margin: 0 10px; }
.topbar .wa { color: #57d67f; font-weight: 600; }
.topbar .wa i { margin-right: 5px; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, padding .25s ease;
    z-index: 1030;
}
.site-nav.scrolled { box-shadow: var(--shadow); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 9px;
    background: linear-gradient(150deg, var(--green), var(--navy));
    display: grid; place-items: center; color: #fff; font-size: 1.15rem;
    box-shadow: 0 6px 14px rgba(22,36,79,.22);
}
.brand-name { font-size: 1.35rem; font-weight: 800; color: var(--navy); line-height: 1; }
.brand-name b { color: var(--green); }
.brand-sub  { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Logo image (replaces the text brand) */
.brand-logo { height: 42px; width: auto; display: block; }
.brand-logo-light { filter: brightness(0) invert(1); }   /* renders white on the dark footer */
@media (max-width: 575.98px) { .brand-logo { height: 34px; } }

.navbar-nav .nav-link {
    font-size: .9rem; font-weight: 600; color: var(--ink);
    padding: .5rem .72rem !important; border-radius: 7px; transition: color .18s, background .18s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--green); }
.navbar-nav .dropdown-toggle::after { margin-left: .3em; vertical-align: .15em; }

.dropdown-menu {
    border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow); padding: 8px; font-size: .88rem; margin-top: 8px !important;
}
.dropdown-item { border-radius: 7px; padding: .5rem .7rem; font-weight: 500; }
.dropdown-item:hover { background: var(--bg-blue); color: var(--navy); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 480px at 15% -10%, #eef4fd 0%, rgba(238,244,253,0) 60%),
        linear-gradient(180deg, #fbfcfe 0%, #f4f7fc 100%);
    padding: 62px 0 96px;
    overflow: hidden;
}
.hero .skyline {
    position: absolute; left: 0; right: 0; bottom: 0; width: 100%;
    opacity: .5; pointer-events: none; z-index: 0;
}
.hero .container-xxl { position: relative; z-index: 2; }

.hero h1 { font-size: clamp(2.1rem, 4vw, 3.05rem); line-height: 1.12; font-weight: 800; margin-bottom: 18px; }
.hero .lead-bold { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.hero p.desc { font-size: .98rem; color: var(--body); max-width: 540px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }

/* trust chips under hero */
.trust-row { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 30px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.trust-item .ti-ic {
    width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
    background: var(--bg-green); color: var(--green); font-size: .95rem; flex: none;
}

/* Consultation form card */
.consult-card {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 26px 24px;
    border: 1px solid #eef1f7;
}
.consult-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.form-control, .form-select {
    border: 1.5px solid var(--line); border-radius: 9px; padding: .62rem .8rem;
    font-size: .9rem; color: var(--ink); background: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(34,58,126,.12);
}
.form-control::placeholder { color: #aab0be; }
.consult-note { font-size: .74rem; color: var(--muted); margin-top: 12px; display: flex; gap: 6px; }
.consult-note i { color: var(--green); margin-top: 2px; }

.form-msg { font-size: .84rem; border-radius: 8px; padding: .55rem .7rem; margin-top: 10px; display: none; }
.form-msg.ok  { display: block; background: var(--bg-green);  color: var(--green-dark); }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; }

/* ==========================================================================
   Cards (generic tools / services)
   ========================================================================== */
.card-soft {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #dfe6f2; }

.ic-box {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
    font-size: 1.4rem; margin-bottom: 16px;
}
.ic-navy   { background: var(--bg-blue);   color: var(--navy);   }
.ic-green  { background: var(--bg-green);  color: var(--green);  }
.ic-orange { background: var(--bg-orange); color: var(--orange); }

/* Free tools band */
.tools-band { background: var(--bg-soft); }
.tool-card { padding: 26px 24px; }
.tool-card h4 { font-size: 1.12rem; margin-bottom: 8px; }
.tool-card p { font-size: .9rem; margin-bottom: 18px; }

/* Service desk grid */
.svc-card { padding: 22px 20px; }
.svc-card .ic-box { width: 46px; height: 46px; font-size: 1.2rem; border-radius: 11px; }
.svc-card h5 { font-size: 1rem; margin-bottom: 8px; }
.svc-card p  { font-size: .84rem; color: var(--body); margin-bottom: 14px; min-height: 60px; }

/* ==========================================================================
   NRI band
   ========================================================================== */
.nri-band {
    position: relative; color: #fff; overflow: hidden;
    background: linear-gradient(115deg, #16244f 0%, #1d3474 55%, #234388 100%);
}
.nri-band .skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; opacity: .3; pointer-events: none; }
.nri-band .container-xxl { position: relative; z-index: 2; }
.nri-band h2 { color: #fff; font-size: 1.9rem; }
.nri-band p { color: rgba(255,255,255,.82); font-size: .96rem; }

.nri-features {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
    padding: 24px 18px;
}
.nri-feat { text-align: center; padding: 8px 4px; }
.nri-feat .nf-ic {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 10px;
    display: grid; place-items: center; font-size: 1.3rem;
    background: rgba(255,255,255,.14); color: #cfe0ff;
    transition: transform .25s ease, background .25s ease;
}
.nri-feat:hover .nf-ic { transform: translateY(-4px); background: rgba(255,255,255,.24); }
.nri-feat span { font-size: .82rem; font-weight: 600; color: #fff; display: block; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-card { padding: 26px 22px; text-align: center; }
.price-card h5 { font-size: 1rem; margin-bottom: 2px; }
.price-card .plan-for { font-size: .78rem; color: var(--muted); }
.price-amt { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 14px 0 2px; }
.price-amt small { font-size: .95rem; font-weight: 700; }
.price-per { font-size: .74rem; color: var(--muted); margin-bottom: 16px; }
.price-list { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.price-list li { font-size: .84rem; padding: 6px 0; display: flex; gap: 8px; color: var(--body); }
.price-list li i { color: var(--green); margin-top: 3px; flex: none; }
.price-card.featured { border-color: var(--green); box-shadow: 0 16px 40px rgba(46,158,91,.16); }
.price-card.featured .ribbon {
    position: absolute; top: 14px; right: -34px; transform: rotate(45deg);
    background: var(--green); color: #fff; font-size: .68rem; font-weight: 700;
    padding: 4px 40px; letter-spacing: .05em;
}
.price-note { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 22px; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-band { background: var(--bg-soft); }
.why-item { text-align: center; padding: 14px 12px; }
.why-item .why-ic {
    width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px;
    display: grid; place-items: center; font-size: 1.5rem;
    background: #fff; color: var(--navy); box-shadow: var(--shadow-sm);
    transition: transform .25s ease, color .25s ease;
}
.why-item:hover .why-ic { transform: translateY(-5px); color: var(--green); }
.why-item h6 { font-size: .98rem; margin-bottom: 6px; }
.why-item p  { font-size: .82rem; color: var(--body); margin: 0; }

/* ==========================================================================
   How we work (steps)
   ========================================================================== */
.steps-row { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; justify-content: center; }
.step { flex: 1 1 0; min-width: 170px; text-align: center; padding: 8px 6px; position: relative; }
.step .step-ic {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; position: relative;
    display: grid; place-items: center; font-size: 1.5rem; color: #fff;
    transition: transform .25s ease;
}
.step:hover .step-ic { transform: translateY(-5px) scale(1.04); }
.step-1 .step-ic { background: #2e9e5b; }
.step-2 .step-ic { background: #2f6fd6; }
.step-3 .step-ic { background: #e08a2b; }
.step-4 .step-ic { background: #7a4fd1; }
.step-5 .step-ic { background: #2fae86; }
.step .step-no {
    position: absolute; top: -4px; right: 50%; margin-right: -40px;
    width: 24px; height: 24px; border-radius: 50%; background: var(--navy);
    color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center;
    border: 2px solid #fff;
}
.step h6 { font-size: .92rem; margin-bottom: 6px; }
.step p  { font-size: .8rem; color: var(--body); margin: 0; }
.step-arrow { align-self: center; color: #c4ccdb; font-size: 1.2rem; padding-top: 20px; }

/* ==========================================================================
   Resources + upload box
   ========================================================================== */
.res-item {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 600; color: var(--ink);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; height: 100%;
}
.res-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dfe6f2; color: var(--navy); }
.res-item .r-ic {
    width: 40px; height: 40px; border-radius: 9px; flex: none; display: grid; place-items: center;
    background: var(--bg-blue); color: var(--navy); font-size: 1.05rem;
}

.upload-box {
    background: linear-gradient(160deg, #f3f7fd, #eaf1fb);
    border: 1px solid #e0e9f6; border-radius: var(--radius); padding: 26px 24px; height: 100%;
}
.upload-box h4 { font-size: 1.1rem; margin-bottom: 6px; }
.upload-box p { font-size: .88rem; margin-bottom: 18px; }
.upload-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.upload-actions .btn { font-size: .82rem; padding: .5rem .9rem; }
.upload-illus { font-size: 3.4rem; color: var(--orange); opacity: .85; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.62); padding: 56px 0 0; font-size: .86rem; }
.site-footer h6 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.62); transition: color .18s, padding .18s; }
.site-footer a:hover { color: #fff; padding-left: 3px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 10px; }
.foot-brand .brand-name { color: #fff; }
.foot-desc { max-width: 300px; margin-top: 14px; font-size: .84rem; line-height: 1.7; }
.foot-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.foot-contact i { color: var(--green); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
    width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff; font-size: 1rem;
    transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--green); transform: translateY(-3px); padding-left: 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 20px 0; font-size: .8rem; }
.foot-bottom a { margin-left: 18px; }

/* WhatsApp float */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 1040;
    background: #25d366; color: #fff; border-radius: 40px;
    padding: 11px 18px 11px 15px; font-weight: 600; font-size: .88rem;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 10px 26px rgba(37,211,102,.45);
    animation: wa-bob 2.6s ease-in-out infinite;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float i { font-size: 1.25rem; }
@keyframes wa-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ==========================================================================
   Scroll reveal animations
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal][data-reveal="right"] { transform: translateX(28px); }
[data-reveal].in { transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }

/* Counter pop */
.stat-num { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero { padding: 42px 0 70px; }
    .consult-card { margin-top: 32px; }
    .step-arrow { display: none; }
    .topbar .d-none-mob { display: none; }
    .navbar-collapse { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 10px; box-shadow: var(--shadow); }
}
@media (max-width: 575.98px) {
    .section { padding: 46px 0; }
    .hero h1 { font-size: 2rem; }
    .hero-cta .btn { flex: 1 1 100%; }
    .wa-float span { display: none; }
    .wa-float { padding: 14px; border-radius: 50%; }
    .foot-bottom { text-align: center; }
    .foot-bottom a { display: inline-block; margin: 6px 9px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, [data-reveal] { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}
