/* ==========================================================
   PARTH TALPARA BIO DATA - PREMIUM REDESIGN v2
   Mobile-first • Unique Animations • 3D Effects • Indian Theme
   ========================================================== */

/* === Design Tokens === */
:root {
    /* Colors - Royal Indian Wedding Theme */
    --gold: #d4a942;
    --gold-light: #f0d579;
    --gold-dark: #a67c2e;
    --gold-glow: rgba(212, 169, 66, 0.35);
    --maroon: #6b1d37;
    --maroon-light: #8f2849;
    --deep-purple: #1a0a2e;
    --royal-blue: #0d1b3e;
    --bg-primary: #080412;
    --bg-section: #0c0618;
    --bg-section-alt: #0a0414;
    --card-bg: rgba(20, 10, 40, 0.65);
    --card-border: rgba(212, 169, 66, 0.12);
    --card-hover-border: rgba(212, 169, 66, 0.35);
    --text-white: #f8f3e8;
    --text-gold: #e6c766;
    --text-muted: #9a8e7a;
    --text-dim: #6b6155;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #a67c2e, #d4a942, #f0d579, #d4a942, #a67c2e);
    --gradient-card: linear-gradient(160deg, rgba(20, 10, 40, 0.8) 0%, rgba(12, 6, 24, 0.95) 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 30%, rgba(106, 29, 55, 0.15) 0%, rgba(8, 4, 18, 0) 60%);

    /* Shadows */
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 4px 24px rgba(212, 169, 66, 0.12);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.45), 0 4px 24px rgba(212, 169, 66, 0.1);

    /* Radius */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 9999px;

    /* Transition */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.25s;
    --t-normal: 0.4s;
    --t-slow: 0.6s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    border: none;
    cursor: pointer;
    background: none;
    font-family: inherit;
}

::selection {
    background: var(--gold);
    color: var(--deep-purple);
}

/* === Preloader === */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.mandala-loader {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.mandala-svg {
    width: 100%;
    height: 100%;
    animation: spin-mandala 8s linear infinite;
}

.mandala-circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1;
    stroke-dasharray: 8 4;
    opacity: 0.4;
}

.c1 {
    animation: pulse-ring 2s ease-in-out infinite;
}

.c2 {
    animation: pulse-ring 2s ease-in-out infinite 0.3s;
    stroke-dasharray: 4 8;
}

.c3 {
    animation: pulse-ring 2s ease-in-out infinite 0.6s;
    stroke-dasharray: 12 4;
}

.c4 {
    animation: pulse-ring 2s ease-in-out infinite 0.9s;
    stroke-dasharray: 6 6;
}

@keyframes spin-mandala {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-ring {

    0%,
    100% {
        opacity: 0.2;
        stroke-width: 1;
    }

    50% {
        opacity: 0.7;
        stroke-width: 2;
    }
}

.preloader-text {
    font-family: 'Noto Sans Devanagari', 'Playfair Display', serif;
    color: var(--text-gold);
    font-size: 16px;
    letter-spacing: 2px;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* === Canvas Particles === */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* === Corner Decorations === */
.corner-decor {
    position: fixed;
    width: 120px;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.top-left {
    top: 0;
    left: 0;
}

.top-right {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all var(--t-normal) var(--ease);
    background: rgba(8, 4, 18, 0.4);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.navbar.scrolled {
    padding: 8px 24px;
    background: rgba(8, 4, 18, 0.85);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-bottom: 1px solid rgba(212, 169, 66, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-om-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 66, 0.1);
    border: 1px solid rgba(212, 169, 66, 0.2);
    border-radius: 50%;
    animation: om-rotate 20s linear infinite;
}

@keyframes om-rotate {
    0% {
        border-color: rgba(212, 169, 66, 0.2);
    }

    50% {
        border-color: rgba(212, 169, 66, 0.5);
    }

    100% {
        border-color: rgba(212, 169, 66, 0.2);
    }
}

.nav-om {
    font-size: 20px;
    color: var(--gold);
}

.nav-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    background: var(--gradient-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text 5s linear infinite;
}

@keyframes shimmer-text {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 400;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    transition: all var(--t-fast) var(--ease);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--t-normal) var(--ease);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-gold);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 20px;
}

/* Hamburger */
.hamburger {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.ham-line {
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--t-normal) var(--ease);
    transform-origin: center;
}

.hamburger.active .ham-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active .ham-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .ham-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-normal) var(--ease);
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: linear-gradient(180deg, #130a24 0%, #0a0414 100%);
    border-left: 1px solid var(--card-border);
    z-index: 999;
    transform: translateX(100%);
    transition: transform var(--t-slow) var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 80px 24px 32px;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}

.drawer-om {
    font-size: 36px;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.drawer-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--text-gold);
}

