:root {
    --ink: #171717;
    --muted: #6f7782;
    --navy: #1f557e;
    --navy-dark: #123a5b;
    --navy-deep: #0e2e4b;
    --gold: #cf9f22;
    --gold-dark: #a97f12;
    --cream: #f6f8fa;
    --line: #e3e8ee;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(13, 46, 75, .14);
    --radius: 8px;
    --mobile-content-gutter: 20px;
    --heading: "Source Serif 4", Georgia, serif;
    --body: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    color: var(--ink);
    background: var(--white);
    font-family: var(--body);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
p,
a,
li,
span,
small,
strong,
label {
    overflow-wrap: break-word;
    word-break: normal;
}

.container {
    width: min(100% - 48px, 1790px);
    margin: 0 auto;
}

.hero-copy,
.hero-card,
.count-item,
.positioning-copy,
.positioning-panel,
.about-main,
.about-visual,
.founder-photo-panel,
.founder-detail,
.founder-info-card,
.founder-forums,
.practice-intro,
.practice-card,
.service-card,
.process-card,
.quote-card,
.emergency-gst-copy,
.emergency-gst-panel,
.network-intro,
.network-card,
.contact-info,
.form-panel,
.footer-grid > * {
    min-width: 0;
}

.site-header .container {
    width: min(100% - 56px, 1790px);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
    background: rgba(255, 255, 255, .96);
    border-color: var(--line);
    box-shadow: 0 12px 40px rgba(15, 36, 54, .08);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    color: var(--white);
}

.brand img {
    width: 210px;
    max-height: 58px;
    object-fit: contain;
}

.brand .logo-dark {
    display: none;
}

.site-header.scrolled .brand .logo-lite,
.site-header.menu-open .brand .logo-lite {
    display: none;
}

.site-header.scrolled .brand .logo-dark,
.site-header.menu-open .brand .logo-dark {
    display: block;
}

.footer-brand {
    gap: 12px;
}

.footer-brand img {
    width: 64px;
    max-height: 54px;
}

.footer-brand .brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: var(--radius);
    font-family: var(--heading);
    font-weight: 400;
    letter-spacing: 0;
}

.footer-brand strong,
.footer-brand small {
    display: block;
}

.footer-brand strong {
    font-family: var(--heading);
    font-size: 20px;
    line-height: 1.1;
}

.footer-brand small {
    margin-top: 2px;
    color: currentColor;
    opacity: .68;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    justify-self: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.site-header.scrolled .nav-menu a,
.site-header.menu-open .nav-menu a {
    color: var(--ink);
}

.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu a.active,
.site-header.menu-open .nav-menu a:hover,
.site-header.menu-open .nav-menu a.active {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    justify-self: end;
}

.header-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: var(--radius);
    padding: 8px 14px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.header-btn:hover {
    transform: translateY(-2px);
}

.header-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.call-btn,
.money-recovery-btn {
    border: 1px solid rgba(255, 255, 255, .68);
    background: rgba(255, 255, 255, .08);
}

.whatsapp-btn {
    border: 1px solid var(--gold);
    background: var(--gold);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(207, 159, 34, .72);
}

.theme-icon {
    width: 18px;
    height: 18px;
}

.theme-icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-icon-sun {
    display: block;
}

.site-header.scrolled .call-btn,
.site-header.menu-open .call-btn,
.site-header.scrolled .money-recovery-btn,
.site-header.menu-open .money-recovery-btn {
    border-color: rgba(31, 85, 126, .26);
    color: var(--navy-dark);
    background: var(--white);
}

.site-header.scrolled .whatsapp-btn,
.site-header.menu-open .whatsapp-btn {
    color: var(--white);
}

.site-header.scrolled .theme-toggle,
.site-header.menu-open .theme-toggle {
    border-color: rgba(31, 85, 126, .26);
    background: var(--white);
    color: var(--navy-dark);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: var(--radius);
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    color: var(--white);
}

.site-header.scrolled .menu-toggle,
.site-header.menu-open .menu-toggle {
    color: var(--navy-dark);
    border-color: var(--line);
}

.site-header.scrolled .menu-toggle span,
.site-header.menu-open .menu-toggle span {
    color: var(--navy-dark);
}

.hero {
    position: relative;
    min-height: 640px;
    padding: 112px 0 0;
    overflow: hidden;
    background: #204B74;
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    background:
        linear-gradient(90deg, rgba(32, 75, 116, .94) 0%, rgba(32, 75, 116, .78) 44%, rgba(32, 75, 116, .28) 100%),
        url("../images/hero.png") center / cover no-repeat;
    transform: scale(1.01);
    transition: background-image .35s ease, transform .55s ease, opacity .35s ease;
}

.hero-copy,
.hero-card {
    transition: opacity .28s ease, transform .28s ease;
}

.hero.is-changing.hero-anim-fade .hero-copy,
.hero.is-changing.hero-anim-fade .hero-card,
.hero.is-changing.hero-anim-crossfade .hero-copy,
.hero.is-changing.hero-anim-crossfade .hero-card {
    opacity: .45;
}

.hero.is-changing.hero-anim-slide .hero-copy,
.hero.is-changing.hero-anim-slide .hero-card {
    opacity: .35;
    transform: translateX(18px);
}

.hero.is-changing.hero-anim-zoom .hero-media {
    transform: scale(1.07);
}

.hero.is-changing.hero-anim-zoom .hero-copy,
.hero.is-changing.hero-anim-zoom .hero-card {
    opacity: .4;
    transform: translateY(10px);
}

.hero-shade {
    background:
        linear-gradient(180deg, rgba(32, 75, 116, .08), rgba(32, 75, 116, .9)),
        linear-gradient(90deg, rgba(207, 159, 34, .12), transparent 42%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    left: var(--x);
    bottom: -24px;
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 0 18px rgba(207, 159, 34, .5);
    opacity: .38;
    animation: heroParticleFloat var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.hero-particles span:nth-child(3n) {
    background: rgba(207, 159, 34, .9);
    opacity: .5;
}

.hero-particles span:nth-child(4n) {
    width: 2px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75));
}

@keyframes heroParticleFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(.8);
        opacity: 0;
    }
    12% {
        opacity: .5;
    }
    55% {
        transform: translate3d(var(--drift-mid), -52vh, 0) scale(1);
    }
    100% {
        transform: translate3d(var(--drift-end), -104vh, 0) scale(.65);
        opacity: 0;
    }
}

.magic-cursor-dot,
.magic-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
    border-radius: 999px;
    transform: translate3d(-50%, -50%, 0);
    opacity: 0;
    transition: opacity .18s ease, width .2s ease, height .2s ease, border-color .2s ease, background .2s ease;
    will-change: transform;
}

.magic-cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    box-shadow: 0 0 16px rgba(207, 159, 34, .45);
}

.magic-cursor-ring {
    width: 26px;
    height: 26px;
    border: 1.5px solid var(--gold);
    background: rgba(207, 159, 34, 0.03);
}

body.magic-cursor-enabled.magic-cursor-ready .magic-cursor-dot,
body.magic-cursor-enabled.magic-cursor-ready .magic-cursor-ring {
    opacity: 1;
}

body.magic-cursor-hover .magic-cursor-ring {
    width: 38px;
    height: 38px;
    border-color: var(--gold);
    background: rgba(207, 159, 34, 0.12);
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .magic-cursor-dot,
    .magic-cursor-ring,
    .hero-particles {
        display: none;
    }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 56px;
    align-items: center;
    min-height: 430px;
    padding-bottom: 42px;
}

.hero-grid-single {
    grid-template-columns: 1fr;
}

.hero-grid-single .hero-copy {
    max-width: 960px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 34px rgba(5, 23, 40, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(207, 159, 34, .22);
}

.hero h1 {
    max-width: 1000px;
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(28px, 3.1vw, 40px);
    line-height: 1.08;
    font-weight: 700;
}

.hero-text {
    max-width: 900px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid transparent;
    padding: 13px 22px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(207, 159, 34, .26);
}

.btn-gold:hover {
    background: var(--gold-dark);
}

.btn-light {
    background: var(--white);
    color: var(--navy-deep);
}

.btn-outline {
    border-color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .16);
}

.btn-gold-outline {
    border: 1px solid var(--gold);
    background: rgba(207, 159, 34, .1);
    color: var(--gold);
}

.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(207, 159, 34, .25);
}

.btn-primary {
    width: 100%;
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy-dark);
}

.hero-card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
    transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 159, 34, 0.42);
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 34px 94px rgba(0, 0, 0, .28);
}

.card-kicker {
    color: var(--gold);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.hero-card h2 {
    margin-top: 10px;
    font-family: var(--heading);
    font-size: 24px;
    line-height: 1.15;
}

.hero-card p {
    margin-top: 12px;
    color: rgba(255, 255, 255, .72);
}

.mini-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.mini-list span {
    padding: 12px 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.hero-card:hover .mini-list span {
    background: rgba(255, 255, 255, .13);
}

.mini-list span:hover {
    transform: translateX(3px);
    background: rgba(207, 159, 34, .18);
}

.metrics {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -58px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(7, 29, 49, .18);
    backdrop-filter: blur(14px);
}

.metrics div {
    padding: 20px 24px;
    border-right: 1px solid var(--line);
}

.metrics div:last-child {
    border-right: 0;
}

.metrics strong,
.metrics span {
    display: block;
}

.metrics strong {
    color: var(--navy);
    font-family: var(--heading);
    font-size: 30px;
    line-height: 1;
}

.metrics span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.count-section {
    position: relative;
    z-index: 6;
    margin: 0 0 56px;
    padding: 0;
    background: transparent;
}

.count-panel {
    max-width: 1790px;
    margin: 0 auto;
    padding: 28px 42px 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 70px rgba(13, 46, 75, 0.09);
}

.count-panel h2 {
    color: #080f1d;
    font-family: var(--heading);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
}

.count-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
}

.count-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 0 22px;
    border-right: 1px solid var(--line);
}

.count-item:first-child {
    padding-left: 0;
}

.count-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.count-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: transparent;
    color: #084e8d;
}

.count-icon svg {
    width: 38px;
    height: 38px;
    color: #084e8d;
}

.count-icon svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

.count-icon svg [fill]:not([fill="none"]) {
    fill: rgba(8, 78, 141, 0.08);
}

.count-item strong,
.count-item span {
    display: block;
}

.count-item strong {
    color: #111827;
    font-family: var(--heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.count-item div > span {
    margin-top: 5px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.35;
}

.positioning-section {
    position: relative;
    padding: 28px 0 86px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
    overflow: hidden;
}

.positioning-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: stretch;
}

.positioning-copy {
    padding: 44px 0;
}

.positioning-copy h2 {
    max-width: 760px;
    margin-top: 14px;
    color: var(--ink);
    font-family: var(--heading);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.08;
}

.positioning-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 34px;
}

.positioning-text p {
    color: #3e4854;
    font-size: 16px;
    line-height: 1.82;
}

.positioning-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: 34px;
    background: var(--navy-deep);
    color: var(--white);
    box-shadow: 0 26px 70px rgba(10, 39, 65, .16);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.positioning-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 159, 34, 0.42);
    background: #204B74;
    box-shadow: 0 30px 78px rgba(10, 39, 65, .2);
}

.positioning-panel:hover .panel-stat {
    border-color: rgba(207, 159, 34, 0.3);
}

.panel-topline {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.positioning-panel strong {
    display: block;
    margin-top: 28px;
    font-family: var(--heading);
    font-size: 34px;
    line-height: 1.1;
}

.positioning-panel p {
    margin-top: 18px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.7;
}

.panel-stat {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.panel-stat span,
.panel-stat small {
    display: block;
}

.panel-stat span {
    color: var(--gold);
    font-family: var(--heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
}

.panel-stat small {
    margin-top: 8px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 700;
}

.industries-showcase-section {
    padding: 96px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.industries-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.industries-showcase-head h2 {
    max-width: 680px;
    margin-top: 12px;
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
}

.industries-slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.industries-slider-controls button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(32, 75, 116, 0.18);
    border-radius: 999px;
    background: var(--white);
    color: #204B74;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(21, 47, 67, 0.06);
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.industries-slider-controls button:hover {
    transform: translateY(-2px);
    border-color: #084E8D;
    background: #084E8D;
    color: var(--white);
}

.industries-slider-controls svg {
    width: 19px;
    height: 19px;
}

.industries-slider {
    --slide-gap: 18px;
    --visible-cards: 4;
    --slide-edge: 0px;
    overflow-x: hidden;
    overflow-y: visible;
    border-radius: 14px;
    cursor: grab;
    scrollbar-width: none;
    padding-top: 10px;
    margin-top: -10px;
}

.industries-slider::-webkit-scrollbar {
    display: none;
}

.industries-slider:hover .industries-slider-track {
    will-change: auto;
}

.industries-slider-track {
    display: flex;
    gap: var(--slide-gap);
    width: max-content;
    will-change: transform;
}

.industry-showcase-card {
    --showcase-bg: linear-gradient(135deg, #74889c, #123654);
    position: relative;
    flex: 0 0 calc((min(100vw - 32px, 1790px) - (var(--slide-gap) * (var(--visible-cards) - 1)) - var(--slide-edge)) / var(--visible-cards));
    min-height: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(8, 78, 141, 0.16);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 251, 0.52)),
        var(--showcase-bg);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    box-shadow: 0 22px 52px rgba(21, 47, 67, 0.14);
    isolation: isolate;
}

.industry-showcase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 43%, rgba(8, 78, 141, 0.24) 100%),
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.32), transparent 22%);
}

.industry-showcase-card::after {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 13px;
    pointer-events: none;
}

.industry-showcase-copy {
    padding: 20px 20px 0;
}

.industry-showcase-copy span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 36px;
    border-radius: 9px;
    background: rgba(8, 78, 141, 0.88);
    color: var(--white);
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(8, 78, 141, 0.24);
}

.industry-showcase-copy h3 {
    margin-top: 15px;
    color: #081827;
    font-family: var(--body);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.12;
}

.industry-showcase-copy p {
    max-width: 230px;
    margin-top: 11px;
    color: #1f2f40;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.48;
}

.industry-showcase-card strong {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    margin: 0 -1px -1px;
    padding: 12px 18px 13px 68px;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(135deg, rgba(8, 78, 141, 0.92), rgba(18, 58, 91, 0.92));
    color: var(--white);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.industry-showcase-card strong::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-50%);
}

