:root {
    --primary: #831843;
    --primary-dark: #500724;
    --primary-light: #9d174d;
    --primary-subtle: #fdf2f8;
    --gold: #b45309;
    --gold-accent: #d97706;
    --gold-light: #fef3c7;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
    --bg-cream: #faf7f2;
    --bg-surface: #ffffff;
    --bg-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border-light: #e2e8f0;
    --border-gold: #fde68a;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(131, 24, 67, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(131, 24, 67, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 10px 25px -5px rgba(217, 119, 6, 0.25);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-cream);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 3D Background Interactive Kinetic Canvas */
.bg-3d-canvas,
#bg3dCanvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.7;
    mix-blend-mode: multiply;
}

/* Ensure all page sections float above background canvas */
.top-bar,
header.main-header,
main,
section,
footer,
.modal-overlay,
.cms-dock {
    position: relative;
    z-index: 2;
}

/* 3D Card Tilt & Specular Glare */
.card-3d-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    position: relative;
}

.card-3d-tilt:hover {
    box-shadow: 0 20px 40px -10px rgba(131, 24, 67, 0.22), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

.tilt-glare-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
}

/* 3D Kinetic Text & Section Sliding FX */
.slide-moment-target {
    opacity: 0;
    transform: translateY(28px) translateZ(0);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--moment-delay, 0s);
    will-change: transform, opacity;
}

.slide-moment-target.moment-in-view {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}


/* Typography */
h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
}