.drawer-links {
    list-style: none;
    padding: 16px 0;
    flex: 1;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: var(--text-white);
    font-size: 15px;
    transition: all var(--t-fast) var(--ease);
    border-left: 3px solid transparent;
}

.drawer-link:hover,
.drawer-link:active {
    background: rgba(212, 169, 66, 0.06);
    border-left-color: var(--gold);
    color: var(--text-gold);
}

.drawer-link i {
    width: 20px;
    color: var(--gold);
    font-size: 16px;
    text-align: center;
}

.drawer-footer {
    padding: 20px 24px;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.drawer-footer p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-mandala-bg {
    position: absolute;
    inset: 0;
    background:
        var(--gradient-hero),
        radial-gradient(circle at 80% 20%, rgba(212, 169, 66, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(106, 29, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* === Hero Photo with Animated Rings === */
.hero-photo-area {
    flex-shrink: 0;
    perspective: 1500px;
}

.photo-frame {
    width: 280px;
    height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform var(--t-slow) var(--ease);
}

.photo-inner {
    width: 240px;
    height: 320px;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 169, 66, 0.1);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animated rings around photo */
.photo-ring {
    position: absolute;
    border: 1px solid rgba(212, 169, 66, 0.15);
    border-radius: var(--r-lg);
    pointer-events: none;
}

.ring-1 {
    inset: -8px;
    border-style: dashed;
    border-color: rgba(212, 169, 66, 0.12);
    animation: ring-spin 30s linear infinite;
    border-radius: 28px;
}

.ring-2 {
    inset: -18px;
    border-style: dotted;
    border-color: rgba(212, 169, 66, 0.08);
    animation: ring-spin 40s linear infinite reverse;
    border-radius: 32px;
}

.ring-3 {
    inset: -28px;
    border-width: 1px;
    border-color: rgba(212, 169, 66, 0.05);
    animation: ring-pulse 4s ease-in-out infinite;
    border-radius: 36px;
}

@keyframes ring-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ring-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.03);
    }
}

/* Glow pulse on photo border */
.photo-shine {
    position: absolute;
    inset: -3px;
    z-index: 4;
    border-radius: calc(var(--r-lg) + 3px);
    pointer-events: none;
    background: linear-gradient(135deg,
            rgba(212, 169, 66, 0.3),
            rgba(212, 169, 66, 0.05),
            rgba(212, 169, 66, 0.3),
            rgba(212, 169, 66, 0.05));
    background-size: 300% 300%;
    animation: glow-border 4s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes glow-border {
    0% {
        background-position: 0% 50%;
        opacity: 0.4;
    }

    50% {
        background-position: 100% 50%;
        opacity: 0.9;
    }

    100% {
        background-position: 0% 50%;
        opacity: 0.4;
    }
}

/* === Hero Info === */
.hero-info {
    flex: 1;
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(212, 169, 66, 0.08);
    border: 1px solid rgba(212, 169, 66, 0.15);
    border-radius: var(--r-full);
    font-size: 13px;
    color: var(--text-gold);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-small {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(14px, 3vw, 18px);
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-title-name {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(32px, 6vw, 56px);
    color: var(--text-white);
    line-height: 1.2;
}

.typewriter-cursor {
    color: var(--gold);
    font-weight: 300;
    animation: blink-cursor 0.8s step-end infinite;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hero Tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--r-full);
    font-size: 12px;
    color: var(--text-muted);
    transition: all var(--t-normal) var(--ease);
}

.hero-tag i {
    color: var(--gold);
    font-size: 11px;
}

.hero-tag:hover {
    border-color: var(--card-hover-border);
    color: var(--text-gold);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--r-md);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--text-gold);
}

.stat-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--card-border);
    flex-shrink: 0;
}

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--text-gold);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--r-full);
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--t-normal) var(--ease);
    border-radius: var(--r-full);
}