.industry-showcase-card strong::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--white);
    transform: translateY(-50%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 20V4h2v14h14v2H4Zm4-4 3-5 3 3 4-7 2 1-5.4 9.5-3.2-3.2L10 17H8Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 20V4h2v14h14v2H4Zm4-4 3-5 3 3 4-7 2 1-5.4 9.5-3.2-3.2L10 17H8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.showcase-manufacturing { --showcase-bg: url("../images/industries/manufacturing.svg"); }
.showcase-steel { --showcase-bg: url("../images/industries/iron-steel.svg"); }
.showcase-mining { --showcase-bg: url("../images/industries/mining.svg"); }
.showcase-infrastructure { --showcase-bg: url("../images/industries/infrastructure-epc.svg"); }
.showcase-logistics { --showcase-bg: url("../images/industries/logistics-transportation.svg"); }
.showcase-fmcg { --showcase-bg: url("../images/industries/fmcg.svg"); }
.showcase-pharma { --showcase-bg: url("../images/industries/pharmaceuticals.svg"); }
.showcase-real-estate { --showcase-bg: url("../images/industries/real-estate.svg"); }
.showcase-renewable { --showcase-bg: url("../images/industries/renewable-energy.svg"); }
.showcase-ecommerce { --showcase-bg: url("../images/industries/ecommerce.svg"); }
.showcase-textiles { --showcase-bg: url("../images/industries/textiles.svg"); }
.showcase-export { --showcase-bg: url("../images/industries/export-houses.svg"); }
.showcase-automobile { --showcase-bg: url("../images/industries/automobile-ancillary.svg"); }
.showcase-banking { --showcase-bg: url("../images/industries/banking-nbfcs.svg"); }
.showcase-hospitality { --showcase-bg: url("../images/industries/hospitality-hotels.svg"); }

.about-section {
    padding: 104px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 68px;
    align-items: center;
}

.about-main h2 {
    max-width: 820px;
    margin-top: 14px;
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.1;
}

.about-main p {
    max-width: 820px;
    color: #3e4854;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 22px;
}

.about-lead {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.75;
}

.about-principle-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 32px 0 8px;
}

.about-principle-line div {
    min-height: 112px;
    border: 1px solid #dcbd6d70;
    border-radius: var(--radius);
    padding: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 28px rgba(21, 47, 67, .04);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.about-principle-line div:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.62);
    background: var(--white);
    box-shadow: 0 18px 38px rgba(21, 47, 67, .08);
}

.about-principle-line span,
.about-principle-line strong {
    display: block;
}

.about-principle-line span {
    color: var(--gold);
    font-family: var(--heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.about-principle-line strong {
    margin-top: 16px;
    color: var(--navy-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.about-visual {
    display: grid;
    gap: 18px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #dcbd6d70;
    box-shadow: 0 26px 70px rgba(10, 39, 65, .15);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.about-image-wrapper img {
    width: 100%;
    aspect-ratio: 4 / 4.7;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease, filter .35s ease;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(14, 46, 75, 0.6));
    transition: background .24s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.62);
    box-shadow: 0 30px 78px rgba(10, 39, 65, .18);
}

.about-image-wrapper:hover img {
    transform: scale(1.035);
    filter: saturate(1.04);
}

.about-image-wrapper:hover::after {
    background: linear-gradient(180deg, transparent 42%, rgba(32, 75, 116, 0.68));
}

.about-stats-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    border-radius: var(--radius);
    padding: 16px 20px;
    background: rgba(14, 46, 75, .9);
    color: var(--white);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    border-left: 2px solid var(--gold);
    transition: transform .24s ease, background .24s ease;
}

.about-image-wrapper:hover .about-stats-badge {
    transform: translateY(-3px);
    background: rgba(14, 46, 75, 0.92);
}

.about-stats-badge strong {
    display: block;
    font-family: var(--heading);
    font-size: 22px;
    line-height: 1.12;
    color: var(--gold);
}

.about-stats-badge span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.8);
}

.about-note {
    border: 1px solid #dcbd6d70;
    border-radius: var(--radius);
    padding: 20px;
    background: var(--white);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.about-note:hover {
    transform: translateY(-3px);
    border-color: rgba(207, 159, 34, 0.62);
    box-shadow: 0 16px 36px rgba(21, 47, 67, .07);
}

.about-note strong,
.about-note span {
    display: block;
}

.about-note strong {
    color: var(--navy-dark);
    font-size: 14px;
    font-weight: 850;
}

.about-note span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.section {
    padding: 112px 0;
}

.founder-section {
    padding: 108px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
    overflow: hidden;
}

.founder-profile {
    display: grid;
    grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

.founder-photo-panel {
    position: relative;
    padding: 35px 20px 45px 35px;
}

.founder-photo-panel::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 35px;
    bottom: 35px;
    background: rgba(238, 243, 247, 0.58);
    border: 1px solid rgba(220, 189, 109, 0.45);
    border-radius: 8px;
    z-index: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.founder-photo-frame {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(220, 189, 109, 0.45);
    border-radius: 8px;
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe7de 100%);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(10, 39, 65, 0.14);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.founder-photo-frame img {
    width: 100%;
    aspect-ratio: 4 / 5.2;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    transition: transform .35s ease, filter .35s ease;
}

.founder-photo-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.68);
    box-shadow: 0 34px 78px rgba(10, 39, 65, 0.18);
}

.founder-photo-frame:hover img {
    transform: scale(1.025);
    filter: saturate(1.04);
}

.founder-name-card {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 24px;
    width: 92%;
    border-left: 5px solid var(--gold);
    border-radius: 6px;
    padding: 16px 24px;
    background: #153250; /* deep navy */
    color: var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.founder-name-card span,
.founder-name-card strong {
    display: block;
}

.founder-name-card span {
    color: #a4b7cc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.founder-name-card strong {
    margin-top: 8px;
    font-family: var(--heading);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.founder-credential-card {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
    box-shadow: 0 18px 45px rgba(10, 39, 65, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.founder-credential-card:hover {
    transform: translateY(-3px);
    border-color: rgba(207, 159, 34, 0.62);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28));
    box-shadow: 0 22px 48px rgba(10, 39, 65, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.founder-credential-card strong,
.founder-credential-card span {
    display: block;
}

.founder-credential-card strong {
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: 24px;
    line-height: 1.18;
}

.founder-credential-card span {
    margin-top: 10px;
    color: #3e4854;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.6;
}

.founder-detail h2 {
    max-width: 760px;
    margin-top: 12px;
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.08;
}

.founder-lead {
    max-width: 820px;
    margin-top: 22px;
    color: #3e4854;
    font-size: 17px;
    line-height: 1.78;
}

.founder-info-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
    margin-top: 32px;
}

.founder-info-card,
.founder-forums {
    border: 1px solid #dcbd6d70;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(21, 47, 67, .05);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.founder-info-card:hover,
.founder-forums:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.62);
    background: var(--white);
    box-shadow: 0 18px 42px rgba(21, 47, 67, .08);
}

.founder-info-card {
    padding: 24px;
}

.info-kicker {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.founder-info-card ul {
    display: grid;
    gap: 11px;
    margin-top: 18px;
    list-style: none;
}

.founder-info-card li {
    position: relative;
    padding-left: 20px;
    color: var(--navy-dark);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
}

.founder-info-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--gold);
}

.founder-experience {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--navy-deep);
    color: var(--white);
}

.founder-experience:hover {
    background: #204B74;
    border-color: rgba(207, 159, 34, 0.7);
}

.founder-experience strong {
    display: block;
    margin-top: 22px;
    color: var(--gold);
    font-family: var(--heading);
    font-size: 38px;
    line-height: 1;
}

.founder-experience p {
    margin-top: 16px;
    color: rgba(255, 255, 255, .72);
    font-size: 13.5px;
    line-height: 1.62;
}

.founder-forums {
    margin-top: 18px;
    padding: 24px;
}

.founder-forums div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.founder-forums span:not(.info-kicker) {
    display: block;
    border-radius: var(--radius);
    padding: 12px 14px;
    background: #f4f7fa;
    color: var(--navy-dark);
    font-size: 13px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.founder-forums span:not(.info-kicker):hover {
    background: rgba(207, 159, 34, 0.12);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-heading span,
.section-label {
    display: inline-block;
    color: var(--gold);
    border: 1.5px solid #dcbd6d70;
    padding: 6px 18px;
    border-radius: 999px;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
}

.section-heading h2,
.split-copy h2 {
    margin-top: 8px;
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
}

.section-heading p,
.split-copy p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
}

.practice-section {
    padding: 82px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

html[data-theme="light"] #services {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.practice-intro {
    min-height: 0;
    padding: 6px 12px 0 0;
}

.practice-intro .section-label {
    background: rgba(31, 85, 126, 0.08);
    border-color: rgba(31, 85, 126, 0.12);
    color: var(--navy);
}

.practice-intro h2 {
    margin-top: 14px;
    color: var(--ink);
    font-family: var(--heading);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
}

.practice-intro p {
    max-width: 460px;
    margin-top: 18px;
    color: #5d6470;
    font-size: 15px;
    line-height: 1.65;
}

.practice-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 245px;
    padding: 24px;
    border: 1px solid rgba(227, 232, 238, 0.78);
    border-radius: var(--radius);
    background-color: #204B74;
    background-position: center;
    background-size: cover;
    box-shadow: 0 10px 30px rgba(21, 47, 67, 0.04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}

.practice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(135deg, rgba(32, 75, 116, 0.94), rgba(32, 75, 116, 0.7)),
        linear-gradient(180deg, rgba(207, 159, 34, 0.18), transparent 52%);
    opacity: 1;
    transition: opacity .22s ease;
}

.practice-gst-litigation {
    background-image: url("../images/practice-gst-litigation.jpg");
}

.practice-investigation {
    background-image: url("../images/practice-investigation.jpg");
}

.practice-courts {
    background-image: url("../images/practice-courts.jpg");
}

.practice-advisory {
    background-image: url("../images/practice-advisory.jpg");
}

.practice-retainership {
    background-image: url("../images/practice-retainership.jpg");
}

.practice-gst-litigation,
.practice-investigation {
    min-height: 210px;
    padding: 22px;
}

.practice-card:hover {
    transform: translateY(-3px);
    border-color: rgba(207, 159, 34, 0.58);
    box-shadow: 0 16px 34px rgba(21, 47, 67, 0.1);
}

.practice-card:hover::before {
    opacity: 0.86;
}

.practice-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--gold);
    transition: background .22s ease, color .22s ease;
}

.practice-card:hover .practice-icon {
    background: rgba(255, 255, 255, 0.98);
    color: var(--gold);
}

.practice-icon,
.practice-card h3,
.practice-card p {
    position: relative;
    z-index: 1;
}

.practice-icon svg {
    width: 26px;
    height: 26px;
}

.practice-card h3 {
    margin-top: 18px;
    color: var(--white);
    font-family: var(--heading);
    font-size: 23px;
    line-height: 1.16;
}

.practice-card:hover h3 {
    color: var(--white);
}

.practice-card p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14.5px;
    line-height: 1.62;
}

.practice-card:hover p {
    color: rgba(255, 255, 255, 0.84);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card,
.process-card,
.quote-card,
.form-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 26px rgba(21, 47, 67, .04);
}

.service-card {
    min-height: 270px;
    padding: 32px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(31, 85, 126, .28);
    box-shadow: var(--shadow);
}

.icon-box {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(31, 85, 126, .08);
    color: var(--navy);
    font-family: var(--heading);
    font-weight: 800;
}

.service-card h3,
.process-card h3 {
    margin-top: 26px;
    font-family: var(--heading);
    font-size: 22px;
    line-height: 1.15;
}

.service-card p,
.process-card p,
.quote-card p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
}

.testimonial-section {
    background: var(--cream);
    padding: 36px 0;
}

.contact-section {
    background: var(--cream);
}

.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.map-section {
    padding: 0 0 104px;
    background: #f7f9fb;
}

.map-frame {
    overflow: hidden;
    border: 1px solid #dce3eb;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(21, 47, 67, 0.12);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.knowledge-section {
    padding: 96px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.knowledge-shell {
    display: block;
}

.knowledge-intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.knowledge-intro h2 {
    margin-top: 18px;
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}

.knowledge-intro p {
    margin-top: 18px;
    margin-inline: auto;
    max-width: 680px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.knowledge-card {
    position: relative;
    min-height: 382px;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid rgba(207, 159, 34, .24);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(247, 249, 251, .78));
    box-shadow: 0 14px 34px rgba(21, 47, 67, .055);
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.knowledge-card::after {
    content: "";
    position: absolute;
    right: -38px;
    top: -42px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(32, 75, 116, .075);
    transition: transform .22s ease, background .22s ease;
}

.knowledge-media {
    position: relative;
    z-index: 1;
    height: 176px;
    overflow: hidden;
    background: #dce5ed;
}

.knowledge-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 75, 116, .04), rgba(32, 75, 116, .26));
}

.knowledge-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(.92);
    transition: transform .32s ease, filter .32s ease;
}

.knowledge-card:hover .knowledge-media img {
    transform: scale(1.04);
    filter: saturate(1);
}

.knowledge-body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.knowledge-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.knowledge-category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(32, 75, 116, .08);
    color: #204B74;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.knowledge-date {
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
}

.knowledge-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, .52);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 20px 46px rgba(21, 47, 67, .09);
}

.knowledge-card:hover::after {
    background: rgba(8, 78, 141, .12);
    transform: scale(1.08);
}

.knowledge-card h3 {
    position: relative;
    z-index: 1;
    color: var(--navy-dark);
    font-size: 17px;
    line-height: 1.28;
    font-weight: 650;
}

.knowledge-card p {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.knowledge-link {
    position: relative;
    z-index: 1;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: #204B74;
    font-size: 13px;
    font-weight: 750;
}

.knowledge-link::after {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--gold);
    transition: width .2s ease;
}

.knowledge-link:hover::after {
    width: 28px;
}

.knowledge-cta {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.knowledge-cta .btn {
    width: 320px;
    max-width: calc(100% - 32px);
    min-width: 0;
    min-height: 40px;
    padding: 9px 18px;
    font-size: 13px;
}

.split-section {
    padding: 112px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: stretch;
}

.image-stack {
    position: relative;
    height: 100%;
    transition: transform .24s ease;
}

.image-stack img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .35s ease, filter .35s ease, box-shadow .24s ease;
}

.image-stack:hover img {
    transform: scale(1.02);
    filter: saturate(1.04);
    box-shadow: 0 30px 78px rgba(10, 39, 65, .18);
}

.experience-badge {
    position: absolute;
    right: -24px;
    bottom: 34px;
    max-width: 210px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow);
    transition: transform .24s ease, background .24s ease;
}

.image-stack:hover .experience-badge {
    transform: translateY(-4px);
    background: #204B74;
}

.experience-badge strong,
.experience-badge span {
    display: block;
}

.experience-badge strong {
    font-family: var(--heading);
    font-size: 27px;
}

.experience-badge span {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.feature-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.positioning-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(21, 47, 67, .03);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.positioning-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.45);
    box-shadow: 0 16px 36px rgba(207, 159, 34, 0.08);
}

.positioning-card .card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(207, 159, 34, .08);
    color: var(--gold);
    transition: background .3s ease, color .3s ease;
}

.positioning-card .card-icon svg {
    width: 22px;
    height: 22px;
}

.positioning-card:hover .card-icon {
    background: var(--gold);
    color: var(--white);
}

.positioning-card h3 {
    margin-top: 16px;
    color: var(--navy-dark);
    font-family: var(--body);
    font-size: 17px;
    font-weight: 800;
}

