Analysis this pdf in details n let me know key points

Reading File
Running Command

python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/ce06c380-d3fc-4484-8589-44bae694574a/VedicReport7-14-202610-23-15PM.pdf' with pdfplumber.open(pdf_path) as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages): text = page.extract_text() print(f'--- PAGE {i+1} ---') print(text) print() "

Here is a detailed analysis of the Vedic Astrology birth chart (Kundli) from the PDF:

Vedic Birth Chart - Thorat Krunal Kumar Vallabhbhai

Birth Details

FieldValue
NameThorat Krunal Kumar Vallabhbhai
Date of Birth11 June 1994 (Saturday)
Time of Birth3:30 AM
Place of BirthDharampur
Longitude / Latitude73°10'E / 20°31'N
AyanamsaLahiri - 23°46'44"
Sunrise / Sunset05:56 AM / 07:17 PM

Ascendant (Lagna)

  • Lagna (Rising Sign): Aries at 16°32'
  • Ascendant Lord: Mars (MAR)
  • Lagna Nakshatra: Bharani, Pada 1
An Aries ascendant makes the native energetic, ambitious, courageous, and action-oriented. Mars as lagna lord is placed in Aries itself (same sign), which is a strong placement - Mars is in its own sign, giving vitality and drive.

Planetary Positions

PlanetSignDegreeNakshatraPada
AscendantAries16°32'Bharani1
SunTaurus26°00'Mrigasira1
MoonGemini13°47'Ardra3
MarsAries19°35'Bharani2
MercuryGemini14°30'Ardra3
Jupiter (R)Libra11°39'Swati2
VenusCancer01°03'Punarvasu4
SaturnAquarius18°28'Satabhisa4
Rahu (R)Libra28°47'Vishakha3
Ketu (R)Aries28°47'Krittika1
Uranus (R)Capricorn02°00'Uttarashadha2
Neptune (R)Sagittarius28°58'Uttarashadha1
Pluto (R)Scorpio02°12'Vishakha4
Key planetary observations:
  • Mars in Aries (own sign) - very strong; indicates physical energy, leadership, and boldness
  • Moon + Mercury in Gemini - sharp intellect, excellent communication skills, curious and analytical mind
  • Moon in Ardra Nakshatra - Ardra is ruled by Rahu; tends to create emotional intensity, storms, transformative life experiences
  • Jupiter Retrograde in Libra - introspective wisdom; justice-oriented thinking; may delay rewards but gives depth
  • Rahu in Libra (Vishakha) - strong ambition, desire for partnerships, foreign connections possible
  • Ketu in Aries - spiritual warrior energy; may feel detached from assertiveness despite natural ability
  • Saturn in Aquarius (own sign) - Saturn is very strong here; disciplined, hardworking, humanitarian ideals

Rashi (Moon Sign)

  • Moon Sign: Gemini (Mithuna)
  • Rashi Lord: Mercury
  • Nakshatra: Ardra, Pada 3 (ruled by Rahu)
Gemini Moon natives are intellectually sharp, communicative, adaptable, and quick-thinking. The Ardra nakshatra adds intensity, struggle, and ultimately transformation.

Navamsa Chart

The Navamsa (D9) shows:
  • Sun and Rahu in the 3rd house
  • Moon in 1st house (strong)
  • Mars and Saturn in the 2nd/8th axis
  • Venus in 10th (good for career involving creativity or relationships)
  • Jupiter in 9th house of Navamsa - indicates spiritual blessings, fortune through wisdom

Vimshottari Dasha (Planetary Periods)

Current & Recent Dashas:
DashaPeriod
Rahu Mahadasha11/6/1994 - 30/10/2002
Jupiter Mahadasha30/10/2002 - 30/10/2018
Saturn Mahadasha30/10/2018 - 30/10/2037 (current)
Mercury Mahadasha30/10/2037 - 30/10/2054
Ketu Mahadasha30/10/2054 - 30/10/2061
Venus Mahadasha30/10/2061 - 30/10/2081
Currently Running (as of July 2026):
  • Saturn Mahadasha - Mercury Antardasha (started 12/7/2024, ends 21/8/2025)
  • Next: Saturn - Ketu Antardasha (21/8/2025 - 21/10/2028... approximately)
Saturn Mahadasha is a period of discipline, hard work, karmic lessons, and long-term building. For an Aries ascendant, Saturn rules the 10th (career) and 11th (gains) houses - this is actually a favorable Saturn for career and income in the long run.
Remaining Balance at birth: Rahu Dasha - 8 years, 4 months, 19 days

Ashtakvarga Table (Planetary Strength by House)

The Ashtakvarga scores show the overall strength of each house (out of 56 max for a single planet, totals shown):
House123456789101112
Total342925253126253025243528
Notable observations:
  • 11th house (Gains, Income, Friendships) scores highest at 35 - indicates strong potential for financial gains, a wide social network, and fulfillment of desires
  • 1st house (Self, Health) scores 34 - strong constitution and personality
  • 5th house scores 31 - good for intelligence, children, and creative endeavors
  • 10th house (Career) scores lowest at 24 - career may require extra effort and patience (consistent with Saturn Mahadasha lessons)
  • Saturn in 11th house with 0 points in 7th - some challenges in partnerships/marriage area

Chalit (House Cusps) Table

The Chalit table shows the actual house boundaries (bhav begins/midpoints):
  • Lagna starts at Pisces 29°49' but midpoint is Aries 16°32' - the Lagna is considered Aries
  • Houses span signs unevenly (Sripati/Equal house system with Placidus-type starts)
  • 4th house cusp is in Gemini - home/mother connected to Gemini qualities (intellectually stimulating home environment)
  • 10th house cusp in Sagittarius - career linked to philosophy, education, travel, or law

Summary of Key Points

  1. Strong Aries Ascendant with Mars in own sign - natural leader, high physical energy, pioneering spirit
  2. Moon + Mercury conjunct in Gemini (Ardra) - highly intelligent, communicative, but emotionally intense; life involves notable upheavals that lead to growth
  3. Saturn in Aquarius (own sign) in 11th house - hardworking, socially conscious, gains come through discipline and networking
  4. Jupiter Retrograde in Libra - wisdom comes from introspection; may experience delayed but meaningful growth in relationships and spirituality
  5. Rahu in Libra - strong desire for partnerships, success through collaboration; foreign/unconventional connections
  6. Ketu in Aries (1st house) - past-life warrior energy; spiritual development through letting go of ego
  7. Currently in Saturn Mahadasha (2018-2037) - a long period of karmic work, discipline, and steady building - especially impactful for career and long-term goals
  8. 11th house Ashtakvarga score of 35 (highest) - excellent prospects for income, social network, and desire fulfillment
  9. 10th house score of 24 (lowest) - career success comes but requires sustained effort; not overnight achievement
  10. Ardra Moon Nakshatra - the native may experience storms (emotional/life circumstances) that ultimately refine and transform them - a hallmark of this nakshatra is resilience born from hardship

