/* ==========================================================================
   MEOWCREATIONS CENTRAL MASTER DESIGN SYSTEM (UPDATED UNIFIED VERSION)
   ========================================================================== */

:root {
    --shahi-crimson: #721c24;
    --cosmic-purple: #4B2C82;
    --cosmic-gold: #D4AF37;
    --deep-velvet: #1A0B2E;
    --palace-cream: #FDFBF7;
    --selenite-cream: #FDFBF7;
    --charcoal-plum: #3A2E39;
    --muted-berry: #60525F;
    
    --vibrant-berry-pink: #D91A6B; /*(varies between #C93171 and #D91A6B due to anti-aliasing)*/
    --deep-charcoal: #201B18;
    --soft-dusty-rose: #E496B7; /*(tending toward #DAC1CC near borders)*/
    
    
    .text-gold { color: var(--cosmic-gold) !important; }

}

/* --- Shared Global Rules --- */
body {
    background-color: var(--palace-cream);
    color: var(--charcoal-plum);
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.2px;
}

h1, h2, h3, h4, h5, .serif-font, .serif-traditional {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}





/* Custom Semantic Color Utilities */
.text-brand { color: var(--shahi-crimson) !important; }
.text-gold { color: var(--cosmic-gold) !important; }
.text-espresso { color: var(--charcoal-plum) !important; }
.text-clay { color: var(--muted-berry) !important; }
.text-palace-cream { color: var(--palace-cream) !important; }


.bg-brand { background-color: var(--shahi-crimson) !important; color: var(--palace-cream) !important; }
.bg-gold { background-color: var(--cosmic-gold) !important; color: var(--charcoal-plum) !important; }
.bg-cream { background-color: var(--palace-cream) !important; }

/* ==========================================================================
   THEME OVERRIDES: BOOTSTRAP UTILITY MAPPING FOR THEME HARMONY
   ========================================================================== */
.text-danger { color: var(--shahi-crimson) !important; }
.bg-danger { background-color: var(--shahi-crimson) !important; color: var(--palace-cream) !important; }
.border-danger { border-color: var(--shahi-crimson) !important; }