.positioning-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.why-check-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    list-style: none;
}

.why-check-list li {
    position: relative;
    min-height: 28px;
    display: flex;
    align-items: center;
    padding-left: 28px;
    color: #081827;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    transition: color .2s ease, transform .2s ease;
}

.why-check-list li:hover {
    color: #204B74;
    transform: translateX(4px);
}

.why-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--gold);
    transition: transform .2s ease, box-shadow .2s ease;
}

.why-check-list li:hover::before {
    transform: scale(1.18);
    box-shadow: 0 0 0 5px rgba(207, 159, 34, 0.12);
}

.process-section {
    background: var(--navy-deep);
    color: var(--white);
}

.process-section .section-heading h2 {
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-card {
    min-height: 235px;
    padding: 32px;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.44);
    background: rgba(255, 255, 255, .11);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .14);
}

.process-card small {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.process-card h3 {
    color: var(--white);
}

.process-card p {
    color: rgba(255, 255, 255, .66);
}

.process-bullets {
    margin: 12px 0 0 0;
    padding-left: 0;
    list-style: none;
}

.process-bullets li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, .66);
}

.process-bullets li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.process-bullets li:last-child {
    margin-bottom: 0;
}

.emergency-gst-section {
    padding: 104px 0;
    background: var(--white);
    color: var(--ink);
}

.emergency-gst-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 48px;
    align-items: center;
}

.emergency-gst-copy .section-label {
    border-color: rgba(207, 159, 34, 0.5);
    color: var(--gold);
}

.emergency-gst-copy h2 {
    max-width: 680px;
    margin-top: 14px;
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: clamp(30px, 3.3vw, 44px);
    line-height: 1.12;
}

.emergency-gst-copy p {
    max-width: 620px;
    margin-top: 20px;
    color: #3e4854;
    font-size: 17px;
    line-height: 1.72;
}

.emergency-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn-whatsapp-response {
    border: 1px solid rgba(32, 75, 116, 0.32);
    background: rgba(32, 75, 116, 0.08);
    color: #204B74;
    box-shadow: none;
}

.btn-whatsapp-response:hover {
    background: #204B74;
    color: var(--white);
    box-shadow: 0 12px 26px rgba(32, 75, 116, 0.18);
}

.emergency-gst-panel {
    padding: 30px;
    border: 1px solid rgba(220, 189, 109, 0.48);
    border-radius: var(--radius);
    background: #f7f9fb;
    box-shadow: 0 18px 46px rgba(21, 47, 67, 0.06);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.emergency-gst-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.68);
    background: var(--white);
    box-shadow: 0 22px 52px rgba(21, 47, 67, 0.09);
}

.emergency-support-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
    list-style: none;
}

.emergency-support-list li {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 13px 14px 13px 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy-dark);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.emergency-support-list li:hover {
    transform: translateY(-2px);
    border-color: rgba(207, 159, 34, 0.48);
    background: #f9fbfd;
}

.emergency-support-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
    transform: translateY(-50%);
}

/* ============================================================
   TESTIMONIALS — Vertical Card Layout (Image/Video on Top)
   ============================================================ */