/* Top Announcement Bar */
.top-bar {
    background: var(--primary-dark);
    color: #fce7f3;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-info a,
.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fbcfe8;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.top-info a:hover {
    color: #fff;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: var(--gold-light);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.badge-pink {
    background: rgba(244, 114, 182, 0.2);
    color: #fbcfe8;
    border: 1px solid rgba(244, 114, 182, 0.3);
}

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

.top-bar .container,
.main-header .container {
    max-width: 1400px;
}

/* Header & Navigation */
header.main-header {
    position: sticky;
    top: 0;
    z-index: 990;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(131, 24, 67, 0.08);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 16px;
    flex-wrap: nowrap;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(131, 24, 67, 0.15);
    border: 2px solid var(--primary-light);
    background: #fff;
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.2px;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Primary and Accent Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(131, 24, 67, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(131, 24, 67, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-gold {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-subtle);
    color: var(--primary-dark);
}

.btn-white {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #fdf2f8;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Edit Mode Toggle Switch in Header */
.editor-toggle-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.editor-toggle-btn:hover {
    background: #e2e8f0;
}

.editor-toggle-btn.active {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.editor-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.editor-toggle-btn.active .editor-status-dot {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 60px 0 90px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.1rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-title span.highlight {
    color: var(--gold-accent);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Hero Media Card */
.hero-media-card {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
    aspect-ratio: 4/3;
    background: #e2e8f0;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.hero-floating-card {
    position: absolute;
    bottom: -24px;
    left: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 320px;
}

.floating-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-light);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.floating-text h4 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.floating-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Visiting Card Banner Preview */
.banner-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 24px 0;
    position: relative;
    overflow: hidden;
}

.banner-strip::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.banner-info-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-seal {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.banner-text h3 {
    font-size: 1.35rem;
    margin-bottom: 2px;
    color: #fff;
}

.banner-text p {
    color: var(--gold-light);
    font-size: 0.88rem;
    font-weight: 500;
}

.banner-reg-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.reg-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Sections Common */
section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.section-subtitle {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Pillars Cards Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    background: #ffffff;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-subtle);
}

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

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(-6deg) scale(1.05);
}

.pillar-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.pillar-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Founder & Leadership Section */
.founder-section {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.founder-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.founder-image-box {
    position: relative;
}

.founder-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #ffffff;
    aspect-ratio: 4/5;
    background: #e2e8f0;
}

.founder-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.award-badge-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 320px;
}

.award-icon {
    font-size: 2rem;
    color: var(--gold);
}

.award-details h5 {
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 700;
    line-height: 1.2;
}

.award-details p {
    font-size: 0.75rem;
    color: #b45309;
}

.founder-content .tag {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.founder-name {
    font-size: 2.6rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.founder-title-badge {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.founder-quote {
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-main);
    border-left: 4px solid var(--gold-accent);
    padding-left: 20px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.founder-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.founder-credentials {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cred-card {
    background: var(--bg-cream);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Video Showcase Section */
.video-section {
    background: var(--bg-dark);
    color: #ffffff;
}

.video-section .section-title {
    color: #ffffff;
}

.video-section .section-desc {
    color: #94a3b8;
}

.video-container-card {
    position: relative;
    background: #1e293b;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-player-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
}

.video-player-wrapper video,
.video-player-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
}

.video-big-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    padding-left: 5px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 15;
    animation: pulseBigPlay 2.2s infinite;
}

.video-big-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.video-big-play-btn.playing {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.7);
}

@keyframes pulseBigPlay {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(217, 119, 6, 0.7);
    }
    70% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 22px rgba(217, 119, 6, 0);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

.video-bar {
    padding: 20px 30px;
    background: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-info h4 {
    font-size: 1.15rem;
    color: #f8fafc;
}

.video-info p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.video-actions {
    display: flex;
    gap: 12px;
}

/* Activities & Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    background: #e2e8f0;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
    opacity: 0.95;
    transition: var(--transition);
}

.gallery-overlay h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* Donation Section */
.donation-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%);
}

.donation-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.donation-info-pane {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.donation-info-pane h3 {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.donation-info-pane p {
    color: #fbcfe8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.donation-impact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.donation-impact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #fdf2f8;
}

.donation-impact-list i {
    color: var(--gold-accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tax-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.donation-form-pane {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.amount-presets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 14px 8px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-light);
    background: #ffffff;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.amount-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.amount-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(131, 24, 67, 0.25);
}

.custom-amount-wrapper {
    position: relative;
    margin-bottom: 22px;
}

.currency-symbol {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.custom-amount-input {
    width: 100%;
    padding: 14px 18px 14px 44px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-light);
    font-size: 1.2rem;
    font-weight: 700;
    outline: none;
    transition: var(--transition);
    color: var(--primary-dark);
}

.custom-amount-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(131, 24, 67, 0.1);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(131, 24, 67, 0.1);
}

.donation-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary-subtle);
    color: var(--primary);
    font-weight: 700;
}

/* Map Section */
.map-section {
    background: #ffffff;
}

.map-card-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    background: var(--bg-cream);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.map-embed-container {
    min-height: 420px;
    position: relative;
    background: #e2e8f0;
}

.map-embed-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info-pane {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info-pane h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.map-detail-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

.map-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.map-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.map-detail-text h5 {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 700;
}

.map-detail-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.map-address-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.84rem;
    margin-top: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.map-address-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    transform: translateX(3px);
}

.map-overlay-link {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.86rem;
    padding: 10px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-overlay-link:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(131, 24, 67, 0.35);
}

.map-overlay-link i.fa-diamond-turn-right {
    color: var(--primary);
    transition: color 0.3s ease;
}

.map-overlay-link:hover i.fa-diamond-turn-right {
    color: #ffffff;
}

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(131, 24, 67, 0.25);
    transition: all 0.3s ease;
    margin-top: 24px;
}

.map-directions-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(131, 24, 67, 0.4);
}

/* Footer */
footer.main-footer {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #fbcfe8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #fce7f3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 25px;
    font-size: 0.85rem;
    color: #fbcfe8;
    flex-wrap: wrap;
    gap: 14px;
}

/* ========================================================================= */
/* LIVE EDIT MODE STYLES & CMS BADGES                                        */
/* ========================================================================= */
body.edit-mode-active [data-editable="text"] {
    outline: 2px dashed #d97706;
    outline-offset: 4px;
    border-radius: 4px;
    cursor: text;
    background: rgba(254, 243, 199, 0.35);
    transition: background 0.2s ease;
}

body.edit-mode-active [data-editable="text"]:hover {
    background: rgba(254, 243, 199, 0.7);
}

body.edit-mode-active [data-editable="text"]:focus {
    outline: 2px solid #b45309;
    background: #fff;
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.4);
}

.edit-image-btn,
.edit-video-btn,
.edit-map-btn {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 50;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

body.edit-mode-active .edit-image-btn,
body.edit-mode-active .edit-video-btn,
body.edit-mode-active .edit-map-btn {
    display: inline-flex;
}

.edit-image-btn:hover,
.edit-video-btn:hover,
.edit-map-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

/* Floating CMS Toolbar at Bottom */
.cms-dock {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: #fff;
    align-items: center;
    gap: 16px;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 40px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

body.edit-mode-active .cms-dock {
    display: flex;
}

.cms-dock-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fde68a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cms-dock-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: scaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.modal-close-btn {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.modal-body {
    padding: 30px;
}

.asset-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
    max-height: 280px;
    overflow-y: auto;
}

.asset-option-card {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    aspect-ratio: 4/3;
}

.asset-option-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asset-option-card:hover,
.asset-option-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

/* Toast Notifications */
.toast-msg {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 11000;
    background: #0f172a;
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--gold-accent);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.toast-msg.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Breakpoints */
@media (max-width: 1280px) and (min-width: 1025px) {
    .nav-links {
        gap: 12px;
    }
    .nav-links a {
        font-size: 0.82rem;
    }
    .brand-name {
        font-size: 1.15rem;
    }
    .brand-sub {
        font-size: 0.7rem;
    }
    .editor-label {
        display: none;
    }
}

@media (max-width: 1024px) {

    .hero-grid,
    .founder-grid,
    .donation-box,
    .map-card-wrapper,
    .elders-grid {
        grid-template-columns: 1fr;
    }

    .elders-sub-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

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

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

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

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .pillars-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

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

    .banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================================================= */
/* 3D MOUSE TRACTION CANVAS & AMBIENT DEPTH                                  */
/* ========================================================================= */
.bg-3d-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
    mix-blend-mode: multiply;
}

body {
    position: relative;
    background-color: var(--bg-cream);
}

header.main-header,
section,
.banner-strip,
footer.main-footer,
.cms-dock {
    position: relative;
    z-index: 2;
}

/* ========================================================================= */
/* TEXT SLIDING EFFECTS & MOMENTS                                            */
/* ========================================================================= */
.slide-moment-target {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    filter: blur(3px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--moment-delay, 0s);
    will-change: transform, opacity, filter;
}

.slide-moment-target.moment-in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Kinetic Sliding Ticker */
.sliding-ticker-wrapper {
    background: var(--primary-dark);
    color: #fff;
    overflow: hidden;
    padding: 12px 0;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.sliding-ticker-track {
    display: inline-flex;
    gap: 40px;
    animation: slidingTicker 28s linear infinite;
}

.sliding-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes slidingTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #fce7f3;
}

.ticker-item i {
    color: var(--gold-accent);
}

/* ========================================================================= */
/* 3D IMAGE TILT & CURSOR TRACTION                                           */
/* ========================================================================= */
.card-3d-tilt {
    transform-style: preserve-3d;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.3s ease;
    position: relative;
    perspective: 1000px;
}

.tilt-glare-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
    z-index: 10;
}

/* ========================================================================= */
/* COMMON-MAN GRANDPARENTS SHOWCASE SECTION                                  */
/* ========================================================================= */
.elders-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.elders-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 45px;
}

.elder-main-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
    height: 100%;
    min-height: 420px;
    background: #e2e8f0;
}

.elder-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.elder-main-card:hover img {
    transform: scale(1.04);
}

.elder-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
    padding: 30px;
    color: #ffffff;
}