/* Premium Custom Button Structural States */
.btn-brand {
    background-color: var(--shahi-crimson);
    border-color: var(--shahi-crimson);
    color: var(--palace-cream);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-brand:hover {
    background-color: var(--charcoal-plum);
    border-color: var(--charcoal-plum);
    color: var(--palace-cream);
}

.btn-outline-brand {
    color: var(--shahi-crimson);
    border-color: var(--shahi-crimson);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-brand:hover {
    background-color: var(--shahi-crimson);
    color: var(--palace-cream) !important;
    border-color: var(--shahi-crimson);
}

/* Gold/Warning State Overrides */
.text-warning { color: var(--cosmic-gold) !important; }
.bg-warning { background-color: var(--cosmic-gold) !important; color: var(--charcoal-plum) !important; }
.border-warning { border-color: var(--cosmic-gold) !important; }

.btn-outline-warning {
    color: var(--cosmic-gold);
    border-color: var(--cosmic-gold);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-warning:hover {
    background-color: var(--cosmic-gold);
    color: var(--deep-velvet) !important;
    border-color: var(--cosmic-gold);
}

/* Icon Resonator Utilities */
.bi {
    transition: transform 0.3s ease, color 0.3s ease;
}
.bi.text-warning, .bi.text-gold { color: var(--cosmic-gold) !important; }
.bi.text-brand, .bi.text-danger { color: var(--shahi-crimson) !important; }































/* ==========================================================================
   SHARED FRAMEWORK: PREMIUM GLASS NAVIGATION WITH UNIFIED DROPDOWNS
   ========================================================================== */

.navbar-premium-glass {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(26, 11, 46, 0.04);
    transition: all 0.3s ease;
}

.navbar-premium-glass .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--charcoal-plum) !important;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

/* Base Nav Link Hover States */
.navbar-premium-glass .nav-link:hover,
.social-icon-nav:hover {
    /*color: var(--shahi-crimson) !important;*/
        color: var(--vibrant-berry-pink) !important;
}

/* Dropdown Menu Base Rules */
.navbar-premium-glass .dropdown-menu {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 12px 8px;
    background-color: #ffffff;
    min-width: 230px;
}

.navbar-premium-glass .dropdown-item {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    color: var(--charcoal-plum);
    padding: 10px 16px;
    margin: 4px 0;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* FIX 1: UNIFIED DROPDOWN HOVER & ACTIVE STATE ACROSS ALL PAGES */
.navbar-premium-glass .dropdown-item:hover,
.navbar-premium-glass .dropdown-item.active {
    /* background-color: var(--shahi-crimson) !important; */
   background-color: var(--vibrant-berry-pink) !important;    
    color: #ffffff !important;
    padding-left: 22px !important; /* Elegant slide accent shift */
}

.social-icon-nav {
    transition: color 0.3s ease;
}

/* ==========================================================================
   PAGE COMPONENT: RESTORED STABLE SPLIT HERO LAYOUT (HOME DASHBOARD)
   ========================================================================== */

.premium-split-carousel {
    border-bottom: 2px solid var(--cosmic-gold);
    background-color: var(--deep-velvet);
}

.premium-split-carousel .carousel-item {
    min-height: 520px;
    padding: 60px 0;
}

.hero-right-frame {
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
}

.carousel-item.active .hero-right-frame {
    transform: scale(1.02);
}

.footer-hover-link {
    transition: color 0.3s ease;
}

.footer-hover-link:hover {
    color: var(--cosmic-gold) !important;
}

/* Milestone Ribbon */
.celebration-strip-expanded {
    /* background: linear-gradient(135deg, var(--shahi-crimson) 0%, #4a1016 100%); */
       background: linear-gradient(135deg, var(--soft-dusty-rose) 0%, #D91A6B 100%);    
    border-bottom: 3px double var(--cosmic-gold);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

/* Card Carousels & Testimonials */
.collection-embedded-carousel .carousel-inner {
    border-radius: 12px 12px 0 0;
}

.collection-embedded-carousel .carousel-item img {
    height: 320px;
    object-fit: cover;
    width: 100%;
}

.product-premium-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(58, 46, 57, 0.08);
    box-shadow: 0 4px 20px rgba(26, 11, 46, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.product-premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 11, 46, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   PAGE COMPONENT: ARTISAN GALLERIES & LIGHTBOX MODULE
   ========================================================================== */

.gallery-hero-header {
    background: linear-gradient(135deg, var(--deep-velvet) 0%, #D91A6B 100%); /* #721c24 #2D124D */
    border-bottom: 3px solid var(--cosmic-gold);
    padding: 75px 0;
}

.artisan-gallery-card {
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.artisan-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(114, 28, 36, 0.08);
    border-color: var(--cosmic-gold);
}

.gallery-media-wrapper {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background-color: #0d0614;
}

.gallery-media-wrapper img, 
.gallery-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.artisan-gallery-card:hover .gallery-media-wrapper img {
    transform: scale(1.05);
}

/* Glass Play Overlays for Video Content */
.video-overlay-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    background: rgba(114, 28, 36, 0.9);
    border: 2px solid var(--cosmic-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.artisan-gallery-card:hover .video-overlay-badge {
    background: var(--cosmic-gold);
    color: var(--deep-velvet);
    transform: translate(-50%, -50%) scale(1.1);
}


/* --- FIXED & OPTIMIZED CINEMATIC LIGHTBOX ARROWS & VIEWPORT --- */

#lightboxModal .modal-dialog {
    max-width: 85vw;           /* Uses 85% of monitor width dynamically */
    width: 820px;              /* Standard crisp desktop ceiling limit */
    margin: 1.75rem auto;
}

#lightboxModal .modal-content {
    background: #ffffff;
    border: 1px solid var(--cosmic-gold);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    position: relative;        /* Universal anchor point for floating UI elements */
}

/* Correct class target mirroring your HTML file structure */
.lightbox-display-wrapper {
    background: #0d0614;
    min-height: 380px; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;        /* Ensures arrows anchor cleanly to the image viewport box */
    width: 100%;
}

/* Restrains the portfolio picture based directly on monitor height */
.lightbox-display-wrapper img, 
.lightbox-display-wrapper video {
    max-height: 60vh;          /* Scales perfectly; never shoots past monitor viewport screen boundaries */
    width: auto;
    max-width: 100%;
    object-fit: contain;       /* Preserves aspect ratios without forced clipping */
}

/* Precise Floating Action Control Placement overrides */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--cosmic-gold);
    color: var(--shahi-crimson);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.25s ease;
    z-index: 1050;             /* Stay safely above loaded images or video layers */
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.lightbox-nav-btn:hover {
    background: var(--shahi-crimson);
    color: #ffffff;
    border-color: var(--shahi-crimson);
}

/* Brought safely inside the black display canvas frame borders so they never cut off */
.lightbox-nav-prev { left: 20px; }
.lightbox-nav-next { right: 20px; }

/* Custom Close Button absolute adjustments */
#lightboxModal .btn-close-custom {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-plum);
    font-size: 1rem;
    cursor: pointer;
    z-index: 1060;             /* Places close indicator above navigation layers */
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#lightboxModal .btn-close-custom:hover {
    background: var(--shahi-crimson);
    color: #ffffff;
    transform: rotate(90deg);
}

.lightbox-metadata-panel {
    background: #ffffff;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 24px 30px;
    position: relative;
    z-index: 10;
}

@media(max-width: 767.98px) {
    .lightbox-metadata-panel { padding: 20px; }
    .lightbox-nav-btn { width: 38px; height: 38px; font-size: 1rem; }
    .lightbox-nav-prev { left: 10px; }
    .lightbox-nav-next { right: 10px; }
}





/* ==========================================================================
   MEOW CREATIONS - MULTI-PAGE VARIABLE HERO SYSTEM
   ========================================================================== */

.creation-service-hero {
    /* --- FALLBACK DESIGN TOKENS (Will be overridden dynamically inline by HTML) --- */
    --hero-min-height: 500px;
    --hero-bg-color: var(--vibrant-berry-pink, #D91A6B);
    --hero-texture-url: none;
    --hero-blend-opacity: 0.25;
    
    min-height: var(--hero-min-height);
    background-color: var(--hero-bg-color);
    position: relative;
    padding: 75px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--cosmic-gold, #D4AF37);
}

/* Master Overlay Layer Engine handles texture rendering & custom blending properties */
.creation-service-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Soft dark gradient fading to the right canvas space */
    background-image: linear-gradient(135deg, rgba(26, 11, 46, 0.94) 0%, rgba(26, 11, 46, 0.3) 65%, transparent 100%), var(--hero-texture-url);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1; /* Retains full vector strength of the gradient track */
    pointer-events: none;
    z-index: 1;
}

/* Secondary subtle blend manager for optional image texture contrast adjustments */
.creation-service-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--hero-texture-url);
    background-size: cover;
    background-position: center;
    mix-blend-mode: overlay;
    opacity: var(--hero-blend-opacity);
    pointer-events: none;
    z-index: 1;
}

.creation-service-hero .container {
    position: relative;
    z-index: 2;
}

/* Global Typography Synchronizations */
.creation-service-hero .hero-meta-tag {
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cosmic-gold, #D4AF37);
    letter-spacing: 3px;
    background: rgba(26, 11, 46, 0.55);
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: inline-block;
}

.creation-service-hero .header-title-serif {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.creation-service-hero .highlight-cream {
    color: var(--palace-cream, #FDFBF7);
    text-shadow: 0 4px 15px rgba(253, 251, 247, 0.12);
}

.creation-service-hero .hero-desc-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(253, 251, 247, 0.9);
    font-weight: 400;
}

/* Button UI Definitions */
.btn-creations-dark-velvet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff !important;
    background-color: var(--deep-velvet, #1A0B2E);
    border: 1px solid var(--deep-velvet, #1A0B2E);
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(26, 11, 46, 0.35);
}

.btn-creations-dark-velvet:hover {
    background-color: var(--cosmic-gold, #D4AF37);
    border-color: var(--cosmic-gold, #D4AF37);
    color: var(--deep-velvet, #1A0B2E) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.4);
}

.btn-creations-cream-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--palace-cream, #FDFBF7) !important;
    background: transparent;
    border: 1px solid rgba(253, 251, 247, 0.4);
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-creations-cream-outline:hover {
    background: rgba(253, 251, 247, 0.12);
    border-color: var(--palace-cream, #FDFBF7);
    transform: translateY(-2px);
}

/* Portrait & Dynamic Graphics Positioning */
.creation-service-hero .hero-creative-image-canvas {
    position: relative;
    padding: 10px;
}

.creation-service-hero .soft-aura-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 115%; height: 115%;
    background: radial-gradient(circle, rgba(217, 26, 107, 0.3) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

.creation-service-hero .creations-portrait-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(253, 251, 247, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    z-index: 2;
    background: var(--charcoal-plum, #3A2E39);
}

.creation-service-hero .hero-portrait-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.creation-service-hero .creations-portrait-frame:hover .hero-portrait-img {
    transform: scale(1.04);
}

.creation-service-hero .milestone-floating-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(26, 11, 46, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--cosmic-gold, #D4AF37);
    padding: 10px 20px;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .creation-service-hero { text-align: center; padding: 55px 0; }
    .creation-service-hero .hero-action-tray { justify-content: center; }
    .creation-service-hero .btn-creations-dark-velvet,
    .creation-service-hero .btn-creations-cream-outline { width: 100%; }
    .creation-service-hero .milestone-floating-tag { left: 50%; transform: translateX(-50%); bottom: 15px; width: 85%; justify-content: center; }
}




/* ==========================================================================
   MEOW CREATIONS - BRAND LEGACY GALLERY CANVAS ARCHITECTURE
   ========================================================================== */

/* The Layout Anchor Grid Space */
.legacy-visual-grid-container {
    position: relative;
    padding: 30px;
    display: block;
    height: 520px; /* Provides explicit spatial bounds for overlapping frames */
}

/* Background Geometry Accent */
.legacy-visual-grid-container .legacy-geometry-bg {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 80%;
    height: 80%;
    background-color: var(--palace-cream, #FDFBF7);
    border-radius: 40px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* Primary Portrait Layout Frame (Daughter & Mother Connect Vector) */
.legacy-visual-grid-container .legacy-frame-primary {
    position: absolute;
    top: 0;
    left: 0;
    width: 68%;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(26, 11, 46, 0.15);
    border: 4px solid #ffffff;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.legacy-visual-grid-container .legacy-frame-primary .legacy-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Secondary Inset Portrait Frame (Swatee Anniversary Capture) */
.legacy-visual-grid-container .legacy-frame-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48%;
    z-index: 4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(26, 11, 46, 0.25);
    border: 6px solid #ffffff; /* Clean high-end thick white frame step border */
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.legacy-visual-grid-container .legacy-frame-secondary .legacy-img-secondary {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Hover Dynamics to make the gallery interactively responsive */
.legacy-visual-grid-container .legacy-frame-primary:hover {
    z-index: 5;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(26, 11, 46, 0.25);
}

.legacy-visual-grid-container .legacy-frame-secondary:hover {
    z-index: 6;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 30px 60px rgba(217, 26, 107, 0.25);
}

/* Elegant Label Strip underneath primary capture */
.legacy-visual-grid-container .legacy-portrait-label {
    background-color: var(--deep-velvet, #1A0B2E);
    color: var(--palace-cream, #FDFBF7);
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 8px 10px;
}

/* Premium Floating 14-Year Milestone Emblem Badge Card */
.legacy-visual-grid-container .legacy-milestone-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--vibrant-berry-pink, #D91A6B) 0%, var(--deep-velvet, #1A0B2E) 100%);
    border: 2px solid var(--cosmic-gold, #D4AF37);
    color: #ffffff;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(217, 26, 107, 0.4);
    z-index: 10;
    animation: legacyBadgePulse 4s ease-in-out infinite;
}

.legacy-visual-grid-container .legacy-milestone-badge .badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--cosmic-gold, #D4AF37);
}

.legacy-visual-grid-container .legacy-milestone-badge .badge-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-align: center;
    margin-top: 2px;
}

/* Icon box mechanics for lower value propositions */
.legacy-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(217, 26, 107, 0.08);
    color: var(--vibrant-berry-pink, #D91A6B);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Micro Badge Breathing Animation */
@keyframes legacyBadgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); box-shadow: 0 12px 30px rgba(217, 26, 107, 0.55); }
    100% { transform: scale(1); }
}

/* Mobile Responsive Optimization System for smaller touch screens */
@media (max-width: 991.98px) {
    .legacy-visual-grid-container {
        height: 440px;
        max-width: 480px;
        margin: 0 auto 30px auto;
        padding: 15px;
    }
    .legacy-visual-grid-container .legacy-frame-primary {
        width: 75%;
    }
    .legacy-visual-grid-container .legacy-frame-primary .legacy-img {
        height: 320px;
    }
    .legacy-visual-grid-container .legacy-frame-secondary {
        width: 55%;
    }
    .legacy-visual-grid-container .legacy-frame-secondary .legacy-img-secondary {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .legacy-visual-grid-container {
        height: 360px;
    }
    .legacy-visual-grid-container .legacy-frame-primary .legacy-img {
        height: 250px;
    }
    .legacy-visual-grid-container .legacy-frame-secondary .legacy-img-secondary {
        height: 160px;
    }
    .legacy-visual-grid-container .legacy-milestone-badge {
        width: 75px;
        height: 75px;
        top: -10px;
        right: -10px;
    }
    .legacy-visual-grid-container .legacy-milestone-badge .badge-number {
        font-size: 1.25rem;
    }
}













/* ==========================================================================
   MEOW CREATIONS - EDITORIAL TESTIMONIAL CAROUSEL UI DESIGN
   ========================================================================== */

/* The Core Card Canvas Base Framework */
.editorial-testimonial-card {
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(26, 11, 46, 0.04);
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 70px !important;
    padding-right: 70px !important;
}

/* Luxury Stylized Decorative Quote Markings */
.quote-mark-luxury-start {
    font-family: 'Playfair Display', serif;
    font-size: 6.5rem;
    line-height: 1;
    color: var(--vibrant-berry-pink, #D91A6B);
    opacity: 0.07;
    position: absolute;
    top: -5px;
    left: 40px;
    font-weight: 900;
    pointer-events: none;
}

/* Text Formatting Parameters */
.testimonial-quote-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    line-height: 1.85 !important;
    color: var(--charcoal-plum, #3A2E39);
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* Micro separation design element underlying quotation marks */
.quote-divider-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--cosmic-gold, #D4AF37), transparent);
}

.client-signature-text {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--deep-velvet, #1A0B2E);
    font-weight: 700;
}

/* ==========================================================================
   ARCHITECTURAL NAVIGATIONAL ARROW INTERFACES
   ========================================================================== */

.luxury-carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    color: var(--deep-velvet, #1A0B2E) !important;
    opacity: 1 !important;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 6px 16px rgba(26, 11, 46, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Position arrow containers slightly outside card limits on high resolution views */
.luxury-carousel-btn.carousel-control-prev {
    left: -23px;
}
.luxury-carousel-btn.carousel-control-next {
    right: -23px;
}

/* Dynamic Hover Transformations */
.luxury-carousel-btn:hover {
    background-color: var(--vibrant-berry-pink, #D91A6B) !important;
    border-color: var(--vibrant-berry-pink, #D91A6B) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(217, 26, 107, 0.3);
}

.luxury-carousel-btn:hover .bi {
    transform: scale(1.15);
}

/* ==========================================================================
   CAROUSEL BOTTOM DYNAMIC INDICATORS
   ========================================================================== */

.luxury-carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: var(--charcoal-plum, #3A2E39) !important;
    border: none !important;
    opacity: 0.2 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

.luxury-carousel-indicators button.active {
    width: 24px !important; /* Soft luxurious elongated line animation step */
    border-radius: 6px !important;
    background-color: var(--vibrant-berry-pink, #D91A6B) !important;
    opacity: 1 !important;
}















/* ==========================================================================
   MOBILE INTERFACE BALANCING & RESPONSIVENESS
   ========================================================================== */

@media (max-width: 991.98px) {
    .editorial-testimonial-card {
        padding-left: 30px !important;
        padding-right: 30px !important;
        min-height: 360px;
    }
    
    /* Bring arrows safely inside card boundaries for mobile/tablet swipes */
    .luxury-carousel-btn.carousel-control-prev {
        left: 8px;
        top: auto;
        bottom: -60px;
    }
    .luxury-carousel-btn.carousel-control-next {
        right: 8px;
        top: auto;
        bottom: -60px;
    }
    
    .luxury-carousel-indicators {
        margin-top: 75px !important;
    }
    
    .quote-mark-luxury-start {
        font-size: 4.5rem;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .testimonial-quote-text {
        font-size: 0.98rem;
        line-height: 1.75 !important;
    }
    .editorial-testimonial-card {
        min-height: 400px;
    }
}