/* =========================================================
   CHINTAL PATEL — PERSONAL BIODATA
   Modern · Minimal · Premium  (Redesigned)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');


/* =========================================================
   ROOT TOKENS
   ========================================================= */

:root {
    /* Colours */
    --bg:           #f8f5ef;
    --bg-soft:      #f1ece2;
    --bg-card:      rgba(255, 255, 255, 0.70);
    --surface:      rgba(255, 255, 255, 0.55);

    --text:         #1e1c19;
    --text-soft:    #6b6660;
    --text-light:   #9e9890;

    --accent:       #a8803c;
    --accent-dark:  #7a5b22;
    --accent-light: #c9a76a;
    --accent-soft:  rgba(168, 128, 60, 0.10);
    --accent-glow:  rgba(168, 128, 60, 0.20);

    --border:       rgba(40, 34, 24, 0.09);
    --border-med:   rgba(40, 34, 24, 0.14);

    /* Gradient */
    --grad-gold:    linear-gradient(135deg, #a8803c 0%, #c9a76a 100%);

    /* Typography */
    --serif: "Playfair Display", Georgia, serif;
    --sans:  "DM Sans", system-ui, Arial, sans-serif;

    /* Layout */
    --container: 1120px;
    --radius:    22px;
    --radius-sm: 14px;
    --radius-xs: 10px;

    /* Shadow */
    --shadow-sm:  0 4px 20px rgba(30, 24, 14, 0.06);
    --shadow:     0 16px 50px rgba(30, 24, 14, 0.09);
    --shadow-lg:  0 30px 80px rgba(30, 24, 14, 0.12);

    /* Motion */
    --ease: cubic-bezier(0.22, 0.9, 0.22, 1);
    --dur: 0.35s;
}


/* =========================================================
   RESET
   ========================================================= */

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

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

button { font-family: inherit; cursor: pointer; }


/* =========================================================
   BACKGROUND ATMOSPHERE
   ========================================================= */

.background-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.45;
}

.glow-one {
    width: 500px; height: 500px;
    top: -200px; right: -120px;
    background: radial-gradient(circle, rgba(168,128,60,.18) 0%, transparent 70%);
}

.glow-two {
    width: 420px; height: 420px;
    bottom: -200px; left: -140px;
    background: radial-gradient(circle, rgba(201,167,106,.20) 0%, transparent 70%);
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 28px;
    transition: background var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                padding var(--dur) var(--ease);
}

.navbar.scrolled {
    background: rgba(248, 245, 239, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding-top: 14px;
    padding-bottom: 14px;
    box-shadow: 0 2px 24px rgba(30, 24, 14, 0.07);
}

.nav-container {
    max-width: var(--container);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.brand {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--border-med);
    border-radius: 50%;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 15px;
    color: var(--accent-dark);
    background: rgba(255,255,255,0.60);
    transition: border-color var(--dur) var(--ease),
                background var(--dur) var(--ease);
}
.brand:hover {
    border-color: var(--accent-light);
    background: rgba(255,255,255,0.90);
}

/* Desktop links */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    position: relative;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-soft);
    transition: color var(--dur) var(--ease);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -5px;
    width: 0; height: 1.5px;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--dur) var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px; height: 38px;
    border: 1.5px solid var(--border-med);
    border-radius: 10px;
    background: rgba(255,255,255,.55);
    padding: 8px;
    transition: background var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}

.menu-toggle:hover { background: rgba(255,255,255,.9); }

.menu-toggle span {
    display: block;
    width: 100%; height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--dur) var(--ease),
                opacity var(--dur) var(--ease);
    transform-origin: center;
}

/* Animated hamburger → X */
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */

.section {
    width: min(var(--container), calc(100% - 48px));
    margin: auto;
}