This is a Vedic astrology chart generated by AstroSage, printed on 14 July 2026. All interpretations above are based on classical Jyotish (Vedic astrology) principles.

Marriage !? Love or arranged

Based on the Vedic chart already analyzed, here is a focused reading on marriage - love vs. arranged:

Marriage Analysis - Thorat Krunal Kumar Vallabhbhai

7th House (House of Marriage & Partnership)

  • 7th house sign: Libra
  • 7th lord: Venus
  • Venus is placed in Cancer (2nd house area)
  • Rahu and Jupiter (R) are both in Libra (7th house)

Key Indicators

1. Rahu in the 7th House - Strong Love Marriage Indicator

Rahu in the 7th is one of the clearest signals for love marriage in Vedic astrology. Rahu breaks conventions and traditions. It pushes the native toward unconventional, non-traditional relationships - often cross-caste, cross-religion, or someone from a very different background. The attraction is intense and almost obsessive in nature.

2. Jupiter (Retrograde) also in 7th House

Jupiter in the 7th brings a desire for a wise, educated, and spiritually-minded partner. However, being retrograde, Jupiter delays marriage or makes the native overly idealistic about their partner - they may reject potential matches (arranged or otherwise) because no one quite meets their internal standard.

3. Venus in Cancer (Punarvasu Nakshatra)

Venus, the 7th lord, is in Cancer - an emotional, nurturing sign. This means the native deeply desires emotional security and family acceptance in a relationship. They fall in love sincerely and want their partner to be like family. Punarvasu nakshatra adds a theme of reunion and return - sometimes love that was lost comes back.

4. Moon + Mercury in Gemini (Ardra)

The Moon (emotions/mind) is in a dual sign (Gemini), which can indicate more than one significant romantic relationship or emotional connection before settling. Ardra nakshatra brings emotional turbulence in relationships - there may be a painful love story before the final union.

5. Ketu in 1st House (Aries)

Ketu in the 1st opposite Rahu in the 7th creates the classic Rahu-Ketu axis across 1st-7th houses - this is a defining axis for relationships. It indicates the native's soul journey heavily involves partnerships and "the other." Strong karmic connections with romantic partners - often the partner feels fated or destined.

6. Mars (Ascendant Lord) in Aries - 1st House

Mars in its own sign in the 1st house makes the native passionate, direct, and bold in expressing feelings. They are unlikely to wait passively for an arranged match - they will pursue what they want.

Love or Arranged? - Verdict

Very strong indicators for LOVE MARRIAGE
FactorPoints Toward
Rahu in 7thLove / Unconventional
Moon in Gemini (dual)Love / Multiple connections
Mars in 1st (bold, assertive)Love
Ketu in 1st (karmic pull)Love / Fated
Venus in Cancer (emotional)Could be either, leans love
Jupiter (R) in 7th (idealistic)May delay both
The chart strongly suggests love marriage, likely with someone from a different background, community, or social circle. However, Jupiter retrograde may create delays, second-guessing, or a situation where the love marriage eventually gets family approval - so it may end up looking like an arranged marriage on the surface after family acceptance, but the core connection begins as love.

Marriage Timing (Dasha Clues)

  • Saturn Mahadasha runs until 2037 - Saturn rules the 10th and 11th for Aries ascendant (not the 7th), so this period is more about career building than easy marriage
  • Saturn - Venus Antardasha: 21/10/2028 - around 2031 - Venus is the 7th lord; this sub-period is one of the most likely windows for marriage
  • The period 2028-2031 stands out as a strong possibility for marriage
  • Mercury Mahadasha begins 30/10/2037 - Mercury rules Gemini where Moon sits; another activation of emotional life
Most likely marriage window: 2028 to 2031

Partner Profile (Based on 7th House)

  • Libra 7th house + Rahu: attractive, stylish, socially aware, possibly unconventional or modern
  • Jupiter in 7th: educated, wise, spiritual or philosophical
  • Venus in Cancer as 7th lord: caring, family-oriented, emotionally expressive
  • Likely someone the native meets through social circles, work, or travel (not a traditional family-arranged introduction)

What challenges might the 7th-house Rahu bring to marriage?

Based on the chart details already in context, here is a thorough breakdown:

7th House Rahu - Marriage Challenges

What Rahu in the 7th Actually Does

Rahu is an amplifier and an illusion-maker. In the 7th house, it magnifies the desire for partnership while simultaneously distorting perception of the partner. The native craves deep union but Rahu's nature ensures the path is rarely smooth or conventional.

Challenge 1 - The Illusion Trap (Biggest Risk)

Rahu creates a fog around the 7th house. This means:
  • The native may idealize the partner in the early stages, seeing them as almost magical or larger than life
  • Once the illusion breaks (and it always does), there can be a crash - disappointment, disillusionment, or feeling "this isn't the person I fell for"
  • The attraction is often obsessive at first - Rahu amplifies desire to an almost irrational level
  • This can lead to rushing into commitment before truly knowing the person
Practical risk: Falling hard and fast, then discovering incompatibilities that were always there but invisible during the infatuation phase.

Challenge 2 - Unconventional or Problematic Partner Choice

Rahu in the 7th often draws the native toward partners who are:
  • From a different caste, religion, community, or cultural background
  • Significantly older or younger
  • Someone the family disapproves of at first
  • Occasionally, someone with a hidden past, secretive nature, or complex personal history
This isn't always bad - but it creates friction with family and social expectations, which for someone with an Aries ascendant (Mars-ruled, family-proud) can cause real stress.

Challenge 3 - Rahu + Jupiter Retrograde Conjunction in 7th

This is a particularly sensitive combination. Jupiter is the natural karaka (significator) of marriage for women, and a key advisor planet for marriage in general. Here:
  • Jupiter is retrograde - meaning its energy is turned inward, making the native overly critical or philosophical about relationships
  • Rahu conjunct Jupiter in Libra can inflate expectations of marriage - the native may want a partner who is simultaneously exciting (Rahu) and perfect/wise (Jupiter)
  • This is a very hard standard to meet, leading to repeated disappointment or long delays in settling down
  • There is a risk of the native being preachy or moralistic toward the partner (Jupiter) while simultaneously breaking rules themselves (Rahu) - a contradiction that breeds conflict