.testimonial-filter-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.testimonial-filter-btn {
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-filter-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.testimonial-filter-btn.active {
    background: var(--gold, #cf9f22);
    color: #080f1d;
    border-color: var(--gold, #cf9f22);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(207, 159, 34, 0.4);
}

html[data-theme="light"] .testimonial-filter-btn {
    border-color: #dce2e8;
    background: #ffffff;
    color: #495057;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .testimonial-filter-btn:hover {
    background: #f8f9fa;
    color: #123a5b;
    border-color: #123a5b;
}

html[data-theme="light"] .testimonial-filter-btn.active {
    background: var(--navy, #123a5b);
    color: #ffffff;
    border-color: var(--navy, #123a5b);
    box-shadow: 0 4px 14px rgba(18, 58, 91, 0.25);
}

.testimonial-slider-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1790px;
    margin: 0 auto;
}

.testimonial-grid {
    --testimonial-visible: 3;
    --testimonial-gap: 24px;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 10px;
    margin-top: -10px;
    width: 100%;
}

@media (min-width: 1440px) {
    .testimonial-grid {
        --testimonial-visible: 4;
    }
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-track {
    display: flex;
    gap: var(--testimonial-gap);
    align-items: stretch;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base vertical card --- */
.quote-card {
    flex: 0 0 calc((100% - (var(--testimonial-gap) * (var(--testimonial-visible) - 1))) / var(--testimonial-visible));
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #e4eaf0;
    border-radius: 18px;
    box-shadow: 0 6px 28px rgba(21, 47, 67, 0.07);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    padding: 0;
}

.quote-card:hover {
    transform: translateY(-6px);
    border-color: rgba(207, 159, 34, 0.55);
    box-shadow: 0 20px 50px rgba(21, 47, 67, 0.13);
}

/* --- Media thumbnail (top of card) --- */
.testimonial-media {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0;
    background: #e8edf2;
    position: relative;
    flex-shrink: 0;
}

.testimonial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.quote-card:hover .testimonial-media img {
    transform: scale(1.04);
}

/* avatar initials media */
.testimonial-media-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dce8f5 0%, #edf3fa 100%);
    font-size: 52px;
    font-weight: 800;
    color: #204B74;
    letter-spacing: -1px;
    font-family: var(--heading);
}

/* --- Video wrapper inside media --- */
.testimonial-video-col {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.testimonial-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    background: #000;
    overflow: hidden;
}

.video-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    transition: transform 0.35s ease;
}

.testimonial-video-wrapper:hover .video-placeholder-img {
    transform: scale(1.05);
}

/* Subtle gradient overlay at bottom of video */
.testimonial-video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    color: #204B74 !important;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(4px);
}

.video-play-btn i {
    margin-left: 3px;
}

.testimonial-video-wrapper:hover .video-play-btn {
    background: var(--gold);
    color: #fff !important;
    transform: translate(-50%, -50%) scale(1.14);
    box-shadow: 0 12px 32px rgba(207, 159, 34, 0.5);
}

.testimonial-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
    z-index: 4;
}

/* --- Card content body --- */
.testimonial-content-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

/* Star rating */
.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.testimonial-rating .star {
    font-size: 18px;
    color: #d1dae4;
}

.testimonial-rating .star.filled {
    color: #f5a623;
}

/* Name + Position (replaces quote-author) */
.quote-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
}

.quote-card strong {
    display: block;
    color: var(--navy-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.quote-card small {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    margin-top: 2px;
}

/* Testimonial text */
.quote-card p {
    color: #4a5568;
    font-size: 14.5px;
    line-height: 1.75;
    margin: 0;
    flex: 1;
}

/* Legacy quote-mark — hidden in new layout */
.quote-mark {
    display: none;
}

/* Legacy quote-avatar — hide in new card layout */
.quote-avatar {
    display: none;
}

/* Navigation buttons row — sits below the cards */
.testimonial-nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.testimonial-nav {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(32, 75, 116, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: #204B74;
    box-shadow: 0 6px 20px rgba(32, 75, 116, .12);
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    flex-shrink: 0;
}

.testimonial-nav:hover {
    border-color: rgba(207, 159, 34, .6);
    background: #204B74;
    color: var(--white);
    transform: scale(1.08);
}

.testimonial-nav svg {
    width: 20px;
    height: 20px;
}

/* No-description variant */
.quote-card.no-description .testimonial-content-col {
    justify-content: center;
}

@media (max-width: 1024px) {
    .testimonial-grid {
        --testimonial-visible: 2;
    }
    .testimonial-slider-wrap {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .testimonial-grid {
        --testimonial-visible: 1;
        --testimonial-gap: 16px;
    }
    .testimonial-nav {
        width: 38px;
        height: 38px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1.22 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    filter: saturate(.94);
}

.professional-network-section {
    padding: 104px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.professional-network-shell {
    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
}

.network-intro h2 {
    max-width: 620px;
    margin-top: 14px;
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.12;
}

.network-intro p {
    max-width: 620px;
    margin-top: 20px;
    color: #3e4854;
    font-size: 16px;
    line-height: 1.75;
}

.network-highlight {
    margin-top: 30px;
    padding: 22px;
    border-left: 5px solid var(--gold);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 40px rgba(21, 47, 67, 0.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.network-highlight:hover {
    transform: translateY(-3px);
    border-left-color: #dcb33e;
    box-shadow: 0 20px 46px rgba(21, 47, 67, 0.09);
}

.network-highlight strong,
.network-highlight span {
    display: block;
}

.network-highlight strong {
    color: var(--navy-dark);
    font-size: 16px;
    font-weight: 850;
}

.network-highlight span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.network-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.network-card {
    min-height: 440px;
    padding: 28px;
    border: 1px solid rgba(220, 189, 109, 0.5);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 20px 52px rgba(21, 47, 67, 0.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.network-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.68);
    box-shadow: 0 24px 58px rgba(21, 47, 67, 0.11);
}

.network-card-dark {
    background: #204B74;
    color: var(--white);
}

.network-card-dark:hover {
    background: #1c4267;
}

.network-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.network-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(207, 159, 34, 0.12);
    color: var(--gold);
}

.network-card-dark .network-icon {
    background: rgba(255, 255, 255, 0.12);
}

.network-icon svg {
    width: 27px;
    height: 27px;
}

.network-card h3 {
    color: var(--navy-dark);
    font-family: var(--heading);
    font-size: 24px;
    line-height: 1.16;
}

.network-card-dark h3 {
    color: var(--white);
}

.network-list {
    display: grid;
    gap: 11px;
    margin-top: 26px;
    list-style: none;
}

.network-list li {
    position: relative;
    padding: 12px 14px 12px 34px;
    border-radius: var(--radius);
    background: #f4f7fa;
    color: var(--navy-dark);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.network-list li:hover {
    transform: translateX(3px);
    background: rgba(207, 159, 34, 0.12);
}

.network-card-dark .network-list li {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.network-card-dark .network-list li:hover {
    background: rgba(255, 255, 255, 0.16);
}

.network-list li::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
    transform: translateY(-50%);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(300px, 430px) 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
}

.contact-methods {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.contact-method,
.contact-option {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    transition: transform .2s ease, color .2s ease;
}

.contact-method {
    border-radius: 10px;
}

.contact-method:hover {
    transform: translateX(4px);
}

.contact-method-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf1f5;
    color: #204B74;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.contact-method:hover .contact-method-icon {
    background: rgba(207, 159, 34, 0.12);
    color: var(--gold);
    box-shadow: 0 10px 22px rgba(21, 47, 67, 0.08);
}

.contact-method:hover strong {
    color: #204B74;
}

.contact-method-icon svg {
    width: 23px;
    height: 23px;
}

.contact-method strong,
.contact-method small,
.contact-option strong,
.contact-option small {
    display: block;
}

.contact-method strong,
.contact-option strong {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.2;
}

.contact-method small,
.contact-option small {
    margin-top: 3px;
    color: #687386;
    font-size: 12.5px;
    line-height: 1.35;
}

.contact-option-list {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}

.contact-option {
    min-height: 74px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.contact-option.active {
    border-color: #204B74;
    background: #204B74;
    color: var(--white);
}

.contact-option.active .contact-method-icon {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.contact-option.active strong,
.contact-option.active small {
    color: var(--white);
}

.contact-option.active strong {
    font-weight: 550;
}

.contact-option:hover {
    transform: translateY(-2px);
}

.urgent-card {
    margin-top: 30px;
    padding: 24px;
    border-radius: 12px;
    background: #204B74;
    color: var(--white);
}

.urgent-card strong {
    font-family: var(--heading);
    font-size: 18px;
}

.urgent-card p {
    margin: 10px 0 16px;
    color: rgba(255, 255, 255, .78);
    font-size: 13.5px;
    line-height: 1.45;
}

.urgent-card .btn {
    width: 100%;
    min-height: 36px;
    padding: 9px 16px;
    font-size: 13px;
    box-shadow: none;
}

.form-panel {
    overflow: hidden;
    border: 1px solid #d7dee7;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(21, 47, 67, 0.07);
}

.form-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.form-tabs button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: var(--white);
    color: #687386;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.form-tabs button svg {
    width: 18px;
    height: 18px;
}

.form-tabs button.active {
    border-color: #204B74;
    background: rgba(31, 85, 126, .04);
    color: #204B74;
}

.contact-form {
    display: none;
    padding: 30px;
}

.contact-form.active {
    display: grid;
    gap: 18px;
}

.notice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    background: #f6f8fa;
    color: #073b6f;
    font-size: 12.5px;
    font-weight: 700;
}

.notice svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: #204B74;
}

.notice.gold {
    border-color: rgba(207, 159, 34, .22);
    background: rgba(207, 159, 34, .08);
    color: #715400;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 650;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    padding: 12px 14px;
    outline: 0;
    font-size: 13.5px;
    box-shadow: 0 3px 10px rgba(21, 47, 67, 0.03);
    transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
    resize: vertical;
}

input[type="file"] {
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #475569;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

input[type="file"]::file-selector-button {
    background: #204B74;
    color: #ffffff;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    margin-right: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
    background: #cf9f22;
}

input[type="file"]:hover {
    border-color: #204B74;
    background: #f1f5f9;
}


input:focus,
select:focus,
textarea:focus {
    border-color: #204B74;
    box-shadow: 0 0 0 4px rgba(32, 75, 116, .09);
}

.contact-form .btn-primary {
    min-height: 48px;
    gap: 12px;
    background: #204B74;
    font-size: 13.5px;
    box-shadow: 0 10px 22px rgba(32, 75, 116, 0.18);
}

.contact-form .btn-primary svg {
    width: 18px;
    height: 18px;
}

.form-response {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.form-response.success {
    color: #084e8d;
}

.form-response.error {
    color: #b42318;
}

.form-secure-note {
    margin-top: -2px;
    color: var(--muted);
    font-size: 12.5px;
    text-align: center;
}

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(207, 159, 34, .22);
    background:
        radial-gradient(circle at 14% 0%, rgba(207, 159, 34, .14), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(32, 75, 116, .46), transparent 36%),
        linear-gradient(135deg, #153250 0%, #0d2235 52%, #091723 100%);
    color: var(--white);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 68px 68px;
    opacity: .28;
}

.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 58px 0 44px;
}

.footer-about {
    padding-right: 30px;
}

.footer-brand {
    color: var(--white);
    align-items: center;
}

.footer-grid p {
    max-width: 360px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.7;
}

.footer-grid h4 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-family: var(--heading);
    color: #ffffff;
    font-size: 18px;
}

.footer-grid h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin-top: 11px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.58;
}

.footer-grid a:hover {
    color: var(--gold);
}

.footer-links a,
.footer-links span {
    position: relative;
    padding-left: 16px;
}

.footer-links a::before,
.footer-links span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(207, 159, 34, .76);
}

.footer-contact a {
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .56);
    text-align: center;
    font-size: 12px;
}

.footer-bottom a {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: .6px;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.whatsapp-float,
.top-float {
    position: fixed;
    z-index: 90;
    display: grid;
    place-items: center;
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
    font-weight: 900;
}

.whatsapp-float {
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    background: #22c55e;
    color: var(--white);
}

.top-float {
    left: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    background: #204B74;
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    box-shadow: 0 12px 26px rgba(32, 75, 116, 0.28);
    transition: opacity .22s ease, transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.top-float svg {
    width: 21px;
    height: 21px;
}

.top-float.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.top-float.visible:hover {
    background: rgba(32, 75, 116, 0.72);
    transform: translateY(0) scale(1.12);
    box-shadow: 0 16px 34px rgba(32, 75, 116, 0.22);
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .site-header .container {
        width: min(100% - 32px, 1220px);
    }

    .nav-wrap {
        min-height: 68px;
        grid-template-columns: 1fr auto auto;
        gap: 10px;
    }

    .brand img {
        width: 168px;
        max-height: 48px;
    }

    .menu-toggle {
        display: none !important;
    }

    .header-actions {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        gap: 10px;
    }

    .header-actions .header-btn {
        display: none;
    }

    .theme-toggle,
    .header-whatsapp-icon-btn,
    .header-call-icon-btn {
        display: grid !important;
        place-items: center;
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
    }

    .theme-icon {
        width: 17px;
        height: 17px;
    }

    .header-whatsapp-icon-btn .whatsapp-icon {
        width: 18px;
        height: 18px;
    }

    .header-call-icon-btn .call-icon {
        width: 15px;
        height: 15px;
    }

    .nav-menu {
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        width: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-self: stretch;
        gap: 0;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
        overflow: hidden;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 15px 18px;
        color: var(--ink);
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .nav-menu a:last-child {
        border-bottom: 0;
    }

    .industries-slider {
        --visible-cards: 4;
        --slide-gap: 16px;
    }

    .hero-grid,
    .split-grid,
    .contact-grid,
    .positioning-grid,
    .about-shell,
    .emergency-gst-shell,
    .knowledge-shell,
    .professional-network-shell {
        grid-template-columns: 1fr;
    }

    .knowledge-intro {
        position: static;
    }

    .positioning-grid {
        gap: 28px;
    }

    .positioning-copy {
        padding: 0;
    }

    .positioning-text {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .positioning-panel {
        min-height: auto;
    }

    .positioning-section {
        padding-top: 28px;
    }

    .hero-grid {
        min-height: 440px;
        padding-bottom: 42px;
    }

    .hero-card {
        max-width: 560px;
    }

    .count-section {
        margin: 0 0 44px;
    }

    .map-section {
        padding-bottom: 86px;
    }

    .map-frame iframe {
        height: 360px;
    }

    .knowledge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .count-panel {
        max-width: 900px;
        padding: 26px 24px;
    }

    .count-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 0;
    }

    .count-item {
        padding: 0 18px;
    }

    .count-item:nth-child(2) {
        border-right: 0;
    }

    .count-item:nth-child(3) {
        padding-left: 0;
    }

    .service-grid,
    .gallery-grid,
    .process-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        --testimonial-visible: 2;
    }

    .network-panels {
        grid-template-columns: 1fr 1fr;
    }

    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .practice-intro {
        grid-column: 1 / -1;
        min-height: 0;
        padding-right: 0;
    }

    .founder-profile {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .founder-photo-panel {
        max-width: 460px;
        margin: 0 auto;
        width: 100%;
    }

    .founder-photo-frame {
        min-height: 0;
    }

    .founder-photo-frame img {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .founder-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .experience-badge {
        right: 24px;
    }

    .testimonial-grid {
        --testimonial-visible: 1;
    }
}

@media (max-width: 1320px) and (min-width: 1101px) {
    .industries-slider {
        --visible-cards: 4;
    }

    .nav-wrap {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
    }

    .brand img {
        width: 190px;
        max-height: 52px;
    }

    .nav-menu {
        gap: 22px;
    }

    .nav-menu a {
        font-size: 16px;
    }

    .header-actions {
        gap: 10px;
    }

    .header-btn {
        min-height: 42px;
        padding: 11px 14px;
        font-size: 14px;
    }

    .header-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - (var(--mobile-content-gutter) * 2), 1220px);
    }

    .site-header .container {
        width: min(100% - 24px, 1220px);
    }

    .nav-wrap {
        min-height: 62px;
    }

    .brand img {
        width: 138px;
        max-height: 42px;
    }

    .footer-brand .brand-mark {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .footer-brand img {
        width: 56px;
        max-height: 46px;
    }

    .footer-brand strong {
        font-size: 17px;
    }

    .footer-brand small {
        display: none;
    }

    .nav-menu {
        top: 62px;
        left: 12px;
        right: 12px;
    }

    .nav-menu a {
        font-size: 15px;
    }

    .hero {
        min-height: auto;
        padding-top: 92px;
    }

    .hero-grid {
        min-height: auto;
        gap: 24px;
        padding-bottom: 38px;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 1.12;
    }

    .eyebrow {
        min-height: 0;
        padding: 5px 9px;
        font-size: 11.5px;
    }

    .hero-text {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-card {
        padding: 20px;
        max-width: 100%;
    }

    .hero-card h2 {
        font-size: 22px;
    }

    .count-section {
        margin: 0 0 38px;
    }

    .count-panel {
        max-width: 620px;
        padding: 22px 20px;
    }

    .count-panel h2 {
        font-size: 22px;
    }

    .count-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 22px;
        gap: 34px 18px;
    }

    .count-item,
    .count-item:first-child,
    .count-item:nth-child(2),
    .count-item:nth-child(3),
    .count-item:last-child {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding: 0;
        border-right: 0;
        border-bottom: 0;
        text-align: center;
    }

    .count-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .count-item:first-child {
        padding-top: 0;
    }

    .count-icon {
        width: 58px;
        height: 58px;
        border-radius: 12px;
        background: #f3f5f8;
        color: #204B74;
    }

    .count-icon svg {
        width: 42px;
        height: 42px;
    }

    .count-item strong {
        font-size: 28px;
    }

    .count-item div > span {
        max-width: 130px;
        margin: 7px auto 0;
        font-size: 14px;
        line-height: 1.35;
    }

    .positioning-section {
        padding-top: 28px;
    }

    .metrics,
    .service-grid,
    .gallery-grid,
    .process-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        --testimonial-visible: 1;
        --testimonial-gap: 16px;
    }

    .testimonial-nav {
        width: 34px;
        height: 34px;
    }

    .testimonial-prev,
    .testimonial-next {
        margin-top: 0;
    }

    .metrics {
        margin-top: -42px;
    }

    .metrics div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 20px;
    }

    .metrics div:last-child {
        border-bottom: 0;
    }

    .section,
    .split-section,
    .positioning-section,
    .about-section,
    .industries-showcase-section,
    .knowledge-section,
    .founder-section,
    .practice-section,
    .emergency-gst-section,
    .professional-network-section {
        padding: 72px 0;
    }

    .map-section {
        padding-bottom: 82px;
    }

    .map-frame {
        border-radius: 12px;
    }

    .map-frame iframe {
        height: 320px;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-card {
        min-height: 0;
        padding: 0;
    }

    .knowledge-media {
        height: 190px;
    }

    .knowledge-body {
        padding: 20px;
    }

    .positioning-section {
        padding-top: 28px;
    }

    .industries-slider {
        --visible-cards: 1;
        --slide-gap: 22px;
        --slide-edge: 0px;
        border-radius: 12px;
        padding: 10px 0 0;
        margin-top: -10px;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .industries-showcase-head {
        align-items: flex-start;
    }

    .practice-intro {
        min-height: 0;
        padding: 0;
    }

    .practice-intro h2 {
        font-size: 28px;
    }

    .practice-intro p {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.7;
    }

    .practice-card {
        min-height: 0;
        padding: 22px;
    }

    .practice-card h3 {
        font-size: 22px;
    }

    .practice-card p {
        margin-top: 12px;
        font-size: 14.5px;
    }

    .why-check-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .why-check-list li {
        min-height: 26px;
        padding-left: 26px;
        font-size: 16px;
        font-weight: 400;
    }

    .why-check-list li::before {
        width: 9px;
        height: 9px;
    }

    .emergency-gst-copy h2 {
        font-size: 28px;
    }

    .emergency-gst-copy p {
        font-size: 15px;
    }

    .emergency-gst-panel {
        padding: 22px;
    }

    .emergency-support-list {
        grid-template-columns: 1fr;
    }

    .emergency-actions .btn {
        width: 100%;
    }

    .network-panels {
        grid-template-columns: 1fr;
    }

    .network-card {
        min-height: 0;
        padding: 24px;
    }

    .network-intro h2 {
        font-size: 28px;
    }

    .founder-info-grid,
    .founder-forums div {
        grid-template-columns: 1fr;
    }

    .founder-detail h2 {
        font-size: 28px;
    }

    .founder-lead {
        font-size: 15px;
        line-height: 1.72;
    }

    .founder-photo-panel {
        padding: 25px 15px 35px 25px;
    }

    .founder-photo-panel::before {
        top: 10px;
        left: 10px;
        right: 25px;
        bottom: 25px;
        border-radius: 12px;
    }

    .founder-photo-frame {
        border-radius: 12px;
        aspect-ratio: 4 / 5.2;
    }

    .founder-name-card {
        left: 0;
        bottom: 20px;
        width: 91%;
        padding: 12px 18px;
    }

    .founder-name-card strong {
        font-size: 24px;
        margin-top: 4px;
    }

    .founder-credential-card {
        margin-top: 18px;
        padding: 18px;
    }

    .founder-credential-card strong {
        font-size: 20px;
    }

    .founder-credential-card span {
        font-size: 13.5px;
    }

    .founder-info-card,
    .founder-forums {
        padding: 22px;
    }

    .founder-experience strong {
        font-size: 34px;
    }

    .positioning-copy h2 {
        font-size: 28px;
    }

    .section-heading h2,
    .split-copy h2 {
        font-size: 28px;
        line-height: 1.16;
    }

    .positioning-text p {
        font-size: 15px;
        line-height: 1.75;
    }

    .about-main h2 {
        font-size: 28px;
    }

    .about-main p {
        font-size: 15px;
        line-height: 1.75;
    }

    .about-principle-line {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 24px 0 4px;
    }

    .about-principle-line div {
        min-height: auto;
        padding: 16px;
    }

    .about-principle-line strong {
        margin-top: 8px;
    }

    .about-image-wrapper img {
        aspect-ratio: 1.2 / .72;
    }

    .about-note {
        padding: 18px;
    }

    .positioning-panel {
        padding: 26px;
    }

    .positioning-panel strong {
        font-size: 28px;
    }

    .panel-stat span {
        font-size: 42px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .service-card,
    .quote-card,
    .process-card,
    .contact-form {
        padding: 20px;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-option,
    .contact-method {
        gap: 14px;
    }

    .contact-method-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .image-stack img {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / .92;
    }

    .experience-badge {
        position: relative;
        z-index: 2;
        right: auto;
        bottom: auto;
        width: min(236px, calc(100% - 36px));
        margin: -58px auto 0;
        padding: 14px 18px;
        text-align: center;
        border-radius: 10px;
        box-shadow: 0 14px 34px rgba(32, 75, 116, .16);
    }

    .experience-badge strong {
        font-size: 22px;
        line-height: 1.1;
    }

    .experience-badge span {
        margin-top: 5px;
        font-size: 12px;
    }

    .form-tabs button {
        min-height: 54px;
        font-size: 13px;
        padding: 10px;
    }

    input,
    select,
    textarea {
        min-width: 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }

    .top-float {
        left: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }

    .top-float svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 520px) {
    :root {
        --mobile-content-gutter: 18px;
    }

    .container {
        width: min(100% - (var(--mobile-content-gutter) * 2), 1220px);
    }

    .site-header .container {
        width: min(100% - 20px, 1220px);
    }

    .nav-wrap {
        min-height: 58px;
    }

    .brand img {
        width: 122px;
        max-height: 38px;
    }

    .nav-menu {
        top: 58px;
        left: 10px;
        right: 10px;
    }

    .hero {
        padding-top: 84px;
    }

    .hero-grid {
        gap: 20px;
        padding-bottom: 32px;
    }

    .hero h1,
    .section-heading h2,
    .split-copy h2,
    .positioning-copy h2,
    .about-main h2,
    .founder-detail h2,
    .practice-intro h2,
    .emergency-gst-copy h2,
    .network-intro h2 {
        font-size: 25px;
        line-height: 1.16;
    }

    .hero-text,
    .section-heading p,
    .split-copy p,
    .about-main p,
    .positioning-text p,
    .emergency-gst-copy p,
    .network-intro p {
        font-size: 14.5px;
        line-height: 1.68;
    }

    .eyebrow {
        max-width: 100%;
        white-space: normal;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        min-height: 44px;
        padding: 11px 16px;
        font-size: 13px;
        text-align: center;
    }

    .hero-card,
    .positioning-panel,
    .emergency-gst-panel,
    .network-card,
    .founder-info-card,
    .founder-forums,
    .service-card,
    .process-card,
    .quote-card {
        padding: 18px;
    }

    .industries-showcase-head {
        flex-direction: column;
        gap: 18px;
    }

    .industries-slider {
        --visible-cards: 1;
        --slide-gap: 22px;
        --slide-edge: 0px;
        border-radius: 12px;
        padding: 10px 0 0;
        margin-top: -10px;
    }

    .industries-slider-controls {
        align-self: flex-end;
    }

    .industries-showcase-head h2 {
        font-size: 25px;
        line-height: 1.16;
    }

    .industry-showcase-card {
        flex-basis: 100%;
        min-height: 274px;
        border-radius: 14px;
        box-shadow: none;
    }

    .industry-showcase-card::after {
        display: none;
    }

    .industry-showcase-copy {
        padding: 18px 18px 0;
    }

    .industry-showcase-copy h3 {
        font-size: 18px;
    }

    .industry-showcase-copy p {
        font-size: 13px;
    }

    .industry-showcase-card strong {
        min-height: 52px;
        padding: 11px 16px 12px 64px;
    }

    .industry-showcase-card strong::before {
        left: 18px;
        width: 28px;
        height: 28px;
    }

    .industry-showcase-card strong::after {
        left: 24px;
    }

    .mini-list span {
        padding: 10px 12px;
        font-size: 12.5px;
    }

    .count-panel {
        padding: 20px 16px;
    }

    .count-item strong {
        font-size: 28px;
    }

    .about-stats-badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 13px 15px;
    }

    .about-stats-badge strong {
        font-size: 18px;
    }

    .founder-photo-panel {
        padding: 18px 10px 28px 18px;
    }

    .founder-name-card {
        bottom: 14px;
        width: 94%;
        padding: 11px 14px;
    }

    .founder-name-card span {
        font-size: 9.5px;
        letter-spacing: 1.2px;
    }

    .founder-name-card strong {
        font-size: 21px;
    }

    .founder-credential-card strong,
    .practice-card h3,
    .network-card h3 {
        font-size: 20px;
    }

    .practice-card,
    .practice-gst-litigation,
    .practice-investigation {
        min-height: 0;
        padding: 20px;
    }

    .practice-icon,
    .network-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .why-check-list li {
        font-size: 15px;
    }

    .emergency-actions,
    .hero-actions {
        gap: 10px;
    }

    .network-card-head {
        align-items: flex-start;
    }

    .contact-info h3 {
        font-size: 22px;
    }

    .contact-method small,
    .contact-option small {
        font-size: 12px;
    }

    .contact-option {
        min-height: 66px;
        padding: 12px;
    }

    .urgent-card {
        padding: 20px;
    }

    .form-tabs button {
        min-height: 48px;
        gap: 7px;
        font-size: 12px;
    }

    .form-tabs button svg {
        width: 16px;
        height: 16px;
    }

    .notice {
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
        font-size: 12px;
    }

    input,
    select,
    textarea {
        padding: 11px 12px;
        font-size: 13px;
    }

    .map-frame iframe {
        height: 280px;
    }

    .footer-grid {
        gap: 28px;
        padding: 50px 0;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        right: 12px;
        bottom: 12px;
        font-size: 13px;
    }

    .top-float {
        left: 12px;
        bottom: 12px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 380px) {
    :root {
        --mobile-content-gutter: 16px;
    }

    .container {
        width: min(100% - (var(--mobile-content-gutter) * 2), 1220px);
    }

    .site-header .container {
        width: min(100% - 18px, 1220px);
    }

    .hero h1,
    .section-heading h2,
    .split-copy h2,
    .positioning-copy h2,
    .about-main h2,
    .founder-detail h2,
    .practice-intro h2,
    .industries-showcase-head h2,
    .emergency-gst-copy h2,
    .network-intro h2 {
        font-size: 23px;
    }

    .hero-card,
    .positioning-panel,
    .emergency-gst-panel,
    .network-card,
    .founder-info-card,
    .founder-forums,
    .service-card,
    .process-card,
    .quote-card,
    .contact-form {
        padding: 16px;
    }

    .founder-name-card strong {
        font-size: 19px;
    }

    .contact-method,
    .contact-option {
        gap: 11px;
    }

    .contact-method-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .industries-slider-controls button {
        width: 38px;
        height: 38px;
    }

    .industry-showcase-card {
        flex-basis: 100%;
        min-height: 264px;
    }

    .industry-showcase-copy h3 {
        font-size: 17px;
    }

    .industry-showcase-copy p {
        font-size: 12.5px;
    }
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="dark"] body {
    color: #e7edf2;
    background:
        radial-gradient(circle at 76% 6%, rgba(32, 75, 116, .22), transparent 34%),
        radial-gradient(circle at 8% 54%, rgba(207, 159, 34, .08), transparent 28%),
        linear-gradient(180deg, #111318 0%, #15171c 44%, #0d0f13 100%);
}

html[data-theme="dark"] .site-header.scrolled,
html[data-theme="dark"] .site-header.menu-open {
    border-color: rgba(207, 159, 34, .18);
    background: rgba(17, 19, 24, .94);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .site-header.scrolled .brand .logo-lite,
html[data-theme="dark"] .site-header.menu-open .brand .logo-lite {
    display: block;
}

html[data-theme="dark"] .site-header.scrolled .brand .logo-dark,
html[data-theme="dark"] .site-header.menu-open .brand .logo-dark {
    display: none;
}

html[data-theme="dark"] .site-header.scrolled .nav-menu a,
html[data-theme="dark"] .site-header.menu-open .nav-menu a {
    color: rgba(224, 233, 240, .82);
}

html[data-theme="dark"] .nav-menu {
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .nav-menu a {
    border-color: rgba(207, 159, 34, .14);
}

@media (max-width: 1100px) {
    html[data-theme="dark"] .nav-menu {
        border-color: rgba(207, 159, 34, .18);
        background: rgba(18, 20, 25, .98);
        box-shadow: 0 22px 54px rgba(0, 0, 0, .32);
    }
}

html[data-theme="dark"] .site-header.scrolled .menu-toggle,
html[data-theme="dark"] .site-header.menu-open .menu-toggle,
html[data-theme="dark"] .site-header.scrolled .theme-toggle,
html[data-theme="dark"] .site-header.menu-open .theme-toggle,
html[data-theme="dark"] .site-header.scrolled .call-btn,
html[data-theme="dark"] .site-header.menu-open .call-btn,
html[data-theme="dark"] .site-header.scrolled .money-recovery-btn,
html[data-theme="dark"] .site-header.menu-open .money-recovery-btn {
    border-color: rgba(207, 159, 34, .26);
    background: rgba(255, 255, 255, .08);
    color: #e4edf4;
}

html[data-theme="dark"] .menu-toggle span,
html[data-theme="dark"] .site-header.scrolled .menu-toggle span,
html[data-theme="dark"] .site-header.menu-open .menu-toggle span {
    color: #e4edf4;
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .hero-media {
    background-color: #111318;
}

html[data-theme="dark"] .hero-media {
    background:
        linear-gradient(90deg, rgba(17, 19, 24, .96) 0%, rgba(20, 24, 31, .86) 48%, rgba(32, 75, 116, .36) 100%),
        url("../images/hero.png") center / cover no-repeat;
}

html[data-theme="dark"] .hero-shade {
    background:
        radial-gradient(circle at 78% 18%, rgba(207, 159, 34, .11), transparent 30%),
        linear-gradient(180deg, rgba(17, 19, 24, .08), rgba(13, 15, 19, .96)),
        linear-gradient(90deg, rgba(207, 159, 34, .1), transparent 44%);
}

html[data-theme="dark"] .section,
html[data-theme="dark"] .split-section,
html[data-theme="dark"] .positioning-section,
html[data-theme="dark"] .about-section,
html[data-theme="dark"] .industries-showcase-section,
html[data-theme="dark"] .founder-section,
html[data-theme="dark"] .practice-section,
html[data-theme="dark"] .process-section,
html[data-theme="dark"] .testimonial-section,
html[data-theme="dark"] .contact-section,
html[data-theme="dark"] .map-section,
html[data-theme="dark"] .knowledge-section,
html[data-theme="dark"] .professional-network-section,
html[data-theme="dark"] .emergency-gst-section {
    background:
        radial-gradient(circle at 82% 0%, rgba(32, 75, 116, .16), transparent 34%),
        linear-gradient(180deg, #15171c 0%, #101217 100%);
}

html[data-theme="dark"] .section-label,
html[data-theme="dark"] .section-heading span,
html[data-theme="dark"] .knowledge-category,
html[data-theme="dark"] .card-kicker {
    border-color: rgba(207, 159, 34, .34);
    background: rgba(207, 159, 34, .1);
    color: #d8ad35;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .split-copy h2,
html[data-theme="dark"] .positioning-copy h2,
html[data-theme="dark"] .about-main h2,
html[data-theme="dark"] .founder-detail h2,
html[data-theme="dark"] .practice-intro h2,
html[data-theme="dark"] .industries-showcase-head h2,
html[data-theme="dark"] .knowledge-intro h2,
html[data-theme="dark"] .emergency-gst-copy h2,
html[data-theme="dark"] .network-intro h2,
html[data-theme="dark"] .contact-info h3 {
    color: #f4f7fa;
}

html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] small,
html[data-theme="dark"] .hero-text,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .positioning-copy p,
html[data-theme="dark"] .about-main p,
html[data-theme="dark"] .founder-lead,
html[data-theme="dark"] .practice-intro p,
html[data-theme="dark"] .industries-showcase-head p,
html[data-theme="dark"] .knowledge-intro p,
html[data-theme="dark"] .knowledge-card p,
html[data-theme="dark"] .emergency-gst-copy p,
html[data-theme="dark"] .network-intro p,
html[data-theme="dark"] .contact-method small,
html[data-theme="dark"] .contact-option small,
html[data-theme="dark"] .footer-grid p {
    color: #bdc8d1;
}

html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .count-panel,
html[data-theme="dark"] .positioning-panel,
html[data-theme="dark"] .about-principle-line div,
html[data-theme="dark"] .about-note,
html[data-theme="dark"] .founder-detail,
html[data-theme="dark"] .founder-info-card,
html[data-theme="dark"] .founder-forums,
html[data-theme="dark"] .practice-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .process-card,
html[data-theme="dark"] .quote-card,
html[data-theme="dark"] .emergency-gst-panel,
html[data-theme="dark"] .network-card,
html[data-theme="dark"] .contact-info,
html[data-theme="dark"] .form-panel,
html[data-theme="dark"] .map-frame,
html[data-theme="dark"] .knowledge-card {
    border-color: rgba(207, 159, 34, .22);
    background:
        linear-gradient(135deg, rgba(28, 31, 38, .94), rgba(18, 20, 25, .96));
    box-shadow: 0 22px 64px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .quote-card,
html[data-theme="dark"] .knowledge-card {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

html[data-theme="dark"] .hero-card {
    border-color: rgba(255, 255, 255, .18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .035));
    box-shadow: 0 18px 54px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

html[data-theme="dark"] .hero-card:hover {
    border-color: rgba(207, 159, 34, .38);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
    box-shadow: 0 20px 58px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
}

html[data-theme="dark"] .hero-actions .btn-gold,
html[data-theme="dark"] .hero-actions .btn-gold:hover {
    box-shadow: none;
}

html[data-theme="dark"] .count-panel {
    background:
        linear-gradient(135deg, rgba(28, 31, 38, .96), rgba(18, 20, 25, .98));
}

html[data-theme="dark"] .count-panel h2,
html[data-theme="dark"] .count-item strong,
html[data-theme="dark"] .positioning-panel h3,
html[data-theme="dark"] .about-principle-line strong,
html[data-theme="dark"] .about-note strong,
html[data-theme="dark"] .founder-info-card li,
html[data-theme="dark"] .founder-forums li,
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .process-card h3,
html[data-theme="dark"] .quote-card strong,
html[data-theme="dark"] .knowledge-card h3,
html[data-theme="dark"] .contact-method strong,
html[data-theme="dark"] .contact-option strong {
    color: #f4f7fa;
}

html[data-theme="dark"] .quote-avatar,
html[data-theme="dark"] .contact-method-icon,
html[data-theme="dark"] .network-icon,
html[data-theme="dark"] .practice-card .practice-icon,
html[data-theme="dark"] .icon-box {
    background: rgba(207, 159, 34, .12);
    color: #d8ad35;
}

html[data-theme="dark"] .count-icon {
    background: transparent;
    color: #d8ad35;
}

html[data-theme="dark"] .founder-credential-card {
    border-color: rgba(207, 159, 34, .3);
    border-left-color: var(--gold);
    background:
        linear-gradient(135deg, rgba(28, 31, 38, .72), rgba(18, 20, 25, .86));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .founder-credential-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 159, 34, .62);
    border-left-color: var(--gold);
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .52), rgba(28, 31, 38, .9));
    box-shadow: 0 24px 58px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .1);
}

html[data-theme="dark"] .founder-credential-card strong {
    color: #f4f7fa;
}

html[data-theme="dark"] .founder-credential-card span {
    color: #bdc8d1;
}

html[data-theme="dark"] .founder-photo-panel::before {
    border-color: rgba(207, 159, 34, .26);
    background:
        linear-gradient(135deg, rgba(41, 45, 52, .74), rgba(18, 20, 25, .86));
    box-shadow: 0 22px 58px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .founder-photo-frame {
    border-color: rgba(207, 159, 34, .32);
    background:
        linear-gradient(135deg, rgba(28, 31, 38, .95), rgba(18, 20, 25, .98));
    box-shadow: 0 28px 72px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .founder-photo-frame img {
    filter: brightness(.9) contrast(1.04) saturate(.96);
}

html[data-theme="dark"] .founder-photo-frame:hover {
    border-color: rgba(207, 159, 34, .62);
    box-shadow: 0 34px 82px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .founder-photo-frame:hover img {
    filter: brightness(.94) contrast(1.05) saturate(1);
}

html[data-theme="dark"] .founder-name-card {
    background: rgba(21, 50, 80, .92);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .founder-detail {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .image-stack img {
    border: 1px solid rgba(207, 159, 34, .22);
    filter: brightness(.82) contrast(1.05) saturate(.92);
    box-shadow: 0 28px 72px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .image-stack:hover img {
    filter: brightness(.88) contrast(1.06) saturate(.98);
    box-shadow: 0 34px 82px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .experience-badge {
    border: 1px solid rgba(207, 159, 34, .36);
    border-left: 5px solid var(--gold);
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .48), rgba(18, 20, 25, .78));
    color: #f4f7fa;
    box-shadow: 0 20px 54px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

html[data-theme="dark"] .image-stack:hover .experience-badge {
    border-color: rgba(207, 159, 34, .58);
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .62), rgba(18, 20, 25, .86));
    box-shadow: 0 24px 62px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .1);
}

html[data-theme="dark"] .experience-badge strong {
    color: #f4f7fa;
}

html[data-theme="dark"] .experience-badge span {
    color: #bdc8d1;
}

html[data-theme="dark"] .founder-info-card:hover,
html[data-theme="dark"] .founder-forums:hover {
    border-color: rgba(207, 159, 34, .62);
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .34), rgba(18, 20, 25, .96));
    box-shadow: 0 24px 58px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .positioning-panel:hover,
html[data-theme="dark"] .about-principle-line div:hover,
html[data-theme="dark"] .about-note:hover,
html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] .process-card:hover,
html[data-theme="dark"] .quote-card:hover,
html[data-theme="dark"] .emergency-gst-panel:hover,
html[data-theme="dark"] .network-highlight:hover,
html[data-theme="dark"] .network-card:hover,
html[data-theme="dark"] .contact-method:hover,
html[data-theme="dark"] .contact-option:hover,
html[data-theme="dark"] .knowledge-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 159, 34, .62);
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .34), rgba(18, 20, 25, .96));
    box-shadow: 0 24px 58px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .contact-method:hover .contact-method-icon,
html[data-theme="dark"] .contact-option:hover .contact-method-icon,
html[data-theme="dark"] .network-card:hover .network-icon {
    background: rgba(207, 159, 34, .16);
    color: #d8ad35;
}

html[data-theme="dark"] .positioning-card:hover,
html[data-theme="dark"] .emergency-support-list li:hover,
html[data-theme="dark"] .network-list li:hover {
    transform: translateY(-3px);
    border-color: rgba(207, 159, 34, .42);
    background: rgba(207, 159, 34, .1);
    color: #f4f7fa;
}

html[data-theme="dark"] .why-check-list li:hover {
    background: transparent;
    color: #f4f7fa;
    transform: translateX(4px);
}

html[data-theme="dark"] .founder-experience:hover {
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .62), rgba(18, 20, 25, .94));
}

html[data-theme="dark"] .founder-forums span:not(.info-kicker) {
    border: 1px solid rgba(207, 159, 34, .18);
    background: rgba(255, 255, 255, .055);
    color: #e7edf2;
}

html[data-theme="dark"] .founder-forums span:not(.info-kicker):hover {
    border-color: rgba(207, 159, 34, .42);
    background: rgba(207, 159, 34, .12);
    color: #ffffff;
}

html[data-theme="dark"] .network-highlight {
    border-color: rgba(207, 159, 34, .28);
    border-left-color: var(--gold);
    background:
        linear-gradient(135deg, rgba(28, 31, 38, .86), rgba(18, 20, 25, .94));
    box-shadow: 0 20px 52px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .network-highlight strong {
    color: #f4f7fa;
}

html[data-theme="dark"] .network-highlight span {
    color: #bdc8d1;
}

html[data-theme="dark"] .network-list li,
html[data-theme="dark"] .network-card-dark .network-list li {
    border: 1px solid rgba(207, 159, 34, .16);
    background: rgba(255, 255, 255, .055);
    color: #e7edf2;
}

html[data-theme="dark"] .network-list li:hover,
html[data-theme="dark"] .network-card-dark .network-list li:hover {
    border-color: rgba(207, 159, 34, .42);
    background: rgba(207, 159, 34, .12);
    color: #ffffff;
}

html[data-theme="dark"] .industries-slider-controls button {
    border-color: rgba(207, 159, 34, .2);
    background: rgba(13, 15, 19, .56);
    color: #d8ad35;
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html[data-theme="dark"] .industries-slider-controls button:hover {
    border-color: rgba(207, 159, 34, .46);
    background: rgba(32, 75, 116, .72);
    color: #ffffff;
}

html[data-theme="dark"] .testimonial-nav {
    border-color: rgba(207, 159, 34, .2);
    background: rgba(13, 15, 19, .56);
    color: #d8ad35;
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html[data-theme="dark"] .testimonial-nav:hover {
    border-color: rgba(207, 159, 34, .46);
    background: rgba(32, 75, 116, .72);
    color: #ffffff;
}

html[data-theme="dark"] .industry-showcase-card {
    border-color: rgba(207, 159, 34, .22);
    background:
        linear-gradient(180deg, rgba(20, 22, 27, .9), rgba(13, 15, 19, .72)),
        var(--showcase-bg);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .24);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}

html[data-theme="dark"] .industry-showcase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 159, 34, .62);
    box-shadow: 0 24px 58px rgba(0, 0, 0, .28);
    filter: saturate(1.04);
}

html[data-theme="dark"] .industry-showcase-card::before {
    background: transparent;
}

html[data-theme="dark"] .industry-showcase-copy span {
    background: rgba(207, 159, 34, .9);
    color: #101217;
    box-shadow: none;
}

html[data-theme="dark"] .industry-showcase-copy h3 {
    color: #f4f7fa;
}

html[data-theme="dark"] .industry-showcase-copy p {
    color: #c4ced6;
}

html[data-theme="dark"] .industry-showcase-card strong {
    background: linear-gradient(135deg, #171a20, #1f3f62);
    color: #f4f7fa;
}

html[data-theme="dark"] .industry-showcase-card::after {
    border-color: transparent;
    background: transparent;
}

html[data-theme="dark"] .practice-card {
    border-color: rgba(207, 159, 34, .28);
    background-color: #204B74;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-origin: padding-box;
    background-clip: padding-box;
    box-shadow: 0 22px 56px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

html[data-theme="dark"] .practice-card::after {
    background-color: transparent;
}

html[data-theme="dark"] .practice-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 159, 34, .62);
    background-color: #204B74;
    box-shadow: 0 28px 68px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .1);
}

html[data-theme="dark"] .practice-gst-litigation {
    background-image: url("../images/practice-gst-litigation.jpg");
}

html[data-theme="dark"] .practice-investigation {
    background-image: url("../images/practice-investigation.jpg");
}

html[data-theme="dark"] .practice-courts {
    background-image: url("../images/practice-courts.jpg");
}

html[data-theme="dark"] .practice-advisory {
    background-image: url("../images/practice-advisory.jpg");
}

html[data-theme="dark"] .practice-retainership {
    background-image: url("../images/practice-retainership.jpg");
}

html[data-theme="dark"] .practice-card:hover .practice-icon {
    background: rgba(32, 75, 116, .62);
    color: #d8ad35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .practice-card .practice-icon {
    background: rgba(11, 14, 19, .72);
    color: #d8ad35;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html[data-theme="dark"] .practice-card::before {
    background:
        linear-gradient(135deg, rgba(7, 9, 13, .91) 0%, rgba(12, 24, 36, .89) 46%, rgba(8, 10, 14, .94) 100%),
        linear-gradient(180deg, rgba(207, 159, 34, .12), transparent 48%);
    opacity: 1;
}

html[data-theme="dark"] .practice-card:hover::before {
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .46), rgba(18, 20, 25, .9)),
        linear-gradient(180deg, rgba(207, 159, 34, .16), transparent 48%);
    opacity: .94;
}

html[data-theme="dark"] .emergency-actions .btn-gold,
html[data-theme="dark"] .emergency-actions .btn-gold:hover {
    box-shadow: none;
}

html[data-theme="dark"] .btn-whatsapp-response {
    border-color: rgba(207, 159, 34, .34);
    background: rgba(255, 255, 255, .07);
    color: #f4f7fa;
    box-shadow: none;
}

html[data-theme="dark"] .btn-whatsapp-response:hover {
    border-color: rgba(207, 159, 34, .56);
    background: rgba(32, 75, 116, .72);
    color: #ffffff;
    box-shadow: none;
}

html[data-theme="dark"] .knowledge-media::after {
    background: linear-gradient(180deg, rgba(17, 19, 24, .08), rgba(13, 15, 19, .62));
}

html[data-theme="dark"] .knowledge-date,
html[data-theme="dark"] .form-secure-note {
    color: #8f9ba6;
}

html[data-theme="dark"] .knowledge-link {
    color: #d8ad35;
}

html[data-theme="dark"] .contact-method,
html[data-theme="dark"] .contact-option,
html[data-theme="dark"] .form-tabs button,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .notice,
html[data-theme="dark"] .emergency-support-list li {
    border-color: rgba(207, 159, 34, .18);
    background: rgba(255, 255, 255, .055);
    color: #edf3f7;
}

html[data-theme="dark"] .contact-info {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .contact-method {
    padding: 12px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, .035);
}

html[data-theme="dark"] .contact-method:hover {
    border-color: rgba(207, 159, 34, .32);
    background: rgba(255, 255, 255, .065);
}

html[data-theme="dark"] .contact-method-icon,
html[data-theme="dark"] .contact-option .contact-method-icon {
    background: rgba(207, 159, 34, .13);
    color: #d8ad35;
}

html[data-theme="dark"] .contact-option.active {
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .82), rgba(28, 31, 38, .9));
}

html[data-theme="dark"] .urgent-card {
    border: 1px solid rgba(207, 159, 34, .2);
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .72), rgba(18, 20, 25, .92));
    box-shadow: 0 22px 54px rgba(0, 0, 0, .26);
}

html[data-theme="dark"] .form-panel {
    background:
        linear-gradient(135deg, rgba(28, 31, 38, .78), rgba(18, 20, 25, .94));
}

html[data-theme="dark"] .form-tabs button {
    background: rgba(255, 255, 255, .035);
    color: #bdc8d1;
}

html[data-theme="dark"] .form-tabs button.active {
    background: rgba(32, 75, 116, .78);
    color: #ffffff;
}

html[data-theme="dark"] label {
    color: #d7e0e7;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background: rgba(255, 255, 255, .06);
    color: #edf3f7;
    box-shadow: none;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
    border-color: rgba(207, 159, 34, .42);
    box-shadow: 0 0 0 4px rgba(207, 159, 34, .1);
}

html[data-theme="dark"] .notice.gold,
html[data-theme="dark"] .notice {
    border-color: rgba(207, 159, 34, .24);
    background: rgba(255, 255, 255, .045);
    color: #edf3f7;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #94a5b3;
}

html[data-theme="dark"] .form-tabs,
html[data-theme="dark"] .quote-author,
html[data-theme="dark"] .count-item,
html[data-theme="dark"] .footer-bottom {
    border-color: rgba(207, 159, 34, .16);
}

html[data-theme="dark"] .form-tabs button.active,
html[data-theme="dark"] .contact-option.active {
    border-color: rgba(207, 159, 34, .44);
    background: rgba(32, 75, 116, .7);
    color: #ffffff;
}

html[data-theme="dark"] .btn-light {
    border-color: rgba(207, 159, 34, .22);
    background: rgba(255, 255, 255, .1);
    color: #f0f6f8;
}

html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .knowledge-cta .btn {
    background: #204B74;
    color: #ffffff;
}

html[data-theme="dark"] .top-float {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(13, 15, 19, .62);
    color: #ffffff;
    box-shadow: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html[data-theme="dark"] .top-float.visible:hover {
    border-color: rgba(207, 159, 34, .32);
    background: rgba(32, 75, 116, .42);
    box-shadow: none;
}

html[data-theme="dark"] .site-footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(207, 159, 34, .08), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(32, 75, 116, .22), transparent 36%),
        linear-gradient(135deg, #0b0d11 0%, #111318 54%, #08090c 100%);
    border-top: 1px solid rgba(207, 159, 34, .18);
}

html[data-theme="dark"] .site-footer::before {
    opacity: .16;
}

html[data-theme="dark"] .footer-grid p {
    color: #bdc8d1;
}

html[data-theme="dark"] .footer-grid h4,
html[data-theme="dark"] .footer-grid a,
html[data-theme="dark"] .footer-grid span {
    color: rgba(229, 238, 244, .84);
}

html[data-theme="dark"] .footer-grid a:hover {
    color: #d8ad35;
}

html[data-theme="dark"] .footer-bottom {
    border-color: rgba(207, 159, 34, .16);
    color: rgba(229, 238, 244, .58);
}

html[data-theme="dark"] .whatsapp-float {
    box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 760px) {
    body {
        padding-bottom: 82px;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: rgba(241, 247, 253, 0.92);
        border-top: 1px solid rgba(79, 168, 227, 0.16);
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -8px 24px rgba(79, 168, 227, 0.08);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        justify-content: space-around;
        align-items: center;
        padding: 0 12px;
        transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 20%;
        height: 100%;
        color: #728b9d;
        text-decoration: none;
        gap: 5px;
        transition: color 0.2s ease, transform 0.15s ease;
    }

    .mobile-nav-item:active {
        transform: scale(0.92);
    }

    .mobile-nav-icon {
        width: 24px;
        height: 24px;
        stroke-width: 1.8;
    }

    .mobile-nav-item span {
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        font-family: var(--body);
        line-height: 1;
    }

    /* Active States */
    .mobile-nav-item.active {
        color: #4fa8e3;
    }

    /* Adjust float buttons to sit above bottom navigation */
    .whatsapp-float {
        bottom: 86px !important;
        transition: bottom 0.3s ease;
    }

    .top-float {
        bottom: 86px !important;
        transition: bottom 0.3s ease;
    }
}

/* Dark Theme overrides for Bottom Navigation */
html[data-theme="dark"] .mobile-bottom-nav {
    background: rgba(11, 14, 19, 0.92);
    border-top: 1px solid rgba(207, 159, 34, 0.18);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .mobile-nav-item {
    color: #8f9ba6;
}

html[data-theme="dark"] .mobile-nav-item.active {
    color: var(--gold);
}

/* Dropdown Menu Styles */
.menu-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.chevron-icon {
    transition: transform 0.25s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 36, 54, 0.08);
    min-width: 190px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 110;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -26px;
    left: 0;
    right: 0;
    height: 30px;
}

.dropdown-menu a {
    display: block !important;
    padding: 10px 18px !important;
    color: var(--ink) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--gold) !important;
}

/* Hover States for Desktop */
@media (min-width: 761px) {
    .menu-item-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(4px);
    }

    .menu-item-dropdown:hover .chevron-icon {
        transform: rotate(180deg);
    }
}