.content-section {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Eyebrow label */
.eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

/* Section heading */
.section-heading {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.section-number {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.08em;
    padding-top: 10px;
    min-width: 24px;
}

.section-heading h2 {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.12;
    margin-top: 8px;
}

.section-heading h2 em {
    font-style: italic;
    color: var(--accent);
}

.subheading { margin-bottom: 28px; }

.subheading h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    margin-top: 6px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100svh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 60px;
    position: relative;
}

.hero-content { padding-left: 10px; }

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero .eyebrow::before {
    content: "";
    display: inline-block;
    width: 30px; height: 1px;
    background: var(--accent);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(52px, 8vw, 96px);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin: 16px 0 28px;
}

.hero h1 span { color: var(--accent); }

.hero-role {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    color: var(--text);
}

.hero-location {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-location::before {
    content: "⌖";
    color: var(--accent);
    font-size: 14px;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1.5px solid transparent;
    transition: transform var(--dur) var(--ease),
                background var(--dur) var(--ease),
                color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--text);
    color: #fff;
    box-shadow: 0 10px 28px rgba(30,24,14,.18);
}

.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 14px 32px rgba(122, 91, 34, .30);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border-med);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.90);
    border-color: var(--accent-light);
    color: var(--accent-dark);
}


/* =========================================================
   HERO PHOTO
   ========================================================= */

.hero-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-frame {
    width: min(420px, 100%);
    position: relative;
    padding: 14px;
}

.photo-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(168, 128, 60, 0.30);
    border-radius: 220px 220px 22px 22px;
    transform: rotate(2.5deg);
    z-index: -1;
    transition: transform 0.6s var(--ease);
}

.photo-frame:hover::before {
    transform: rotate(0deg);
}

.photo-decoration {
    position: absolute;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--accent-soft);
    right: -28px; top: 25px;
    z-index: -2;
}

.photo-decoration::after {
    content: "";
    position: absolute;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(201, 167, 106, 0.12);
    bottom: -60px; left: -20px;
}

.profile-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 210px 210px 18px 18px;
    box-shadow: var(--shadow-lg);
    background: #e8e0d0;
    transition: transform 0.8s var(--ease);
}

.photo-frame:hover .profile-photo { transform: scale(1.018); }

.photo-caption {
    text-align: center;
    margin-top: 22px;
}

.photo-caption span {
    display: block;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
}

.photo-caption small {
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 0.04em;
}


/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.scroll-indicator span {
    display: block;
    width: 28px; height: 1px;
    background: var(--accent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.3; }
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 28px;
    padding: 52px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--accent-soft);
    z-index: 0;
}

.about-card > * { position: relative; z-index: 1; }

.about-mark {
    font-family: var(--serif);
    font-size: 80px;
    line-height: 0.8;
    color: var(--accent);
    opacity: 0.55;
    user-select: none;
}

.about-text {
    max-width: 820px;
    font-family: var(--serif);
    font-size: clamp(20px, 2.8vw, 28px);
    line-height: 1.6;
    font-weight: 500;
}

.about-text.secondary {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--text-soft);
    margin-top: 18px;
    line-height: 1.75;
    font-weight: 400;
}


/* =========================================================
   PERSONAL INFO
   ========================================================= */

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

.info-card {
    min-height: 120px;
    padding: 26px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--dur) var(--ease),
                background var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow);
}

.info-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-light);
    font-weight: 600;
}

.info-card strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.wide-card { grid-column: span 3; }


/* =========================================================
   CAREER HIGHLIGHT
   ========================================================= */

