/* ====================================================================
   RRC LAW ASSOCIATES — NRI TAX RETURN FILING SERVICE PAGE STYLES
   Master Production Design System (Compact & Refined 2026 Edition)
   ==================================================================== */

:root {
    /* Brand Color Tokens */
    --navy-dark: #0E1C2F;
    --navy-mid: #0b1e36;
    --navy-card: #0f2442;
    --navy-surface: #132a4a;
    --navy-light: #1e3a5f;
    --gold: #c9a24d;
    --gold-hover: #b38f40;
    --gold-bright: #FED488;
    --gold-accent: #775A19;
    --gold-light: #fbf7ee;
    --gold-border: #e5d7b5;
    --slate-light: #f9f9ff;
    --bg-page: #f9f9ff;
    --bg-surface: #ffffff;
    --bg-alt: #f4f6fa;
    --text-dark: #0f2137;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --border-subtle: rgba(201, 162, 77, 0.25);

    /* Typography Tokens */
    --font-serif: 'Playfair Display', Georgia, Cambria, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Compact & Balanced Typography Scale Hierarchy */
    --fs-hero: clamp(2.25rem, 3.4vw, 3.25rem);       /* 36px – 52px */
    --fs-hero-sub: clamp(1rem, 1.15vw, 1.15rem);      /* 16px – 18.4px */
    --fs-section: clamp(1.85rem, 2.3vw, 2.25rem);     /* 30px – 36px */
    --fs-section-sub: clamp(0.925rem, 1vw, 1.05rem);  /* 15px – 16.8px */
    --fs-card-title: clamp(1.15rem, 1.25vw, 1.35rem); /* 18.5px – 21.6px */
    --fs-body: 1rem;                                  /* 16px */
    --fs-body-sm: 0.9375rem;                          /* 15px */
    --fs-meta: 0.84rem;                               /* 13.5px */
    --fs-btn: 0.9375rem;                              /* 15px */

    /* Line Heights */
    --lh-heading: 1.22;
    --lh-card-title: 1.34;
    --lh-body: 1.68;
    --lh-meta: 1.4;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(14, 28, 47, 0.05);
    --shadow-md: 0 6px 20px rgba(14, 28, 47, 0.08);
    --shadow-lg: 0 12px 32px rgba(14, 28, 47, 0.12);
    --shadow-gold: 0 6px 20px rgba(201, 162, 77, 0.25);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 125px;
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 120px;
    }
}