.elder-main-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: #fff;
}

.elder-main-overlay p {
    font-size: 0.95rem;
    color: #fce7f3;
}

.elders-sub-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: space-between;
}

.elder-sub-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid #ffffff;
    flex: 1;
    min-height: 195px;
    background: #e2e8f0;
}

.elder-sub-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.elder-sub-card:hover img {
    transform: scale(1.06);
}

.elder-sub-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.85) 100%);
    padding: 16px 20px;
    color: #ffffff;
}

.elder-sub-overlay h4 {
    font-size: 1.1rem;
    color: #fff;
}

.elder-sub-overlay span {
    font-size: 0.78rem;
    color: var(--gold-light);
    font-weight: 600;
}

/* Motion Options Modal Styling */
.motion-settings-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.motion-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.motion-setting-info h5 {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.motion-setting-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 999px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(22px);
}


/* ========================================================================= */
/* ELITE MOTION POLISH (added on top, nothing above was changed)             */
/* ========================================================================= */

/* 1. Smoother, silkier 3D tilt on cards and images */
.card-3d-tilt {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
    will-change: transform;
}

/* 2. Fix: cards that both reveal on scroll AND tilt now fade in properly */
.slide-moment-target.card-3d-tilt {
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

/* 3. More premium text reveal: slower, softer, slightly deeper */
.slide-moment-target {
    transform: translateY(44px) scale(0.97);
    filter: blur(6px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--moment-delay, 0s);
}

/* 4. Gentle floating of the two badge cards */
.hero-floating-card,
.award-badge-card {
    animation: gentleFloat 6s ease-in-out infinite;
}

.award-badge-card {
    animation-delay: -3s;
}

@keyframes gentleFloat {

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

    50% {
        transform: translateY(-10px);
    }
}

/* 5. Shimmering gold on the highlighted heading word */
.hero-title span.highlight {
    background: linear-gradient(110deg, #b45309 20%, #fcd34d 45%, #b45309 70%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 5s ease-in-out infinite;
}

@keyframes goldShimmer {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

/* 6. Light sweep across buttons on hover */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.btn:hover::after {
    left: 130%;
    transition: left 0.8s ease;
}

/* 7. Slower, richer image zoom */
.hero-image-wrapper img,
.gallery-item img,
.elder-main-card img,
.elder-sub-card img {
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 8. Kinder to people sensitive to motion */
@media (prefers-reduced-motion: reduce) {

    .slide-moment-target,
    .slide-moment-target.card-3d-tilt {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .hero-floating-card,
    .award-badge-card,
    .hero-title span.highlight,
    .sliding-ticker-track {
        animation: none;
    }

    .bg-3d-canvas {
        display: none;
    }
}

/* ========================================================================= */
/* PREMIUM BOTTOM-FIXED MUSIC PLAYER                                         */
/* ========================================================================= */
.premium-music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5), 0 -2px 10px rgba(131, 24, 67, 0.25);
    padding: 10px 24px;
    color: #f8fafc;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    transform: translateY(0);
}

.premium-music-player.collapsed {
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
}

.music-player-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Left: Track Info & Animated Vinyl */
.player-track-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
    flex: 1;
}

.disc-art-wrapper {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle, #2d3748 20%, #1a202c 40%, #0f172a 70%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
}

.disc-center-hole {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #831843 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.55rem;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

.disc-art-wrapper.spinning {
    animation: spinDisc 6s linear infinite;
}

@keyframes spinDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.track-text-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.track-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.track-subtitle {
    font-size: 0.75rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Equalizer Bars */
.audio-equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 12px;
    margin-left: 4px;
}

.audio-equalizer .bar {
    width: 2.5px;
    height: 3px;
    background: linear-gradient(to top, #d4af37, #fef08a);
    border-radius: 1px;
    transition: height 0.2s ease;
}

.audio-equalizer.active .bar:nth-child(1) { animation: soundBar 0.8s ease-in-out infinite alternate; }
.audio-equalizer.active .bar:nth-child(2) { animation: soundBar 1.1s ease-in-out 0.2s infinite alternate; }
.audio-equalizer.active .bar:nth-child(3) { animation: soundBar 0.7s ease-in-out 0.4s infinite alternate; }
.audio-equalizer.active .bar:nth-child(4) { animation: soundBar 0.9s ease-in-out 0.1s infinite alternate; }

@keyframes soundBar {
    0% { height: 3px; }
    100% { height: 12px; }
}

/* Center: Controls & Scrubber */
.player-center-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 2;
    max-width: 620px;
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.music-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 6px;
    border-radius: 50%;
}

.music-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.music-btn-skip {
    font-size: 0.9rem;
    color: #cbd5e1;
    position: relative;
}

.music-btn-skip span {
    font-size: 0.6rem;
    font-weight: 800;
    position: absolute;
    bottom: -2px;
}

.music-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.premium-music-player.is-playing .music-play-btn {
    background: linear-gradient(135deg, #831843 0%, #be185d 100%);
    box-shadow: 0 4px 16px rgba(190, 24, 93, 0.5);
}

/* Scrubber / Progress Bar */
.progress-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-stamp {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    min-width: 38px;
    font-variant-numeric: tabular-nums;
}

.time-stamp.current {
    text-align: right;
    color: #fde68a;
}

.scrubber-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.scrubber-track:hover {
    height: 8px;
}

.scrubber-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37 0%, #fef08a 100%);
    border-radius: inherit;
    transition: width 0.1s linear;
}

.scrubber-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.8), 0 2px 4px rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.1s ease;
    pointer-events: none;
}

.scrubber-track:hover .scrubber-thumb,
.premium-music-player.is-playing .scrubber-thumb {
    opacity: 1;
}

/* Right: Volume & Minimize */
.player-right-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 220px;
    flex: 1;
}