.career-highlight {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    padding: 46px;
    border-radius: var(--radius);
    background: var(--text);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.career-highlight::before {
    content: "";
    position: absolute;
    right: -100px; top: -120px;
    width: 320px; height: 320px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 50%;
}

.career-highlight::after {
    content: "";
    position: absolute;
    right: -30px; bottom: -80px;
    width: 180px; height: 180px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.career-icon {
    width: 72px; height: 72px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-size: 17px;
    color: var(--accent-light);
    z-index: 1;
}

.career-label {
    font-size: 10px;
    letter-spacing: 0.20em;
    color: rgba(200,195,185,0.70);
    margin-bottom: 10px;
}

.career-main h3 {
    font-family: var(--serif);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 500;
    line-height: 1.2;
    z-index: 1;
    position: relative;
}

.company {
    color: var(--accent-light);
    font-weight: 600;
    margin-top: 10px;
    font-size: 14px;
}

.career-description {
    max-width: 680px;
    margin-top: 18px;
    color: rgba(188, 183, 174, 0.85);
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.career-path { margin-top: 60px; }

.timeline {
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 0;
}

.timeline-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
}

.timeline-dot {
    width: 11px; height: 11px;
    flex-shrink: 0;
    margin-top: 5px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: var(--bg);
    transition: background var(--dur) var(--ease),
                transform var(--dur) var(--ease);
}

.timeline-item:hover .timeline-dot { background: var(--accent-light); transform: scale(1.3); }

.timeline-item.current .timeline-dot { background: var(--accent); }

.timeline-item span {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
}

.timeline-item small {
    display: block;
    color: var(--text-light);
    font-size: 11px;
    margin-top: 3px;
}

.timeline-line {
    width: 40px; height: 1px;
    background: linear-gradient(90deg, var(--accent-light), transparent);
    margin-top: 10px;
    flex-shrink: 0;
}


/* =========================================================
   EDUCATION
   ========================================================= */

.education-block { margin-top: 72px; }

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.education-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent-light);
}

.education-number {
    color: var(--accent-light);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 28px;
}

.education-card h4 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.education-card p {
    color: var(--text-soft);
    font-size: 13px;
    margin-top: 7px;
}


/* =========================================================
   FAMILY
   ========================================================= */

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

.family-card {
    min-height: 200px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.family-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-gold);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.family-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(168,128,60,.20);
}

.family-card:hover::before { opacity: 1; }

.family-label {
    font-size: 10px;
    color: var(--accent-dark);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.family-card h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    margin-top: 24px;
}

.family-card p {
    color: var(--text-soft);
    font-size: 13px;
    margin-top: 4px;
}

.family-divider {
    height: 1px;
    background: var(--border-med);
    margin: 18px 0;
}

.sisters-card h3 { margin-top: 18px; }


/* =========================================================
   MOSAL
   ========================================================= */

.mosal-block { margin-top: 62px; }

.mosal-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.mosal-item {
    padding: 24px 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    transition: background var(--dur) var(--ease);
}

.mosal-item:last-child { border-right: none; }

.mosal-item:hover { background: rgba(255,255,255,0.55); }

.mosal-item > span {
    color: var(--accent-light);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    min-width: 24px;
}

.mosal-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.mosal-item small {
    color: var(--text-light);
    font-size: 12px;
    margin-top: 2px;
    display: block;
}


/* =========================================================
   LIFE PARTNER
   ========================================================= */

.partner-section { position: relative; }

.partner-intro {
    max-width: 680px;
    margin: -15px 0 52px auto;
}

.partner-intro p,
.contact-intro p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.85;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.partner-card {
    position: relative;
    min-height: 230px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
    overflow: hidden;
}

.partner-card::after {
    content: "";
    position: absolute;
    bottom: -40px; right: -40px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--accent-soft);
    transition: transform 0.5s var(--ease);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(168,128,60,.18);
}

.partner-card:hover::after { transform: scale(1.6); }

.partner-number {
    display: block;
    margin-bottom: 40px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.partner-card h3 {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.partner-card p {
    max-width: 440px;
    margin: 0;
    font-size: 14px;
    line-height: 1.80;
    color: var(--text-soft);
    position: relative;
    z-index: 1;
}

.partner-note {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 880px;
    margin: 52px auto 0;
    padding: 36px 42px;
    border-top: 1px solid var(--border-med);
    border-bottom: 1px solid var(--border-med);
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
}

.partner-note-mark {
    flex-shrink: 0;
    font-family: var(--serif);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--accent);
}

.partner-note p {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.20rem;
    line-height: 1.75;
    color: var(--text);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    width: 100%;
    margin-top: 60px;
    padding: 100px max(24px, calc((100% - var(--container)) / 2));
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    position: relative;
}

.contact-intro {
    max-width: 600px;
    margin: -15px 0 50px auto;
}

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

.contact-card {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: inherit;
    transition: transform var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 0; height: 3px;
    background: var(--grad-gold);
    border-radius: 0 2px 0 0;
    transition: width 0.4s var(--ease);
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168,128,60,.22);
    box-shadow: var(--shadow);
}