@media (max-width: 600px) {
    html {
        scroll-padding-top: 105px;
    }
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: var(--lh-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ====================================================================
   STRONG CORE TYPOGRAPHY ISOLATION & PARAGRAPH OVERRIDES
   Permanently neutralizes style.css white-on-white text (rgba(255,255,255,0.8))
   and excessive 48px paragraph margins across the entire page.
   ==================================================================== */
.nri-tax-section:not(.nri-tax-section-dark) p,
.nri-tax-intro-p,
.nri-tax-consideration-body p,
.nri-tax-faq-content p,
.nri-tax-benefit-desc,
.nri-tax-service-desc,
.nri-tax-step-desc,
.nri-tax-trust-desc,
.nri-tax-guide-desc {
    font-family: var(--font-sans) !important;
    color: var(--text-body) !important;
    line-height: var(--lh-body) !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* Eliminate bottom margin on last paragraphs inside containers */
.nri-tax-section p:last-child,
.nri-tax-consideration-body p:last-child,
.nri-tax-faq-content p:last-child {
    margin-bottom: 0 !important;
}

/* Specific body copy sizes */
.nri-tax-intro-p {
    font-size: var(--fs-body) !important;
}

.nri-tax-benefit-desc,
.nri-tax-service-desc,
.nri-tax-consideration-body p,
.nri-tax-step-desc,
.nri-tax-trust-desc,
.nri-tax-faq-content p,
.nri-tax-guide-desc {
    font-size: var(--fs-body-sm) !important;
    line-height: 1.62 !important;
}

/* Dark Section and Dark Banner Paragraphs */
.nri-tax-hero p,
.nri-tax-hero-desc,
.nri-tax-section-dark p,
.nri-tax-country-desc,
.nri-tax-section .nri-tax-bottom-cta-card p,
.nri-tax-section .nri-tax-bottom-cta-desc,
.nri-tax-bottom-cta-card p,
.nri-tax-bottom-cta-desc {
    color: #e2e8f0 !important;
}

/* Preserved Global Footer typography */
.footer p,
.footer-brand p {
    color: whitesmoke !important;
}

.footer .footer-bottom p {
    color: #94a3b8 !important;
}

.footer .contact p {
    color: #f1f5f9 !important;
}
.nri-tax-country-desc,
.nri-tax-bottom-cta-desc,
.nri-tax-hero-desc {
    color: #e2e8f0 !important;
}

.nri-tax-remote-assurance p {
    color: #f1f5f9 !important;
    font-size: 0.925rem !important;
    line-height: 1.6 !important;
    margin: 0 auto !important;
    max-width: 800px !important;
}

/* Highlight & Notice Paragraphs */
.nri-tax-lead-text {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: var(--navy-dark) !important;
    line-height: 1.65 !important;
    margin-bottom: 14px !important;
}

.nri-tax-highlight-box p {
    color: var(--navy-dark) !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.nri-tax-statutory-notice p {
    color: var(--navy-dark) !important;
    font-size: 0.88rem !important;
    line-height: 1.58 !important;
    margin: 0 !important;
}

/* Heading font isolation */
.nri-tax-page h1,
.nri-tax-page h2,
.nri-tax-page h3,
.nri-tax-page h4,
.nri-tax-hero-title,
.nri-tax-section-title,
.nri-tax-benefit-title,
.nri-tax-service-title,
.nri-tax-consideration-title,
.nri-tax-doc-cat-title,
.nri-tax-step-title,
.nri-tax-trust-title,
.nri-tax-guide-title,
.nri-tax-bottom-cta-title {
    font-family: var(--font-serif) !important;
    letter-spacing: -0.01em !important;
    overflow-wrap: break-word !important;
}

/* Universal Section Scroll Margin to Prevent Sticky Header Clipping */
.nri-tax-section,
[id] {
    scroll-margin-top: 125px;
}

@media (max-width: 991.98px) {
    .nri-tax-section,
    [id] {
        scroll-margin-top: 120px;
    }
}

@media (max-width: 600px) {
    .nri-tax-section,
    [id] {
        scroll-margin-top: 105px;
    }
}

/* --------------------------------------------------------------------
   TOP BREADCRUMB BAR (Matches Existing Customs & Practice Area pages)
   -------------------------------------------------------------------- */
.nri-tax-breadcrumb-bar {
    background: #000000;
    border-bottom: 1px solid rgba(201, 162, 77, 0.25);
    padding: 8px 0;
    margin-top: 118px;
    position: relative;
    z-index: 10;
}

@media (max-width: 991.98px) {
    .nri-tax-breadcrumb-bar {
        margin-top: 124px;
    }
}

@media (max-width: 600px) {
    .nri-tax-breadcrumb-bar {
        margin-top: 108px;
    }
}

.nri-tax-breadcrumb-bar ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: var(--fs-meta);
}

.nri-tax-breadcrumb-bar a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: var(--transition);
}

.nri-tax-breadcrumb-bar a:hover {
    color: var(--gold);
}

.nri-tax-breadcrumb-bar .active {
    color: var(--gold-bright);
    font-weight: 600;
}

.nri-tax-breadcrumb-bar .separator {
    color: rgba(255, 255, 255, 0.35);
}

/* --------------------------------------------------------------------
   HERO SECTION – AUTOMATIC IMAGE CAROUSEL (3 SLIDES)
   -------------------------------------------------------------------- */
.nri-tax-hero {
    position: relative;
    min-height: 520px;
    background: var(--navy-dark);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
    display: flex;
    align-items: center;
}

/* Full-width Carousel Track */
.nri-tax-carousel-track {
    position: relative;
    width: 100%;
    min-height: 520px;
}

.nri-tax-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
    will-change: opacity;
    z-index: 1;
    display: flex;
    align-items: center;
}

.nri-tax-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.nri-tax-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.nri-tax-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    transform: scale(1.0);
    transition: transform 6s ease-out;
}

.nri-tax-carousel-slide.active .nri-tax-slide-bg img {
    transform: scale(1.04);
}

/* Dark Navy & Bronze Gradients for High Readability */
.nri-tax-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(14, 28, 47, 0.96) 0%,
            rgba(14, 28, 47, 0.92) 32%,
            rgba(14, 28, 47, 0.78) 55%,
            rgba(14, 28, 47, 0.48) 75%,
            rgba(14, 28, 47, 0.20) 100%),
        linear-gradient(180deg,
            rgba(14, 28, 47, 0.55) 0%,
            transparent 30%,
            transparent 70%,
            rgba(14, 28, 47, 0.75) 100%);
}