.volume-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider-container {
    width: 85px;
    height: 5px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin: 0;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
}

.btn-collapse-player {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.btn-collapse-player:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Floating Minimized Pill */
.music-player-pill {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 15px rgba(212, 175, 55, 0.2);
    border-radius: 999px;
    padding: 8px 16px 8px 10px;
    color: #ffffff;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    animation: pillPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.music-player-pill.visible {
    display: flex;
}

.music-player-pill:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.35);
}

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

.pill-disc {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle, #2d3748 20%, #0f172a 70%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fde68a;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pill-disc.spinning {
    animation: spinDisc 6s linear infinite;
}

.pill-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    flex-direction: column;
}

.pill-text small {
    font-size: 0.68rem;
    font-weight: 500;
    color: #d4af37;
}

.pill-play-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    transition: transform 0.2s ease;
}

.pill-play-btn:hover {
    transform: scale(1.1);
}

.pill-expand-icon {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-left: 2px;
}

/* Prevent fixed music player from hiding footer */
body {
    padding-bottom: 74px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .premium-music-player {
        padding: 8px 14px;
    }

    .player-track-info {
        min-width: 170px;
        flex: 1;
    }

    .track-title {
        font-size: 0.85rem;
    }

    .track-subtitle {
        display: none;
    }

    .volume-slider-container {
        display: none;
    }

    .player-right-actions {
        min-width: auto;
        flex: initial;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .premium-music-player {
        padding: 6px 12px;
    }

    .music-player-inner {
        gap: 10px;
    }

    .disc-art-wrapper {
        width: 38px;
        height: 38px;
    }

    .track-title {
        max-width: 110px;
        font-size: 0.8rem;
    }

    .music-btn-skip {
        display: none;
    }

    .music-play-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .time-stamp {
        font-size: 0.7rem;
        min-width: 32px;
    }

    body {
        padding-bottom: 68px;
    }
}

/* ========================================================================= */
/* PREMIUM WHATSAPP FLOATING CHATBOX WIDGET                                 */
/* ========================================================================= */
.sb-whatsapp-widget {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Floating Trigger Button */
.sb-wa-trigger {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, background 0.3s ease;
  outline: none;
}

.sb-wa-trigger:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.sb-wa-trigger:active {
  transform: scale(0.96);
}

.sb-wa-trigger.chat-is-open {
  background: linear-gradient(135deg, #075E54 0%, #064e46 100%);
}

.sb-wa-trigger-icon {
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

.sb-wa-trigger:hover .sb-wa-trigger-icon {
  transform: scale(1.06);
}

/* Subtle Pulsing Rings */
.sb-wa-pulse-ring,
.sb-wa-pulse-ring-second {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  pointer-events: none;
  z-index: -1;
  animation: sbWaPulse 2.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.sb-wa-pulse-ring-second {
  animation-delay: 1.4s;
}

@keyframes sbWaPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* Red / Gold Notification Badge */
.sb-wa-trigger-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  animation: sbWaBadgeBounce 2s ease infinite;
}

@keyframes sbWaBadgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Floating Greeting Tooltip Pill */
.sb-wa-tooltip {
  position: fixed;
  right: 92px;
  bottom: 100px;
  z-index: 9994;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 10px 14px 10px 16px;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px) scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 280px;
}

.sb-wa-tooltip.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.sb-wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(15, 23, 42, 0.94);
  border-right: 1px solid rgba(212, 175, 55, 0.35);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

.sb-wa-tooltip-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 10px #25D366;
  flex-shrink: 0;
  animation: sbWaGreenGlow 1.8s infinite;
}

@keyframes sbWaGreenGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.sb-wa-tooltip-content {
  display: flex;
  flex-direction: column;
}

.sb-wa-tooltip-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.sb-wa-tooltip-sub {
  font-size: 0.72rem;
  color: #fde68a;
  margin-top: 2px;
  font-weight: 500;
}

.sb-wa-tooltip-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease;
  margin-left: 2px;
}

.sb-wa-tooltip-close:hover {
  color: #ffffff;
}

/* The WhatsApp Chat Box Card */
.sb-wa-chatbox {
  position: fixed;
  right: 24px;
  bottom: 162px;
  width: 370px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3), 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 9996;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.sb-wa-chatbox.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.sb-wa-header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.45);
}