.contact-card:hover::before { width: 100%; }

.contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
}

.contact-arrow {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform 0.3s var(--ease);
}

.contact-card:hover .contact-arrow { transform: translate(3px, -3px); }

.contact-card-content h3 {
    margin: 0 0 7px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
}

.contact-card-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-soft);
}

.contact-location { cursor: default; }
.contact-location:hover { transform: none; border-color: var(--border); box-shadow: none; }
.contact-location:hover::before { width: 0; }
.contact-location:hover .contact-arrow { transform: none; }


/* =========================================================
   FINAL / CTA SECTION
   ========================================================= */

.final-section {
    padding: 110px 24px;
    text-align: center;
}

.final-content {
    max-width: 680px;
    margin: auto;
}

.final-mark {
    width: 58px; height: 58px;
    margin: auto;
    border: 1.5px solid var(--border-med);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-size: 15px;
    color: var(--accent-dark);
    background: rgba(255,255,255,0.65);
}

.final-content h2 {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 52px);
    margin-top: 26px;
    line-height: 1.2;
}

.final-content h2 em {
    font-style: italic;
    color: var(--accent);
}

.final-content p {
    color: var(--text-soft);
    font-size: 15px;
    margin-top: 14px;
    line-height: 1.75;
}

.final-content .hero-actions { justify-content: center; }


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    border-top: 1px solid var(--border);
    padding: 28px 24px;
    background: var(--bg);
}

.footer-inner {
    max-width: var(--container);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 11.5px;
    letter-spacing: 0.03em;
}


/* =========================================================
   SCROLL REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s var(--ease),
                transform 0.85s var(--ease);
}

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


/* =========================================================
   RESPONSIVE — TABLET (≤ 960px)
   ========================================================= */

@media (max-width: 960px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-top: 120px;
    }

    .hero-content { padding-left: 0; }

    .hero .eyebrow { justify-content: center; }

    .hero-location { justify-content: center; }

    .hero-actions { justify-content: center; }

    .hero-photo { order: -1; }

    .photo-frame { width: min(360px, 82%); }

    .scroll-indicator { display: none; }

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

    .wide-card { grid-column: span 2; }

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

    .mosal-item:nth-child(2) { border-right: none; }
    .mosal-item:nth-child(3) { border-right: 1px solid var(--border); }

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

    .partner-intro,
    .contact-intro { margin: 0 0 38px; max-width: 100%; }

    .timeline { flex-wrap: wrap; }

    .timeline-line { display: none; }

    .timeline-item { min-width: 44%; }
}


/* =========================================================
   RESPONSIVE — MOBILE (≤ 700px)
   ========================================================= */