Challenge 4 - Ketu in the 1st House (Opposite Rahu)

The Rahu-Ketu axis across the 1st and 7th houses creates a push-pull dynamic:
  • Ketu in the 1st makes the native somewhat detached from their own identity and desires - they can lose themselves in a relationship
  • Rahu in the 7th makes them chase the partner obsessively
  • The result: they may give too much of themselves, feel drained, and then suddenly withdraw completely
  • Partners may find the native hard to read - intensely present one moment, distant the next
  • This axis can also attract karmic partners - people from past lives - which sounds romantic but often means the relationship carries unresolved emotional baggage

Challenge 5 - Infidelity Risk (Both Ways)

Rahu in the 7th is traditionally flagged in Jyotish for:
  • Attraction to others even after marriage - Rahu keeps pushing for more, never fully satisfied
  • The native may attract a partner who is unfaithful or secretive
  • This is not a certainty but a tendency that needs conscious management
  • The Ardra Moon (ruled by Rahu) amplifies this - Ardra natives often experience storms in emotional life, including betrayal or turbulent romantic experiences

Challenge 6 - Delay and Restlessness

  • Rahu makes the native restless in relationships - always wondering if someone better exists
  • Jupiter retrograde compounds this by making the native second-guess every partner
  • Combined with the dual-sign Gemini Moon (which itself indicates a wandering mind in relationships), there is a pattern of:
    • Getting close to commitment, then backing away
    • Having multiple significant relationships before marriage
    • Marriage happening later than peers (consistent with the 2028-2031 timing window identified earlier)

Challenge 7 - Family and Social Opposition

  • Rahu in the 7th in Libra (Vishakha nakshatra) - Vishakha is ruled by Jupiter and Mars jointly, and its symbol is a forked branch - representing the fork in the road, ambition mixed with division
  • Vishakha's shadow side is divisiveness - it can create situations where the partner or the relationship itself creates a split between the native and their family or close circle
  • For someone with Mars in Aries (strong family/community pride), this social friction is genuinely painful

Remedies Traditionally Suggested for 7th House Rahu

These are classical Jyotish recommendations - take them as guidance, not prescription:
RemedyPurpose
Worship of Goddess Durga or SaraswatiBalancing Rahu's illusions with clarity
Donate on Saturdays (black sesame, mustard oil)Rahu pacification
Chant Rahu Beej Mantra - "Om Bhram Bhreem Bhroum Sah Rahave Namah"18,000 times in a cycle
Avoid rushing into marriage - take at least 1-2 years to know the personMost practical remedy
Seek Jupiter's blessings - visit temples, respect teachers/eldersStrengthen Jupiter to counterbalance Rahu
Wear Hessonite (Gomed) only after consulting a JyotishiRahu gemstone - must be checked for individual chart

Bottom Line

ChallengeSeverity
Illusion / idealization of partnerHigh
Delayed or difficult path to marriageHigh
Unconventional partner / family oppositionMedium-High
Restlessness and dissatisfaction after marriageMedium
Risk of attracting a complex or secretive partnerMedium
Identity loss (Ketu 1st) in relationshipsMedium
The core lesson of 7th house Rahu is this: the native must learn that no partner can fill the infinite hunger Rahu creates. Once that is understood - that the craving is internal, not about finding the "right" person - the marriage becomes stable and deeply fulfilling. The chart has real strengths (Saturn in own sign, strong Mars, high 11th house score) that support a good life partnership once this lesson is internalized.

Create a detailed marriage prediction document for this chart

Reading File
Running Command

mkdir -p /home/daytona/workspace/vedic-marriage && ls /home/daytona/workspace/vedic-marriage/

Writing File

~/vedic-marriage/create_doc.js

const {
  Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell,
  HeadingLevel, AlignmentType, BorderStyle, WidthType, ShadingType,
  PageNumber, NumberFormat, Header, Footer, VerticalAlign, PageBreak,
  UnderlineType
} = require('docx');
const fs = require('fs');

// ─── COLOR PALETTE ───────────────────────────────────────────────────────────
const GOLD       = "C8860A";
const DEEP_NAVY  = "1A1A4E";
const LIGHT_GOLD = "FDF3DC";
const SECTION_BG = "F4ECD8";
const TABLE_HEAD = "2C1654";
const WHITE      = "FFFFFF";
const DARK_TEXT  = "1A1A1A";
const MID_TEXT   = "3D2B00";

// ─── HELPERS ─────────────────────────────────────────────────────────────────
function heading1(text) {
  return new Paragraph({
    heading: HeadingLevel.HEADING_1,
    spacing: { before: 360, after: 120 },
    border: { bottom: { style: BorderStyle.SINGLE, size: 6, color: GOLD } },
    children: [new TextRun({ text, bold: true, size: 32, color: DEEP_NAVY, font: "Georgia" })],
  });
}

function heading2(text) {
  return new Paragraph({
    heading: HeadingLevel.HEADING_2,
    spacing: { before: 280, after: 80 },
    children: [new TextRun({ text, bold: true, size: 26, color: TABLE_HEAD, font: "Georgia" })],
  });
}

function heading3(text) {
  return new Paragraph({
    spacing: { before: 200, after: 60 },
    children: [new TextRun({ text, bold: true, size: 22, color: GOLD, font: "Calibri" })],
  });
}

function body(text, opts = {}) {
  return new Paragraph({
    spacing: { before: 60, after: 80, line: 340 },
    children: [new TextRun({
      text,
      size: 22,
      color: DARK_TEXT,
      font: "Calibri",
      bold: opts.bold || false,
      italics: opts.italic || false,
    })],
  });
}

function bullet(text, opts = {}) {
  return new Paragraph({
    bullet: { level: 0 },
    spacing: { before: 40, after: 40, line: 320 },
    children: [new TextRun({
      text,
      size: 21,
      color: opts.color || DARK_TEXT,
      font: "Calibri",
      bold: opts.bold || false,
    })],
  });
}

function subBullet(text) {
  return new Paragraph({
    bullet: { level: 1 },
    spacing: { before: 30, after: 30 },
    children: [new TextRun({ text, size: 20, color: MID_TEXT, font: "Calibri" })],
  });
}

