/* ===================================================
   बाळासाहेब शिंत्रे – जीवन तरंग
   Premium Responsive Stylesheet
   =================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans Devanagari', 'Segoe UI', 'Lohit Devanagari', sans-serif;
    background-color: #fef9e8;
    color: #2c2b28;
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
}

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

a {
    color: #8b3c1c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c45a2a;
}

/* --- Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
header {
    background: linear-gradient(135deg, #7a3015 0%, #a04820 60%, #8b3c1c 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

/* Site branding (optional text in header) */
.site-brand {
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    color: #f4c542;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-brand:hover {
    color: #ffd966;
}

/* --- Hamburger Toggle --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.35s ease;
}

/* Hamburger animation when open */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Nav Links --- */
nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 0.2rem;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

nav ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #f4c542;
}

nav ul li a.active {
    color: #fff;
    border-bottom-color: #f4c542;
    background: rgba(255, 255, 255, 0.08);
}

/* --- Mobile Overlay --- */
.nav-overlay {
    display: none;
}

/* ===================================================
   HERO / BANNER
   =================================================== */
.hero {
    background: #1e4620;
    color: white;
    text-align: center;
    padding: 6rem 1.5rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    animation: fadeSlider 18s infinite;
}

.hero-bg-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slider .slide:nth-child(2) { animation-delay: 6s; }
.hero-bg-slider .slide:nth-child(3) { animation-delay: 12s; }

@keyframes fadeSlider {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 0.8; transform: scale(1.02); }
    25% { opacity: 0.8; transform: scale(1.04); }
    35% { opacity: 0; transform: scale(1.06); }
    100% { opacity: 0; transform: scale(1.06); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 70, 32, 0.85) 0%, rgba(139, 60, 28, 0.85) 100%, rgba(30, 70, 32, 0.85) 200%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(244, 197, 66, 0.15) 0%, transparent 60%);
    animation: pulseGlow 6s infinite alternate ease-in-out;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    position: relative;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.92;
    position: relative;
    max-width: 700px;
    margin: 0.4rem auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
    }
}

/* Typing Effect */
.typing-container {
    min-height: 1.8em;
    font-weight: 800;
    color: #ffd966;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.typing-cursor {
    display: inline-block;
    opacity: 1;
    animation: blinkCursor 0.7s infinite;
}

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

/* ===================================================
   MAIN CONTENT
   =================================================== */
main {
    min-height: 60vh;
    padding: 2.5rem 0 3rem;
}