.hero-cta:hover {
    color: var(--deep-purple);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 169, 66, 0.25);
}

.hero-cta:hover::before {
    opacity: 1;
}

.hero-cta span,
.hero-cta .cta-arrow {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes arrow-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(212, 169, 66, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 4px;
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(16px);
        opacity: 0;
    }
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
    padding: 80px 24px;
    position: relative;
    z-index: 2;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(212, 169, 66, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(106, 29, 55, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

/* Section Header */
.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.head-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.decor-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.decor-diamond {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 169, 66, 0.25);
    border-radius: 50%;
    color: var(--gold);
    font-size: 18px;
    background: rgba(212, 169, 66, 0.05);
    box-shadow: 0 0 20px rgba(212, 169, 66, 0.08);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 5vw, 38px);
    font-weight: 700;
    background: var(--gradient-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text 5s linear infinite;
    line-height: 1.3;
}

.section-title.sub-size {
    font-size: clamp(22px, 4vw, 30px);
}

.section-subtitle {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 6px;
    letter-spacing: 1px;
}

/* ========================================
   PERSONAL PROFILE CARDS
   ======================================== */
.personal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.p-card {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--r-md);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(8px);
}

.p-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--t-normal) var(--ease);
}

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

.p-card:hover .p-card-glow {
    opacity: 1;
}

.p-card:hover .p-card-icon {
    transform: scale(1.12) rotate(5deg);
    background: rgba(212, 169, 66, 0.15);
    box-shadow: 0 0 24px rgba(212, 169, 66, 0.15);
}

.p-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 66, 0.08);
    border: 1px solid rgba(212, 169, 66, 0.12);
    border-radius: 14px;
    font-size: 20px;
    color: var(--gold);
    transition: all var(--t-normal) var(--ease-bounce);
}

.p-card-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 3px;
}

.p-card-value {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    display: block;
}

.p-card-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    display: block;
    margin-top: 2px;
}

/* ========================================
   FAMILY DETAILS
   ======================================== */
.family-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.family-panel {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all var(--t-normal) var(--ease);
    backdrop-filter: blur(8px);
}

.family-panel:hover {
    transform: translateY(-6px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-hover);
}

.panel-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.father-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), transparent);
}

.mother-header {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), transparent);
}

.panel-avatar {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
}

.father-header .panel-avatar {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.mother-header .panel-avatar {
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

.panel-title h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
}

.panel-title span {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: 12px;
    color: var(--text-dim);
}

.panel-body {
    padding: 8px 24px 24px;
}

.panel-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.panel-row:last-child {
    border-bottom: none;
}

.row-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 66, 0.06);
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 13px;
}

.row-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.row-value {
    font-size: 15px;
    color: var(--text-white);
    font-weight: 500;
    display: block;
}

/* Maternal Cards */
.maternal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.m-card {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--r-md);
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--t-normal) var(--ease);
    backdrop-filter: blur(8px);
}

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

.m-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 66, 0.08);
    border: 1px solid rgba(212, 169, 66, 0.12);
    border-radius: 12px;
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
}

.m-card-right h4 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.m-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.m-tags span {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.m-tags span i {
    color: var(--gold);
    font-size: 10px;
}

/* ========================================
   CONTACT CARDS
   ======================================== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.c-card {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.c-card-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%,
            rgba(212, 169, 66, 0.03) 45%,
            rgba(212, 169, 66, 0.06) 50%,
            rgba(212, 169, 66, 0.03) 55%,
            transparent 60%);
    animation: shine-sweep 6s ease-in-out infinite;
    pointer-events: none;
}

.c-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-hover);
}

.c-card-avatar {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
    margin-bottom: 18px;
}

.father-bg {
    background: rgba(59, 130, 246, 0.12);
    border: 2px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.self-bg {
    background: rgba(212, 169, 66, 0.12);
    border: 2px solid rgba(212, 169, 66, 0.25);
    color: var(--gold);
}

.c-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
}

.c-card-relation {
    font-size: 13px;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 20px;
}

.c-card-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(212, 169, 66, 0.06);
    border: 1px solid rgba(212, 169, 66, 0.12);
    border-radius: var(--r-full);
    color: var(--text-gold);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--t-normal) var(--ease);
    margin-bottom: 12px;
}

.c-card-phone:hover {
    background: rgba(212, 169, 66, 0.12);
    transform: scale(1.03);
}

.phone-icon-wrap {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 66, 0.15);
    border-radius: 50%;
    font-size: 12px;
}

.c-card-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: var(--r-full);
    color: #25d366;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--t-normal) var(--ease);
}

.c-card-whatsapp:hover {
    background: rgba(37, 211, 102, 0.18);
    transform: scale(1.05);
}

/* ========================================
   PROPERTY TILES
   ======================================== */
.property-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.prop-tile {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--r-md);
    padding: 28px 22px;
    text-align: center;
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.prop-tile-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--t-normal) var(--ease);
}