function divider() {
  return new Paragraph({
    spacing: { before: 160, after: 160 },
    border: { top: { style: BorderStyle.SINGLE, size: 4, color: GOLD } },
    children: [new TextRun({ text: "" })],
  });
}

function noteBox(text) {
  return new Paragraph({
    spacing: { before: 100, after: 100 },
    indent: { left: 400, right: 400 },
    shading: { type: ShadingType.CLEAR, color: LIGHT_GOLD, fill: LIGHT_GOLD },
    border: {
      left: { style: BorderStyle.SINGLE, size: 12, color: GOLD },
    },
    children: [new TextRun({ text, size: 21, color: MID_TEXT, font: "Calibri", italics: true })],
  });
}

function twoColTable(rows, headerRow) {
  const tableRows = [];
  if (headerRow) {
    tableRows.push(new TableRow({
      tableHeader: true,
      children: headerRow.map(cell => new TableCell({
        shading: { type: ShadingType.CLEAR, color: TABLE_HEAD, fill: TABLE_HEAD },
        verticalAlign: VerticalAlign.CENTER,
        margins: { top: 80, bottom: 80, left: 120, right: 120 },
        children: [new Paragraph({ children: [new TextRun({ text: cell, bold: true, color: WHITE, size: 20, font: "Calibri" })], alignment: AlignmentType.CENTER })],
      }))
    }));
  }
  rows.forEach((row, i) => {
    tableRows.push(new TableRow({
      children: row.map((cell, ci) => new TableCell({
        shading: { type: ShadingType.CLEAR, color: i % 2 === 0 ? SECTION_BG : WHITE, fill: i % 2 === 0 ? SECTION_BG : WHITE },
        margins: { top: 70, bottom: 70, left: 120, right: 120 },
        children: [new Paragraph({ children: [new TextRun({ text: cell, size: 20, color: DARK_TEXT, font: "Calibri", bold: ci === 0 })], alignment: ci === 0 ? AlignmentType.LEFT : AlignmentType.CENTER })],
      }))
    }));
  });
  return new Table({ width: { size: 100, type: WidthType.PERCENTAGE }, rows: tableRows });
}

function spacer(n = 1) {
  return Array.from({ length: n }, () => new Paragraph({ children: [new TextRun("")], spacing: { before: 60, after: 60 } }));
}

// ─── TITLE PAGE ──────────────────────────────────────────────────────────────
const titlePage = [
  new Paragraph({ spacing: { before: 800 }, children: [new TextRun("")] }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 200, after: 80 },
    children: [new TextRun({ text: "॥ श्री गणेशाय नमः ॥", size: 32, color: GOLD, font: "Mangal", bold: true })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 120, after: 200 },
    children: [new TextRun({ text: "─────────────────────────────────", size: 24, color: GOLD })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 60, after: 40 },
    children: [new TextRun({ text: "VEDIC MARRIAGE PREDICTION", size: 52, bold: true, color: DEEP_NAVY, font: "Georgia" })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 40, after: 60 },
    children: [new TextRun({ text: "A Detailed Jyotish Analysis", size: 30, color: GOLD, font: "Georgia", italics: true })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 200, after: 100 },
    children: [new TextRun({ text: "Prepared For", size: 24, color: MID_TEXT, font: "Calibri" })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 40, after: 40 },
    children: [new TextRun({ text: "Thorat Krunal Kumar Vallabhbhai", size: 40, bold: true, color: DEEP_NAVY, font: "Georgia" })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 40, after: 300 },
    children: [new TextRun({ text: "Born: 11 June 1994  |  3:30 AM  |  Dharampur", size: 22, color: MID_TEXT, font: "Calibri" })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 200, after: 80 },
    children: [new TextRun({ text: "─────────────────────────────────", size: 24, color: GOLD })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 60, after: 40 },
    children: [new TextRun({ text: "Report Generated: July 14, 2026", size: 21, color: MID_TEXT, font: "Calibri" })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 20, after: 20 },
    children: [new TextRun({ text: "Source: AstroSage Vedic Chart (Lahiri Ayanamsa)", size: 20, color: MID_TEXT, font: "Calibri", italics: true })],
  }),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 1: BIRTH & CHART SNAPSHOT ───────────────────────────────────────