main.container {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

h1 {
    color: #7a3015;
    margin-bottom: 1.2rem;
    font-size: 1.85rem;
    line-height: 1.3;
}

h2 {
    color: #8b3c1c;
    margin-bottom: 1rem;
    border-left: 5px solid #f4c542;
    padding-left: 1rem;
    font-size: 1.35rem;
    line-height: 1.4;
}

h3 {
    color: #8b3c1c;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

blockquote {
    border-left: 4px solid #f4c542;
    padding-left: 1.2rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #5a3a1a;
    background: #faf5e6;
    padding: 1.2rem 1.5rem;
    border-radius: 0 12px 12px 0;
}

/* --- Info Boxes / Styled Divs --- */
.info-box,
main div[style*="background:#f5ede0"],
main div[style*="background: #f5ede0"] {
    border-radius: 16px;
}

/* ===================================================
   PHOTO GALLERY (Timeline)
   =================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.gallery-card .caption {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    background: #faf5e6;
    color: #2c2b28;
    border-top: 1px solid #eee;
    line-height: 1.6;
}

/* ===================================================
   VIDEO GRID
   =================================================== */
.videos-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 1.5rem;
}

.video-wrapper {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Responsive video container */
.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.video-wrapper p {
    padding: 1rem 1.2rem;
    font-weight: 600;
    background: #faf5e6;
    font-size: 0.92rem;
    line-height: 1.5;
    border-top: 1px solid #eee;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #8b3c1c 0%, #a04820 100%);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 60, 28, 0.3);
    letter-spacing: 0.02em;
}

.btn:hover {
    background: linear-gradient(135deg, #6b2e14 0%, #8b3c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 60, 28, 0.4);
    color: white;
}

/* ===================================================
   FORMS (Contact Page)
   =================================================== */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #d4c9b5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #f4c542;
    box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.2);
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
    background: linear-gradient(135deg, #1f1e1b 0%, #2c2b28 100%);
    color: #bbb;
    text-align: center;
    padding: 2rem 1.5rem;
    margin-top: 3rem;
    font-size: 0.92rem;
}

footer p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ===================================================
   UTILITY CLASSES
   =================================================== */
.text-center {
    text-align: center;
}

.fade-in {
    animation: fadeInUp 0.6s ease-out both;
}

/* ===================================================
   LIGHTBOX / PHOTO ZOOM
   =================================================== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay img {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    animation: lightboxZoomIn 0.3s ease-out;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-caption {
    color: #e0d8c8;
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    max-width: 80vw;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 2010;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 2010;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

/* Make gallery images show zoom cursor */
.gallery-card img,
.highlight-card img {
    cursor: zoom-in;
}

/* ===================================================
   FOOTER - POWERED BY
   =================================================== */
.footer-powered {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.roinr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
    color: #e0d8c8;
    text-decoration: none;
    font-size: 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(244, 197, 66, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.roinr-btn span {
    color: #f4c542;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.roinr-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 197, 66, 0.15);
    border-color: #f4c542;
    color: white;
}

.footer-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================================
   HOMEPAGE - WELCOME SECTION
   =================================================== */
.welcome-section {
    margin-bottom: 3rem;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.welcome-text h2 {
    font-size: 1.6rem;
}

.welcome-image {
    text-align: center;
}

.welcome-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease;
}

.welcome-image img:hover {
    transform: scale(1.03);
}

.welcome-image .image-label {
    margin-top: 0.8rem;
    font-size: 0.88rem;
    color: #8b3c1c;
    font-weight: 500;
}

/* ===================================================
   HOMEPAGE - BOOK SHOWCASE
   =================================================== */
.book-showcase {
    background: linear-gradient(135deg, #f5ede0 0%, #fef9e8 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.book-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
}

.book-cover img {
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease;
}

.book-cover img:hover {
    transform: rotate(-2deg) scale(1.04);
}

.book-info h2 {
    border-left: none;
    padding-left: 0;
    font-size: 1.5rem;
    color: #7a3015;
}

.book-tagline {
    font-size: 1.1rem;
    color: #a04820;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 1rem;
}

.book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-outline {
    background: transparent;
    color: #8b3c1c;
    border: 2px solid #8b3c1c;
    box-shadow: none;
}

.btn-outline:hover {
    background: #8b3c1c;
    color: white;
}

/* ===================================================
   HOMEPAGE - PHOTO HIGHLIGHTS
   =================================================== */
.photo-highlights {
    margin-bottom: 3rem;
}

.photo-highlights > h2 {
    text-align: center;
    border-left: none;
    padding-left: 0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.highlight-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.highlight-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.highlight-card:hover img {
    transform: scale(1.05);
}

.highlight-caption {
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    color: #5a3a1a;
    background: #faf5e6;
    text-align: center;
    font-weight: 500;
    border-top: 1px solid #eee;
}

/* ===================================================
   HOMEPAGE - INSPIRATION SECTION
   =================================================== */
.inspiration-section {
    margin-bottom: 2rem;
}

.inspiration-section blockquote {
    text-align: center;
    font-size: 1.25rem;
    border-left: none;
    border-radius: 16px;
    padding: 2rem;
    background: linear-gradient(135deg, #f5ede0, #fef9e8);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.inspiration-section blockquote cite {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.92rem;
    color: #8b3c1c;
    font-style: normal;
    font-weight: 600;
}

/* ===================================================
   RESPONSIVE - TABLET (max-width: 900px)
   =================================================== */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.2rem;
    }

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

    .hero {
        padding: 4rem 1.2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .typing-container {
        font-size: 1.5rem;
    }

    .welcome-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .book-grid {
        gap: 1.5rem;
    }

    .book-cover img {
        width: 180px;
    }

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

/* ===================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   =================================================== */
@media (max-width: 768px) {
    /* Show hamburger */
    .menu-toggle {
        display: block;
    }

    header .container {
        position: relative;
    }

    /* Mobile nav overlay */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, #7a3015 0%, #5a2210 100%);
        z-index: 1050;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding-top: 80px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 1rem;
    }

    nav ul li a {
        display: block;
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        border-left: 3px solid transparent;
    }

    nav ul li a:hover,
    nav ul li a.active {
        border-left-color: #f4c542;
        border-bottom-color: rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Nav overlay backdrop */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Hero */
    .hero {
        padding: 3.5rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .typing-container {
        font-size: 1.25rem;
        min-height: 2.5em; /* Allows wrapping */
    }

    .hero p {
        font-size: 1.05rem;
    }

    /* Content */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 16px;
    }

    main {
        padding: 1.5rem 0 2rem;
    }

    main.container {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .gallery-card img {
        height: 150px;
    }

    .gallery-card .caption {
        padding: 0.7rem 0.8rem;
        font-size: 0.82rem;
    }

    /* Videos */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .video-wrapper p {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }

    /* Contact flex layout */
    main div[style*="display: flex"] {
        flex-direction: column !important;
    }

    /* Homepage welcome */
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .welcome-image {
        order: -1;
    }

    .welcome-image img {
        max-width: 240px;
    }

    /* Homepage book showcase */
    .book-showcase {
        padding: 1.5rem;
    }

    .book-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-cover {
        display: flex;
        justify-content: center;
    }

    .book-cover img {
        width: 180px;
    }

    .book-info h2 {
        font-size: 1.25rem;
    }

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

    /* Homepage photo highlights */
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .highlight-card img {
        height: 130px;
    }

    .highlight-caption {
        font-size: 0.78rem;
        padding: 0.5rem 0.6rem;
    }

    /* Inspiration */
    .inspiration-section blockquote {
        font-size: 1.05rem;
        padding: 1.5rem;
    }

    /* Footer */
    footer {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ===================================================
   RESPONSIVE - SMALL MOBILE (max-width: 400px)
   =================================================== */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.35rem;
    }

    .hero p {
        font-size: 0.88rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .gallery-card img {
        height: 120px;
    }

    .gallery-card .caption {
        font-size: 0.78rem;
        padding: 0.5rem 0.6rem;
    }

    .btn {
        padding: 0.65rem 1.4rem;
        font-size: 0.88rem;
    }
}

/* ===================================================
   PRINT STYLES
   =================================================== */
@media print {
    header, footer, .menu-toggle, .nav-overlay {
        display: none;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .hero {
        background: #eee;
        color: black;
        padding: 1rem;
    }
}

/* ===================================================
   ABOUT PAGE & BOOK PAGE CUSTOM STYLES
   =================================================== */

/* About Header & Book Header */
.about-header, .book-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-subtitle, .book-subtitle {
    font-size: 1.15rem;
    color: #a04820;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* About Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visual-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(139, 60, 28, 0.08);
    border: 1px solid rgba(244, 197, 66, 0.2);
    transition: transform 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-5px);
}

.visual-card img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-caption {
    font-size: 0.85rem;
    color: #8b3c1c;
    text-align: center;
    margin-top: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Bio Section styling */
.about-bio {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bio-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-left: 5px solid #f4c542;
    transition: transform 0.3s ease;
}

.bio-section:hover {
    transform: translateX(4px);
}

.bio-section h2 {
    color: #7a3015;
    margin-bottom: 1rem;
    border-left: none;
    padding-left: 0;
    font-size: 1.4rem;
}

.bio-section p {
    color: #4a4844;
    line-height: 1.8;
}

/* Book Cover Spread */
.book-spread-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.book-page-cover {
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(139, 60, 28, 0.12);
    border: 1px solid rgba(244, 197, 66, 0.25);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.book-page-cover:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(139, 60, 28, 0.2);
}

.book-page-cover img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-height: 480px;
    object-fit: contain;
}

.cover-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    color: #8b3c1c;
}

/* Book Intro Section */
.book-intro-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.quote-card {
    background: linear-gradient(135deg, #f5ede0 0%, #faf5e6 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    border-left: 6px solid #8b3c1c;
}

.quote-card p {
    font-style: italic;
    color: #5a3a1a;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.quote-card p:last-child {
    margin-bottom: 0;
}

.book-details-content {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.book-details-content h2 {
    font-size: 1.6rem;
    color: #7a3015;
    margin-bottom: 1.5rem;
}

.book-details-actions {
    margin-top: 2rem;
}

/* Testimonials / Vachak Pratikriya */
.testimonials-section {
    background: linear-gradient(180deg, #faf5e6 0%, #fef9e8 100%);
    padding: 4rem 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(139, 60, 28, 0.05);
    border: 1px solid rgba(244, 197, 66, 0.2);
    margin-top: 4rem;
}

.section-title-container {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title-container h2 {
    border-left: none;
    padding-left: 0;
    font-size: 2rem;
    color: #7a3015;
    display: inline-block;
    position: relative;
}

.section-title-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 4px;
    background: #f4c542;
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: #6b2e14;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(139, 60, 28, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(244, 197, 66, 0.15);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(139, 60, 28, 0.08);
    border-color: rgba(244, 197, 66, 0.35);
}

.reader-profile {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.reader-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f4c542;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reader-info h3 {
    font-size: 1.15rem;
    color: #7a3015;
    margin-bottom: 0.2rem;
}

.reader-role {
    font-size: 0.85rem;
    color: #a04820;
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #4a4844;
    line-height: 1.8;
    font-style: normal;
    border-left: none;
    padding-left: 0;
    background: transparent;
    margin: 0;
    border-radius: 0;
}

/* Tablet Responsive Customizations */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-visuals {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .visual-card {
        max-width: 320px;
    }

    .book-spread-container {
        grid-template-columns: 1fr 1fr;
        max-width: 600px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Responsive Customizations */
@media (max-width: 768px) {
    .about-visuals {
        flex-direction: column;
        align-items: center;
    }

    .book-spread-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 320px;
    }

    .testimonials-section {
        padding: 2.5rem 1.2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ===================================================
   50-Year Journey Abstract Section
   =================================================== */
.journey-abstract-section {
    padding: 3rem 0;
}

.journey-abstract-card {
    background: linear-gradient(135deg, #fff8ec 0%, #fef3d0 50%, #fff8ec 100%);
    border: 2px solid #d4a96a;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(139, 60, 28, 0.1);
    position: relative;
    overflow: hidden;
}

.journey-abstract-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b3c1c, #d4a96a, #8b3c1c);
}

.journey-abstract-header {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.journey-icon {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.journey-abstract-header h2 {
    font-size: 1.6rem;
    color: #6b2d0f;
    margin-bottom: 0.3rem;
}

.journey-byline {
    font-size: 0.95rem;
    color: #8b6340;
    font-style: italic;
    margin: 0;
}

.journey-abstract-card > p {
    color: #3a3028;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.journey-milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.milestone {
    background: rgba(255,255,255,0.7);
    border-left: 4px solid #8b3c1c;
    border-radius: 0 10px 10px 0;
    padding: 0.8rem 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.milestone:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(139,60,28,0.12);
}

.milestone-year {
    font-weight: 700;
    color: #8b3c1c;
    font-size: 1rem;
    white-space: nowrap;
    min-width: 3.5rem;
    padding-top: 2px;
}

.milestone-text {
    color: #3a3028;
    font-size: 0.92rem;
    line-height: 1.6;
}

.journey-closing {
    color: #5a4030;
    font-style: italic;
    font-size: 1.05rem;
    border-top: 1px solid #d4a96a;
    padding-top: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ===================================================
   Improved Testimonial Cards
   =================================================== */
.testimonial-card--wide {
    grid-column: 1 / -1;
    max-width: 100%;
}

.reader-header {
    margin-bottom: 1.2rem;
    border-bottom: 2px solid #f0d5a0;
    padding-bottom: 0.8rem;
}

.reader-name {
    font-size: 1.3rem;
    color: #6b2d0f;
    margin-bottom: 0.2rem;
}

.reader-role {
    font-size: 0.9rem;
    color: #8b6340;
    font-style: italic;
    margin: 0;
}

.testimonial-full-text {
    color: #3a3028;
    line-height: 2;
}

.testimonial-full-text p {
    margin-bottom: 0.9rem;
}

.testimonial-signature {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #d4a96a;
    font-size: 0.95rem;
    color: #6b2d0f;
}

/* Poem block */
.poem-block {
    background: linear-gradient(135deg, #fffbf2, #fef3d0);
    border: 1px solid #d4a96a;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 1rem 0;
    font-style: italic;
    line-height: 2.1;
    color: #3a2a18;
}

.poem-block p {
    margin-bottom: 1rem;
}

/* Letter images gallery */
.testimonial-letter-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0d5a0;
}

.letter-img {
    max-width: 360px;
    width: 100%;
    border-radius: 8px;
    border: 2px solid #d4a96a;
    box-shadow: 0 4px 16px rgba(139,60,28,0.10);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.letter-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(139,60,28,0.18);
}

@media (max-width: 768px) {
    .journey-abstract-header {
        flex-direction: column;
        gap: 0.8rem;
    }

    .journey-icon {
        font-size: 2rem;
    }

    .journey-abstract-card {
        padding: 1.5rem 1.2rem;
    }

    .journey-milestones {
        grid-template-columns: 1fr;
    }

    .letter-img {
        max-width: 100%;
    }

    .poem-block {
        padding: 1rem 1.2rem;
    }
}


/* ===================================================
   ABOUT PAGE – PANNASA PRAVAS SECTION (Fade-in / Slide-up)
   =================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pannasa-pravas-section {
    animation: fadeInUp 0.8s ease-out both;
    border-left: 5px solid #f4c542;
    background: linear-gradient(135deg, #fffdf5 0%, #fef9e8 100%);
}

.pannasa-pravas-section h2 {
    font-size: 1.5rem;
    color: #7a3015;
}

.pannasa-pravas-byline {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #8b3c1c;
    text-align: right;
    border-top: 1px solid rgba(244, 197, 66, 0.4);
    padding-top: 1rem;
    line-height: 1.6;
}

/* ===================================================
   HOMEPAGE – BIRTHDAY BANNER
   =================================================== */
.birthday-banner {
    background: linear-gradient(135deg, #7a3015 0%, #a04820 50%, #c45a2a 100%);
    color: #fff;
    text-align: center;
    padding: 1.6rem 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.birthday-banner::before {
    content: '🎂 🎉 🎊 🎂 🎉 🎊 🎂 🎉 🎊 🎂 🎉 🎊 🎂 🎉 🎊';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1.1rem;
    opacity: 0.12;
    letter-spacing: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
}

.birthday-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.birthday-banner-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffd966;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.birthday-banner-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

/* Pulse animation for the birthday button */
@keyframes birthdayPulse {
    0%   { transform: scale(1);    box-shadow: 0 4px 14px rgba(244, 197, 66, 0.4); }
    50%  { transform: scale(1.05); box-shadow: 0 8px 24px rgba(244, 197, 66, 0.65); }
    100% { transform: scale(1);    box-shadow: 0 4px 14px rgba(244, 197, 66, 0.4); }
}

.birthday-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f4c542 0%, #ffd966 100%);
    color: #7a3015;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 0.02em;
    animation: birthdayPulse 2s ease-in-out infinite;
    transition: background 0.3s ease, color 0.3s ease;
}

.birthday-btn:hover {
    background: linear-gradient(135deg, #ffd966 0%, #ffe899 100%);
    color: #5a2210;
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .birthday-banner-title {
        font-size: 1.25rem;
    }

    .birthday-banner-subtitle {
        font-size: 0.92rem;
    }

    .birthday-btn {
        font-size: 0.92rem;
        padding: 0.65rem 1.5rem;
    }
}

@media (max-width: 400px) {
    .birthday-banner-title {
        font-size: 1.05rem;
    }
}


/* ===================================================
   PANNASA PRAVAS – TIMELINE (about.html)
   =================================================== */

/* Wrapper replaces the old bio-section */
.pannasa-pravas-wrapper {
    margin-top: 2.5rem;
    padding: 0;
}

/* Section header */
.pp-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #7a3015 0%, #a04820 100%);
    color: #fff;
    padding: 1.8rem 2rem;
    border-radius: 18px 18px 0 0;
    margin-bottom: 0;
}

.pp-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.pp-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffd966;
    margin-bottom: 0.3rem;
    border-left: none;
    padding-left: 0;
    line-height: 1.3;
}

.pp-byline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.82);
    margin: 0;
    font-style: italic;
}

/* Intro card */
.pp-intro-card {
    background: linear-gradient(135deg, #fef9e8 0%, #faf5e6 100%);
    border: 1px solid rgba(244,197,66,0.3);
    border-top: none;
    padding: 1.8rem 2rem;
    font-size: 1rem;
    line-height: 1.85;
    color: #3a3835;
}

.pp-intro-card p { margin-bottom: 0.8rem; }
.pp-intro-card p:last-child { margin-bottom: 0; }

/* Timeline track */
.pp-timeline {
    position: relative;
    padding: 2rem 0 1rem;
    background: #fff;
    border-left: 1px solid rgba(244,197,66,0.25);
    border-right: 1px solid rgba(244,197,66,0.25);
}

/* Vertical centre line */
.pp-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg, #f4c542 0%, #a04820 100%);
    border-radius: 2px;
    z-index: 0;
}

/* Each timeline item */
.tl-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 0 2rem 2rem;
    position: relative;
    z-index: 1;
}

/* Alternate left/right on desktop */
.tl-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 1.5rem);
    justify-content: flex-end;
}

.tl-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 1.5rem);
    justify-content: flex-end;
}

/* Year badge (the dot on the line) */
.tl-year-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b3c1c 0%, #f4c542 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(139,60,28,0.3);
    z-index: 2;
    top: 0.2rem;
    letter-spacing: 0.02em;
}

/* Card */
.tl-card {
    background: #fff;
    border: 1px solid rgba(244,197,66,0.25);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    max-width: 440px;
    font-size: 0.97rem;
    line-height: 1.82;
    color: #3a3835;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tl-card:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 28px rgba(139,60,28,0.1);
}

.tl-card p { margin-bottom: 0.75rem; }
.tl-card p:last-child { margin-bottom: 0; }

/* Closing card */
.pp-closing-card {
    background: linear-gradient(135deg, #f5ede0 0%, #fef9e8 100%);
    border: 1px solid rgba(244,197,66,0.3);
    border-top: none;
    padding: 2rem;
    border-radius: 0 0 18px 18px;
    font-size: 1rem;
    line-height: 1.85;
    color: #3a3835;
}

.pp-closing-card p { margin-bottom: 0.9rem; }
.pp-closing-card p:last-child { margin-bottom: 0; }

.pp-wishes {
    font-weight: 700;
    color: #7a3015;
    font-size: 1.05rem;
}

/* Scroll-reveal animation */
.tl-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

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

/* Stagger delay for timeline items */
.tl-item.tl-reveal:nth-child(1)  { transition-delay: 0.05s; }
.tl-item.tl-reveal:nth-child(2)  { transition-delay: 0.10s; }
.tl-item.tl-reveal:nth-child(3)  { transition-delay: 0.15s; }
.tl-item.tl-reveal:nth-child(4)  { transition-delay: 0.20s; }
.tl-item.tl-reveal:nth-child(5)  { transition-delay: 0.25s; }
.tl-item.tl-reveal:nth-child(6)  { transition-delay: 0.30s; }
.tl-item.tl-reveal:nth-child(7)  { transition-delay: 0.35s; }
.tl-item.tl-reveal:nth-child(8)  { transition-delay: 0.40s; }
.tl-item.tl-reveal:nth-child(9)  { transition-delay: 0.45s; }
.tl-item.tl-reveal:nth-child(10) { transition-delay: 0.50s; }
.tl-item.tl-reveal:nth-child(11) { transition-delay: 0.55s; }

/* ===================================================
   BIRTHDAY BANNER – JOURNEY LINK (index.html)
   =================================================== */
.birthday-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.2rem;
}

/* Journey link – special feel */
.birthday-journey-link {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #ffd966;
    font-weight: 700;
    font-size: 0.97rem;
    padding: 0.7rem 1.6rem;
    border-radius: 30px;
    border: 2px solid rgba(244,197,66,0.55);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.birthday-journey-link:hover {
    background: rgba(244,197,66,0.18);
    border-color: #f4c542;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .birthday-banner-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .birthday-journey-link {
        font-size: 0.88rem;
        padding: 0.6rem 1.3rem;
    }
}

/* ===================================================
   TIMELINE – RESPONSIVE (tablet & mobile)
   =================================================== */
@media (max-width: 860px) {
    /* Collapse to single-column */
    .pp-timeline::before {
        left: 20px;
    }

    .tl-item,
    .tl-item:nth-child(odd),
    .tl-item:nth-child(even) {
        flex-direction: column;
        padding: 0 1.2rem 1.8rem 3.5rem;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .tl-year-badge {
        left: 20px;
        transform: translateX(-50%);
        top: 0;
        font-size: 0.78rem;
        padding: 0.28rem 0.6rem;
    }

    .tl-card {
        max-width: 100%;
        width: 100%;
        margin-top: 1.8rem;
    }

    .pp-section-header {
        padding: 1.4rem 1.2rem;
        border-radius: 14px 14px 0 0;
    }

    .pp-title {
        font-size: 1.25rem;
    }

    .pp-intro-card,
    .pp-closing-card {
        padding: 1.4rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .pp-timeline::before {
        left: 16px;
    }

    .tl-item,
    .tl-item:nth-child(odd),
    .tl-item:nth-child(even) {
        padding: 0 0.8rem 1.5rem 3rem;
    }

    .tl-year-badge {
        left: 16px;
        font-size: 0.72rem;
    }

    .tl-card {
        padding: 1.1rem 1.2rem;
        font-size: 0.95rem;
    }

    .pp-title {
        font-size: 1.1rem;
    }
}

/* Author tag for pannasa-pravas-section */
.pp-author-tag {
    font-size: 0.9rem;
    color: #a04820;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 1.2rem;
    padding: 0.5rem 0.8rem;
    background: rgba(244, 197, 66, 0.12);
    border-left: 3px solid #f4c542;
    border-radius: 0 6px 6px 0;
    display: inline-block;
}

/* journey-abstract-card inside about-bio column — remove extra outer margin */
.about-bio .journey-abstract-section {
    margin-bottom: 0;
}

.about-bio .journey-abstract-card {
    margin-bottom: 0;
}

/* byline inside the card */
.journey-abstract-card .pannasa-pravas-byline {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #8b3c1c;
    text-align: right;
    border-top: 1px solid rgba(244, 197, 66, 0.4);
    padding-top: 1rem;
    line-height: 1.6;
}

/* ===================================================
   50-YEAR GLORY SECTION (index.html)
   =================================================== */
.journey-glory-section {
    padding: 3rem 0;
}

/* ---- Hero banner ---- */
.journey-glory-hero {
    position: relative;
    background: linear-gradient(135deg, #6b2d0f 0%, #a04820 40%, #c8860a 70%, #8b3c1c 100%);
    border-radius: 20px 20px 0 0;
    padding: 3rem 2.5rem 2.5rem;
    overflow: hidden;
    text-align: center;
}

/* animated shimmer sweep */
@keyframes glorySweep {
    0%   { transform: translateX(-100%) skewX(-20deg); }
    100% { transform: translateX(300%) skewX(-20deg); }
}

.glory-shimmer {
    position: absolute;
    top: 0; left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    animation: glorySweep 3.5s ease-in-out infinite;
    pointer-events: none;
}

.glory-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.glory-number {
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    color: #f4c542;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35), 0 0 40px rgba(244,197,66,0.4);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.glory-hero-text {
    text-align: left;
}

.glory-label {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    line-height: 1.2;
}

.glory-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.glory-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.4rem;
    letter-spacing: 0.04em;
}

/* ---- Stats row ---- */
.glory-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(135deg, #7a3015 0%, #5a2210 100%);
    border-radius: 0;
}

.glory-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: background 0.3s ease;
}

.glory-stat:last-child {
    border-right: none;
}

.glory-stat:hover {
    background: rgba(244,197,66,0.1);
}

.glory-stat-num {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f4c542;
    line-height: 1.1;
}

.glory-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.78);
    margin-top: 0.3rem;
    line-height: 1.4;
    text-align: center;
}

/* ---- Card below stats ---- */
.journey-glory-section .journey-abstract-card {
    border-radius: 0 0 16px 16px;
    border-top: none;
}

/* ---- Action buttons row ---- */
.journey-glory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .glory-number {
        font-size: 5rem;
    }

    .glory-title {
        font-size: 1.7rem;
    }

    .glory-label {
        font-size: 1.1rem;
    }

    .glory-hero-content {
        gap: 1rem;
    }

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

    .glory-stat:nth-child(2) {
        border-right: none;
    }

    .glory-stat:nth-child(3) {
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .glory-stat:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .journey-glory-hero {
        padding: 2rem 1.5rem;
        border-radius: 14px 14px 0 0;
    }

    .journey-glory-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .glory-number {
        font-size: 4rem;
    }

    .glory-title {
        font-size: 1.4rem;
    }

    .glory-hero-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .glory-hero-text {
        text-align: center;
    }

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

/* ===================================================
   WHATSAPP BIRTHDAY BUTTON
   =================================================== */
.birthday-btn-whatsapp {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%) !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
    display: inline-flex !important;
    align-items: center;
}

.birthday-btn-whatsapp:hover {
    background: linear-gradient(135deg, #0e7a6e 0%, #1ebe58 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55) !important;
    animation-play-state: paused;
}

/* ===================================================
   FOOTER CONTACT ROW
   =================================================== */
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 1rem 0 0.5rem;
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #d4c9b5;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #f4c542;
}

.footer-contact-wa {
    color: #5de88a;
}

.footer-contact-wa:hover {
    color: #25D366;
}

/* ===================================================
   CONTACT PAGE – WA LINK
   =================================================== */
.wa-contact-link {
    display: inline-flex;
    align-items: center;
    color: #128C7E;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wa-contact-link:hover {
    color: #25D366;
}

@media (max-width: 480px) {
    .footer-contact {
        flex-direction: column;
        gap: 0.6rem;
    }
}

/* =====================================================
   BIRTHDAY TRIBUTE – HERO
   ===================================================== */
.bt-hero {
    position: relative;
    background: linear-gradient(135deg, #1a0a00 0%, #4a1505 35%, #7a3015 65%, #c8860a 100%);
    overflow: hidden;
    padding: 4rem 0 3rem;
}

.bt-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bt-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

/* Left – 72 + portrait */
.bt-left { display: flex; justify-content: center; }

.bt-number-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bt-72 {
    font-size: 11rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 3px #f4c542;
    text-shadow: 0 0 60px rgba(244,197,66,0.35);
    letter-spacing: -0.04em;
    user-select: none;
}

.bt-portrait {
    position: absolute;
    width: 160px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    border: 3px solid #f4c542;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    left: 50%;
    transform: translateX(-50%);
}

/* Right – text */
.bt-badge {
    display: inline-block;
    background: rgba(244,197,66,0.15);
    border: 1px solid rgba(244,197,66,0.5);
    color: #f4c542;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.bt-headline {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.bt-subheadline {
    font-size: 0.92rem;
    color: #f4c542;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.bt-intro {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

/* Wish buttons */
.bt-wish-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.bt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.bt-btn-email {
    background: linear-gradient(135deg, #8b3c1c, #c45a2a);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139,60,28,0.4);
    animation: birthdayPulse 2.2s ease-in-out infinite;
}

.bt-btn-wa {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
    animation: birthdayPulse 2.2s ease-in-out infinite 0.4s;
}



/* =====================================================
   SECTION TITLE (shared)
   ===================================================== */
.bt-section-title {
    font-size: 1.5rem;
    color: #7a3015;
    font-weight: 800;
    margin-bottom: 1.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid #f4c542;
    display: inline-block;
}

/* =====================================================
   ANIMATED TIMELINE
   ===================================================== */
.bt-timeline-section {
    padding: 3rem 2rem;
    background: #fef9e8;
}

.bt-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.bt-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #f4c542, #8b3c1c, #f4c542);
    border-radius: 2px;
}

.bt-tl-item {
    position: relative;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.bt-tl-item.bt-tl-visible {
    opacity: 1;
    transform: translateX(0);
}

/* stagger */
.bt-tl-item:nth-child(1)  { transition-delay: 0.05s; }
.bt-tl-item:nth-child(2)  { transition-delay: 0.10s; }
.bt-tl-item:nth-child(3)  { transition-delay: 0.15s; }
.bt-tl-item:nth-child(4)  { transition-delay: 0.20s; }
.bt-tl-item:nth-child(5)  { transition-delay: 0.25s; }
.bt-tl-item:nth-child(6)  { transition-delay: 0.30s; }
.bt-tl-item:nth-child(7)  { transition-delay: 0.35s; }
.bt-tl-item:nth-child(8)  { transition-delay: 0.40s; }
.bt-tl-item:nth-child(9)  { transition-delay: 0.45s; }
.bt-tl-item:nth-child(10) { transition-delay: 0.50s; }
.bt-tl-item:nth-child(11) { transition-delay: 0.55s; }
.bt-tl-item:nth-child(12) { transition-delay: 0.60s; }
.bt-tl-item:nth-child(13) { transition-delay: 0.65s; }

.bt-tl-dot {
    position: absolute;
    left: -2.1rem;
    top: 0.35rem;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #8b3c1c;
    border: 2px solid #f4c542;
    flex-shrink: 0;
}

.bt-tl-dot-gold {
    background: #f4c542;
    width: 16px; height: 16px;
    left: -2.3rem;
    box-shadow: 0 0 10px rgba(244,197,66,0.6);
}

.bt-tl-year {
    font-weight: 800;
    color: #8b3c1c;
    font-size: 0.95rem;
    min-width: 3.2rem;
    padding-top: 0.1rem;
    flex-shrink: 0;
}

.bt-tl-year-gold { color: #c8860a; font-size: 1rem; }

.bt-tl-card {
    background: #fff;
    border: 1px solid rgba(244,197,66,0.3);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.93rem;
    color: #3a3028;
    line-height: 1.6;
    flex: 1;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bt-tl-card:hover {
    box-shadow: 0 4px 16px rgba(139,60,28,0.1);
    transform: translateX(3px);
}

.bt-tl-card-gold {
    background: linear-gradient(135deg, #fffbf0, #fef3d0);
    border-color: #f4c542;
    font-weight: 600;
    color: #6b2d0f;
}

/* =====================================================
   CHALLENGES + ACHIEVEMENTS
   ===================================================== */
.bt-two-col-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 2rem;
    background: #fff;
    max-width: 1100px;
    margin: 0 auto;
}

.bt-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.bt-list li {
    padding: 0.7rem 1rem 0.7rem 2.2rem;
    background: #fef9e8;
    border-left: 4px solid #c45a2a;
    border-radius: 0 8px 8px 0;
    font-size: 0.93rem;
    color: #3a3028;
    line-height: 1.6;
    position: relative;
}

.bt-list li::before {
    content: '•';
    position: absolute;
    left: 0.7rem;
    color: #c45a2a;
    font-weight: 900;
}

.bt-achieve-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.bt-achieve-list li {
    padding: 0.6rem 1rem 0.6rem 2.2rem;
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    border-radius: 0 8px 8px 0;
    font-size: 0.93rem;
    color: #1a3a1a;
    line-height: 1.6;
    position: relative;
}

.bt-achieve-list li::before {
    content: '✓';
    position: absolute;
    left: 0.6rem;
    color: #16a34a;
    font-weight: 900;
}

/* =====================================================
   GALLERY
   ===================================================== */
.bt-gallery-section {
    padding: 3rem 2rem;
    background: #fef9e8;
    text-align: center;
}

.bt-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.bt-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bt-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(139,60,28,0.12);
}

.bt-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.bt-gallery-item span {
    display: block;
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
    color: #5a3a1a;
    font-weight: 500;
    background: #faf5e6;
    border-top: 1px solid #eee;
}

/* =====================================================
   TRIBUTE / LEGACY SECTION
   ===================================================== */
.bt-tribute-section {
    background: linear-gradient(135deg, #1a0a00 0%, #4a1505 50%, #7a3015 100%);
    padding: 4rem 2rem;
}

.bt-tribute-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: center;
}

.bt-tribute-img {
    width: 100%;
    border-radius: 16px;
    border: 4px solid #f4c542;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.bt-quote-mark {
    font-size: 5rem;
    color: #f4c542;
    line-height: 0.6;
    font-family: Georgia, serif;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.bt-tribute-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.92);
    line-height: 2;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.bt-tribute-footer { border-top: 1px solid rgba(244,197,66,0.3); padding-top: 1.5rem; }

.bt-tribute-wish {
    font-size: 1rem;
    color: #f4c542;
    font-weight: 600;
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
    .bt-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .bt-wish-btns { justify-content: center; }
    .bt-72 { font-size: 8rem; }
    .bt-portrait { width: 120px; height: 150px; }
    .bt-headline { font-size: 1.9rem; }
    .bt-two-col-section { grid-template-columns: 1fr; }
    .bt-tribute-inner { grid-template-columns: 1fr; text-align: center; }
    .bt-tribute-img { max-width: 240px; margin: 0 auto; }
    .bt-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {

    .bt-72 { font-size: 5.5rem; }
    .bt-headline { font-size: 1.5rem; }
    .bt-gallery { grid-template-columns: 1fr 1fr; }
    .bt-timeline { padding-left: 2rem; }
    .bt-two-col-section { padding: 2rem 1rem; }
    .bt-tribute-section { padding: 2.5rem 1rem; }
}

@media (max-width: 400px) {
    .bt-gallery { grid-template-columns: 1fr; }
    .bt-wish-btns { flex-direction: column; }
    .bt-btn { justify-content: center; }
}

/* =====================================================
   GRAND 72nd BIRTHDAY HERO
   ===================================================== */

/* Ticker tape animations */
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes gloryScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes portraitPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244,197,66,0.5), 0 0 40px rgba(244,197,66,0.2); }
    50%       { box-shadow: 0 0 0 14px rgba(244,197,66,0), 0 0 60px rgba(244,197,66,0.35); }
}
@keyframes badgeBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-6px) scale(1.06); }
}
@keyframes yearGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(244,197,66,0.6), 0 4px 20px rgba(0,0,0,0.4); }
    50%       { text-shadow: 0 0 50px rgba(244,197,66,1), 0 4px 30px rgba(0,0,0,0.5); }
}

/* Outer wrapper */
.bday-hero {
    position: relative;
    background: linear-gradient(160deg,
        #0d0500 0%,
        #2a0d00 20%,
        #5a1e05 45%,
        #8b3c1c 65%,
        #c8860a 85%,
        #7a3015 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Canvas */
.bday-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ---- Top ticker ---- */
.bday-ticker {
    background: rgba(244,197,66,0.12);
    border-bottom: 1px solid rgba(244,197,66,0.25);
    overflow: hidden;
    white-space: nowrap;
    padding: 0.45rem 0;
    position: relative;
    z-index: 2;
}
.bday-ticker-track {
    display: inline-block;
    animation: tickerScroll 28s linear infinite;
    white-space: nowrap;
}
.bday-ticker-track span {
    display: inline-block;
    padding: 0 1.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f4c542;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---- Main inner ---- */
.bday-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3.5rem 1.5rem 3rem;
}

/* ---- Portrait column ---- */
.bday-portrait-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.bday-portrait-ring {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}
.bday-portrait-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(#f4c542, #c8860a, #8b3c1c, #f4c542);
    animation: portraitPulse 3s ease-in-out infinite;
    z-index: 0;
}
.bday-portrait-img {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid #1a0800;
    z-index: 1;
}
.bday-portrait-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: linear-gradient(135deg, #f4c542, #c8860a);
    color: #1a0800;
    font-size: 1.3rem;
    font-weight: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #1a0800;
    z-index: 2;
    animation: badgeBounce 2s ease-in-out infinite;
}
.bday-portrait-name {
    font-size: 1rem;
    font-weight: 700;
    color: #f4c542;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}
.bday-portrait-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* ---- Content column ---- */
.bday-content-col {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.bday-year-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    background: rgba(244,197,66,0.12);
    border: 1px solid rgba(244,197,66,0.4);
    border-radius: 30px;
    padding: 0.3rem 1.2rem;
    width: fit-content;
}
.bday-year-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #f4c542;
    animation: yearGlow 2.5s ease-in-out infinite;
}
.bday-year-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}
.bday-main-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 3px 16px rgba(0,0,0,0.5);
}
.bday-gold { color: #f4c542; }
.bday-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.7;
}
.bday-desc {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin: 0;
    max-width: 560px;
}

/* Mini stats */
.bday-mini-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}
.bday-mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(244,197,66,0.2);
    border-radius: 10px;
    padding: 0.5rem 0.9rem;
    min-width: 70px;
    transition: background 0.3s;
}
.bday-mini-stat:hover { background: rgba(244,197,66,0.1); }
.bday-mini-n {
    font-size: 1.25rem;
    font-weight: 900;
    color: #f4c542;
    line-height: 1;
}
.bday-mini-l {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.2rem;
    text-align: center;
}

/* CTA row */
.bday-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.4rem;
}
.bday-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}
.bday-cta:hover { transform: translateY(-2px); }
.bday-cta-email {
    background: linear-gradient(135deg, #8b3c1c, #c45a2a);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139,60,28,0.45);
    animation: birthdayPulse 2.2s ease-in-out infinite;
}
.bday-cta-wa {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
    animation: birthdayPulse 2.2s ease-in-out infinite 0.4s;
}
.bday-cta-journey {
    background: rgba(244,197,66,0.12);
    color: #f4c542;
    border: 2px solid rgba(244,197,66,0.5);
    backdrop-filter: blur(4px);
}
.bday-cta-journey:hover {
    background: rgba(244,197,66,0.2);
    border-color: #f4c542;
    color: #fff;
}

/* ---- Bottom glory bar ---- */
.bday-glory-bar {
    background: linear-gradient(90deg, #f4c542 0%, #c8860a 50%, #f4c542 100%);
    overflow: hidden;
    white-space: nowrap;
    padding: 0.5rem 0;
    position: relative;
    z-index: 2;
}
.bday-glory-track {
    display: inline-block;
    animation: gloryScroll 22s linear infinite;
    white-space: nowrap;
}
.bday-glory-track span {
    display: inline-block;
    padding: 0 1.2rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #1a0800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- Timeline "read more" link ---- */
.bt-tl-readmore-link {
    display: inline-block;
    margin-left: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #8b3c1c;
    background: rgba(244,197,66,0.15);
    border: 1px solid rgba(244,197,66,0.4);
    border-radius: 20px;
    padding: 0.2rem 0.8rem;
    text-decoration: none;
    vertical-align: middle;
    transition: background 0.25s ease, color 0.25s ease;
}
.bt-tl-readmore-link:hover {
    background: #f4c542;
    color: #1a0800;
}

/* =====================================================
   RESPONSIVE – BIRTHDAY HERO
   ===================================================== */
@media (max-width: 900px) {
    .bday-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 1.2rem 2rem;
    }
    .bday-portrait-col { margin: 0 auto; }
    .bday-main-title { font-size: 2.1rem; }
    .bday-mini-stats { justify-content: center; }
    .bday-cta-row { justify-content: center; }
    .bday-desc { margin: 0 auto; }
    .bday-year-badge { margin: 0 auto; }
}

@media (max-width: 600px) {
    .bday-portrait-ring { width: 170px; height: 170px; }
    .bday-portrait-badge { width: 42px; height: 42px; font-size: 1rem; }
    .bday-main-title { font-size: 1.65rem; }
    .bday-year-num { font-size: 1.3rem; }
    .bday-cta { font-size: 0.82rem; padding: 0.6rem 1.1rem; }
    .bday-mini-stats { gap: 0.6rem; }
    .bday-mini-stat { padding: 0.4rem 0.7rem; min-width: 60px; }
    .bday-mini-n { font-size: 1.05rem; }
    .bt-tl-readmore-link { display: block; margin: 0.5rem 0 0; width: fit-content; }
}

@media (max-width: 400px) {
    .bday-cta-row { flex-direction: column; align-items: center; }
    .bday-cta { width: 100%; justify-content: center; }
}

/* =====================================================
   PREMIUM 72nd BIRTHDAY HERO  (.ph-*)
   ===================================================== */

/* ---- Keyframes ---- */
@keyframes phTickerScroll  { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes phGloryScroll   { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes phBgCycle {
    0%,18%  { opacity:0.55 }
    20%,35% { opacity:0.7  }
    37%,100%{ opacity:0    }
}
@keyframes phRayPulse {
    0%,100% { opacity:0; transform:scaleY(0.6) }
    50%     { opacity:1; transform:scaleY(1)   }
}
@keyframes phOrbit {
    from { transform:rotate(0deg) translateX(130px) rotate(0deg) }
    to   { transform:rotate(360deg) translateX(130px) rotate(-360deg) }
}
@keyframes phOrbitMob {
    from { transform:rotate(0deg) translateX(90px) rotate(0deg) }
    to   { transform:rotate(360deg) translateX(90px) rotate(-360deg) }
}
@keyframes ph72Glow {
    0%,100% { text-shadow:0 0 40px rgba(244,197,66,.5),0 8px 40px rgba(0,0,0,.6) }
    50%     { text-shadow:0 0 90px rgba(244,197,66,.9),0 8px 50px rgba(0,0,0,.7) }
}
@keyframes phPortraitRing {
    0%,100% { box-shadow:0 0 0 0 rgba(244,197,66,.5),0 0 50px rgba(244,197,66,.15) }
    50%     { box-shadow:0 0 0 16px rgba(244,197,66,0),0 0 80px rgba(244,197,66,.3) }
}
@keyframes phFadeUp {
    from { opacity:0; transform:translateY(28px) }
    to   { opacity:1; transform:translateY(0)    }
}
@keyframes phCounterPop {
    0%   { transform:scale(0.7); opacity:0 }
    70%  { transform:scale(1.08) }
    100% { transform:scale(1);   opacity:1 }
}

/* ---- Outer shell ---- */
.ph-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0d0500;
    min-height: 100svh;
}

/* ---- Background collage ---- */
.ph-bg-layer { position:absolute; inset:0; z-index:0; }
.ph-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: phBgCycle 36s infinite;
    will-change: opacity, transform;
}
.ph-bg-img:nth-child(1) { animation-delay:  0s; }
.ph-bg-img:nth-child(2) { animation-delay:  6s; }
.ph-bg-img:nth-child(3) { animation-delay: 12s; }
.ph-bg-img:nth-child(4) { animation-delay: 18s; }
.ph-bg-img:nth-child(5) { animation-delay: 24s; }
.ph-bg-img:nth-child(6) { animation-delay: 30s; }

.ph-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(160deg,
            rgba(10,3,0,.92) 0%,
            rgba(40,12,0,.82) 30%,
            rgba(90,30,5,.72) 60%,
            rgba(20,6,0,.88) 100%);
}

/* ---- Light rays ---- */
.ph-light-rays {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.ph-light-rays span {
    position: absolute;
    top: -10%;
    width: 2px;
    height: 130%;
    background: linear-gradient(180deg, transparent, rgba(244,197,66,.12), transparent);
    transform-origin: top center;
    animation: phRayPulse 6s ease-in-out infinite;
}
.ph-light-rays span:nth-child(1){ left:15%; animation-delay:0s;   transform:rotate(-12deg); }
.ph-light-rays span:nth-child(2){ left:30%; animation-delay:1.2s; transform:rotate(-5deg);  }
.ph-light-rays span:nth-child(3){ left:50%; animation-delay:2.4s; transform:rotate(0deg);   }
.ph-light-rays span:nth-child(4){ left:70%; animation-delay:3.6s; transform:rotate(6deg);   }
.ph-light-rays span:nth-child(5){ left:85%; animation-delay:4.8s; transform:rotate(14deg);  }

/* ---- Canvas ---- */
.ph-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* ---- Top ticker ---- */
.ph-ticker {
    position: relative;
    z-index: 10;
    background: rgba(244,197,66,.1);
    border-bottom: 1px solid rgba(244,197,66,.25);
    overflow: hidden;
    white-space: nowrap;
    padding: .42rem 0;
}
.ph-ticker-inner {
    display: inline-block;
    white-space: nowrap;
    animation: phTickerScroll 30s linear infinite;
}
.ph-ticker-inner span {
    display: inline-block;
    padding: 0 1.3rem;
    font-size: .78rem;
    font-weight: 700;
    color: #f4c542;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.ph-dot { color: rgba(244,197,66,.5) !important; padding: 0 .4rem !important; }

/* ---- Main body ---- */
.ph-body {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
    align-items: center;
    padding: 3.5rem 1.5rem 3rem;
    flex: 1;
}

/* ---- Central 72 + portrait ---- */
.ph-center-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
}
.ph-72-wrap {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ph-72-glow {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: conic-gradient(#f4c542 0deg, #c8860a 90deg, #8b3c1c 180deg, #f4c542 360deg);
    animation: phPortraitRing 3s ease-in-out infinite;
    z-index: 0;
}
.ph-72-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px rgba(244,197,66,.55);
    letter-spacing: -.04em;
    z-index: 1;
    animation: ph72Glow 3s ease-in-out infinite;
    user-select: none;
    line-height: 1;
}
.ph-portrait-clip {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 4px solid #0d0500;
}
.ph-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
/* Orbiting dot */
.ph-orbit {
    position: absolute;
    inset: 0;
    z-index: 3;
    animation: phOrbit 8s linear infinite;
}
.ph-orbit-dot {
    display: block;
    width: 12px;
    height: 12px;
    background: #f4c542;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(244,197,66,.8);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
}
.ph-name-plate {
    font-size: 1rem;
    font-weight: 700;
    color: #f4c542;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}
.ph-name-sub {
    font-size: .75rem;
    color: rgba(255,255,255,.6);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* ---- Text block ---- */
.ph-text-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: phFadeUp .9s ease-out both;
}
.ph-eyebrow {
    display: flex;
    align-items: center;
    gap: .8rem;
}
.ph-eyebrow-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244,197,66,.5), transparent);
}
.ph-eyebrow-text {
    font-size: .75rem;
    font-weight: 700;
    color: rgba(244,197,66,.8);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.ph-headline {
    font-size: 2.9rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.12;
    margin: 0;
    text-shadow: 0 3px 20px rgba(0,0,0,.6);
}
.ph-headline-gold {
    color: #f4c542;
    display: block;
}
.ph-subheadline {
    font-size: .9rem;
    color: rgba(255,255,255,.72);
    font-weight: 600;
    letter-spacing: .04em;
    margin: 0;
    line-height: 1.7;
}
.ph-intro {
    font-size: .97rem;
    color: rgba(255,255,255,.82);
    line-height: 1.85;
    margin: 0;
    max-width: 580px;
}

/* ---- Counters ---- */
.ph-counters {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}
.ph-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(244,197,66,.22);
    border-radius: 12px;
    padding: .65rem 1rem;
    min-width: 80px;
    animation: phCounterPop .6s ease-out both;
    transition: background .3s;
}
.ph-counter:hover { background: rgba(244,197,66,.1); }
.ph-counter:nth-child(1){ animation-delay:.1s }
.ph-counter:nth-child(2){ animation-delay:.2s }
.ph-counter:nth-child(3){ animation-delay:.3s }
.ph-counter:nth-child(4){ animation-delay:.4s }
.ph-counter-n {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f4c542;
    line-height: 1;
}
.ph-counter-plus { font-size: 1rem; font-weight: 900; color: #f4c542; }
.ph-counter-l {
    font-size: .68rem;
    color: rgba(255,255,255,.62);
    margin-top: .25rem;
    text-align: center;
    line-height: 1.4;
}

/* ---- Milestone strip ---- */
.ph-milestones {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.ph-ms {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(244,197,66,.18);
    border-radius: 20px;
    padding: .28rem .75rem;
    transition: background .25s;
}
.ph-ms:hover { background: rgba(244,197,66,.1); }
.ph-ms-gold {
    background: rgba(244,197,66,.12);
    border-color: rgba(244,197,66,.5);
}
.ph-ms-y {
    font-size: .75rem;
    font-weight: 800;
    color: #f4c542;
    white-space: nowrap;
}
.ph-ms-t {
    font-size: .72rem;
    color: rgba(255,255,255,.7);
    white-space: nowrap;
}

/* ---- Quote ---- */
.ph-quote {
    border-left: 3px solid #f4c542;
    padding: .8rem 1.2rem;
    background: rgba(244,197,66,.06);
    border-radius: 0 10px 10px 0;
    font-size: .95rem;
    font-style: italic;
    color: rgba(255,255,255,.85);
    line-height: 1.75;
    margin: 0;
    position: relative;
}
.ph-quote-mark {
    font-size: 3rem;
    color: rgba(244,197,66,.3);
    font-family: Georgia, serif;
    line-height: .5;
    vertical-align: middle;
    margin-right: .2rem;
}

/* ---- Birthday message ---- */
.ph-bday-msg {
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    line-height: 1.8;
    margin: 0;
    padding: .8rem 1rem;
    background: rgba(255,255,255,.04);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
}

/* ---- CTA row ---- */
.ph-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.ph-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .72rem 1.4rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.ph-cta:hover { transform: translateY(-2px); }
.ph-cta-primary {
    background: linear-gradient(135deg, #f4c542, #c8860a);
    color: #1a0800;
    box-shadow: 0 4px 18px rgba(244,197,66,.4);
    animation: birthdayPulse 2.2s ease-in-out infinite;
}
.ph-cta-secondary {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.25);
}
.ph-cta-secondary:hover { background: rgba(255,255,255,.15); color:#fff; }
.ph-cta-email {
    background: linear-gradient(135deg, #8b3c1c, #c45a2a);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139,60,28,.4);
}
.ph-cta-wa {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,.35);
}

/* ---- Bottom glory bar ---- */
.ph-glory-bar {
    position: relative;
    z-index: 10;
    background: linear-gradient(90deg, #c8860a 0%, #f4c542 50%, #c8860a 100%);
    overflow: hidden;
    white-space: nowrap;
    padding: .52rem 0;
}
.ph-glory-inner {
    display: inline-block;
    white-space: nowrap;
    animation: phGloryScroll 26s linear infinite;
}
.ph-glory-inner span {
    display: inline-block;
    padding: 0 1.1rem;
    font-size: .78rem;
    font-weight: 800;
    color: #1a0800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ---- Timeline "read more" link (already defined, keep) ---- */

/* =====================================================
   RESPONSIVE – PREMIUM HERO
   ===================================================== */
@media (max-width: 960px) {
    .ph-body {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 1.2rem 2rem;
    }
    .ph-center-block { margin: 0 auto; }
    .ph-eyebrow { justify-content: center; }
    .ph-intro { margin: 0 auto; }
    .ph-counters { justify-content: center; }
    .ph-milestones { justify-content: center; }
    .ph-cta-row { justify-content: center; }
    .ph-headline { font-size: 2.2rem; }
}

@media (max-width: 640px) {
    .ph-72-wrap { width: 190px; height: 190px; }
    .ph-72-text { font-size: 7rem; }
    .ph-orbit { animation-name: phOrbitMob; }
    .ph-headline { font-size: 1.75rem; }
    .ph-counter { min-width: 68px; padding: .5rem .7rem; }
    .ph-counter-n { font-size: 1.2rem; }
    .ph-ms-t { display: none; }
    .ph-cta { font-size: .82rem; padding: .62rem 1.1rem; }
}

@media (max-width: 400px) {
    .ph-cta-row { flex-direction: column; align-items: center; }
    .ph-cta { width: 100%; justify-content: center; }
    .ph-headline { font-size: 1.5rem; }
    .ph-72-wrap { width: 160px; height: 160px; }
    .ph-72-text { font-size: 6rem; }
}


/* ===================================================
   FAMILY SECTION
   =================================================== */
.family-section {
    background: linear-gradient(180deg, #fef9e8 0%, #f5ede0 100%);
    padding: 4rem 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(139, 60, 28, 0.05);
    border: 1px solid rgba(244, 197, 66, 0.2);
    margin-bottom: 4rem;
}

.family-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #5a3a1a;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-style: italic;
}

.family-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.family-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(139, 60, 28, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.family-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(139, 60, 28, 0.12);
    border-color: rgba(244, 197, 66, 0.4);
}

.family-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.family-card:hover img {
    transform: scale(1.05);
}

.family-card-large {
    grid-column: span 2;
}

.family-card-large img {
    height: 380px;
}

.family-card-highlight {
    border: 2px solid #f4c542;
}

.family-card-caption {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #faf5e6 0%, #ffffff 100%);
    border-top: 1px solid rgba(244, 197, 66, 0.2);
}

.family-card-caption h3 {
    font-size: 1.1rem;
    color: #7a3015;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.family-card-caption p {
    font-size: 0.88rem;
    color: #8b3c1c;
    margin-bottom: 0;
    font-weight: 500;
}

.family-quote {
    background: linear-gradient(135deg, #ffffff 0%, #faf5e6 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-left: 6px solid #8b3c1c;
    text-align: center;
}

.family-quote blockquote {
    border-left: none;
    padding-left: 0;
    background: transparent;
    font-size: 1.15rem;
    color: #5a3a1a;
    font-style: italic;
    line-height: 1.9;
    margin: 0;
}

.family-quote cite {
    display: block;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #8b3c1c;
    font-style: normal;
    font-weight: 700;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .family-section {
        padding: 3rem 1.5rem;
    }

    .family-gallery {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .family-card-large {
        grid-column: span 1;
    }

    .family-card img,
    .family-card-large img {
        height: 240px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .family-section {
        padding: 2rem 1rem;
        border-radius: 16px;
    }

    .family-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .family-gallery {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .family-card img,
    .family-card-large img {
        height: 220px;
    }

    .family-card-caption {
        padding: 1rem 1.2rem;
    }

    .family-card-caption h3 {
        font-size: 1rem;
    }

    .family-card-caption p {
        font-size: 0.82rem;
    }

    .family-quote {
        padding: 1.8rem 1.2rem;
    }

    .family-quote blockquote {
        font-size: 1rem;
    }

    .family-quote cite {
        font-size: 0.88rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 400px) {
    .family-card img,
    .family-card-large img {
        height: 180px;
    }
}


/* ===================================================
   VACHAK PRATIKRIYA - NEW CARD LAYOUT
   =================================================== */
.vp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.vp-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(139, 60, 28, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 60, 28, 0.12);
    border-color: rgba(244, 197, 66, 0.3);
}

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

.vp-reader-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f5ede0;
}

.vp-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f4c542;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.vp-reader-info h3 {
    font-size: 1.1rem;
    color: #7a3015;
    margin-bottom: 0.2rem;
}

.vp-role {
    font-size: 0.85rem;
    color: #a04820;
    font-weight: 600;
    margin: 0;
}

.vp-response {
    font-size: 0.95rem;
    color: #4a4844;
    line-height: 1.7;
}

.vp-response p {
    margin-bottom: 0.8rem;
}

.vp-response p:last-child {
    margin-bottom: 0;
}

.vp-response strong {
    color: #7a3015;
}

/* Image response cards */
.vp-card-image {
    display: flex;
    flex-direction: column;
}

.vp-response-image {
    margin-top: 1rem;
}

.vp-response-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 0.8rem;
}

.vp-response-img:last-child {
    margin-bottom: 0;
}

/* Simple profile-only cards */
.vp-card-simple {
    text-align: center;
    padding: 2rem 1.5rem;
}

.vp-card-simple .vp-reader-profile {
    flex-direction: column;
    border-bottom: none;
    padding-bottom: 0;
}

.vp-card-simple .vp-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .vp-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vp-card-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .vp-card {
        padding: 1.5rem;
    }
    
    .vp-avatar {
        width: 50px;
        height: 50px;
    }
    
    .vp-card-simple .vp-avatar {
        width: 70px;
        height: 70px;
    }
    
    .vp-reader-info h3 {
        font-size: 1rem;
    }
    
    .vp-response {
        font-size: 0.9rem;
    }
}


/* Reader profile with photo - for testimonial cards */
.testimonial-card .reader-profile {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f5ede0;
}

.testimonial-card .reader-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f4c542;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.testimonial-card .reader-header {
    flex: 1;
}

.testimonial-card .reader-header h3 {
    font-size: 1.15rem;
    color: #7a3015;
    margin-bottom: 0.2rem;
}

.testimonial-card .reader-header .reader-role {
    font-size: 0.85rem;
    color: #a04820;
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments for reader profiles */
@media (max-width: 768px) {
    .testimonial-card .reader-profile {
        gap: 1rem;
    }
    
    .testimonial-card .reader-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-card .reader-header h3 {
        font-size: 1rem;
    }
}


/* ===================================================
   IMAGE ALIGNMENT FIX - ALL GALLERIES
   =================================================== */

/* Birthday Timeline Gallery */
.bt-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.bt-gallery-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bt-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.bt-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.bt-gallery-item span {
    display: block;
    padding: 0.8rem;
    font-size: 0.85rem;
    color: #5a3a1a;
    background: #faf5e6;
    text-align: center;
    font-weight: 500;
}

/* Family Gallery */
.family-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.family-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.family-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.family-card-large {
    grid-column: span 2;
}

.family-card-large img {
    height: 280px;
}

.family-card-highlight {
    border: 2px solid #f4c542;
}

.family-card-caption {
    padding: 1rem;
    background: #faf5e6;
}

.family-card-caption h3 {
    font-size: 1rem;
    color: #7a3015;
    margin-bottom: 0.3rem;
}

.family-card-caption p {
    font-size: 0.85rem;
    color: #6b2e14;
    margin: 0;
}

/* Photo Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.highlight-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.highlight-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.highlight-card:hover img {
    transform: scale(1.05);
}

.highlight-caption {
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    color: #5a3a1a;
    background: #faf5e6;
    text-align: center;
    font-weight: 500;
    border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .bt-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.2rem;
    }
    
    .bt-gallery-item img {
        height: 180px;
    }
    
    .family-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.2rem;
    }
    
    .family-card img {
        height: 200px;
    }
    
    .family-card-large {
        grid-column: span 1;
    }
    
    .family-card-large img {
        height: 200px;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bt-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .bt-gallery-item img {
        height: 150px;
    }
    
    .bt-gallery-item span {
        font-size: 0.78rem;
        padding: 0.6rem;
    }
    
    .family-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .family-card img {
        height: 160px;
    }
    
    .family-card-caption {
        padding: 0.8rem;
    }
    
    .family-card-caption h3 {
        font-size: 0.9rem;
    }
    
    .family-card-caption p {
        font-size: 0.78rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .highlight-card img {
        height: 130px;
    }
    
    .highlight-caption {
        font-size: 0.78rem;
        padding: 0.5rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .bt-gallery {
        grid-template-columns: 1fr;
    }
    
    .family-gallery {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}