@media (max-width: 700px) {

    :root { --radius: 18px; --radius-sm: 12px; }

    /* Navbar */
    .navbar { padding: 14px 18px; }

    .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 100svh;
        padding: 90px 28px 40px;
        background: rgba(248, 245, 239, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: opacity 0.3s var(--ease),
                    transform 0.3s var(--ease),
                    visibility 0.3s var(--ease);
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 22px;
        font-weight: 500;
        color: var(--text);
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-links a::after { display: none; }

    .menu-toggle { display: flex; z-index: 1001; }

    /* Sections */
    .section { width: calc(100% - 32px); }

    .content-section {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .section-heading {
        gap: 14px;
        margin-bottom: 32px;
    }

    .section-heading h2 { font-size: 30px; }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero h1 { font-size: clamp(44px, 16vw, 68px); margin: 12px 0 20px; }

    .hero-role { font-size: 15px; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn { width: 100%; min-height: 52px; }

    /* About */
    .about-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 14px;
    }

    .about-mark { font-size: 55px; }

    .about-text { font-size: 19px; }

    /* Info */
    .info-grid { grid-template-columns: repeat(2, 1fr); }

    .wide-card { grid-column: span 2; }

    /* Career */
    .career-highlight {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 18px;
    }

    /* Education */
    .education-grid { grid-template-columns: 1fr; }

    .education-card { padding: 24px; }

    /* Family */
    .family-grid { grid-template-columns: 1fr; }

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

    .mosal-item { border-right: none; }

    .mosal-item:last-child { border-bottom: 1px solid var(--border); }

    /* Partner */
    .partner-grid { grid-template-columns: 1fr; }

    .partner-card { min-height: auto; padding: 28px 22px; }

    .partner-note {
        flex-direction: column;
        gap: 14px;
        padding: 26px 22px;
        margin-top: 36px;
    }

    /* Contact */
    .contact-section { padding: 70px 16px; }

    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .contact-card { min-height: 180px; }

    /* Final */
    .final-section { padding: 80px 18px; }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}


/* =========================================================
   RESPONSIVE — SMALL PHONES (≤ 380px)
   ========================================================= */

@media (max-width: 380px) {

    .hero h1 { font-size: 40px; }

    .section-heading h2 { font-size: 27px; }

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

    .wide-card { grid-column: auto; }

    .info-card,
    .family-card { padding: 20px; }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   PRINT / PDF  —  Target: max 2 A4 pages
   • @page margins: generous top/bottom, ZERO sides
   • Content: 80% centred (≈17 mm each side on A4)
   • Decorative bands: full page-width
   ========================================================= */

@media print {

    @page {
        size: A4 portrait;
        margin: 15mm 0;   /* top & bottom breathing room; sides = 0 so we control them */
    }

    /* ---- Base reset ---- */
    html, body {
        background: #fff !important;
        color: #1e1c19 !important;
        font-size: 9.5pt !important;
        line-height: 1.5 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Full-bleed gold gradient bar — very top of page 1 */
    body::before {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: 3.5pt !important;
        background: linear-gradient(90deg, #7a5b22 0%, #a8803c 35%, #c9a76a 65%, #f0e8d8 100%) !important;
        margin-bottom: 2pt !important;
    }

    /* ---- Hide non-print elements ---- */
    .navbar,
    .scroll-indicator,
    .background-glow,
    .hero-actions,
    .final-section,
    .career-path,
    .partner-section,
    footer {
        display: none !important;
    }

    .reveal { opacity: 1 !important; transform: none !important; }

    /* Kill all shadows / blur */
    .about-card,
    .career-highlight,
    .info-card,
    .education-card,
    .family-card,
    .contact-card {
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

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

    /* ===========================================================
       80% CENTRED COLUMN SYSTEM
       —  All section wrappers become full-width containers
       —  Their inner children are pushed to 80% centred
       A4 width = 210mm  →  80% = 168mm  →  ~21mm side margins
       =========================================================== */

    .section,
    .content-section,
    .contact-section {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Section headings — 80% centred */
    .section-heading {
        width: 80% !important;
        margin: 0 auto 9pt !important;
        gap: 8pt !important;
        page-break-after: avoid !important;
    }

    .section-heading h2 {
        font-size: 14pt !important;
        margin-top: 2pt !important;
        line-height: 1.15 !important;
    }

    .section-number { font-size: 7.5pt !important; padding-top: 4pt !important; }
    .eyebrow        { font-size: 6.5pt !important; letter-spacing: 0.16em !important; }

    /* Section top rule — full-bleed hair line, then content starts */
    .content-section {
        border-top: 0.5pt solid #e5ddd0 !important;
        padding-top: 10pt !important;
        margin-bottom: 10pt !important;
    }

    /* About — no top rule (hero divider bar beneath hero suffices) */
    #about.content-section { border-top: none !important; }


    /* ======================================================
       PAGE 1 — HERO
       Full-bleed: the gold bar above (body::before).
       Hero grid sits in its 80% column.
       ====================================================== */

    .hero {
        min-height: auto !important;
        width: 80% !important;
        margin: 0 auto !important;
        padding: 12pt 0 14pt !important;
        display: grid !important;
        grid-template-columns: 1fr 100pt !important;
        align-items: center !important;
        gap: 16pt !important;
        border-bottom: 1pt solid #d4c8b4 !important;
        margin-bottom: 12pt !important;
        page-break-after: avoid !important;
    }

    .hero::before,
    .hero::after { display: none !important; }

    .hero-content { padding-left: 0 !important; }

    .hero .eyebrow {
        font-size: 6.5pt !important;
        letter-spacing: 0.18em !important;
        display: block !important;
    }

    .hero .eyebrow::before { display: none !important; }

    .hero h1 {
        font-size: 33pt !important;
        margin: 6pt 0 8pt !important;
        letter-spacing: -0.03em !important;
        line-height: 0.98 !important;
    }

    .hero-role { font-size: 11pt !important; font-weight: 600 !important; }

    .hero-location {
        display: block !important;
        font-size: 8.5pt !important;
        margin-top: 4pt !important;
        justify-content: flex-start !important;
    }

    .hero-photo { align-items: flex-end !important; justify-content: flex-end !important; }

    .photo-frame { width: 92pt !important; padding: 0 !important; }
    .photo-frame::before { display: none !important; }
    .photo-decoration { display: none !important; }

    .profile-photo {
        width: 92pt !important;
        border-radius: 46pt 46pt 6pt 6pt !important;
        aspect-ratio: 3/4 !important;
        object-fit: cover !important;
    }

    .photo-caption { display: none !important; }


    /* ======================================================
       PAGE 1 — ABOUT
       ====================================================== */

    .about-card {
        width: 80% !important;
        margin: 0 auto !important;
        grid-template-columns: 36pt 1fr !important;
        gap: 12pt !important;
        padding: 12pt 18pt !important;
        background: #faf8f4 !important;
        border: 0.5pt solid #e0d8c8 !important;
        border-left: 3pt solid #a8803c !important;
        border-radius: 4pt !important;
        page-break-inside: avoid !important;
    }

    .about-card::before { display: none !important; }
    .about-mark { font-size: 42pt !important; line-height: 0.88 !important; }
    .about-text { font-size: 10pt !important; line-height: 1.5 !important; }
    .about-text.secondary { font-size: 8pt !important; margin-top: 5pt !important; }


    /* ======================================================
       PAGE 1 — PERSONAL INFO
       ====================================================== */

    .info-grid {
        width: 80% !important;
        margin: 0 auto !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 5pt !important;
        page-break-inside: avoid !important;
    }

    .wide-card   { grid-column: span 4 !important; min-height: auto !important; }

    .info-card {
        min-height: auto !important;
        padding: 8pt 10pt !important;
        background: #faf8f4 !important;
        border: 0.5pt solid #e0d8c8 !important;
        border-radius: 3pt !important;
    }

    .info-label         { font-size: 6pt !important; letter-spacing: 0.12em !important; }
    .info-card strong   { font-size: 9pt !important; }


    /* ======================================================
       PAGE 1 — PROFESSIONAL
       ====================================================== */

    .career-highlight {
        width: 80% !important;
        margin: 0 auto 8pt !important;
        grid-template-columns: 48pt 1fr !important;
        gap: 12pt !important;
        padding: 14pt 18pt !important;
        border-radius: 5pt !important;
        page-break-inside: avoid !important;
    }

    .career-highlight::before,
    .career-highlight::after { display: none !important; }

    .career-icon        { width: 40pt !important; height: 40pt !important; font-size: 11pt !important; }
    .career-label       { font-size: 6pt !important; }
    .career-main h3     { font-size: 13pt !important; }
    .company            { font-size: 9pt !important; margin-top: 4pt !important; }
    .career-description { font-size: 8pt !important; margin-top: 6pt !important; line-height: 1.45 !important; }

    .education-block {
        width: 80% !important;
        margin: 0 auto !important;
        page-break-inside: avoid !important;
    }

    .subheading    { margin-bottom: 7pt !important; }
    .subheading h3 { font-size: 11pt !important; }

    .education-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5pt !important;
    }

    .education-card {
        padding: 10pt 12pt !important;
        gap: 10pt !important;
        background: #faf8f4 !important;
        border: 0.5pt solid #e0d8c8 !important;
        border-radius: 3pt !important;
    }

    .education-number  { font-size: 12pt !important; }
    .education-card h4 { font-size: 9.5pt !important; }
    .education-card p  { font-size: 7.5pt !important; margin-top: 3pt !important; }


    /* ======================================================
       PAGE 2 — FAMILY  (forced page break)
       Full-bleed gold bar restarts at top, then 80% content
       ====================================================== */

    #family.content-section {
        page-break-before: always !important;
        border-top: none !important;
        padding-top: 0 !important;
        margin-bottom: 11pt !important;
    }

    /* Full-bleed accent bar — identical to page 1 top bar */
    #family.content-section::before {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: 3.5pt !important;
        background: linear-gradient(90deg, #7a5b22 0%, #a8803c 35%, #c9a76a 65%, #f0e8d8 100%) !important;
        margin-bottom: 14pt !important;
    }

    .family-grid {
        width: 80% !important;
        margin: 0 auto !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 7pt !important;
        page-break-inside: avoid !important;
    }

    .family-card {
        min-height: auto !important;
        padding: 12pt 14pt !important;
        background: #faf8f4 !important;
        border: 0.5pt solid #e0d8c8 !important;
        border-radius: 4pt !important;
    }

    .family-card::before { display: none !important; }
    .family-label        { font-size: 6.5pt !important; }
    .family-card h3      { font-size: 11pt !important; margin-top: 9pt !important; }
    .family-card p       { font-size: 8pt !important; }
    .family-divider      { margin: 7pt 0 !important; }
    .sisters-card h3     { margin-top: 7pt !important; }


    /* ======================================================
       PAGE 2 — MOSAL
       ====================================================== */

    .mosal-block {
        width: 80% !important;
        margin: 10pt auto 0 !important;
        page-break-inside: avoid !important;
    }

    .mosal-list {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0 !important;
        border: 0.5pt solid #e0d8c8 !important;
        border-radius: 4pt !important;
        overflow: hidden !important;
    }

    .mosal-item {
        padding: 9pt 12pt !important;
        border-right: 0.5pt solid #e0d8c8 !important;
        border-bottom: none !important;
        background: #faf8f4 !important;
    }

    .mosal-item:last-child  { border-right: none !important; }
    .mosal-item > span      { font-size: 12pt !important; }
    .mosal-item strong      { font-size: 8.5pt !important; }
    .mosal-item small       { font-size: 7pt !important; }


    /* ======================================================
       PAGE 2 — CONTACT
       ====================================================== */

    .contact-section {
        background: none !important;
        border-top: 0.5pt solid #e5ddd0 !important;
        padding-top: 10pt !important;
        margin-top: 0 !important;
        page-break-inside: avoid !important;
    }

    .contact-section .section-heading {
        width: 80% !important;
        margin: 0 auto 8pt !important;
    }

    .contact-intro { display: none !important; }

    .contact-grid {
        width: 80% !important;
        margin: 8pt auto 0 !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 7pt !important;
    }

    .contact-card {
        min-height: auto !important;
        padding: 12pt 14pt !important;
        background: #faf8f4 !important;
        border: 0.5pt solid #e0d8c8 !important;
        border-radius: 4pt !important;
    }

    .contact-card::before         { display: none !important; }
    .contact-label                { font-size: 6.5pt !important; }
    .contact-arrow                { font-size: 9pt !important; }
    .contact-card-content h3      { font-size: 11pt !important; }
    .contact-card-content p       { font-size: 8pt !important; }


    /* ======================================================
       PRINT FOOTER TEXT — bottom of page 2
       ====================================================== */

    .contact-section::after {
        content: "Chintal Harshadkumar Patel  ·  Ahmedabad, Gujarat  ·  Personal Biodata" !important;
        display: block !important;
        width: 80% !important;
        margin: 14pt auto 0 !important;
        padding-top: 8pt !important;
        border-top: 0.5pt solid #e0d8c8 !important;
        font-size: 7pt !important;
        color: #a09890 !important;
        text-align: center !important;
        letter-spacing: 0.07em !important;
    }
}