.prop-tile:hover {
    transform: translateY(-6px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-hover);
}

.prop-tile:hover .prop-tile-accent {
    opacity: 1;
}

.prop-tile:hover .prop-icon-bg {
    transform: scale(1.15) rotate(8deg);
    background: rgba(212, 169, 66, 0.18);
    box-shadow: 0 0 30px rgba(212, 169, 66, 0.15);
}

.prop-icon-bg {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 66, 0.08);
    border: 1px solid rgba(212, 169, 66, 0.12);
    border-radius: 16px;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 16px;
    transition: all var(--t-normal) var(--ease-bounce);
}

.prop-tile-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
}

.prop-tile-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-card {
    border-radius: var(--r-lg);
    overflow: visible;
    cursor: pointer;
    transition: all var(--t-normal) var(--ease);
    perspective: 1000px;
}

.gallery-card-inner {
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    transform-style: preserve-3d;
    transition: transform var(--t-slow) var(--ease);
}

.gallery-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow) var(--ease);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(8, 4, 18, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 32px;
    opacity: 0;
    transition: opacity var(--t-normal) var(--ease);
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-white);
    font-size: 13px;
    transform: translateY(20px);
    transition: transform var(--t-normal) var(--ease);
}

.overlay-content i {
    font-size: 24px;
    color: var(--gold);
}

.gallery-card:hover .gallery-card-inner img {
    transform: scale(1.06);
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.gallery-card:hover {
    transform: translateY(-8px);
}

.gallery-card-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 12px;
    font-style: italic;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 60px 24px 32px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(8, 4, 18, 0.8));
}

.footer-swastik {
    font-size: 24px;
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 8px;
}

.footer-om {
    font-size: 48px;
    color: var(--gold);
    text-shadow: 0 0 30px var(--gold-glow);
    margin-bottom: 12px;
    animation: om-glow 4s ease-in-out infinite;
}

@keyframes om-glow {

    0%,
    100% {
        text-shadow: 0 0 20px var(--gold-glow);
    }

    50% {
        text-shadow: 0 0 40px var(--gold-glow), 0 0 60px rgba(212, 169, 66, 0.15);
    }
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    background: var(--gradient-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text 5s linear infinite;
    margin-bottom: 8px;
}

.footer-blessing {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-diya {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    font-size: 24px;
}

.diya {
    animation: diya-flicker 2s ease-in-out infinite alternate;
}

.diya:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes diya-flicker {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }

    100% {
        transform: scale(0.95);
        filter: brightness(0.9);
    }
}

.footer-line {
    width: 60px;
    height: 1px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-dim);
}

.heart {
    color: #ef4444;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-normal) var(--ease);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(24px);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast) var(--ease);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-body {
    position: relative;
    z-index: 1;
    padding: 24px;
    max-width: 100%;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--r-md);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.85);
    transition: transform var(--t-normal) var(--ease);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: rgba(212, 169, 66, 0.12);
    border: 1px solid rgba(212, 169, 66, 0.2);
    color: var(--gold);
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--t-normal) var(--ease);
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(212, 169, 66, 0.2);
    transform: translateY(-3px);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--d, 0s);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-card {
    opacity: 0;
    transform: translateY(25px) scale(0.97);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--d, 0s);
}

.anim-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.anim-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ========================================
   RESPONSIVE - MOBILE FIRST
   ======================================== */