.nri-tax-slide-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(201, 162, 77, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.65;
}

/* Slide Content Container */
.nri-tax-slide-content-wrap {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 56px 0 68px 0;
}

.nri-tax-slide-content {
    max-width: 740px;
}

.nri-tax-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 77, 0.16);
    border: 1px solid rgba(201, 162, 77, 0.45);
    color: var(--gold-bright);
    padding: 5px 13px;
    border-radius: 30px;
    font-size: var(--fs-meta);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.nri-tax-hero-title {
    font-family: var(--font-serif);
    font-size: var(--fs-hero);
    font-weight: 700;
    line-height: var(--lh-heading);
    color: #ffffff;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.nri-tax-hero-desc {
    font-family: var(--font-sans);
    font-size: var(--fs-hero-sub);
    font-weight: 400;
    line-height: 1.65;
    color: #e2e8f0;
    margin-bottom: 24px;
    max-width: 640px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.nri-tax-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-tax-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(135deg, #c9a24d 0%, #b38f40 100%);
    color: #000000 !important;
    font-weight: 700;
    font-size: var(--fs-btn);
    padding: 12px 26px;
    border-radius: 6px;
    border: 1px solid var(--gold);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(201, 162, 77, 0.32);
    transition: var(--transition);
    cursor: pointer;
}

.btn-tax-primary:hover,
.btn-tax-primary:focus-visible {
    background: linear-gradient(135deg, #FED488 0%, #c9a24d 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: #000000 !important;
    outline: none;
}

.btn-tax-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: rgba(14, 28, 47, 0.6);
    border: 1.5px solid rgba(201, 162, 77, 0.55);
    color: #ffffff !important;
    font-weight: 600;
    font-size: var(--fs-btn);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.btn-tax-secondary:hover,
.btn-tax-secondary:focus-visible {
    background: rgba(201, 162, 77, 0.15);
    border-color: var(--gold-bright);
    color: var(--gold-bright) !important;
    transform: translateY(-2px);
    outline: none;
}

/* Carousel Navigation Controls (Arrows & Indicators) */
.nri-tax-carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 6;
}

.nri-tax-carousel-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nri-tax-carousel-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nri-tax-dot {
    width: 28px;
    height: 5px;
    border-radius: 3px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.nri-tax-dot:hover {
    background: rgba(255, 255, 255, 0.65);
}

.nri-tax-dot.active {
    background: var(--gold-bright);
    width: 42px;
    box-shadow: 0 0 8px rgba(254, 212, 136, 0.6);
}

.nri-tax-carousel-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nri-tax-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(14, 28, 47, 0.7);
    border: 1px solid rgba(201, 162, 77, 0.45);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.nri-tax-arrow-btn:hover,
.nri-tax-arrow-btn:focus-visible {
    background: var(--gold);
    color: #000000;
    border-color: var(--gold);
    outline: none;
}

/* --------------------------------------------------------------------
   SECTION SYSTEM & COMPACT COMMON COMPONENTS (Priority 2 Spacing)
   -------------------------------------------------------------------- */
.nri-tax-section {
    padding: 60px 0;
    position: relative;
    background-color: var(--bg-surface);
}

.nri-tax-section-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.nri-tax-section-dark {
    background-color: var(--navy-dark);
    color: #ffffff;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.nri-tax-section-header {
    margin-bottom: 22px;
    text-align: left;
}

.nri-tax-section-header.text-center {
    text-align: center;
}

.nri-tax-section-tag {
    display: inline-block;
    font-size: var(--fs-meta);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 6px;
}

.nri-tax-section-dark .nri-tax-section-tag {
    color: var(--gold-bright);
}

.nri-tax-section-title {
    font-family: var(--font-serif);
    font-size: var(--fs-section);
    font-weight: 700;
    color: var(--text-dark);
    line-height: var(--lh-heading);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.nri-tax-section-dark .nri-tax-section-title {
    color: #ffffff;
}

.nri-tax-section-subtitle {
    font-size: var(--fs-section-sub);
    color: var(--text-muted);
    max-width: 760px;
    line-height: 1.62;
    margin-bottom: 0;
}

.nri-tax-section-header.text-center .nri-tax-section-subtitle {
    margin-inline: auto;
}

.nri-tax-section-dark .nri-tax-section-subtitle {
    color: #cbd5e1;
}

/* --------------------------------------------------------------------
   SECTION 2 – INTRODUCTION (Balanced Two-Column Layout)
   -------------------------------------------------------------------- */
.nri-tax-intro-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.nri-tax-intro-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.nri-tax-intro-card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Process Image Feature Card (Section 7) */
.nri-tax-process-img-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.nri-tax-process-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.nri-tax-stat-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gold-light);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
}

.nri-tax-stat-pill i {
    font-size: 1.35rem;
    color: var(--gold-accent);
}

.nri-tax-stat-pill-text strong {
    display: block;
    color: var(--navy-dark);
    font-size: 1.05rem;
    line-height: 1.25;
}

.nri-tax-stat-pill-text span {
    font-size: var(--fs-meta);
    color: var(--text-muted);
}

.nri-tax-lead-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy-dark);
    line-height: 1.65;
    margin-bottom: 14px;
}