const section1 = [
  heading1("1. Birth Chart Snapshot"),
  body("The following key chart details form the foundation of this marriage analysis:"),
  ...spacer(1),
  twoColTable([
    ["Ascendant (Lagna)", "Aries - 16°32' (Bharani, Pada 1)"],
    ["Ascendant Lord", "Mars - placed in Aries (own sign, 1st house)"],
    ["Moon Sign (Rashi)", "Gemini - 13°47' (Ardra Nakshatra, Pada 3)"],
    ["Rashi Lord", "Mercury"],
    ["7th House Sign", "Libra"],
    ["7th House Lord (Venus)", "Cancer - 01°03' (Punarvasu, Pada 4)"],
    ["Planets in 7th House", "Rahu (R) at 28°47' Vishakha 3 + Jupiter (R) at 11°39' Swati 2"],
    ["Current Mahadasha", "Saturn (Oct 2018 - Oct 2037)"],
    ["Ketu Placement", "Aries - 28°47' (Krittika, Pada 1) - 1st House"],
  ], ["Chart Factor", "Detail"]),
  ...spacer(1),
  noteBox("Note: This analysis follows classical Vedic (Jyotish) principles using the Parashari system with Lahiri Ayanamsa. The Lagna chart is the primary reference; Navamsa (D9) is used for marriage quality assessment."),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 2: MARRIAGE HOUSES ANALYSIS ─────────────────────────────────────
const section2 = [
  heading1("2. Key Houses for Marriage"),

  heading2("2.1  The 7th House - House of Spouse & Partnership"),
  body("The 7th house is the primary house of marriage in Vedic astrology. It represents the spouse, the nature of the marital bond, and the quality of all significant partnerships."),
  ...spacer(1),
  bullet("Sign in 7th House: Libra (Tula) - ruled by Venus"),
  subBullet("Libra is a balanced, aesthetic, relationship-oriented sign. It naturally desires harmony, justice, and beauty in partnership."),
  subBullet("Its lord Venus being placed in Cancer softens the approach to love - the native seeks emotional security above all else."),
  bullet("Rahu (Retrograde) at 28°47' in Libra (Vishakha Nakshatra, Pada 3)"),
  subBullet("Rahu is the planet of obsession, amplification, and breaking conventions."),
  subBullet("Vishakha means 'forked branch' - it symbolises ambition, division, and the pursuit of goals with single-minded intensity."),
  subBullet("This placement indicates non-traditional marriage circumstances, intense attraction, and karmic significance of the spouse."),
  bullet("Jupiter (Retrograde) at 11°39' in Libra (Swati Nakshatra, Pada 2)"),
  subBullet("Jupiter is the natural significator (karaka) of marriage, husband, and children."),
  subBullet("Being retrograde, Jupiter's blessings are turned inward - the native has very high, perhaps unrealistic, expectations of a partner."),
  subBullet("Swati nakshatra (ruled by Rahu) adds independence, self-reliance, and a tendency to be scattered in relationships."),
  ...spacer(1),

  heading2("2.2  The 2nd House - House of Family"),
  body("The 2nd house governs family life, the home environment after marriage, and domestic speech/communication with the spouse."),
  bullet("2nd house sign: Taurus - ruled by Venus (also 7th lord)"),
  bullet("Sun is placed in Taurus (Mrigasira Nakshatra) - adds authority and pride in family matters"),
  bullet("The same Venus ruling both the 2nd and 7th houses creates a strong link between marriage and family continuity"),
  ...spacer(1),

  heading2("2.3  The 5th House - House of Love & Romance"),
  body("The 5th house rules romantic love, attraction, courtship, and emotional connection before marriage."),
  bullet("5th house sign: Leo - ruled by Sun"),
  bullet("Sun is placed in Taurus (2nd house) - 5th lord placed in 2nd suggests romance that leads to family formation"),
  bullet("Ashtakvarga score for 5th house: 31 (above average) - supports active romantic life"),
  ...spacer(1),

  heading2("2.4  The 11th House - House of Fulfilment & Social Connections"),
  body("The 11th house represents the fulfilment of desires, including marriage. A strong 11th house ensures wishes are granted."),
  bullet("11th house sign: Aquarius - Saturn is placed here in its OWN sign"),
  bullet("Ashtakvarga score: 35 (highest in the chart) - this is extremely positive for fulfilment of marital desires"),
  bullet("Saturn in own sign in 11th confirms marriage will ultimately happen and be stable, even if delayed"),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 3: LOVE OR ARRANGED ─────────────────────────────────────────────
const section3 = [
  heading1("3. Love Marriage vs. Arranged Marriage"),
  body("This is one of the most asked questions in Vedic marriage analysis. The chart contains several strong classical indicators."),
  ...spacer(1),

  heading2("3.1  Indicators for Love Marriage"),
  twoColTable([
    ["Rahu in 7th House (Libra)", "Strongest classical indicator of love/unconventional marriage"],
    ["Moon + Mercury conjunct in Gemini", "Dual sign Moon - multiple romantic connections, free-thinking in love"],
    ["Moon in Ardra Nakshatra (Rahu-ruled)", "Rahu's influence on mind strengthens love marriage tendency"],
    ["Mars in 1st House (Aries)", "Bold, passionate, assertive - will pursue love directly"],
    ["Ketu in 1st House", "Karmic pull toward specific individuals - 'destined' meetings"],
    ["Venus in Cancer (emotional 4th sign)", "Deep emotional attachment; falls in love sincerely"],
    ["5th lord Sun in 2nd house", "Love leads to family; romantic relationships have lasting impact"],
  ], ["Planetary Factor", "Interpretation"]),
  ...spacer(1),

  heading2("3.2  Indicators for Arranged Marriage"),
  twoColTable([
    ["Jupiter (R) in 7th", "Traditional values; respects family input in partner selection"],
    ["Saturn in 11th (own sign)", "Disciplined approach; may accept family structure eventually"],
    ["Venus in Cancer", "Values family approval; wants parents to accept partner"],
  ], ["Planetary Factor", "Interpretation"]),
  ...spacer(1),

  heading2("3.3  Verdict"),
  noteBox("The chart overwhelmingly indicates a LOVE MARRIAGE. The presence of Rahu in the 7th house alone is a definitive classical marker. However, Jupiter (R) suggests the native will seek family blessings and the union may eventually receive family acceptance - making it a love marriage that takes on the appearance of a family-approved match over time."),
  ...spacer(1),
  body("The partner is likely from a different community, region, or social circle. The connection will begin through mutual interest, shared professional/social spaces, or introduction through friends - not a traditional family-arranged introduction."),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 4: PARTNER PROFILE ──────────────────────────────────────────────
const section4 = [
  heading1("4. Spouse / Partner Profile"),
  body("Based on the 7th house sign, its lord, planets placed in it, and the Navamsa chart, the following qualities are expected in the spouse:"),
  ...spacer(1),

  heading2("4.1  Physical Appearance"),
  bullet("Libra 7th house: attractive, well-groomed, aesthetic sense in dress and presentation"),
  bullet("Venus (7th lord) in Cancer: soft features, nurturing presence, expressive eyes"),
  bullet("Jupiter in 7th: tall or well-built, pleasant, dignified bearing"),
  bullet("Overall: the spouse will likely be conventionally attractive, well-presented, and noticed in social settings"),
  ...spacer(1),

  heading2("4.2  Nature & Personality"),
  bullet("Intelligent and articulate (Libra/Gemini influence in chart axis)"),
  bullet("Emotionally expressive and caring (Venus in Cancer quality projecting onto spouse)"),
  bullet("Independent-minded, possibly unconventional in background (Rahu in 7th)"),
  bullet("Philosophical or spiritually inclined (Jupiter in 7th)"),
  bullet("May have a strong social presence or wide network (Libra + Rahu)"),
  bullet("Could be from a creative, legal, diplomatic, or teaching profession (Libra/Jupiter themes)"),
  ...spacer(1),

  heading2("4.3  Background"),
  bullet("Different caste, religion, community, or cultural background is strongly indicated (Rahu in 7th)"),
  bullet("Possibly from a different city or state (Vishakha nakshatra - associated with travel and foreign connections)"),
  bullet("Family background may be unconventional - e.g., divorced parents, single-parent family, or a non-traditional household"),
  bullet("Educated and professionally established (Jupiter in 7th)"),
  ...spacer(1),

  heading2("4.4  How They Will Meet"),
  bullet("Through common social circles, friends, or workplace (Libra - social sign)"),
  bullet("Possibly through online platforms or travel (Rahu in modern times governs digital connections)"),
  bullet("NOT through a traditional family arrangement or matrimonial site as the primary channel"),
  bullet("The meeting may feel sudden or unexpected - 'it just happened' energy"),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 5: TIMING OF MARRIAGE ───────────────────────────────────────────
const section5 = [
  heading1("5. Marriage Timing - Dasha & Transit Analysis"),

  heading2("5.1  Vimshottari Dasha Overview"),
  body("The native is currently in Saturn Mahadasha (Oct 2018 - Oct 2037). Saturn rules the 10th and 11th houses for Aries ascendant. This is a career-building and discipline period - not the easiest for swift romance, but ultimately supports long-term stable relationships."),
  ...spacer(1),

  heading2("5.2  Key Marriage Windows"),
  twoColTable([
    ["Saturn - Venus Antardasha", "~Oct 2028 - Aug 2031", "STRONGEST WINDOW", "Venus is 7th lord - its sub-period in Saturn MD activates marriage most powerfully"],
    ["Saturn - Sun Antardasha", "~Aug 2031 - Jun 2032", "Possible", "Sun activates 5th house romance; could indicate formalising a relationship"],
    ["Saturn - Moon Antardasha", "~Jun 2032 - Dec 2033", "Possible", "Moon governs emotional commitment; marriage could also occur here"],
    ["Mercury Mahadasha begins", "Oct 2037", "Next major window", "Mercury rules Gemini (Moon's sign) - a new romantic chapter begins if not yet married"],
  ], ["Dasha Period", "Approx. Dates", "Strength", "Reasoning"]),
  ...spacer(1),

  heading2("5.3  Most Probable Marriage Year"),
  noteBox("Based on dasha sequence and 7th house activation, the period 2028 to 2031 stands out as the most likely window for marriage. Saturn-Venus antardasha, where Venus is the 7th lord, is the single strongest trigger in the coming years."),
  ...spacer(1),

  heading2("5.4  Why Not Earlier?"),
  bullet("Jupiter retrograde in 7th house creates delays - the native tends to second-guess partners"),
  bullet("Saturn Mahadasha (a slow, disciplined planet) naturally delays personal milestones"),
  bullet("Rahu in 7th creates a pattern of serial attractions before settling - multiple 'almost' relationships are possible in 2024-2028"),
  bullet("The native is still in career-building mode (Saturn MD) - personal life commitments come after professional stability is achieved"),
  ...spacer(1),

  heading2("5.5  Age at Marriage"),
  twoColTable([
    ["Earliest realistic window", "Age 33-34 (2027-2028)"],
    ["Most probable window", "Age 34-37 (2028-2031)"],
    ["Later but possible", "Age 37-39 (2031-2033)"],
    ["Average age prediction", "35-36 years"],
  ], ["Scenario", "Age / Year"]),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 6: CHALLENGES ───────────────────────────────────────────────────
const section6 = [
  heading1("6. Marriage Challenges"),
  body("Every chart carries its own set of relationship challenges. Understanding these is not cause for alarm - it is an opportunity for conscious preparation and growth."),
  ...spacer(1),

  heading2("6.1  The Rahu Illusion"),
  bullet("Rahu in the 7th creates an amplified, sometimes distorted perception of the partner in the early stages"),
  bullet("The native may fall intensely in love with an 'image' rather than the real person"),
  bullet("When the illusion dissolves (which it will), there can be disillusionment or disappointment"),
  bullet("Remedy: Take at least 1-2 years to truly know the partner before committing to marriage"),
  ...spacer(1),

  heading2("6.2  Jupiter Retrograde - The Perfectionist Trap"),
  bullet("Jupiter (R) in the 7th makes the native idealistic - no real partner will ever fully match the internal template"),
  bullet("This can lead to rejecting perfectly compatible matches because they fall slightly short"),
  bullet("In marriage, the native may be judgmental or preachy about the partner's choices"),
  bullet("Remedy: Consciously lower the 'perfect partner' checklist; accept human imperfection"),
  ...spacer(1),

  heading2("6.3  The Rahu-Ketu 1st/7th Axis"),
  bullet("Ketu in the 1st house creates identity diffusion in relationships - the native may lose themselves"),
  bullet("Rahu in the 7th creates over-focus on the partner at the expense of self"),
  bullet("The result: an unbalanced dynamic where the native either over-gives or suddenly withdraws"),
  bullet("Partners may experience this as hot-cold behaviour"),
  bullet("Remedy: Maintain individual identity, hobbies, and independence within the relationship"),
  ...spacer(1),

  heading2("6.4  Ardra Moon - Emotional Storms"),
  bullet("Moon in Ardra (Rahu-ruled) brings emotional turbulence and intense life experiences"),
  bullet("There is a risk of a painful love story or betrayal before the final marriage"),
  bullet("The native experiences love with great depth - and suffers with equal depth when things go wrong"),
  bullet("Remedy: Emotional resilience practices (meditation, journaling, counselling if needed)"),
  ...spacer(1),

  heading2("6.5  Family Opposition"),
  bullet("Rahu in the 7th in Vishakha nakshatra ('forked branch') can create a split between family and partner"),
  bullet("The chosen partner is likely to initially face some resistance from family members"),
  bullet("This is not permanent - Jupiter's presence in the same house indicates eventual acceptance and blessing"),
  bullet("Remedy: Patient communication with family; do not force the relationship - allow time for acceptance"),
  ...spacer(1),

  heading2("6.6  Challenge Summary"),
  twoColTable([
    ["Rahu illusion / false idealization", "High"],
    ["Delayed marriage (Jupiter R + Saturn MD)", "High"],
    ["Unrealistic partner expectations (Jupiter R)", "Medium-High"],
    ["Emotional volatility (Ardra Moon)", "Medium"],
    ["Identity loss in relationship (Ketu 1st)", "Medium"],
    ["Family opposition initially", "Medium"],
    ["Post-marriage restlessness", "Medium"],
    ["Risk of unconventional/complex partner", "Medium"],
  ], ["Challenge", "Severity"]),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 7: NAVAMSA CHART ─────────────────────────────────────────────────
const section7 = [
  heading1("7. Navamsa Chart (D9) - Quality of Marriage"),
  body("The Navamsa chart (D9) is the primary divisional chart for assessing the quality and depth of marital life. What the Lagna chart shows about the timing and nature of marriage, the Navamsa reveals about its lasting quality."),
  ...spacer(1),

  heading2("7.1  Key Navamsa Observations"),
  bullet("Moon in 1st house of Navamsa: strong emotional presence; the native brings genuine feeling to the marriage"),
  bullet("Venus in 10th house of Navamsa: marriage is elevated by or connected to career/public life; spouse may be professionally accomplished or the relationship itself gains social visibility"),
  bullet("Jupiter in 9th house of Navamsa: deeply auspicious for the overall quality of married life - spiritual compatibility, shared values, and good fortune in later years of marriage"),
  bullet("Sun + Rahu in 3rd house Navamsa: strong communication effort needed; both partners must work at clear expression to avoid misunderstandings"),
  bullet("Mars + Saturn in Navamsa: suggests periods of tension requiring patience; both partners may be strong-willed"),
  ...spacer(1),

  heading2("7.2  Overall Navamsa Assessment"),
  noteBox("The Navamsa chart is generally positive for the quality of the marriage. Jupiter in the 9th house of D9 is one of the most auspicious placements for marital bliss, indicating that even if the path to marriage is difficult, the marriage itself carries a sense of higher purpose, growth, and eventual happiness. Venus in the 10th house suggests the spouse will be a source of pride and public respect."),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 8: ASHTAKVARGA ──────────────────────────────────────────────────
const section8 = [
  heading1("8. Ashtakvarga Scores & Marriage"),
  body("Ashtakvarga is a quantitative strength system that assigns points to each house. Higher scores in marriage-related houses improve prospects."),
  ...spacer(1),
  twoColTable([
    ["1st House (Self/Health)", "34", "Strong - good personal vitality to sustain a relationship"],
    ["2nd House (Family/Wealth)", "29", "Average - family life requires effort but is maintainable"],
    ["5th House (Romance/Love)", "31", "Above average - active and genuine romantic life"],
    ["7th House (Marriage)", "25", "Below average - marriage requires conscious effort; not automatic"],
    ["8th House (Transformation/In-laws)", "30", "Average - some transformation through marriage is indicated"],
    ["11th House (Desires/Gains)", "35", "Highest - marriage desire will ultimately be fulfilled"],
    ["Venus Score in 7th", "4", "Moderate - Venus has some but not overwhelming strength in 7th"],
    ["Jupiter Score in 7th", "5", "Good - Jupiter's presence adds protective quality to 7th"],
  ], ["House / Planet", "Score", "Interpretation"]),
  ...spacer(1),
  noteBox("The 7th house score of 25 is below the ideal threshold of 28+. This reinforces that marriage will not come easily or early - effort, patience, and self-awareness are required. However, the 11th house score of 35 (highest in chart) guarantees that the deep desire for a life partner WILL be fulfilled."),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 9: REMEDIES ─────────────────────────────────────────────────────
const section9 = [
  heading1("9. Classical Vedic Remedies for Marriage"),
  body("The following remedies are drawn from classical Jyotish texts and are traditionally prescribed for challenges indicated in the chart. They are offered as complementary guidance:"),
  ...spacer(1),

  heading2("9.1  For Rahu in 7th House"),
  bullet("Worship Goddess Durga every Friday - light a ghee lamp and offer red flowers"),
  bullet("Donate black sesame seeds (til) and mustard oil on Saturdays"),
  bullet("Chant Rahu Beej Mantra: 'Om Bhram Bhreem Bhroum Sah Rahave Namah' - 18,000 times in a 40-day cycle"),
  bullet("Avoid making important relationship decisions during Rahu Kaal (daily 1.5-hour inauspicious period)"),
  ...spacer(1),

  heading2("9.2  For Jupiter Retrograde in 7th House"),
  bullet("Visit a Vishnu or Brihaspati temple every Thursday"),
  bullet("Offer yellow flowers, turmeric, and chana dal to Jupiter's deity"),
  bullet("Respect and serve teachers, elders, and mentors - this strengthens Jupiter's blessings"),
  bullet("Chant Jupiter mantra: 'Om Graam Greem Graum Sah Gurave Namah' - 19,000 times"),
  bullet("Read or study sacred texts - Jupiter gains strength through wisdom and scriptural knowledge"),
  ...spacer(1),

  heading2("9.3  For Saturn Mahadasha (Delay)"),
  bullet("Serve the poor, elderly, and labourers on Saturdays - Saturn is the planet of karma and service"),
  bullet("Light a sesame oil lamp at a Shani temple every Saturday"),
  bullet("Practice discipline and consistency - Saturn rewards systematic effort above all"),
  bullet("Feed crows on Saturdays (traditional remedy for Saturn)"),
  ...spacer(1),

  heading2("9.4  Gemstone Recommendation"),
  noteBox("Gemstone prescription must be done only after individual chart consultation with a qualified Jyotishi. As a general note: Diamond or White Sapphire (for Venus, 7th lord) may be considered - but ONLY after a certified astrologer confirms it is safe for this specific chart configuration. Never wear Gomed (Hessonite for Rahu) without expert confirmation, as Rahu in the 7th is complex and amplifying it can backfire."),
  ...spacer(1),

  heading2("9.5  Practical (Non-Astrological) Advice"),
  bullet("Do not rush into marriage due to social pressure - the chart supports patience rewarded"),
  bullet("Work on emotional self-awareness - understanding your own Rahu-driven patterns prevents self-sabotage"),
  bullet("Build financial and professional stability first (Saturn MD energy) - it creates a stronger foundation for marriage"),
  bullet("Communicate openly with prospective partners about family and cultural differences early"),
  new Paragraph({ children: [new PageBreak()] }),
];

// ─── SECTION 10: SUMMARY ─────────────────────────────────────────────────────
const section10 = [
  heading1("10. Summary & Final Prediction"),
  ...spacer(1),
  twoColTable([
    ["Type of Marriage", "Love Marriage (strong indicators)"],
    ["Partner Background", "Different community / unconventional / educated"],
    ["How They Meet", "Social circle, work, or online - not traditional arrangement"],
    ["Earliest Marriage Window", "2027-2028 (Age 33-34)"],
    ["Most Probable Marriage Window", "2028-2031 (Age 34-37)"],
    ["Predicted Marriage Age", "35-36 years"],
    ["Quality of Marriage", "Good overall (Jupiter D9/9th, Venus D9/10th) - fulfilling in long term"],
    ["Key Challenge", "Rahu illusion + Jupiter delay - patience and self-awareness required"],
    ["Strongest Positive Factor", "11th house score 35 (highest) + Saturn in own sign = desires WILL be fulfilled"],
    ["Remedy Priority", "Strengthen Jupiter (Thursdays, service to teachers)"],
  ], ["Prediction Factor", "Assessment"]),
  ...spacer(2),

  heading2("Final Note"),
  body("This chart belongs to a person of genuine intelligence, passion, and inner strength. The Aries ascendant with Mars in own sign, the sharp Gemini Moon-Mercury conjunction, and the formidable Saturn in Aquarius paint a picture of someone who achieves through effort and discipline - and marriage is no different.", { bold: false }),
  ...spacer(1),
  body("The journey to marriage may not be the smoothest, but it is a journey that will produce real, lasting partnership. Rahu's presence in the 7th guarantees that the experience of love will be intense and transformative - not ordinary. And Jupiter, even retrograde, ensures that wisdom is gained through it all.", { bold: false }),
  ...spacer(1),
  noteBox("'The stars incline, they do not compel.' - Classical Jyotish wisdom. This report is a map, not a mandate. The native's own choices, awareness, and efforts shape the final outcome."),
  ...spacer(2),

  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 200, after: 80 },
    children: [new TextRun({ text: "─────────────────────────────────", size: 24, color: GOLD })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 60, after: 40 },
    children: [new TextRun({ text: "॥ सर्वे भवन्तु सुखिनः ॥", size: 28, color: GOLD, font: "Mangal", bold: true })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 20, after: 20 },
    children: [new TextRun({ text: "May all beings be happy", size: 22, color: MID_TEXT, font: "Calibri", italics: true })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 20, after: 20 },
    children: [new TextRun({ text: "Source Chart: AstroSage.com  |  Analysis Date: July 14, 2026", size: 18, color: MID_TEXT, font: "Calibri" })],
  }),
];

// ─── BUILD DOCUMENT ───────────────────────────────────────────────────────────
const doc = new Document({
  creator: "Orris - Vedic Astrology Analyst",
  title: "Vedic Marriage Prediction - Thorat Krunal Kumar Vallabhbhai",
  subject: "Vedic Jyotish Marriage Analysis",
  description: "Detailed marriage prediction based on Vedic birth chart",
  styles: {
    default: {
      document: {
        run: { font: "Calibri", size: 22, color: DARK_TEXT },
        paragraph: { spacing: { line: 320 } },
      },
    },
    paragraphStyles: [
      {
        id: "Heading1",
        name: "Heading 1",
        basedOn: "Normal",
        next: "Normal",
        run: { size: 32, bold: true, color: DEEP_NAVY, font: "Georgia" },
        paragraph: { spacing: { before: 360, after: 120 } },
      },
      {
        id: "Heading2",
        name: "Heading 2",
        basedOn: "Normal",
        next: "Normal",
        run: { size: 26, bold: true, color: TABLE_HEAD, font: "Georgia" },
        paragraph: { spacing: { before: 280, after: 80 } },
      },
    ],
  },
  sections: [
    {
      properties: {
        page: {
          margin: { top: 1080, bottom: 1080, left: 1080, right: 1080 },
        },
      },
      headers: {
        default: new Header({
          children: [
            new Paragraph({
              alignment: AlignmentType.RIGHT,
              border: { bottom: { style: BorderStyle.SINGLE, size: 4, color: GOLD } },
              children: [
                new TextRun({ text: "Vedic Marriage Prediction  |  Thorat Krunal Kumar Vallabhbhai", size: 18, color: MID_TEXT, font: "Calibri" }),
              ],
            }),
          ],
        }),
      },
      footers: {
        default: new Footer({
          children: [
            new Paragraph({
              alignment: AlignmentType.CENTER,
              border: { top: { style: BorderStyle.SINGLE, size: 4, color: GOLD } },
              children: [
                new TextRun({ text: "Page ", size: 18, color: MID_TEXT }),
                new TextRun({ children: [PageNumber.CURRENT], size: 18, color: MID_TEXT }),
                new TextRun({ text: " of ", size: 18, color: MID_TEXT }),
                new TextRun({ children: [PageNumber.TOTAL_PAGES], size: 18, color: MID_TEXT }),
                new TextRun({ text: "  |  Generated by Orris Vedic Analysis  |  AstroSage Source Chart", size: 18, color: MID_TEXT }),
              ],
            }),
          ],
        }),
      },
      children: [
        ...titlePage,
        ...section1,
        ...section2,
        ...section3,
        ...section4,
        ...section5,
        ...section6,
        ...section7,
        ...section8,
        ...section9,
        ...section10,
      ],
    },
  ],
});

Packer.toBuffer(doc).then(buffer => {
  fs.writeFileSync("/home/daytona/workspace/vedic-marriage/Vedic_Marriage_Prediction_Krunal.docx", buffer);
  console.log("Document created successfully.");
}).catch(err => {
  console.error("Error:", err);
  process.exit(1);
});
Running Command

cd /home/daytona/workspace/vedic-marriage && node create_doc.js

Running Command

python3 /home/daytona/workspace/vedic-marriage/../../../skills/readonly/docx/../../../home/daytona/skills/docx/scripts/office/validate.py /home/daytona/workspace/vedic-marriage/Vedic_Marriage_Prediction_Krunal.docx 2>/dev/null || python3 -c " from zipfile import ZipFile path = '/home/daytona/workspace/vedic-marriage/Vedic_Marriage_Prediction_Krunal.docx' with ZipFile(path, 'r') as z: names = z.namelist() print('ZIP contents:', names[:10]) print('File size:', __import__('os').path.getsize(path), 'bytes') # Check word/document.xml exists if 'word/document.xml' in names: print('word/document.xml: OK') else: print('word/document.xml: MISSING') "

Your detailed marriage prediction document is ready! Here's the download link:

Vedic Marriage Prediction Krunal

Word Document · DOCX


What's Inside the Document (10 Sections)

#SectionWhat It Covers
1Birth Chart SnapshotAll key chart details in a formatted table
2Key Houses for MarriageDeep analysis of 7th, 2nd, 5th & 11th houses
3Love or Arranged MarriageFull indicator table + clear verdict
4Spouse / Partner ProfileAppearance, nature, background & how they'll meet
5Marriage TimingDasha windows, most probable year, age prediction
6Marriage ChallengesAll 6 Rahu/Jupiter/Ketu challenges with severity ratings
7Navamsa Chart (D9)Quality of married life analysis
8Ashtakvarga ScoresQuantitative house strength with interpretation
9Vedic RemediesMantras, rituals, and practical advice
10Summary & Final PredictionOne-page verdict table + closing note
Document features: Gold & navy color theme, professional headers/footers with page numbers, formatted tables throughout, Sanskrit shlokas on title and closing pages.
This is a shared conversation. Sign in to Orris to start your own chat.