/* Tablet & Small Laptop */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

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

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

    .hero-stats {
        width: 100%;
        max-width: 400px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 12px 16px;
    }

    .navbar.scrolled {
        padding: 8px 16px;
    }

    .nav-name {
        font-size: 16px;
        max-width: calc(100vw - 120px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: middle;
    }

    .section {
        padding: 60px 16px;
    }

    .hero {
        padding: 90px 16px 80px;
    }

    .photo-frame {
        width: 220px;
        height: 290px;
    }

    .photo-inner {
        width: 190px;
        height: 260px;
    }

    .ring-1 {
        inset: -6px;
    }

    .ring-2 {
        inset: -14px;
    }

    .ring-3 {
        inset: -22px;
    }

    .hero-stats {
        gap: 16px;
        padding: 16px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 10px;
    }

    .personal-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .property-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-showcase {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .maternal-cards {
        grid-template-columns: 1fr;
    }

    .section-head {
        margin-bottom: 36px;
    }

    .decor-line {
        width: 30px;
    }

    .scroll-hint {
        bottom: 16px;
    }
}

/* Small Mobile */
@media (max-width: 420px) {
    .nav-name {
        max-width: 180px;
        font-size: 15px;
    }

    .hero {
        padding: 80px 14px 70px;
    }

    .photo-frame {
        width: 180px;
        height: 240px;
    }

    .photo-inner {
        width: 160px;
        height: 220px;
    }

    .hero-cta {
        padding: 12px 22px;
        font-size: 13px;
    }

    .property-tiles {
        grid-template-columns: 1fr;
    }

    .p-card {
        padding: 18px;
    }

    .panel-header {
        padding: 18px;
    }

    .panel-body {
        padding: 8px 18px 18px;
    }

    .c-card {
        padding: 24px 18px;
    }

    .c-card-phone {
        font-size: 14px;
        padding: 10px 16px;
    }

    .footer-name {
        font-size: 18px;
    }
}

/* Very Large Screens */
@media (min-width: 1400px) {
    .hero-content {
        gap: 100px;
    }

    .photo-frame {
        width: 340px;
        height: 430px;
    }

    .photo-inner {
        width: 300px;
        height: 390px;
    }

    .container {
        max-width: 1100px;
    }
}

/* ==========================================================
   PDF DOWNLOAD FEATURE STYLES
   FAB • Loading • Preview Modal • Hidden A4 Template
   ========================================================== */

/* === PDF FAB Button === */
.pdf-fab {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 990;
    padding: 0;
    cursor: pointer;
    border: none;
    background: none;
}

.pdf-fab-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #a67c2e, #d4a942);
    color: #0a0414;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 50px;
    box-shadow:
        0 8px 32px rgba(212, 169, 66, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.pdf-fab-inner i {
    font-size: 18px;
}

.pdf-fab:hover .pdf-fab-inner {
    transform: translateY(-3px);
    box-shadow:
        0 12px 40px rgba(212, 169, 66, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.pdf-fab:active .pdf-fab-inner {
    transform: translateY(-1px);
}

.pdf-fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 54px;
    background: rgba(212, 169, 66, 0.2);
    z-index: 1;
    animation: pdf-fab-pulse 2.5s ease-in-out infinite;
}

@keyframes pdf-fab-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.12);
        opacity: 0;
    }
}

/* === PDF Loading Overlay === */
.pdf-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 4, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pdf-loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.pdf-loading-content {
    text-align: center;
}

.pdf-loading-spinner {
    width: 56px;
    height: 56px;
    border: 3px solid rgba(212, 169, 66, 0.15);
    border-top-color: #d4a942;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: pdf-spin 0.8s linear infinite;
}

@keyframes pdf-spin {
    to {
        transform: rotate(360deg);
    }
}