.nri-tax-intro-p {
    font-size: var(--fs-body);
    color: var(--text-body);
    line-height: var(--lh-body);
    margin-bottom: 14px;
}

.nri-tax-highlight-box {
    background: #f8fafc;
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin: 18px 0;
}

.nri-tax-highlight-box p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--navy-dark);
    font-weight: 500;
    line-height: 1.6;
}

/* --------------------------------------------------------------------
   SECTION 3 – WHO CAN BENEFIT (3 Columns Desktop / 2 Tablet / 1 Mobile)
   -------------------------------------------------------------------- */
.nri-tax-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 991.98px) {
    .nri-tax-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nri-tax-benefit-grid {
        grid-template-columns: 1fr;
    }
}

.nri-tax-benefit-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.nri-tax-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 162, 77, 0.45);
}

.nri-tax-benefit-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.nri-tax-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(201, 162, 77, 0.12);
    border: 1px solid rgba(201, 162, 77, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 1.25rem;
    transition: var(--transition);
}

.nri-tax-benefit-card:hover .nri-tax-icon-box {
    background: var(--gold);
    color: #ffffff;
}

.nri-tax-card-num {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #cbd5e1;
}

.nri-tax-benefit-title {
    font-family: var(--font-serif);
    font-size: var(--fs-card-title);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
    line-height: var(--lh-card-title);
}

.nri-tax-benefit-desc {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: 1.62;
    margin: 0;
}

/* --------------------------------------------------------------------
   SECTION 4 – OUR NRI TAX FILING SERVICES (8 Service Cards)
   -------------------------------------------------------------------- */
.nri-tax-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1199.98px) {
    .nri-tax-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nri-tax-service-grid {
        grid-template-columns: 1fr;
    }
}

.nri-tax-service-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    border-top: 3px solid transparent;
}

.nri-tax-service-card:hover {
    border-top-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.nri-tax-service-top {
    margin-bottom: 14px;
}

.nri-tax-service-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

.nri-tax-service-title {
    font-family: var(--font-serif);
    font-size: var(--fs-card-title);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
    line-height: var(--lh-card-title);
}

.nri-tax-service-desc {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: 1.62;
    margin-bottom: 16px;
    flex-grow: 1;
}

.nri-tax-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-accent);
    font-weight: 600;
    font-size: var(--fs-meta);
    text-decoration: none;
    transition: var(--transition);
}

.nri-tax-service-link:hover {
    color: var(--navy-dark);
    gap: 11px;
}

.nri-tax-statutory-notice {
    background: rgba(201, 162, 77, 0.08);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.nri-tax-statutory-notice i {
    font-size: 1.25rem;
    color: var(--gold-accent);
    margin-top: 2px;
}

.nri-tax-statutory-notice p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--navy-dark);
    line-height: 1.58;
}

/* --------------------------------------------------------------------
   SECTION 5 – INCOME TAX CONSIDERATIONS (2 Columns Desktop / 1 Mobile)
   -------------------------------------------------------------------- */
.nri-tax-considerations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

@media (max-width: 767.98px) {
    .nri-tax-considerations-grid {
        grid-template-columns: 1fr;
    }
}

.nri-tax-consideration-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nri-tax-consideration-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 162, 77, 0.4);
}

.nri-tax-consideration-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.nri-tax-consideration-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--navy-dark);
    color: var(--gold-bright);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nri-tax-consideration-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0;
}

.nri-tax-consideration-body {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: 1.65;
}

.nri-tax-consideration-body p {
    margin-bottom: 10px;
}

.nri-tax-consideration-body p:last-child {
    margin-bottom: 0;
}