/* Mobile Dropdown styles */
@media (max-width: 760px) {
    .menu-item-dropdown {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .menu-item-dropdown .dropdown-trigger {
        padding: 15px 18px;
        color: var(--ink);
        font-size: 16px;
        justify-content: space-between;
        width: 100%;
    }

    .menu-item-dropdown .chevron-icon {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.035);
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        z-index: 1;
    }

    .dropdown-menu a {
        padding: 12px 30px !important;
        font-size: 14px !important;
        border-bottom: none !important;
        color: var(--ink) !important;
    }

    .dropdown-menu a:hover {
        background: rgba(0, 0, 0, 0.05);
    }
}

/* Dark Theme overrides for Dropdown Menu */
html[data-theme="dark"] .dropdown-menu {
    background: #111318;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .dropdown-menu a {
    color: rgba(229, 238, 244, 0.84) !important;
}

html[data-theme="dark"] .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold) !important;
}

@media (max-width: 760px) {
    html[data-theme="dark"] .dropdown-menu {
        background: rgba(255, 255, 255, 0.03) !important;
    }
    html[data-theme="dark"] .dropdown-menu a {
        color: rgba(229, 238, 244, 0.84) !important;
    }
    html[data-theme="dark"] .menu-item-dropdown .dropdown-trigger {
        color: rgba(229, 238, 244, 0.84);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Active highlighting for parent drop-down triggers when child links are active */
.menu-item-dropdown:has(.dropdown-menu a.active) .dropdown-trigger {
    color: var(--navy) !important;
}

html[data-theme="dark"] .menu-item-dropdown:has(.dropdown-menu a.active) .dropdown-trigger {
    color: var(--gold) !important;
}

/* Header Call Icon Button & Header WhatsApp Icon Button */
.header-call-icon-btn,
.header-whatsapp-icon-btn {
    display: none;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.header-call-icon-btn:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(207, 159, 34, 0.08);
}

.header-whatsapp-icon-btn:hover {
    transform: translateY(-2px);
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.08);
}

.header-call-icon-btn .call-icon {
    width: 19px;
    height: 19px;
    stroke: currentColor;
}

.header-whatsapp-icon-btn .whatsapp-icon {
    width: 22px;
    height: 22px;
}

.site-header.scrolled .header-call-icon-btn,
.site-header.menu-open .header-call-icon-btn,
.site-header.scrolled .header-whatsapp-icon-btn,
.site-header.menu-open .header-whatsapp-icon-btn {
    border-color: rgba(31, 85, 126, .26);
    background: var(--white);
    color: var(--navy-dark);
}

.site-header.scrolled .header-call-icon-btn:hover,
.site-header.menu-open .header-call-icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(207, 159, 34, 0.05);
}