.pdf-loading-content p {
    color: var(--text-gold);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* === PDF Preview Modal === */
.pdf-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.pdf-preview-modal.active {
    opacity: 1;
    pointer-events: all;
}

.pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 4, 18, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.pdf-modal-container {
    position: relative;
    width: 96%;
    max-width: 880px;
    max-height: 92vh;
    background: linear-gradient(160deg, #1a0e30 0%, #0e0820 100%);
    border: 1px solid rgba(212, 169, 66, 0.25);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(212, 169, 66, 0.08);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pdf-preview-modal.active .pdf-modal-container {
    transform: scale(1) translateY(0);
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(212, 169, 66, 0.12);
}

.pdf-modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-modal-header h3 i {
    color: #e74c3c;
    font-size: 20px;
}

.pdf-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pdf-modal-close:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.pdf-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    scroll-behavior: smooth;
    gap: 16px;
}

.pdf-preview-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pdf-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(212, 169, 66, 0.12);
    justify-content: flex-end;
}

.pdf-btn-cancel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pdf-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.pdf-btn-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #a67c2e, #d4a942);
    border: none;
    border-radius: 12px;
    color: #0a0414;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 169, 66, 0.3);
}

.pdf-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 169, 66, 0.45);
}

.pdf-btn-download:active {
    transform: translateY(0);
}

/* === Hidden PDF Template (A4 Layout — Spacious) === */
.pdf-template {
    position: absolute;
    left: -9999px;
    top: 0;
}

.pdf-page {
    width: 794px;
    /* A4 width at 96dpi */
    background: #FFFDF5;
    padding: 56px 56px 50px;
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    color: #2c1810;
    position: relative;
    border: 3px solid #c9a04e;
    box-sizing: border-box;
}

/* Compact mode to avoid mostly-empty extra pages in PDF */
.pdf-template.pdf-compact .pdf-page {
    padding: 48px 48px 44px;
}

.pdf-template.pdf-compact .pdf-header {
    margin-bottom: 24px;
    padding-top: 16px;
}

.pdf-template.pdf-compact .pdf-photo-section {
    margin-bottom: 24px;
}

.pdf-template.pdf-compact .pdf-section {
    margin-bottom: 24px;
}

.pdf-template.pdf-compact .pdf-section-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.pdf-template.pdf-compact .pdf-table td {
    padding: 10px 14px;
    font-size: 14px;
}

.pdf-template.pdf-compact .pdf-footer {
    margin-top: 26px;
    padding-top: 12px;
}

/* Decorative corners */
.pdf-corner {
    position: absolute;
    width: 70px;
    height: 70px;
    border-color: #c9a04e;
    border-style: solid;
}

.pdf-corner-tl {
    top: 10px;
    left: 10px;
    border-width: 3px 0 0 3px;
    border-top-left-radius: 14px;
}

.pdf-corner-tr {
    top: 10px;
    right: 10px;
    border-width: 3px 3px 0 0;
    border-top-right-radius: 14px;
}

.pdf-corner-bl {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 3px 3px;
    border-bottom-left-radius: 14px;
}

.pdf-corner-br {
    bottom: 10px;
    right: 10px;
    border-width: 0 3px 3px 0;
    border-bottom-right-radius: 14px;
}

.pdf-border-top {
    position: absolute;
    top: 18px;
    left: 90px;
    right: 90px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a04e, #d4a942, #c9a04e, transparent);
}

.pdf-border-bottom {
    position: absolute;
    bottom: 18px;
    left: 90px;
    right: 90px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a04e, #d4a942, #c9a04e, transparent);
}

/* PDF Header */
.pdf-header {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 24px;
}

.pdf-om {
    font-size: 52px;
    color: #c9a04e;
    line-height: 1;
    margin-bottom: 8px;
}

.pdf-blessing {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 18px;
    color: #8b6914;
    letter-spacing: 0;
    margin-bottom: 14px;
    font-weight: 500;
}

.pdf-title-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a04e, transparent);
    margin: 10px auto;
    width: 55%;
}

.pdf-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #6b1d37;
    letter-spacing: 0;
    text-transform: none;
    margin: 8px 0;
}

/* PDF Photo Section */
.pdf-photo-section {
    text-align: center;
    margin-bottom: 36px;
}

/* Outer decorative ring — like website's photo-shine */
.pdf-photo-ring {
    width: 188px;
    height: 248px;
    border-radius: 30px;
    border: 2px solid rgba(201, 160, 78, 0.4);
    padding: 6px;
    margin: 0 auto 16px;
    box-shadow:
        0 0 0 1px rgba(201, 160, 78, 0.12),
        0 12px 40px rgba(201, 160, 78, 0.2);
    background: linear-gradient(135deg,
            rgba(201, 160, 78, 0.18),
            rgba(201, 160, 78, 0.04),
            rgba(201, 160, 78, 0.18));
}