.nri-tax-law-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    margin-top: 8px;
}

/* --------------------------------------------------------------------
   SECTION 6 – DOCUMENTS REQUIRED (3 Columns Desktop / 1 Mobile)
   -------------------------------------------------------------------- */
.nri-tax-doc-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 991.98px) {
    .nri-tax-doc-category-grid {
        grid-template-columns: 1fr;
    }
}

.nri-tax-doc-category-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nri-tax-doc-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--gold-light);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.nri-tax-doc-cat-header i {
    font-size: 1.2rem;
    color: var(--gold-accent);
}

.nri-tax-doc-cat-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0;
}

.nri-tax-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nri-tax-checklist li {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.nri-tax-checklist li i {
    color: #16a34a;
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------
   SECTION 7 – OUR SERVICE PROCESS (Compact 5-Step Timeline)
   -------------------------------------------------------------------- */
.nri-tax-timeline-wrap {
    position: relative;
    max-width: 920px;
    margin-inline: auto;
}

.nri-tax-timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 162, 77, 0.2) 100%);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .nri-tax-timeline-wrap::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.nri-tax-timeline-item {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.nri-tax-timeline-item:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .nri-tax-timeline-item {
        flex-direction: row;
        justify-content: flex-end;
    }
    
    .nri-tax-timeline-item:nth-child(even) {
        justify-content: flex-start;
    }
}

.nri-tax-timeline-badge {
    position: absolute;
    left: 4px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-dark);
    border: 2.5px solid var(--gold);
    color: var(--gold-bright);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 10px rgba(201, 162, 77, 0.35);
}

@media (min-width: 768px) {
    .nri-tax-timeline-badge {
        left: 50%;
        transform: translateX(-50%);
    }
}

.nri-tax-timeline-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    margin-left: 58px;
    position: relative;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .nri-tax-timeline-card {
        margin-left: 0;
        width: 46%;
    }
}

.nri-tax-timeline-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 162, 77, 0.4);
}

.nri-tax-step-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-accent);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.nri-tax-step-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.nri-tax-step-desc {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: 1.62;
    margin-bottom: 10px;
}

.nri-tax-role-division {
    background: #f8fafc;
    border-left: 3px solid var(--navy-dark);
    padding: 6px 10px;
    border-radius: 0 4px 4px 0;
    font-size: 0.8rem;
    color: #475569;
}

.nri-tax-role-division strong {
    color: var(--navy-dark);
}

/* --------------------------------------------------------------------
   SECTION 8 – WHY CHOOSE RRC LAW ASSOCIATES (3 Columns Desktop)
   -------------------------------------------------------------------- */
.nri-tax-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 991.98px) {
    .nri-tax-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nri-tax-trust-grid {
        grid-template-columns: 1fr;
    }
}

.nri-tax-trust-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.nri-tax-trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 162, 77, 0.45);
}

.nri-tax-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--navy-dark);
    color: var(--gold-bright);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.nri-tax-trust-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.nri-tax-trust-desc {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: 1.62;
    margin: 0;
}

/* --------------------------------------------------------------------
   SECTION 9 – ASSISTANCE FOR NRIs LIVING ABROAD (3 Columns Desktop)
   -------------------------------------------------------------------- */
.nri-tax-global-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 991.98px) {
    .nri-tax-global-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nri-tax-global-grid {
        grid-template-columns: 1fr;
    }
}

.nri-tax-country-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 162, 77, 0.28);
    border-radius: 8px;
    padding: 20px 18px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.nri-tax-country-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold-bright);
    transform: translateY(-3px);
}

.nri-tax-country-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.nri-tax-country-icon {
    font-size: 1.25rem;
    color: var(--gold-bright);
}

.nri-tax-country-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.nri-tax-country-desc {
    font-size: var(--fs-body-sm);
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
}

.nri-tax-remote-assurance {
    background: rgba(201, 162, 77, 0.14);
    border: 1px solid rgba(201, 162, 77, 0.35);
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 28px;
    text-align: center;
}

.nri-tax-remote-assurance h4 {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    color: var(--gold-bright);
    margin-bottom: 8px;
}