.site-header.scrolled .header-whatsapp-icon-btn:hover,
.site-header.menu-open .header-whatsapp-icon-btn:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.05);
}

/* Dark Theme overrides */
html[data-theme="dark"] .header-call-icon-btn,
html[data-theme="dark"] .header-whatsapp-icon-btn {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
    color: #edf3f7;
}

html[data-theme="dark"] .header-call-icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(207, 159, 34, 0.1);
}

html[data-theme="dark"] .header-whatsapp-icon-btn:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

html[data-theme="dark"] .site-header.scrolled .header-call-icon-btn,
html[data-theme="dark"] .site-header.menu-open .header-call-icon-btn,
html[data-theme="dark"] .site-header.scrolled .header-whatsapp-icon-btn,
html[data-theme="dark"] .site-header.menu-open .header-whatsapp-icon-btn {
    border-color: rgba(207, 159, 34, .16);
    background: rgba(255, 255, 255, .055);
    color: #edf3f7;
}

html[data-theme="dark"] .site-header.scrolled .header-call-icon-btn:hover,
html[data-theme="dark"] .site-header.menu-open .header-call-icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(207, 159, 34, 0.1);
}

html[data-theme="dark"] .site-header.scrolled .header-whatsapp-icon-btn:hover,
html[data-theme="dark"] .site-header.menu-open .header-whatsapp-icon-btn:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