/* Inner photo frame — matches website .photo-inner exactly */
.pdf-photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid #c9a04e;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.pdf-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.pdf-person-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #2c1810;
    letter-spacing: 0;
}

/* PDF Section */
.pdf-section {
    margin-bottom: 32px;
}

.pdf-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c9a04e;
}

.pdf-section-icon {
    font-size: 22px;
}

.pdf-section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: #6b1d37;
    text-transform: none;
    letter-spacing: 0;
}

.pdf-guj {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 14px;
    color: #8b6914;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

/* PDF Table */
.pdf-table {
    width: 100%;
    border-collapse: collapse;
}

.pdf-table tr {
    border-bottom: 1px solid rgba(201, 160, 78, 0.18);
}

.pdf-table tr:last-child {
    border-bottom: none;
}

.pdf-table td {
    padding: 12px 16px;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.6;
}

.pdf-label {
    width: 200px;
    font-weight: 600;
    color: #5a3e2b;
    background: rgba(201, 160, 78, 0.06);
}

.pdf-value {
    color: #2c1810;
    font-weight: 500;
}

.pdf-sub {
    font-size: 13px;
    color: #6b5845;
    font-weight: 400;
    font-style: italic;
}

/* PDF Maternal Cards */
.pdf-maternal-cards {
    display: flex;
    gap: 20px;
}

.pdf-maternal-card {
    flex: 1;
    padding: 16px 20px;
    background: rgba(201, 160, 78, 0.06);
    border: 1px solid rgba(201, 160, 78, 0.25);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pdf-maternal-card strong {
    font-size: 15px;
    color: #2c1810;
}

.pdf-maternal-card span {
    font-size: 13px;
    color: #6b5845;
}

/* PDF Properties */
.pdf-properties {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdf-prop-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(201, 160, 78, 0.05);
    border-left: 3px solid #c9a04e;
    border-radius: 0 8px 8px 0;
}

.pdf-prop-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pdf-prop-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pdf-prop-text strong {
    font-size: 15px;
    color: #2c1810;
}

.pdf-prop-text span {
    font-size: 13px;
    color: #6b5845;
    line-height: 1.5;
}

/* PDF Footer */
.pdf-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 20px;
}

.pdf-footer-diya {
    font-size: 28px;
}

.pdf-footer-text {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 17px;
    color: #8b6914;
    font-weight: 500;
    letter-spacing: 0;
}

/* === Mobile Responsive for PDF === */
@media (max-width: 768px) {
    .pdf-fab {
        bottom: 85px;
        right: 16px;
    }

    .pdf-fab-inner {
        padding: 12px 18px;
        font-size: 13px;
    }

    .pdf-fab-inner span {
        display: none;
    }

    .pdf-fab-inner {
        padding: 14px;
        border-radius: 50%;
    }

    .pdf-modal-container {
        width: 96%;
        max-height: 92vh;
        border-radius: 16px;
    }

    .pdf-modal-header {
        padding: 14px 18px;
    }

    .pdf-modal-body {
        padding: 12px;
        display: block;
        width: 100%;
        overflow-y: auto;
    }

    .pdf-modal-footer {
        padding: 12px 16px;
        flex-direction: column;
    }

    .pdf-btn-cancel,
    .pdf-btn-download {
        justify-content: center;
        width: 100%;
    }
}

/* === PDF Gallery Photo Pages === */
.pdf-gallery-page {
    width: 794px;
    min-height: 1123px;
    box-sizing: border-box;
    background: #FFFDF5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
    border-top: 4px solid #c9a04e;
    gap: 20px;
}

.pdf-gallery-img-wrap {
    width: 100%;
    max-height: 950px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #c9a04e;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.pdf-gallery-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 950px;
    object-fit: contain;
    display: block;
}

.pdf-gallery-caption {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: #6b1d37;
    text-align: center;
    padding: 8px 0 0;
}

.pdf-gallery-footer {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 15px;
    color: #8b6914;
    text-align: center;
    margin-top: auto;
}