.nri-tax-remote-assurance p {
    color: #f1f5f9;
    font-size: 0.925rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --------------------------------------------------------------------
   SECTION 10 – FREQUENTLY ASKED QUESTIONS (Compact Accordion)
   -------------------------------------------------------------------- */
.nri-tax-faq-container {
    max-width: 880px;
    margin-inline: auto;
}

.nri-tax-faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.nri-tax-faq-item.active {
    border-color: var(--gold);
    box-shadow: 0 3px 14px rgba(201, 162, 77, 0.12);
}

.nri-tax-faq-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.025rem;
    font-weight: 600;
    color: var(--navy-dark);
    transition: var(--transition);
}

.nri-tax-faq-btn:hover {
    color: var(--gold-accent);
}

.nri-tax-faq-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.nri-tax-faq-chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--navy-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.28s ease, background 0.28s ease;
    font-size: 0.8rem;
}

.nri-tax-faq-item.active .nri-tax-faq-chevron {
    transform: rotate(180deg);
    background: var(--gold);
    color: #ffffff;
}

.nri-tax-faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.nri-tax-faq-content {
    padding: 0 20px 18px 20px;
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: 1.65;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.nri-tax-faq-content p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------
   SECTION 11 – RELATED NRI TAX GUIDES (3 Columns Desktop)
   -------------------------------------------------------------------- */
.nri-tax-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 991.98px) {
    .nri-tax-guide-grid {
        grid-template-columns: 1fr;
    }
}

.nri-tax-guide-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.nri-tax-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 162, 77, 0.45);
}

.nri-tax-guide-body {
    padding: 22px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nri-tax-guide-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: var(--fs-meta);
}

.nri-tax-guide-category {
    font-weight: 700;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nri-tax-guide-readtime {
    color: var(--text-muted);
}

.nri-tax-guide-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.34;
    margin-bottom: 10px;
}

.nri-tax-guide-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.nri-tax-guide-title a:hover {
    color: var(--gold-accent);
}

.nri-tax-guide-desc {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: 1.62;
    margin-bottom: 16px;
    flex-grow: 1;
}

.nri-tax-guide-footer {
    border-top: 1px solid var(--border-light);
    padding: 14px 20px;
    background: #fbfbfc;
}

.nri-tax-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-accent);
    font-weight: 600;
    font-size: var(--fs-meta);
    text-decoration: none;
    transition: var(--transition);
}

.nri-tax-guide-link:hover {
    color: var(--navy-dark);
    gap: 11px;
}

/* --------------------------------------------------------------------
   SECTION 12 – FINAL CONSULTATION CTA BANNER
   -------------------------------------------------------------------- */
.nri-tax-bottom-cta-card {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #152d4b 100%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 44px 32px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 32px rgba(14, 28, 47, 0.22);
    position: relative;
    overflow: hidden;
}

.nri-tax-bottom-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(201, 162, 77, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.nri-tax-bottom-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.nri-tax-bottom-cta-desc {
    font-size: 1rem;
    color: #e2e8f0;
    max-width: 680px;
    margin: 0 auto 26px auto;
    line-height: 1.65;
    position: relative;
    z-index: 2;
}

.nri-tax-bottom-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .nri-tax-section {
        padding: 48px 0;
    }
    .nri-tax-slide-content-wrap {
        padding: 44px 0 54px 0;
    }
    .nri-tax-hero {
        min-height: 480px;
    }
    .nri-tax-bottom-cta-card {
        padding: 34px 20px;
    }
}

@media (max-width: 767.98px) {
    .nri-tax-hero {
        min-height: 460px;
    }
    .nri-tax-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .nri-tax-hero-actions .btn-tax-primary,
    .nri-tax-hero-actions .btn-tax-secondary {
        width: 100%;
        text-align: center;
    }
    .nri-tax-carousel-controls {
        bottom: 14px;
    }
    .nri-tax-arrow-btn {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nri-tax-hero {
        min-height: 440px;
    }
    .nri-tax-hero-title {
        font-size: 1.65rem;
    }
    .nri-tax-hero-desc {
        font-size: 0.925rem;
    }
    .nri-tax-section {
        padding: 36px 0;
    }
    .nri-tax-section-header {
        margin-bottom: 18px;
    }
    .nri-tax-benefit-card,
    .nri-tax-service-card,
    .nri-tax-consideration-card,
    .nri-tax-doc-category-card,
    .nri-tax-trust-card {
        padding: 18px 16px;
    }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    .nri-tax-carousel-slide,
    .nri-tax-slide-bg img,
    .nri-tax-benefit-card,
    .nri-tax-service-card,
    .nri-tax-dot,
    .nri-tax-arrow-btn,
    .nri-tax-faq-panel {
        transition: none !important;
        animation: none !important;
    }
}