/* Remove floating whatsapp button on mobile */
@media (max-width: 760px) {
    .whatsapp-float {
        display: none !important;
    }
}

/* Insights Page Layout */
.insights-hero {
    padding: 170px 0 70px;
    background: 
        linear-gradient(90deg, rgba(14, 46, 75, 0.96) 0%, rgba(32, 75, 116, 0.94) 100%),
        url("../images/hero.png") center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    color: var(--white);
}

.insights-hero .section-label {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.insights-hero h1 {
    font-family: var(--heading);
    font-size: clamp(32px, 4.5vw, 54px);
    color: var(--white);
    margin-top: 14px;
    font-weight: 700;
}

.insights-hero p.insights-lead {
    max-width: 760px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.7;
}

.insights-main-section {
    padding: 60px 0 110px;
    background: #ffffff;
}

/* Insights Filter */
.insights-filter-panel {
    margin-bottom: 44px;
    padding: 22px;
    border: 1px solid rgba(32, 75, 116, .12);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(247, 249, 251, .86));
    box-shadow: 0 18px 54px rgba(21, 47, 67, .08);
}

.filter-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(32, 75, 116, .1);
}

.filter-kicker {
    display: block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.filter-heading h2 {
    margin-top: 6px;
    color: var(--navy-deep);
    font-family: var(--heading);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
}

.filter-count {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid rgba(207, 159, 34, .24);
    border-radius: 999px;
    background: rgba(207, 159, 34, .1);
    color: var(--navy-deep);
    font-size: 12px;
    font-weight: 800;
}

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 18px;
    overflow: hidden;
    border: 1px solid rgba(32, 75, 116, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--navy-dark);
    font-size: 13.5px;
    font-weight: 700;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.filter-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 999px;
    background: rgba(207, 159, 34, .72);
    transition: background .22s ease, transform .22s ease;
}

.filter-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(32, 75, 116, .28);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(21, 47, 67, .08);
}

.filter-pill.active {
    border-color: #204B74;
    background: #204B74;
    color: var(--white);
    box-shadow: 0 12px 30px rgba(32, 75, 116, .18);
}

.filter-pill.active::before {
    background: var(--gold);
    transform: scale(1.25);
}

@media (max-width: 720px) {
    .insights-filter-panel {
        padding: 18px;
        margin-bottom: 32px;
        border-radius: var(--radius);
    }

    .filter-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .filter-count {
        padding: 7px 12px;
        font-size: 11.5px;
    }

    .filter-wrapper {
        flex-wrap: wrap;
        gap: 10px;
        margin-inline: 0;
        padding: 2px 0 6px;
        overflow-x: visible;
        scrollbar-width: none;
        scroll-padding-inline: var(--mobile-content-gutter);
    }

    .filter-wrapper::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        flex: 0 0 auto;
        min-height: 39px;
        padding: 9px 15px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.no-insights {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    font-size: 18px;
    color: var(--muted);
}

.no-insights.is-hidden,
.insights-grid-card.is-hidden {
    display: none;
}

.insights-grid-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 46, 75, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.insights-grid-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207, 159, 34, 0.52);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 46px rgba(21, 47, 67, 0.09);
}

.card-media-link {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-media {
    width: 100%;
    height: 100%;
    margin: 0;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insights-grid-card:hover .card-media img {
    transform: scale(1.05);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 14px;
}

.card-category {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.card-title {
    font-family: var(--heading);
    font-size: 20px;
    line-height: 1.35;
    color: var(--navy-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.card-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: var(--gold);
}

.card-text {
    color: #4b5563;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--gold);
}

.link-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.card-link:hover .link-arrow {
    transform: translateX(4px);
}

.card-link:hover .link-arrow.back {
    transform: translateX(-4px);
}

/* Insight Details Page */
.detail-header-section {
    padding: 170px 0 70px;
    background: 
        linear-gradient(90deg, rgba(14, 46, 75, 0.96) 0%, rgba(32, 75, 116, 0.94) 100%),
        url("../images/hero.png") center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-align: center;
    position: relative;
}

.detail-header-container {
    max-width: 960px;
    margin: 0 auto;
}

.detail-header-container h1 {
    font-family: var(--heading);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    color: var(--white);
    font-weight: 700;
}

.breadcrumb-trail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-trail a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
    color: var(--gold);
}

.breadcrumb-trail .check-mark {
    color: var(--gold);
    font-weight: 700;
    margin-right: 4px;
}

.breadcrumb-trail .current {
    color: var(--gold);
}

.detail-content-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 992px) {
    .detail-content-grid {
        grid-template-columns: 1fr 340px;
    }
}

.article-main-column {
    min-width: 0;
}

.detail-main-image {
    width: 100%;
    max-height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Metadata Row below Featured Image */
.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 500;
}

.article-meta-row .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-meta-row .meta-avatar {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 50%;
    overflow: hidden;
}

.article-meta-row .meta-icon {
    color: var(--gold);
    width: 16px;
    height: 16px;
}

.article-inner-title {
    font-family: var(--heading);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.3;
    color: var(--navy-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.article-rich-text {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--ink);
}

.article-rich-text p {
    margin-bottom: 24px;
}

.article-rich-text h3 {
    font-family: var(--heading);
    font-size: 22px;
    color: var(--navy-dark);
    margin: 40px 0 16px;
    font-weight: 700;
}

.article-rich-text ul {
    margin: 0 0 24px 24px;
}

.article-rich-text li {
    margin-bottom: 8px;
}

/* Sub-images and text styling as shown in mockup */
.article-sub-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 35px 0;
}

.article-sub-images figure {
    border-radius: var(--radius);
    overflow: hidden;
    height: 220px;
    margin: 0;
}

.article-sub-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-text-extra {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: 35px;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
    font-style: italic;
}

/* Share and Tags row */
.article-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}

.bottom-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-label {
    font-weight: 700;
    color: var(--navy-dark);
    font-size: 14.5px;
}

.tag-link {
    background: var(--cream);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: var(--gold);
    color: #ffffff;
}

.bottom-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-weight: 700;
    color: var(--navy-dark);
    font-size: 14.5px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--navy);
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: var(--gold);
    color: #ffffff;
    transform: translateY(-2px);
}

.article-footer-nav {
    margin-top: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 14.5px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--gold);
}