.sb-wa-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.sb-wa-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

.sb-wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #075E54;
  box-shadow: 0 0 4px rgba(37, 211, 102, 0.8);
}

.sb-wa-header-meta {
  flex: 1;
  overflow: hidden;
}

.sb-wa-header-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sb-wa-header-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.sb-wa-verified-icon {
  color: #25D366;
  font-size: 0.85rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.sb-wa-header-sub {
  font-size: 0.74rem;
  color: #d1fae5;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sb-wa-status-text {
  color: #ffffff;
  font-weight: 600;
}

.sb-wa-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sb-wa-head-btn {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sb-wa-head-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
  color: #ffffff;
}

.sb-wa-close-btn:hover i {
  transform: rotate(90deg);
  transition: transform 0.25s ease;
}

/* Chat Body */
.sb-wa-body {
  background-color: #efeae2;
  background-image: 
    radial-gradient(#d5cdc4 1px, transparent 1px),
    radial-gradient(#d5cdc4 1px, #efeae2 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  padding: 16px 14px;
  max-height: 330px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
.sb-wa-body::-webkit-scrollbar {
  width: 5px;
}
.sb-wa-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

/* Date Pill */
.sb-wa-date-pill {
  text-align: center;
  margin: 0 auto;
}

.sb-wa-date-pill span {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  padding: 3px 12px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #54656f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Encryption Notice */
.sb-wa-encryption-notice {
  background: #fef9c3;
  border: 1px solid #fef08a;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.72rem;
  color: #854d0e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  line-height: 1.3;
}

.sb-wa-encryption-notice i {
  font-size: 0.7rem;
  color: #a16207;
  flex-shrink: 0;
}

/* Chat Bubbles */
.sb-wa-bubble {
  max-width: 86%;
  padding: 10px 14px 8px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.07);
  word-break: break-word;
}

.sb-wa-bubble-in {
  align-self: flex-start;
  background: #ffffff;
  color: #111b21;
  border-top-left-radius: 2px;
}

.sb-wa-bubble-sender {
  font-size: 0.74rem;
  font-weight: 700;
  color: #831843;
  margin-bottom: 4px;
}

.sb-wa-bubble-text {
  font-size: 0.84rem;
  color: #1e293b;
}

.sb-wa-bubble-text strong {
  color: #0f172a;
}

.sb-wa-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.65rem;
  color: #64748b;
}

.sb-wa-msg-status {
  color: #53bdeb;
  font-size: 0.7rem;
}

/* User Sent Message Bubble */
.sb-wa-bubble-out {
  align-self: flex-end;
  background: #dcf8c6;
  color: #111b21;
  border-top-right-radius: 2px;
  animation: sbWaBubblePop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sbWaBubblePop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Quick Action Suggestion Chips */
.sb-wa-chips-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

.sb-wa-chips-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-left: 2px;
}

.sb-wa-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sb-wa-chip {
  background: #ffffff;
  border: 1px solid rgba(18, 140, 126, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #075E54;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sb-wa-chip i {
  color: #25D366;
  font-size: 0.75rem;
}

.sb-wa-chip:hover {
  background: #128C7E;
  color: #ffffff;
  border-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(18, 140, 126, 0.25);
}

.sb-wa-chip:hover i {
  color: #ffffff;
}

/* Chat Footer */
.sb-wa-footer {
  background: #f0f2f5;
  border-top: 1px solid #e2e8f0;
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sb-wa-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-wa-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.sb-wa-input:focus {
  border-color: #128C7E;
  box-shadow: 0 0 0 3px rgba(18, 140, 126, 0.15);
}

.sb-wa-input::placeholder {
  color: #94a3b8;
  font-size: 0.8rem;
}

.sb-wa-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.sb-wa-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6);
}

.sb-wa-send-btn:active {
  transform: scale(0.94);
}

/* Call strip at bottom of widget */
.sb-wa-call-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.74rem;
  color: #64748b;
  padding-top: 2px;
}

.sb-wa-call-strip a {
  color: #831843;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.sb-wa-call-strip a:hover {
  color: #b45309;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .sb-wa-trigger {
    right: 16px;
    bottom: 82px;
    width: 52px;
    height: 52px;
  }

  .sb-wa-trigger-icon {
    font-size: 28px;
  }

  .sb-wa-tooltip {
    right: 76px;
    bottom: 88px;
    max-width: calc(100vw - 100px);
    padding: 8px 12px;
  }

  .sb-wa-chatbox {
    right: 12px;
    bottom: 144px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 165px);
    border-radius: 16px;
  }

  .sb-wa-body {
    max-height: 270px;
    padding: 12px 10px;
  }

  .sb-wa-bubble {
    max-width: 90%;
    font-size: 0.82rem;
  }
}