.back-link .link-arrow.back {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.back-link:hover .link-arrow.back {
    transform: translateX(-4px);
}

/* Sidebar Widgetry */
.article-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 4px 20px rgba(15, 36, 54, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.widget-title {
    font-family: var(--heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

/* Category List widget */
.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid var(--cream);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: #4b5563;
    font-size: 14.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.category-list a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.chevron-right-icon {
    color: var(--muted);
    transition: transform 0.2s ease;
}

.category-list a:hover .chevron-right-icon {
    transform: translateX(3px);
    color: var(--gold);
}

/* Recent Blog widget */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.recent-thumb {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-thumb img {
    transform: scale(1.08);
}

.recent-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.recent-date {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.recent-details h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.recent-details h4 a {
    color: var(--navy-dark);
    transition: color 0.2s ease;
}

.recent-details h4 a:hover {
    color: var(--gold);
}

/* Tags widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-cloud a {
    background: var(--cream);
    color: #4b5563;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tags-cloud a:hover {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

/* Related Insights Section */
.related-insights-section {
    padding: 80px 0 100px;
    background: var(--cream);
    border-top: 1px solid var(--line);
}

.related-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.related-heading h2 {
    font-family: var(--heading);
    font-size: 28px;
    color: var(--navy-dark);
}

.view-all-link {
    color: var(--navy);
    font-weight: 700;
    font-size: 14.5px;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--gold);
}

@media (max-width: 760px) {
    .detail-header-section {
        padding: 104px 0 42px;
    }

    .detail-content-section {
        padding: 44px 0 68px;
    }

    .detail-content-grid {
        gap: 34px;
    }

    .detail-header-container h1,
    .article-inner-title {
        font-size: 26px;
        line-height: 1.24;
    }

    .article-rich-text,
    .article-text-extra {
        font-size: 15.5px;
        line-height: 1.78;
    }

    .article-rich-text p {
        margin-bottom: 20px;
    }

    .article-rich-text h3 {
        font-size: 21px;
        line-height: 1.28;
        margin: 32px 0 14px;
    }

    .article-meta-row,
    .article-bottom-bar,
    .related-heading {
        gap: 14px;
    }

    .article-sub-images {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-text-extra {
        padding-left: 16px;
    }

    .sidebar-widget {
        padding: 24px;
    }

    .related-insights-section {
        padding: 56px 0 86px;
    }

    .related-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }
}

@media (max-width: 420px) {
    .detail-header-container h1,
    .article-inner-title {
        font-size: 24px;
    }

    .article-rich-text,
    .article-text-extra {
        font-size: 15px;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

/* Dark Mode Overrides for Insights Pages */
html[data-theme="dark"] .insights-hero,
html[data-theme="dark"] .detail-header-section {
    background: linear-gradient(180deg, #0d0f13 0%, #08090c 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .insights-hero h1,
html[data-theme="dark"] .detail-header-container h1,
html[data-theme="dark"] .article-rich-text h3,
html[data-theme="dark"] .related-heading h2,
html[data-theme="dark"] .card-title,
html[data-theme="dark"] .article-inner-title,
html[data-theme="dark"] .widget-title,
html[data-theme="dark"] .recent-details h4 a,
html[data-theme="dark"] .tags-label,
html[data-theme="dark"] .share-label {
    color: rgba(229, 238, 244, 0.94);
}

html[data-theme="dark"] .insights-main-section,
html[data-theme="dark"] .detail-content-section {
    background: #08090c;
}

html[data-theme="dark"] .insights-filter-panel {
    border-color: rgba(207, 159, 34, .18);
    background:
        linear-gradient(135deg, rgba(28, 31, 38, .74), rgba(13, 15, 19, .88));
    box-shadow: none;
}

html[data-theme="dark"] .filter-heading {
    border-color: rgba(207, 159, 34, .14);
}

html[data-theme="dark"] .filter-heading h2 {
    color: #f4f7fa;
}

html[data-theme="dark"] .filter-count {
    border-color: rgba(207, 159, 34, .28);
    background: rgba(207, 159, 34, .12);
    color: #e9eef2;
}

html[data-theme="dark"] .filter-pill {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .045);
    color: #d8e1e7;
    box-shadow: none;
}

html[data-theme="dark"] .filter-pill:hover {
    border-color: rgba(207, 159, 34, .34);
    background: rgba(32, 75, 116, .34);
    color: #ffffff;
    box-shadow: none;
}

html[data-theme="dark"] .filter-pill.active {
    border-color: rgba(207, 159, 34, .48);
    background:
        linear-gradient(135deg, rgba(32, 75, 116, .86), rgba(18, 20, 25, .88));
    color: #ffffff;
    box-shadow: none;
}

html[data-theme="dark"] .insights-grid-card {
    background: #111318;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .insights-grid-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 159, 34, 0.62);
    background: linear-gradient(135deg, rgba(32, 75, 116, 0.52), rgba(28, 31, 38, 0.9));
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .card-text {
    color: #a4b3be;
}

html[data-theme="dark"] .card-link,
html[data-theme="dark"] .back-link,
html[data-theme="dark"] .view-all-link,
html[data-theme="dark"] .tag-link,
html[data-theme="dark"] .share-btn {
    color: var(--gold);
}

html[data-theme="dark"] .card-link:hover,
html[data-theme="dark"] .back-link:hover,
html[data-theme="dark"] .view-all-link:hover {
    color: #ffffff;
}

html[data-theme="dark"] .article-rich-text,
html[data-theme="dark"] .article-text-extra {
    color: #bdc8d1;
}

html[data-theme="dark"] .article-meta-row,
html[data-theme="dark"] .article-bottom-bar,
html[data-theme="dark"] .related-insights-section {
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .related-insights-section {
    background: #0d0f13;
}

html[data-theme="dark"] .sidebar-widget {
    background: #111318;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .sidebar-widget:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 159, 34, 0.62);
    background: linear-gradient(135deg, rgba(32, 75, 116, 0.52), rgba(28, 31, 38, 0.9));
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .category-list li {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .category-list a {
    color: #bdc8d1;
}

html[data-theme="dark"] .category-list a:hover {
    color: var(--gold);
}

html[data-theme="dark"] .tags-cloud a,
html[data-theme="dark"] .tag-link,
html[data-theme="dark"] .share-btn {
    background: rgba(255, 255, 255, 0.04);
    color: #bdc8d1;
}

html[data-theme="dark"] .tags-cloud a:hover,
html[data-theme="dark"] .tag-link:hover,
html[data-theme="dark"] .share-btn:hover {
    background: var(--gold);
    color: #101217;
    border-color: var(--gold);
}

/* Contact FAB Menu */
.contact-fab-wrapper {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-fab-items {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
    margin-right: 5px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-fab-wrapper.open .contact-fab-items {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.contact-fab-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fab-label {
    background: #ffffff;
    color: #111827;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
    border: 1px solid var(--line);
}

.contact-fab-wrapper.open .contact-fab-item:nth-child(1) .fab-label { transition-delay: 0.15s; }
.contact-fab-wrapper.open .contact-fab-item:nth-child(2) .fab-label { transition-delay: 0.1s; }
.contact-fab-wrapper.open .contact-fab-item:nth-child(3) .fab-label { transition-delay: 0.05s; }

.contact-fab-wrapper.open .fab-label {
    opacity: 1;
    transform: translateX(0);
}

.fab-sub-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy); /* Brand Navy */
    color: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(31, 85, 126, 0.25);
    transition: all 0.2s ease;
}

.fab-sub-btn svg {
    width: 17px;
    height: 17px;
}

.fab-letter-icon {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.captcha-wrap {
    display: flex;
    justify-content: center;
    margin: 6px 0 2px;
    overflow-x: auto;
}

.fab-sub-btn:hover {
    transform: scale(1.08);
    background: var(--gold); /* Brand Gold */
    box-shadow: 0 8px 20px rgba(207, 159, 34, 0.35);
}

.fab-main-trigger {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold); /* Brand Gold */
    color: #ffffff;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(207, 159, 34, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-main-trigger:hover {
    transform: scale(1.05);
    background: var(--gold-dark);
    box-shadow: 0 8px 28px rgba(207, 159, 34, 0.4);
}

.fab-icon-close {
    display: none;
}

/* Toggle States */
.contact-fab-wrapper.open .fab-main-trigger {
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.contact-fab-wrapper.open .fab-icon-msg {
    display: none;
}

.contact-fab-wrapper.open .fab-icon-close {
    display: block;
}

/* Mobile responsive rules */
@media (max-width: 760px) {
    .contact-fab-wrapper {
        display: none !important;
    }
}

/* Dark mode overrides for expandable FAB */
html[data-theme="dark"] .fab-label {
    background: #111318;
    color: #bdc8d1;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

html[data-theme="dark"] .fab-sub-btn,
html[data-theme="dark"] .fab-sub-btn:hover,
html[data-theme="dark"] .fab-main-trigger,
html[data-theme="dark"] .fab-main-trigger:hover,
html[data-theme="dark"] .contact-fab-wrapper.open .fab-main-trigger {
    box-shadow: none;
}

html[data-theme="dark"] .contact-fab-wrapper.open .fab-main-trigger {
    background: #1f222a;
    color: #f3f4f6;
}

/* Keep Practice Areas cards aligned when the intro block is taller than row cards. */
.practice-section .practice-grid {
    align-items: stretch;
}

.practice-section .practice-card {
    height: 100%;
}

/* GST Services Portal Redesign */
.services-portal-wrapper {
    margin-top: 40px;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}

.services-tab-btn {
    background: transparent;
    border: 2px solid transparent;
    padding: 8px 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--muted);
    font-family: var(--heading);
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.services-tab-btn:hover {
    color: var(--navy);
    background: rgba(31, 85, 126, 0.05);
}

.services-tab-btn.active {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
    box-shadow: 0 4px 12px rgba(18, 58, 91, 0.15);
}

html[data-theme="dark"] .services-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .services-tab-btn.active {
    background: var(--gold);
    color: #0d0f13;
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(207, 159, 34, 0.25);
}

.services-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.services-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Services Portal Grid */
.services-portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .services-portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-portal-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Portal Card */
.services-portal-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.services-portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--navy);
    opacity: 0;
    transition: opacity 0.3s ease;
}

html[data-theme="dark"] .services-portal-card::before {
    background: var(--gold);
}

.services-portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(31, 85, 126, 0.2);
}

.services-portal-card:hover::before {
    opacity: 1;
}

html[data-theme="dark"] .services-portal-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(207, 159, 34, 0.3);
}

.services-portal-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    font-family: var(--heading);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

html[data-theme="dark"] .services-portal-card h3 {
    color: #ffffff;
}

.services-portal-card h3 svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.services-portal-card p.list-title,
.services-portal-card p.handling-title {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.services-portal-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    max-height: 125px;
    overflow-y: auto;
    padding-right: 6px;
}

.services-portal-card li {
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--muted);
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

html[data-theme="dark"] .services-portal-card li {
    color: #b0c0cc;
}

.services-portal-card li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold);
    font-size: 11px;
}

/* Dark Mode Optimizations for Services Redesign */
html[data-theme="dark"] .services-portal-card {
    background: #111318;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .services-portal-card:hover {
    background: linear-gradient(135deg, rgba(32, 75, 116, 0.25), rgba(17, 19, 24, 0.95));
    border-color: rgba(207, 159, 34, 0.52);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .services-portal-card h3 svg {
    filter: drop-shadow(0 2px 8px rgba(207, 159, 34, 0.35));
}

html[data-theme="dark"] .services-portal-card li {
    color: #bdc8d1;
}

/* GST Risk Management Retainers */
.retainers-section {
    background: var(--cream);
    padding: 80px 0;
}

html[data-theme="dark"] .retainers-section {
    background: #0d0f13;
}

.retainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .retainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .retainers-grid {
        grid-template-columns: 1fr;
    }
}

.retainer-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    min-height: 350px;
    height: 100%;
}

html[data-theme="dark"] .retainer-card {
    background: #111318;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.retainer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(18, 58, 91, 0.08);
    border-color: var(--gold);
}

html[data-theme="dark"] .retainer-card:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    border-color: var(--gold);
}

.retainer-header {
    margin-bottom: 12px;
    text-align: center;
}

.retainer-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* Plan badges/titles styling */
.retainer-card.bronze .retainer-badge {
    background: rgba(184, 115, 51, 0.1);
    color: #b87333;
}
.retainer-card.silver .retainer-badge {
    background: rgba(192, 192, 192, 0.15);
    color: #8a8a8a;
}
html[data-theme="dark"] .retainer-card.silver .retainer-badge {
    color: #cccccc;
}
.retainer-card.gold .retainer-badge {
    background: rgba(207, 159, 34, 0.12);
    color: var(--gold);
}
.retainer-card.enterprise .retainer-badge {
    background: rgba(31, 85, 126, 0.1);
    color: var(--navy);
}
html[data-theme="dark"] .retainer-card.enterprise .retainer-badge {
    background: rgba(207, 159, 34, 0.2);
    color: var(--gold);
}

.retainer-card h3 {
    font-size: 25px;
    font-weight: 800;
    color: var(--navy);
    font-family: var(--heading);
    margin: 0 0 4px 0;
}

html[data-theme="dark"] .retainer-card h3 {
    color: #ffffff;
}

.retainer-ideal {
    font-size: 14.5px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 10px;
}

html[data-theme="dark"] .retainer-ideal {
    color: #9ab0c0;
}



.retainer-card p.services-title {
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
}

html[data-theme="dark"] .retainer-card p.services-title {
    color: var(--gold);
}

.retainer-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    flex-grow: 1;
    max-height: 170px;
    overflow-y: auto;
    padding-right: 6px;
}

.retainer-card li {
    font-size: 15px;
    line-height: 1.4;
    color: var(--muted);
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

html[data-theme="dark"] .retainer-card li {
    color: #bdc8d1;
}

.retainer-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold);
    font-size: 10px;
}



.retainer-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--navy);
    background: transparent;
    color: var(--navy);
    margin-top: auto;
}

.retainer-btn:hover {
    background: var(--navy);
    color: #ffffff;
}



html[data-theme="dark"] .retainer-btn {
    border-color: var(--gold);
    color: var(--gold);
}

html[data-theme="dark"] .retainer-btn:hover {
    background: var(--gold);
    color: #0d0f13;
}



/* Custom scrollbar for compact card lists */
.services-portal-card ul::-webkit-scrollbar,
.retainer-card ul::-webkit-scrollbar {
    width: 4px;
}

.services-portal-card ul::-webkit-scrollbar-track,
.retainer-card ul::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
}

html[data-theme="dark"] .services-portal-card ul::-webkit-scrollbar-track,
html[data-theme="dark"] .retainer-card ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.services-portal-card ul::-webkit-scrollbar-thumb,
.retainer-card ul::-webkit-scrollbar-thumb {
    background: rgba(18, 58, 91, 0.2);
    border-radius: 4px;
}

html[data-theme="dark"] .services-portal-card ul::-webkit-scrollbar-thumb,
html[data-theme="dark"] .retainer-card ul::-webkit-scrollbar-thumb {
    background: rgba(207, 159, 34, 0.35);
}

/* Entrance Popup Styles */
.entrance-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 14, 19, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.entrance-popup-overlay.show {
    opacity: 1;
}
.entrance-popup-card {
    background: #11141a;
    border: 1px solid rgba(207, 159, 34, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(207, 159, 34, 0.15);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}
.entrance-popup-overlay.show .entrance-popup-card {
    transform: scale(1);
}
.entrance-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.entrance-popup-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}
.entrance-popup-body {
    padding: 35px 30px;
}
.entrance-popup-header {
    text-align: center;
    margin-bottom: 28px;
}
.entrance-popup-icon {
    font-size: 44px;
    color: var(--gold);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(207, 159, 34, 0.35));
}
.entrance-popup-header h3 {
    font-family: var(--heading);
    color: #fff;
    font-size: 25px;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.entrance-popup-header p {
    color: #a0aec0;
    font-size: 14.5px;
    line-height: 1.45;
    margin: 0;
    padding: 0 10px;
}
.popup-form-row {
    display: flex;
    gap: 16px;
}
.flex-1 {
    flex: 1;
}
.popup-form-group {
    margin-bottom: 20px;
}
.popup-form-group label {
    display: flex;
    align-items: center;
    color: #cbd5e0;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 8px;
}
.popup-form-group label i {
    color: var(--gold);
    margin-right: 8px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
}
.popup-form-control {
    width: 100%;
    background-color: #1a1e26;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 11px 16px;
    color: #fff;
    font-size: 14.5px;
    transition: border-color 0.22s, box-shadow 0.22s;
}
.popup-form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(207, 159, 34, 0.18);
}
.popup-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #d8ad35 0%, #b8860b 100%);
    border: none;
    border-radius: 8px;
    padding: 13px;
    color: #11141a;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}
.popup-submit-btn i {
    margin-left: 8px;
    font-size: 14px;
    transition: transform 0.2s ease;
}
.popup-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -10px rgba(207, 159, 34, 0.45);
}
.popup-submit-btn:hover i {
    transform: translateX(4px);
}
.entrance-popup-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 12px;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Light theme support */
html[data-theme="light"] .entrance-popup-card {
    background: #ffffff;
    border-color: rgba(20, 47, 67, 0.1);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.15), 0 0 30px rgba(21, 47, 67, 0.05);
}
html[data-theme="light"] .entrance-popup-header h3 {
    color: #152f43;
}
html[data-theme="light"] .entrance-popup-header p {
    color: #4a5568;
}
html[data-theme="light"] .popup-form-group label {
    color: #4a5568;
}
html[data-theme="light"] .popup-form-group label i {
    color: #cf9f22;
}
html[data-theme="light"] .popup-form-control {
    background-color: #f7fafc;
    border-color: #e2e8f0;
    color: #1a202c;
}
html[data-theme="light"] .popup-form-control:focus {
    border-color: #cf9f22;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(207, 159, 34, 0.12);
}
html[data-theme="light"] .popup-submit-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #152f43 0%, #0d1e2b 100%);
}
html[data-theme="light"] .popup-submit-btn:hover {
    box-shadow: 0 10px 20px -10px rgba(21, 47, 67, 0.4);
}
html[data-theme="light"] .entrance-popup-close {
    color: #718096;
}
html[data-theme="light"] .entrance-popup-close:hover {
    color: #152f43;
}

/* Responsive adjustments for entrance popup */
@media (max-width: 576px) {
    .entrance-popup-overlay {
        padding: 10px;
        align-items: center;
        overflow-y: auto;
    }
    .entrance-popup-card {
        margin-top: 15px;
        margin-bottom: 15px;
        max-width: 100%;
        border-radius: 12px;
    }
    .entrance-popup-close {
        top: 12px;
        right: 12px;
        font-size: 20px;
    }
    .entrance-popup-body {
        padding: 20px 16px;
    }
    .entrance-popup-header {
        margin-bottom: 12px;
    }
    .entrance-popup-icon {
        font-size: 30px;
        margin-bottom: 6px;
    }
    .entrance-popup-header h3 {
        font-size: 19px;
        margin-bottom: 4px;
    }
    .entrance-popup-header p {
        font-size: 13px;
        line-height: 1.35;
        padding: 0;
    }
    .popup-form-row {
        flex-direction: column;
        gap: 0;
    }
    .popup-form-group {
        margin-bottom: 10px;
    }
    .popup-form-group label {
        font-size: 12.5px;
        margin-bottom: 4px;
    }
    .popup-form-group label i {
        font-size: 12.5px;
        margin-right: 6px;
        width: 14px;
    }
    .popup-form-control {
        padding: 8px 12px;
        font-size: 13.5px;
        border-radius: 6px;
    }
    .popup-submit-btn {
        margin-top: 12px;
        padding: 10px;
        font-size: 14px;
        border-radius: 6px;
    }
    .entrance-popup-footer {
        margin-top: 12px;
        font-size: 11px;
    }
}

/* Card with only Name, Position, and Star (No Description) */
/* Testimonial Dark Mode Overrides */
html[data-theme="dark"] .quote-card {
    background: #1a2535;
    border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .quote-card p {
    color: #b8c5d5 !important;
}
html[data-theme="dark"] .quote-card small {
    color: #7a8fa6 !important;
}
html[data-theme="dark"] .quote-card strong {
    color: #e2ecf5 !important;
}
html[data-theme="dark"] .testimonial-media-avatar {
    background: linear-gradient(135deg, #1e3249 0%, #243c56 100%);
    color: #7bb3d8;
}
html[data-theme="dark"] .testimonial-nav {
    background: rgba(26, 37, 53, 0.95);
    border-color: rgba(255,255,255,0.12);
    color: #90b4d0;
}
html[data-theme="dark"] .testimonial-nav:hover {
    background: #204B74;
    color: #fff;
}

/* ============================================================
   FEATURES OVERLAP BOXES (After Hero, Overlapping)
   ============================================================ */
.features-overlap-section {
    position: relative;
    z-index: 20;
    margin-top: -35px; /* 10% top part of card overlaps into hero section */
    margin-bottom: 28px;
}

.features-overlap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.features-overlap-card {
    background: var(--white);
    border: 1px solid #edf2f6;
    border-top: 3.5px solid #cf9f22; /* Gold top border highlight */
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 14px 40px rgba(32, 75, 116, 0.08); /* Elevated floating shadow */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.features-overlap-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(21, 47, 67, 0.12);
    border-color: rgba(207, 159, 34, 0.45);
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(32, 75, 116, 0.06);
    color: #204B74;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 18px;
    transition: background 0.3s ease, color 0.3s ease;
}

.features-overlap-card:hover .feature-icon-wrap {
    background: #204B74;
    color: #ffffff;
}

.features-overlap-card h3 {
    color: var(--navy-dark);
    font-size: 16.5px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.35;
    font-family: var(--heading);
}

.features-overlap-card p {
    color: #5d6b7c;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

/* Dark mode overrides */
html[data-theme="dark"] .features-overlap-card {
    background: #1a2535;
    border-color: rgba(255, 255, 255, 0.06);
    border-top: 3.5px solid #cf9f22; /* Maintain gold accent border in dark mode */
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}


html[data-theme="dark"] .features-overlap-card h3 {
    color: #e2ecf5;
}

html[data-theme="dark"] .features-overlap-card p {
    color: #94a3b8;
}

html[data-theme="dark"] .feature-icon-wrap {
    background: rgba(255, 255, 255, 0.04);
    color: #cf9f22;
}

html[data-theme="dark"] .features-overlap-card:hover .feature-icon-wrap {
    background: #cf9f22;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .features-overlap-section {
        margin-top: -25px;
    }
    .features-overlap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .features-overlap-section {
        margin-top: -20px;
    }
    .features-overlap-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .features-overlap-card {
        padding: 22px 20px;
    }
}



